Documentation ¶
Index ¶
- Variables
- func RegisterKotlinParserServer(s *grpc.Server, srv KotlinParserServer)
- type JavaParserRequest
- func (*JavaParserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JavaParserRequest) GetJavaSourceFile() []string
- func (*JavaParserRequest) ProtoMessage()
- func (x *JavaParserRequest) ProtoReflect() protoreflect.Message
- func (x *JavaParserRequest) Reset()
- func (x *JavaParserRequest) String() string
- type JavaParserResponse
- func (*JavaParserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JavaParserResponse) GetError() *status.Status
- func (x *JavaParserResponse) GetSourceFileInfos() []*SourceFileInfo
- func (*JavaParserResponse) ProtoMessage()
- func (x *JavaParserResponse) ProtoReflect() protoreflect.Message
- func (x *JavaParserResponse) Reset()
- func (x *JavaParserResponse) String() string
- type KotlinParserClient
- type KotlinParserRequest
- func (*KotlinParserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KotlinParserRequest) GetKotlinSourceFile() []string
- func (*KotlinParserRequest) ProtoMessage()
- func (x *KotlinParserRequest) ProtoReflect() protoreflect.Message
- func (x *KotlinParserRequest) Reset()
- func (x *KotlinParserRequest) String() string
- type KotlinParserResponse
- func (*KotlinParserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KotlinParserResponse) GetError() *status.Status
- func (x *KotlinParserResponse) GetSourceFileInfos() []*SourceFileInfo
- func (*KotlinParserResponse) ProtoMessage()
- func (x *KotlinParserResponse) ProtoReflect() protoreflect.Message
- func (x *KotlinParserResponse) Reset()
- func (x *KotlinParserResponse) String() string
- type KotlinParserServer
- type SourceFileInfo
- func (*SourceFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SourceFileInfo) GetFileName() string
- func (x *SourceFileInfo) GetImports() []string
- func (x *SourceFileInfo) GetPackageName() string
- func (*SourceFileInfo) ProtoMessage()
- func (x *SourceFileInfo) ProtoReflect() protoreflect.Message
- func (x *SourceFileInfo) Reset()
- func (x *SourceFileInfo) String() string
- type UnimplementedKotlinParserServer
Constants ¶
This section is empty.
Variables ¶
var File_kotlin_protobuf_kotlin_parser_proto protoreflect.FileDescriptor
var File_kotlin_protobuf_kotlin_parser_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterKotlinParserServer ¶
func RegisterKotlinParserServer(s *grpc.Server, srv KotlinParserServer)
Types ¶
type JavaParserRequest ¶
type JavaParserRequest struct { JavaSourceFile []string `protobuf:"bytes,1,rep,name=java_source_file,json=javaSourceFile,proto3" json:"java_source_file,omitempty"` // contains filtered or unexported fields }
func (*JavaParserRequest) Descriptor
deprecated
func (*JavaParserRequest) Descriptor() ([]byte, []int)
Deprecated: Use JavaParserRequest.ProtoReflect.Descriptor instead.
func (*JavaParserRequest) GetJavaSourceFile ¶
func (x *JavaParserRequest) GetJavaSourceFile() []string
func (*JavaParserRequest) ProtoMessage ¶
func (*JavaParserRequest) ProtoMessage()
func (*JavaParserRequest) ProtoReflect ¶
func (x *JavaParserRequest) ProtoReflect() protoreflect.Message
func (*JavaParserRequest) Reset ¶
func (x *JavaParserRequest) Reset()
func (*JavaParserRequest) String ¶
func (x *JavaParserRequest) String() string
type JavaParserResponse ¶
type JavaParserResponse struct { SourceFileInfos []*SourceFileInfo `protobuf:"bytes,1,rep,name=source_file_infos,json=sourceFileInfos,proto3" json:"source_file_infos,omitempty"` Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*JavaParserResponse) Descriptor
deprecated
func (*JavaParserResponse) Descriptor() ([]byte, []int)
Deprecated: Use JavaParserResponse.ProtoReflect.Descriptor instead.
func (*JavaParserResponse) GetError ¶
func (x *JavaParserResponse) GetError() *status.Status
func (*JavaParserResponse) GetSourceFileInfos ¶
func (x *JavaParserResponse) GetSourceFileInfos() []*SourceFileInfo
func (*JavaParserResponse) ProtoMessage ¶
func (*JavaParserResponse) ProtoMessage()
func (*JavaParserResponse) ProtoReflect ¶
func (x *JavaParserResponse) ProtoReflect() protoreflect.Message
func (*JavaParserResponse) Reset ¶
func (x *JavaParserResponse) Reset()
func (*JavaParserResponse) String ¶
func (x *JavaParserResponse) String() string
type KotlinParserClient ¶
type KotlinParserClient interface { ParseKotlinFiles(ctx context.Context, in *KotlinParserRequest, opts ...grpc.CallOption) (*KotlinParserResponse, error) ParseJavaFiles(ctx context.Context, in *JavaParserRequest, opts ...grpc.CallOption) (*JavaParserResponse, error) }
KotlinParserClient is the client API for KotlinParser service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKotlinParserClient ¶
func NewKotlinParserClient(cc grpc.ClientConnInterface) KotlinParserClient
type KotlinParserRequest ¶
type KotlinParserRequest struct { KotlinSourceFile []string `protobuf:"bytes,1,rep,name=kotlin_source_file,json=kotlinSourceFile,proto3" json:"kotlin_source_file,omitempty"` // contains filtered or unexported fields }
func (*KotlinParserRequest) Descriptor
deprecated
func (*KotlinParserRequest) Descriptor() ([]byte, []int)
Deprecated: Use KotlinParserRequest.ProtoReflect.Descriptor instead.
func (*KotlinParserRequest) GetKotlinSourceFile ¶
func (x *KotlinParserRequest) GetKotlinSourceFile() []string
func (*KotlinParserRequest) ProtoMessage ¶
func (*KotlinParserRequest) ProtoMessage()
func (*KotlinParserRequest) ProtoReflect ¶
func (x *KotlinParserRequest) ProtoReflect() protoreflect.Message
func (*KotlinParserRequest) Reset ¶
func (x *KotlinParserRequest) Reset()
func (*KotlinParserRequest) String ¶
func (x *KotlinParserRequest) String() string
type KotlinParserResponse ¶
type KotlinParserResponse struct { SourceFileInfos []*SourceFileInfo `protobuf:"bytes,1,rep,name=source_file_infos,json=sourceFileInfos,proto3" json:"source_file_infos,omitempty"` Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*KotlinParserResponse) Descriptor
deprecated
func (*KotlinParserResponse) Descriptor() ([]byte, []int)
Deprecated: Use KotlinParserResponse.ProtoReflect.Descriptor instead.
func (*KotlinParserResponse) GetError ¶
func (x *KotlinParserResponse) GetError() *status.Status
func (*KotlinParserResponse) GetSourceFileInfos ¶
func (x *KotlinParserResponse) GetSourceFileInfos() []*SourceFileInfo
func (*KotlinParserResponse) ProtoMessage ¶
func (*KotlinParserResponse) ProtoMessage()
func (*KotlinParserResponse) ProtoReflect ¶
func (x *KotlinParserResponse) ProtoReflect() protoreflect.Message
func (*KotlinParserResponse) Reset ¶
func (x *KotlinParserResponse) Reset()
func (*KotlinParserResponse) String ¶
func (x *KotlinParserResponse) String() string
type KotlinParserServer ¶
type KotlinParserServer interface { ParseKotlinFiles(context.Context, *KotlinParserRequest) (*KotlinParserResponse, error) ParseJavaFiles(context.Context, *JavaParserRequest) (*JavaParserResponse, error) }
KotlinParserServer is the server API for KotlinParser service.
type SourceFileInfo ¶
type SourceFileInfo struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` Imports []string `protobuf:"bytes,3,rep,name=imports,proto3" json:"imports,omitempty"` // contains filtered or unexported fields }
func (*SourceFileInfo) Descriptor
deprecated
func (*SourceFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use SourceFileInfo.ProtoReflect.Descriptor instead.
func (*SourceFileInfo) GetFileName ¶
func (x *SourceFileInfo) GetFileName() string
func (*SourceFileInfo) GetImports ¶
func (x *SourceFileInfo) GetImports() []string
func (*SourceFileInfo) GetPackageName ¶
func (x *SourceFileInfo) GetPackageName() string
func (*SourceFileInfo) ProtoMessage ¶
func (*SourceFileInfo) ProtoMessage()
func (*SourceFileInfo) ProtoReflect ¶
func (x *SourceFileInfo) ProtoReflect() protoreflect.Message
func (*SourceFileInfo) Reset ¶
func (x *SourceFileInfo) Reset()
func (*SourceFileInfo) String ¶
func (x *SourceFileInfo) String() string
type UnimplementedKotlinParserServer ¶
type UnimplementedKotlinParserServer struct { }
UnimplementedKotlinParserServer can be embedded to have forward compatible implementations.
func (*UnimplementedKotlinParserServer) ParseJavaFiles ¶
func (*UnimplementedKotlinParserServer) ParseJavaFiles(context.Context, *JavaParserRequest) (*JavaParserResponse, error)
func (*UnimplementedKotlinParserServer) ParseKotlinFiles ¶
func (*UnimplementedKotlinParserServer) ParseKotlinFiles(context.Context, *KotlinParserRequest) (*KotlinParserResponse, error)