Documentation ¶
Index ¶
- Variables
- func RegisterCompilerServer(s grpc.ServiceRegistrar, srv CompilerServer)
- func RegisterParserServer(s grpc.ServiceRegistrar, srv ParserServer)
- type ClassList
- type CompileRequest
- func (*CompileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompileRequest) GetDir() string
- func (x *CompileRequest) GetFilenames() []string
- func (*CompileRequest) ProtoMessage()
- func (x *CompileRequest) ProtoReflect() protoreflect.Message
- func (x *CompileRequest) Reset()
- func (x *CompileRequest) String() string
- type CompileResponse
- func (*CompileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompileResponse) GetDiagnostics() []*Diagnostic
- func (x *CompileResponse) GetElapsedMillis() int64
- func (x *CompileResponse) GetError() string
- func (*CompileResponse) ProtoMessage()
- func (x *CompileResponse) ProtoReflect() protoreflect.Message
- func (x *CompileResponse) Reset()
- func (x *CompileResponse) String() string
- type CompilerClient
- type CompilerServer
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetLine() int32
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSeverity() Severity
- func (x *Diagnostic) GetSource() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetClasses() []string
- func (x *File) GetError() string
- func (x *File) GetExtends() map[string]*ClassList
- func (x *File) GetFilename() string
- func (x *File) GetImports() []string
- func (x *File) GetNames() []string
- func (x *File) GetObjects() []string
- func (x *File) GetPackages() []string
- func (x *File) GetSemanticImports() []string
- func (x *File) GetTraits() []string
- func (x *File) GetTypes() []string
- func (x *File) GetVals() []string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileSet
- type ImportKind
- type ImportType
- type ParseRequest
- type ParseResponse
- func (*ParseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseResponse) GetElapsedMillis() int64
- func (x *ParseResponse) GetError() string
- func (x *ParseResponse) GetFiles() []*File
- func (*ParseResponse) ProtoMessage()
- func (x *ParseResponse) ProtoReflect() protoreflect.Message
- func (x *ParseResponse) Reset()
- func (x *ParseResponse) String() string
- type ParserClient
- type ParserServer
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetFiles() []*File
- func (x *Rule) GetKind() string
- func (x *Rule) GetLabel() string
- func (x *Rule) GetParseTimeMillis() int64
- func (x *Rule) GetSha256() string
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type Severity
- type Symbol
- type SymbolType
- type UnimplementedCompilerServer
- type UnimplementedParserServer
- type UnsafeCompilerServer
- type UnsafeParserServer
Constants ¶
This section is empty.
Variables ¶
var ( Severity_name = map[int32]string{ 0: "SEVERITY_UNKNOWN", 1: "INFO", 2: "WARN", 3: "ERROR", } Severity_value = map[string]int32{ "SEVERITY_UNKNOWN": 0, "INFO": 1, "WARN": 2, "ERROR": 3, } )
Enum value maps for Severity.
var ( ImportType_name = map[int32]string{ 0: "IMPORT_TYPE_UNKNOWN", 1: "PACKAGE", 2: "CLASS", 3: "INTERFACE", 4: "TRAIT", 5: "OBJECT", 7: "VALUE", 8: "OVERRIDE", 9: "CROSS_RESOLVE", 10: "PLATFORM", 11: "TYPE", 12: "PROTO_ENUM", 13: "PROTO_ENUM_FIELD", 14: "PROTO_MESSAGE", 15: "PROTO_SERVICE", 16: "PROTO_PACKAGE", } ImportType_value = map[string]int32{ "IMPORT_TYPE_UNKNOWN": 0, "PACKAGE": 1, "CLASS": 2, "INTERFACE": 3, "TRAIT": 4, "OBJECT": 5, "VALUE": 7, "OVERRIDE": 8, "CROSS_RESOLVE": 9, "PLATFORM": 10, "TYPE": 11, "PROTO_ENUM": 12, "PROTO_ENUM_FIELD": 13, "PROTO_MESSAGE": 14, "PROTO_SERVICE": 15, "PROTO_PACKAGE": 16, } )
Enum value maps for ImportType.
var ( ImportKind_name = map[int32]string{ 0: "IMPORT_KIND_UNKNOWN", 1: "DIRECT", 2: "MAIN_CLASS", 3: "IMPLICIT", 4: "EXTENDS", 5: "RESOLVED_NAME", 6: "TRANSITIVE", 7: "SEMANTIC", } ImportKind_value = map[string]int32{ "IMPORT_KIND_UNKNOWN": 0, "DIRECT": 1, "MAIN_CLASS": 2, "IMPLICIT": 3, "EXTENDS": 4, "RESOLVED_NAME": 5, "TRANSITIVE": 6, "SEMANTIC": 7, } )
Enum value maps for ImportKind.
var ( SymbolType_name = map[int32]string{ 0: "SYMBOL_TYPE_UNKNOWN", 1: "SYMBOL_PACKAGE", 2: "SYMBOL_CLASS", 3: "SYMBOL_INTERFACE", 4: "SYMBOL_TRAIT", 5: "SYMBOL_OBJECT", 7: "SYMBOL_VALUE", 8: "SYMBOL_OVERRIDE", 9: "SYMBOL_CROSS_RESOLVE", 10: "SYMBOL_PLATFORM", 11: "SYMBOL_TYPE", 12: "SYMBOL_PROTO_ENUM", 13: "SYMBOL_PROTO_ENUM_FIELD", 14: "SYMBOL_PROTO_MESSAGE", 15: "SYMBOL_PROTO_SERVICE", 16: "SYMBOL_PROTO_PACKAGE", } SymbolType_value = map[string]int32{ "SYMBOL_TYPE_UNKNOWN": 0, "SYMBOL_PACKAGE": 1, "SYMBOL_CLASS": 2, "SYMBOL_INTERFACE": 3, "SYMBOL_TRAIT": 4, "SYMBOL_OBJECT": 5, "SYMBOL_VALUE": 7, "SYMBOL_OVERRIDE": 8, "SYMBOL_CROSS_RESOLVE": 9, "SYMBOL_PLATFORM": 10, "SYMBOL_TYPE": 11, "SYMBOL_PROTO_ENUM": 12, "SYMBOL_PROTO_ENUM_FIELD": 13, "SYMBOL_PROTO_MESSAGE": 14, "SYMBOL_PROTO_SERVICE": 15, "SYMBOL_PROTO_PACKAGE": 16, } )
Enum value maps for SymbolType.
var Compiler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "build.stack.gazelle.scala.parse.Compiler", HandlerType: (*CompilerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Compile", Handler: _Compiler_Compile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "build/stack/gazelle/scala/parse/compiler.proto", }
Compiler_ServiceDesc is the grpc.ServiceDesc for Compiler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_build_stack_gazelle_scala_parse_compiler_proto protoreflect.FileDescriptor
var File_build_stack_gazelle_scala_parse_file_proto protoreflect.FileDescriptor
var File_build_stack_gazelle_scala_parse_import_proto protoreflect.FileDescriptor
var File_build_stack_gazelle_scala_parse_parser_proto protoreflect.FileDescriptor
var File_build_stack_gazelle_scala_parse_rule_proto protoreflect.FileDescriptor
var File_build_stack_gazelle_scala_parse_symbol_proto protoreflect.FileDescriptor
var Parser_ServiceDesc = grpc.ServiceDesc{ ServiceName: "build.stack.gazelle.scala.parse.Parser", HandlerType: (*ParserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Parse", Handler: _Parser_Parse_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "build/stack/gazelle/scala/parse/parser.proto", }
Parser_ServiceDesc is the grpc.ServiceDesc for Parser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCompilerServer ¶
func RegisterCompilerServer(s grpc.ServiceRegistrar, srv CompilerServer)
func RegisterParserServer ¶
func RegisterParserServer(s grpc.ServiceRegistrar, srv ParserServer)
Types ¶
type ClassList ¶
type ClassList struct { Classes []string `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"` // contains filtered or unexported fields }
func (*ClassList) Descriptor
deprecated
func (*ClassList) GetClasses ¶
func (*ClassList) ProtoMessage ¶
func (*ClassList) ProtoMessage()
func (*ClassList) ProtoReflect ¶
func (x *ClassList) ProtoReflect() protoreflect.Message
type CompileRequest ¶
type CompileRequest struct { Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` Filenames []string `protobuf:"bytes,2,rep,name=filenames,proto3" json:"filenames,omitempty"` // contains filtered or unexported fields }
func (*CompileRequest) Descriptor
deprecated
func (*CompileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompileRequest.ProtoReflect.Descriptor instead.
func (*CompileRequest) GetDir ¶
func (x *CompileRequest) GetDir() string
func (*CompileRequest) GetFilenames ¶
func (x *CompileRequest) GetFilenames() []string
func (*CompileRequest) ProtoMessage ¶
func (*CompileRequest) ProtoMessage()
func (*CompileRequest) ProtoReflect ¶
func (x *CompileRequest) ProtoReflect() protoreflect.Message
func (*CompileRequest) Reset ¶
func (x *CompileRequest) Reset()
func (*CompileRequest) String ¶
func (x *CompileRequest) String() string
type CompileResponse ¶
type CompileResponse struct { Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ElapsedMillis int64 `protobuf:"varint,3,opt,name=elapsed_millis,json=elapsedMillis,proto3" json:"elapsed_millis,omitempty"` // contains filtered or unexported fields }
func (*CompileResponse) Descriptor
deprecated
func (*CompileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompileResponse.ProtoReflect.Descriptor instead.
func (*CompileResponse) GetDiagnostics ¶
func (x *CompileResponse) GetDiagnostics() []*Diagnostic
func (*CompileResponse) GetElapsedMillis ¶
func (x *CompileResponse) GetElapsedMillis() int64
func (*CompileResponse) GetError ¶
func (x *CompileResponse) GetError() string
func (*CompileResponse) ProtoMessage ¶
func (*CompileResponse) ProtoMessage()
func (*CompileResponse) ProtoReflect ¶
func (x *CompileResponse) ProtoReflect() protoreflect.Message
func (*CompileResponse) Reset ¶
func (x *CompileResponse) Reset()
func (*CompileResponse) String ¶
func (x *CompileResponse) String() string
type CompilerClient ¶
type CompilerClient interface {
Compile(ctx context.Context, in *CompileRequest, opts ...grpc.CallOption) (*CompileResponse, error)
}
CompilerClient is the client API for Compiler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCompilerClient ¶
func NewCompilerClient(cc grpc.ClientConnInterface) CompilerClient
type CompilerServer ¶
type CompilerServer interface { Compile(context.Context, *CompileRequest) (*CompileResponse, error) // contains filtered or unexported methods }
CompilerServer is the server API for Compiler service. All implementations must embed UnimplementedCompilerServer for forward compatibility
type Diagnostic ¶
type Diagnostic struct { Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=build.stack.gazelle.scala.parse.Severity" json:"severity,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetLine ¶
func (x *Diagnostic) GetLine() int32
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() Severity
func (*Diagnostic) GetSource ¶
func (x *Diagnostic) GetSource() string
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type File ¶
type File struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` SemanticImports []string `protobuf:"bytes,2,rep,name=semantic_imports,json=semanticImports,proto3" json:"semantic_imports,omitempty"` Imports []string `protobuf:"bytes,3,rep,name=imports,proto3" json:"imports,omitempty"` Packages []string `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"` Classes []string `protobuf:"bytes,5,rep,name=classes,proto3" json:"classes,omitempty"` Objects []string `protobuf:"bytes,6,rep,name=objects,proto3" json:"objects,omitempty"` Traits []string `protobuf:"bytes,7,rep,name=traits,proto3" json:"traits,omitempty"` Types []string `protobuf:"bytes,8,rep,name=types,proto3" json:"types,omitempty"` Vals []string `protobuf:"bytes,9,rep,name=vals,proto3" json:"vals,omitempty"` Names []string `protobuf:"bytes,10,rep,name=names,proto3" json:"names,omitempty"` Extends map[string]*ClassList `` /* 156-byte string literal not displayed */ Error string `protobuf:"bytes,13,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetClasses ¶
func (*File) GetExtends ¶
func (*File) GetFilename ¶
func (*File) GetImports ¶
func (*File) GetObjects ¶
func (*File) GetPackages ¶
func (*File) GetSemanticImports ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileSet ¶
type FileSet struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*FileSet) Descriptor
deprecated
func (*FileSet) ProtoMessage ¶
func (*FileSet) ProtoMessage()
func (*FileSet) ProtoReflect ¶
func (x *FileSet) ProtoReflect() protoreflect.Message
type ImportKind ¶
type ImportKind int32
const ( ImportKind_IMPORT_KIND_UNKNOWN ImportKind = 0 ImportKind_DIRECT ImportKind = 1 ImportKind_MAIN_CLASS ImportKind = 2 ImportKind_IMPLICIT ImportKind = 3 ImportKind_EXTENDS ImportKind = 4 ImportKind_RESOLVED_NAME ImportKind = 5 ImportKind_TRANSITIVE ImportKind = 6 ImportKind_SEMANTIC ImportKind = 7 )
func (ImportKind) Descriptor ¶
func (ImportKind) Descriptor() protoreflect.EnumDescriptor
func (ImportKind) Enum ¶
func (x ImportKind) Enum() *ImportKind
func (ImportKind) EnumDescriptor
deprecated
func (ImportKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportKind.Descriptor instead.
func (ImportKind) Number ¶
func (x ImportKind) Number() protoreflect.EnumNumber
func (ImportKind) String ¶
func (x ImportKind) String() string
func (ImportKind) Type ¶
func (ImportKind) Type() protoreflect.EnumType
type ImportType ¶
type ImportType int32
const ( ImportType_IMPORT_TYPE_UNKNOWN ImportType = 0 ImportType_PACKAGE ImportType = 1 ImportType_CLASS ImportType = 2 ImportType_INTERFACE ImportType = 3 ImportType_TRAIT ImportType = 4 ImportType_OBJECT ImportType = 5 ImportType_VALUE ImportType = 7 ImportType_OVERRIDE ImportType = 8 ImportType_CROSS_RESOLVE ImportType = 9 ImportType_PLATFORM ImportType = 10 ImportType_TYPE ImportType = 11 ImportType_PROTO_ENUM ImportType = 12 ImportType_PROTO_ENUM_FIELD ImportType = 13 ImportType_PROTO_MESSAGE ImportType = 14 ImportType_PROTO_SERVICE ImportType = 15 ImportType_PROTO_PACKAGE ImportType = 16 )
func (ImportType) Descriptor ¶
func (ImportType) Descriptor() protoreflect.EnumDescriptor
func (ImportType) Enum ¶
func (x ImportType) Enum() *ImportType
func (ImportType) EnumDescriptor
deprecated
func (ImportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportType.Descriptor instead.
func (ImportType) Number ¶
func (x ImportType) Number() protoreflect.EnumNumber
func (ImportType) String ¶
func (x ImportType) String() string
func (ImportType) Type ¶
func (ImportType) Type() protoreflect.EnumType
type ParseRequest ¶
type ParseRequest struct { Filenames []string `protobuf:"bytes,1,rep,name=filenames,proto3" json:"filenames,omitempty"` // contains filtered or unexported fields }
func (*ParseRequest) Descriptor
deprecated
func (*ParseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead.
func (*ParseRequest) GetFilenames ¶
func (x *ParseRequest) GetFilenames() []string
func (*ParseRequest) ProtoMessage ¶
func (*ParseRequest) ProtoMessage()
func (*ParseRequest) ProtoReflect ¶
func (x *ParseRequest) ProtoReflect() protoreflect.Message
func (*ParseRequest) Reset ¶
func (x *ParseRequest) Reset()
func (*ParseRequest) String ¶
func (x *ParseRequest) String() string
type ParseResponse ¶
type ParseResponse struct { Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ElapsedMillis int64 `protobuf:"varint,3,opt,name=elapsed_millis,json=elapsedMillis,proto3" json:"elapsed_millis,omitempty"` // contains filtered or unexported fields }
func (*ParseResponse) Descriptor
deprecated
func (*ParseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseResponse.ProtoReflect.Descriptor instead.
func (*ParseResponse) GetElapsedMillis ¶
func (x *ParseResponse) GetElapsedMillis() int64
func (*ParseResponse) GetError ¶
func (x *ParseResponse) GetError() string
func (*ParseResponse) GetFiles ¶
func (x *ParseResponse) GetFiles() []*File
func (*ParseResponse) ProtoMessage ¶
func (*ParseResponse) ProtoMessage()
func (*ParseResponse) ProtoReflect ¶
func (x *ParseResponse) ProtoReflect() protoreflect.Message
func (*ParseResponse) Reset ¶
func (x *ParseResponse) Reset()
func (*ParseResponse) String ¶
func (x *ParseResponse) String() string
type ParserClient ¶
type ParserClient interface {
Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error)
}
ParserClient is the client API for Parser service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewParserClient ¶
func NewParserClient(cc grpc.ClientConnInterface) ParserClient
type ParserServer ¶
type ParserServer interface { Parse(context.Context, *ParseRequest) (*ParseResponse, error) // contains filtered or unexported methods }
ParserServer is the server API for Parser service. All implementations must embed UnimplementedParserServer for forward compatibility
type Rule ¶
type Rule struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Files []*File `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` Sha256 string `protobuf:"bytes,4,opt,name=sha256,proto3" json:"sha256,omitempty"` ParseTimeMillis int64 `protobuf:"varint,5,opt,name=parse_time_millis,json=parseTimeMillis,proto3" json:"parse_time_millis,omitempty"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetParseTimeMillis ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type Severity ¶
type Severity int32
func (Severity) Descriptor ¶
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶
func (Severity) Type() protoreflect.EnumType
type Symbol ¶
type Symbol struct { Type SymbolType `protobuf:"varint,1,opt,name=type,proto3,enum=build.stack.gazelle.scala.parse.SymbolType" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Symbol) Descriptor
deprecated
func (*Symbol) GetType ¶
func (x *Symbol) GetType() SymbolType
func (*Symbol) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
type SymbolType ¶
type SymbolType int32
const ( SymbolType_SYMBOL_TYPE_UNKNOWN SymbolType = 0 SymbolType_SYMBOL_PACKAGE SymbolType = 1 SymbolType_SYMBOL_CLASS SymbolType = 2 SymbolType_SYMBOL_INTERFACE SymbolType = 3 SymbolType_SYMBOL_TRAIT SymbolType = 4 SymbolType_SYMBOL_OBJECT SymbolType = 5 SymbolType_SYMBOL_VALUE SymbolType = 7 SymbolType_SYMBOL_OVERRIDE SymbolType = 8 SymbolType_SYMBOL_CROSS_RESOLVE SymbolType = 9 SymbolType_SYMBOL_PLATFORM SymbolType = 10 SymbolType_SYMBOL_TYPE SymbolType = 11 SymbolType_SYMBOL_PROTO_ENUM SymbolType = 12 SymbolType_SYMBOL_PROTO_ENUM_FIELD SymbolType = 13 SymbolType_SYMBOL_PROTO_MESSAGE SymbolType = 14 SymbolType_SYMBOL_PROTO_SERVICE SymbolType = 15 SymbolType_SYMBOL_PROTO_PACKAGE SymbolType = 16 )
func (SymbolType) Descriptor ¶
func (SymbolType) Descriptor() protoreflect.EnumDescriptor
func (SymbolType) Enum ¶
func (x SymbolType) Enum() *SymbolType
func (SymbolType) EnumDescriptor
deprecated
func (SymbolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SymbolType.Descriptor instead.
func (SymbolType) Number ¶
func (x SymbolType) Number() protoreflect.EnumNumber
func (SymbolType) String ¶
func (x SymbolType) String() string
func (SymbolType) Type ¶
func (SymbolType) Type() protoreflect.EnumType
type UnimplementedCompilerServer ¶
type UnimplementedCompilerServer struct { }
UnimplementedCompilerServer must be embedded to have forward compatible implementations.
func (UnimplementedCompilerServer) Compile ¶
func (UnimplementedCompilerServer) Compile(context.Context, *CompileRequest) (*CompileResponse, error)
type UnimplementedParserServer ¶
type UnimplementedParserServer struct { }
UnimplementedParserServer must be embedded to have forward compatible implementations.
func (UnimplementedParserServer) Parse ¶
func (UnimplementedParserServer) Parse(context.Context, *ParseRequest) (*ParseResponse, error)
type UnsafeCompilerServer ¶
type UnsafeCompilerServer interface {
// contains filtered or unexported methods
}
UnsafeCompilerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CompilerServer will result in compilation errors.
type UnsafeParserServer ¶
type UnsafeParserServer interface {
// contains filtered or unexported methods
}
UnsafeParserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParserServer will result in compilation errors.