Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterToolingServer(s grpc.ServiceRegistrar, srv ToolingServer)
- type AddDependencyRequest
- func (*AddDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyRequest) GetPackageName() string
- func (x *AddDependencyRequest) GetVersion() string
- func (*AddDependencyRequest) ProtoMessage()
- func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *AddDependencyRequest) Reset()
- func (x *AddDependencyRequest) String() string
- type AddDependencyResponse
- func (*AddDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependencyResponse) GetError() string
- func (x *AddDependencyResponse) GetInstalledVersion() string
- func (x *AddDependencyResponse) GetSuccess() bool
- func (*AddDependencyResponse) ProtoMessage()
- func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *AddDependencyResponse) Reset()
- func (x *AddDependencyResponse) String() string
- type ApplyEditRequest
- func (*ApplyEditRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditRequest) GetAutoFix() bool
- func (x *ApplyEditRequest) GetFile() string
- func (x *ApplyEditRequest) GetFind() string
- func (x *ApplyEditRequest) GetReplace() string
- func (*ApplyEditRequest) ProtoMessage()
- func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyEditRequest) Reset()
- func (x *ApplyEditRequest) String() string
- type ApplyEditResponse
- func (*ApplyEditResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditResponse) GetContent() string
- func (x *ApplyEditResponse) GetError() string
- func (x *ApplyEditResponse) GetFixActions() []string
- func (x *ApplyEditResponse) GetStrategy() string
- func (x *ApplyEditResponse) GetSuccess() bool
- func (*ApplyEditResponse) ProtoMessage()
- func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditResponse) Reset()
- func (x *ApplyEditResponse) String() string
- type BuildRequest
- type BuildResponse
- func (*BuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildResponse) GetDiagnostics() []*Diagnostic
- func (x *BuildResponse) GetOutput() string
- func (x *BuildResponse) GetSuccess() bool
- func (*BuildResponse) ProtoMessage()
- func (x *BuildResponse) ProtoReflect() protoreflect.Message
- func (x *BuildResponse) Reset()
- func (x *BuildResponse) String() string
- type CallEdge
- func (*CallEdge) Descriptor() ([]byte, []int)deprecated
- func (x *CallEdge) GetCallSite() *Location
- func (x *CallEdge) GetCallType() string
- func (x *CallEdge) GetCalleeId() string
- func (x *CallEdge) GetCallerId() string
- func (*CallEdge) ProtoMessage()
- func (x *CallEdge) ProtoReflect() protoreflect.Message
- func (x *CallEdge) Reset()
- func (x *CallEdge) String() string
- type CompletionItem
- func (*CompletionItem) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionItem) GetDetail() string
- func (x *CompletionItem) GetDocumentation() string
- func (x *CompletionItem) GetInsertText() string
- func (x *CompletionItem) GetKind() CompletionKind
- func (x *CompletionItem) GetLabel() string
- func (x *CompletionItem) GetSortText() string
- func (*CompletionItem) ProtoMessage()
- func (x *CompletionItem) ProtoReflect() protoreflect.Message
- func (x *CompletionItem) Reset()
- func (x *CompletionItem) String() string
- type CompletionKind
- func (CompletionKind) Descriptor() protoreflect.EnumDescriptor
- func (x CompletionKind) Enum() *CompletionKind
- func (CompletionKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompletionKind) Number() protoreflect.EnumNumber
- func (x CompletionKind) String() string
- func (CompletionKind) Type() protoreflect.EnumType
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetDirect() bool
- func (x *Dependency) GetName() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetCode() string
- func (x *Diagnostic) GetColumn() int32
- func (x *Diagnostic) GetEndColumn() int32
- func (x *Diagnostic) GetEndLine() int32
- func (x *Diagnostic) GetFile() string
- func (x *Diagnostic) GetLine() int32
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSeverity() DiagnosticSeverity
- func (x *Diagnostic) GetSource() string
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type DiagnosticSeverity
- func (DiagnosticSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x DiagnosticSeverity) Enum() *DiagnosticSeverity
- func (DiagnosticSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiagnosticSeverity) Number() protoreflect.EnumNumber
- func (x DiagnosticSeverity) String() string
- func (DiagnosticSeverity) Type() protoreflect.EnumType
- type FindReferencesRequest
- func (*FindReferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesRequest) GetColumn() int32
- func (x *FindReferencesRequest) GetFile() string
- func (x *FindReferencesRequest) GetLine() int32
- func (*FindReferencesRequest) ProtoMessage()
- func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
- func (x *FindReferencesRequest) Reset()
- func (x *FindReferencesRequest) String() string
- type FindReferencesResponse
- func (*FindReferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindReferencesResponse) GetLocations() []*Location
- func (*FindReferencesResponse) ProtoMessage()
- func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
- func (x *FindReferencesResponse) Reset()
- func (x *FindReferencesResponse) String() string
- type FixRequest
- type FixResponse
- func (*FixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FixResponse) GetActions() []string
- func (x *FixResponse) GetContent() string
- func (x *FixResponse) GetError() string
- func (x *FixResponse) GetSuccess() bool
- func (*FixResponse) ProtoMessage()
- func (x *FixResponse) ProtoReflect() protoreflect.Message
- func (x *FixResponse) Reset()
- func (x *FixResponse) String() string
- type GetCallGraphRequest
- func (*GetCallGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCallGraphRequest) GetAlgorithm() string
- func (*GetCallGraphRequest) ProtoMessage()
- func (x *GetCallGraphRequest) ProtoReflect() protoreflect.Message
- func (x *GetCallGraphRequest) Reset()
- func (x *GetCallGraphRequest) String() string
- type GetCallGraphResponse
- func (*GetCallGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCallGraphResponse) GetAlgorithmUsed() string
- func (x *GetCallGraphResponse) GetCalls() []*CallEdge
- func (x *GetCallGraphResponse) GetError() string
- func (x *GetCallGraphResponse) GetFunctionsAnalyzed() int32
- func (x *GetCallGraphResponse) GetImplements() []*ImplementsEdge
- func (*GetCallGraphResponse) ProtoMessage()
- func (x *GetCallGraphResponse) ProtoReflect() protoreflect.Message
- func (x *GetCallGraphResponse) Reset()
- func (x *GetCallGraphResponse) String() string
- type GetCompletionsRequest
- func (*GetCompletionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompletionsRequest) GetColumn() int32
- func (x *GetCompletionsRequest) GetFile() string
- func (x *GetCompletionsRequest) GetLine() int32
- func (*GetCompletionsRequest) ProtoMessage()
- func (x *GetCompletionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompletionsRequest) Reset()
- func (x *GetCompletionsRequest) String() string
- type GetCompletionsResponse
- func (*GetCompletionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompletionsResponse) GetIsIncomplete() bool
- func (x *GetCompletionsResponse) GetItems() []*CompletionItem
- func (*GetCompletionsResponse) ProtoMessage()
- func (x *GetCompletionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCompletionsResponse) Reset()
- func (x *GetCompletionsResponse) String() string
- type GetDiagnosticsRequest
- func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsRequest) GetFile() string
- func (*GetDiagnosticsRequest) ProtoMessage()
- func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsRequest) Reset()
- func (x *GetDiagnosticsRequest) String() string
- type GetDiagnosticsResponse
- func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
- func (*GetDiagnosticsResponse) ProtoMessage()
- func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDiagnosticsResponse) Reset()
- func (x *GetDiagnosticsResponse) String() string
- type GetHoverInfoRequest
- func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoRequest) GetColumn() int32
- func (x *GetHoverInfoRequest) GetFile() string
- func (x *GetHoverInfoRequest) GetLine() int32
- func (*GetHoverInfoRequest) ProtoMessage()
- func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoRequest) Reset()
- func (x *GetHoverInfoRequest) String() string
- type GetHoverInfoResponse
- func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHoverInfoResponse) GetContent() string
- func (x *GetHoverInfoResponse) GetLanguage() string
- func (x *GetHoverInfoResponse) GetRange() *Location
- func (*GetHoverInfoResponse) ProtoMessage()
- func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetHoverInfoResponse) Reset()
- func (x *GetHoverInfoResponse) String() string
- type GetProjectInfoRequest
- type GetProjectInfoResponse
- func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
- func (x *GetProjectInfoResponse) GetError() string
- func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
- func (x *GetProjectInfoResponse) GetLanguage() string
- func (x *GetProjectInfoResponse) GetLanguageVersion() string
- func (x *GetProjectInfoResponse) GetModule() string
- func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
- func (*GetProjectInfoResponse) ProtoMessage()
- func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectInfoResponse) Reset()
- func (x *GetProjectInfoResponse) String() string
- type GoToDefinitionRequest
- func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionRequest) GetColumn() int32
- func (x *GoToDefinitionRequest) GetFile() string
- func (x *GoToDefinitionRequest) GetLine() int32
- func (*GoToDefinitionRequest) ProtoMessage()
- func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionRequest) Reset()
- func (x *GoToDefinitionRequest) String() string
- type GoToDefinitionResponse
- func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GoToDefinitionResponse) GetLocations() []*Location
- func (*GoToDefinitionResponse) ProtoMessage()
- func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GoToDefinitionResponse) Reset()
- func (x *GoToDefinitionResponse) String() string
- type ImplementsEdge
- func (*ImplementsEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ImplementsEdge) GetInterfaceId() string
- func (x *ImplementsEdge) GetTypeId() string
- func (*ImplementsEdge) ProtoMessage()
- func (x *ImplementsEdge) ProtoReflect() protoreflect.Message
- func (x *ImplementsEdge) Reset()
- func (x *ImplementsEdge) String() string
- type LintRequest
- type LintResponse
- func (*LintResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LintResponse) GetDiagnostics() []*Diagnostic
- func (x *LintResponse) GetOutput() string
- func (x *LintResponse) GetSuccess() bool
- func (*LintResponse) ProtoMessage()
- func (x *LintResponse) ProtoReflect() protoreflect.Message
- func (x *LintResponse) Reset()
- func (x *LintResponse) String() string
- type ListDependenciesRequest
- type ListDependenciesResponse
- func (*ListDependenciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDependenciesResponse) GetDependencies() []*Dependency
- func (x *ListDependenciesResponse) GetError() string
- func (*ListDependenciesResponse) ProtoMessage()
- func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDependenciesResponse) Reset()
- func (x *ListDependenciesResponse) String() string
- type ListSymbolsRequest
- func (*ListSymbolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsRequest) GetFile() string
- func (*ListSymbolsRequest) ProtoMessage()
- func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsRequest) Reset()
- func (x *ListSymbolsRequest) String() string
- type ListSymbolsResponse
- func (*ListSymbolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSymbolsResponse) GetSymbols() []*Symbol
- func (*ListSymbolsResponse) ProtoMessage()
- func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSymbolsResponse) Reset()
- func (x *ListSymbolsResponse) String() string
- type Location
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetColumn() int32
- func (x *Location) GetEndColumn() int32
- func (x *Location) GetEndLine() int32
- func (x *Location) GetFile() string
- func (x *Location) GetLine() int32
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (x *Location) String() string
- type PackageInfo
- func (*PackageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PackageInfo) GetDoc() string
- func (x *PackageInfo) GetFiles() []string
- func (x *PackageInfo) GetImports() []string
- func (x *PackageInfo) GetName() string
- func (x *PackageInfo) GetRelativePath() string
- func (*PackageInfo) ProtoMessage()
- func (x *PackageInfo) ProtoReflect() protoreflect.Message
- func (x *PackageInfo) Reset()
- func (x *PackageInfo) String() string
- type RemoveDependencyRequest
- func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyRequest) GetPackageName() string
- func (*RemoveDependencyRequest) ProtoMessage()
- func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyRequest) Reset()
- func (x *RemoveDependencyRequest) String() string
- type RemoveDependencyResponse
- func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependencyResponse) GetError() string
- func (x *RemoveDependencyResponse) GetSuccess() bool
- func (*RemoveDependencyResponse) ProtoMessage()
- func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDependencyResponse) Reset()
- func (x *RemoveDependencyResponse) String() string
- type RenameSymbolRequest
- func (*RenameSymbolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolRequest) GetColumn() int32
- func (x *RenameSymbolRequest) GetFile() string
- func (x *RenameSymbolRequest) GetLine() int32
- func (x *RenameSymbolRequest) GetNewName() string
- func (*RenameSymbolRequest) ProtoMessage()
- func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolRequest) Reset()
- func (x *RenameSymbolRequest) String() string
- type RenameSymbolResponse
- func (*RenameSymbolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameSymbolResponse) GetEdits() []*TextEdit
- func (x *RenameSymbolResponse) GetError() string
- func (x *RenameSymbolResponse) GetFiles() []string
- func (x *RenameSymbolResponse) GetSuccess() bool
- func (*RenameSymbolResponse) ProtoMessage()
- func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
- func (x *RenameSymbolResponse) Reset()
- func (x *RenameSymbolResponse) String() string
- type Symbol
- func (*Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *Symbol) GetBodyHash() string
- func (x *Symbol) GetChildren() []*Symbol
- func (x *Symbol) GetDocumentation() string
- func (x *Symbol) GetKind() SymbolKind
- func (x *Symbol) GetLocation() *Location
- func (x *Symbol) GetName() string
- func (x *Symbol) GetParent() string
- func (x *Symbol) GetQualifiedName() string
- func (x *Symbol) GetSignature() string
- func (x *Symbol) GetSignatureHash() string
- func (*Symbol) ProtoMessage()
- func (x *Symbol) ProtoReflect() protoreflect.Message
- func (x *Symbol) Reset()
- func (x *Symbol) String() string
- type SymbolKind
- type TestRequest
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetCoveragePct() float32
- func (x *TestResponse) GetFailures() []string
- func (x *TestResponse) GetOutput() string
- func (x *TestResponse) GetSuccess() bool
- func (x *TestResponse) GetTestsFailed() int32
- func (x *TestResponse) GetTestsPassed() int32
- func (x *TestResponse) GetTestsRun() int32
- func (x *TestResponse) GetTestsSkipped() int32
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- type TextEdit
- func (*TextEdit) Descriptor() ([]byte, []int)deprecated
- func (x *TextEdit) GetEndColumn() int32
- func (x *TextEdit) GetEndLine() int32
- func (x *TextEdit) GetFile() string
- func (x *TextEdit) GetNewText() string
- func (x *TextEdit) GetStartColumn() int32
- func (x *TextEdit) GetStartLine() int32
- func (*TextEdit) ProtoMessage()
- func (x *TextEdit) ProtoReflect() protoreflect.Message
- func (x *TextEdit) Reset()
- func (x *TextEdit) String() string
- type ToolingClient
- type ToolingServer
- type UnimplementedToolingServer
- func (UnimplementedToolingServer) AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
- func (UnimplementedToolingServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
- func (UnimplementedToolingServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
- func (UnimplementedToolingServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
- func (UnimplementedToolingServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
- func (UnimplementedToolingServer) GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
- func (UnimplementedToolingServer) GetCompletions(context.Context, *GetCompletionsRequest) (*GetCompletionsResponse, error)
- func (UnimplementedToolingServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
- func (UnimplementedToolingServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
- func (UnimplementedToolingServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
- func (UnimplementedToolingServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
- func (UnimplementedToolingServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
- func (UnimplementedToolingServer) ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
- func (UnimplementedToolingServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
- func (UnimplementedToolingServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
- func (UnimplementedToolingServer) RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
- func (UnimplementedToolingServer) Test(context.Context, *TestRequest) (*TestResponse, error)
- type UnsafeToolingServer
Constants ¶
const ( Tooling_ListSymbols_FullMethodName = "/codefly.services.tooling.v0.Tooling/ListSymbols" Tooling_GetDiagnostics_FullMethodName = "/codefly.services.tooling.v0.Tooling/GetDiagnostics" Tooling_GoToDefinition_FullMethodName = "/codefly.services.tooling.v0.Tooling/GoToDefinition" Tooling_FindReferences_FullMethodName = "/codefly.services.tooling.v0.Tooling/FindReferences" Tooling_RenameSymbol_FullMethodName = "/codefly.services.tooling.v0.Tooling/RenameSymbol" Tooling_GetHoverInfo_FullMethodName = "/codefly.services.tooling.v0.Tooling/GetHoverInfo" Tooling_GetCompletions_FullMethodName = "/codefly.services.tooling.v0.Tooling/GetCompletions" Tooling_Fix_FullMethodName = "/codefly.services.tooling.v0.Tooling/Fix" Tooling_ApplyEdit_FullMethodName = "/codefly.services.tooling.v0.Tooling/ApplyEdit" Tooling_ListDependencies_FullMethodName = "/codefly.services.tooling.v0.Tooling/ListDependencies" Tooling_AddDependency_FullMethodName = "/codefly.services.tooling.v0.Tooling/AddDependency" Tooling_RemoveDependency_FullMethodName = "/codefly.services.tooling.v0.Tooling/RemoveDependency" Tooling_GetProjectInfo_FullMethodName = "/codefly.services.tooling.v0.Tooling/GetProjectInfo" Tooling_GetCallGraph_FullMethodName = "/codefly.services.tooling.v0.Tooling/GetCallGraph" Tooling_Build_FullMethodName = "/codefly.services.tooling.v0.Tooling/Build" Tooling_Test_FullMethodName = "/codefly.services.tooling.v0.Tooling/Test" Tooling_Lint_FullMethodName = "/codefly.services.tooling.v0.Tooling/Lint" )
Variables ¶
var ( SymbolKind_name = map[int32]string{ 0: "SYMBOL_KIND_UNKNOWN", 1: "SYMBOL_KIND_FUNCTION", 2: "SYMBOL_KIND_METHOD", 3: "SYMBOL_KIND_STRUCT", 4: "SYMBOL_KIND_INTERFACE", 5: "SYMBOL_KIND_CONSTANT", 6: "SYMBOL_KIND_VARIABLE", 7: "SYMBOL_KIND_TYPE_ALIAS", 8: "SYMBOL_KIND_PACKAGE", 9: "SYMBOL_KIND_FIELD", 10: "SYMBOL_KIND_ENUM", 11: "SYMBOL_KIND_CLASS", } SymbolKind_value = map[string]int32{ "SYMBOL_KIND_UNKNOWN": 0, "SYMBOL_KIND_FUNCTION": 1, "SYMBOL_KIND_METHOD": 2, "SYMBOL_KIND_STRUCT": 3, "SYMBOL_KIND_INTERFACE": 4, "SYMBOL_KIND_CONSTANT": 5, "SYMBOL_KIND_VARIABLE": 6, "SYMBOL_KIND_TYPE_ALIAS": 7, "SYMBOL_KIND_PACKAGE": 8, "SYMBOL_KIND_FIELD": 9, "SYMBOL_KIND_ENUM": 10, "SYMBOL_KIND_CLASS": 11, } )
Enum value maps for SymbolKind.
var ( DiagnosticSeverity_name = map[int32]string{ 0: "DIAGNOSTIC_SEVERITY_UNKNOWN", 1: "DIAGNOSTIC_SEVERITY_ERROR", 2: "DIAGNOSTIC_SEVERITY_WARNING", 3: "DIAGNOSTIC_SEVERITY_INFORMATION", 4: "DIAGNOSTIC_SEVERITY_HINT", } DiagnosticSeverity_value = map[string]int32{ "DIAGNOSTIC_SEVERITY_UNKNOWN": 0, "DIAGNOSTIC_SEVERITY_ERROR": 1, "DIAGNOSTIC_SEVERITY_WARNING": 2, "DIAGNOSTIC_SEVERITY_INFORMATION": 3, "DIAGNOSTIC_SEVERITY_HINT": 4, } )
Enum value maps for DiagnosticSeverity.
var ( CompletionKind_name = map[int32]string{ 0: "COMPLETION_KIND_UNKNOWN", 1: "COMPLETION_KIND_TEXT", 2: "COMPLETION_KIND_METHOD", 3: "COMPLETION_KIND_FUNCTION", 4: "COMPLETION_KIND_CONSTRUCTOR", 5: "COMPLETION_KIND_FIELD", 6: "COMPLETION_KIND_VARIABLE", 7: "COMPLETION_KIND_CLASS", 8: "COMPLETION_KIND_INTERFACE", 9: "COMPLETION_KIND_MODULE", 10: "COMPLETION_KIND_PROPERTY", 13: "COMPLETION_KIND_ENUM", 14: "COMPLETION_KIND_KEYWORD", 15: "COMPLETION_KIND_SNIPPET", 21: "COMPLETION_KIND_CONSTANT", 22: "COMPLETION_KIND_STRUCT", 25: "COMPLETION_KIND_TYPE_PARAMETER", } CompletionKind_value = map[string]int32{ "COMPLETION_KIND_UNKNOWN": 0, "COMPLETION_KIND_TEXT": 1, "COMPLETION_KIND_METHOD": 2, "COMPLETION_KIND_FUNCTION": 3, "COMPLETION_KIND_CONSTRUCTOR": 4, "COMPLETION_KIND_FIELD": 5, "COMPLETION_KIND_VARIABLE": 6, "COMPLETION_KIND_CLASS": 7, "COMPLETION_KIND_INTERFACE": 8, "COMPLETION_KIND_MODULE": 9, "COMPLETION_KIND_PROPERTY": 10, "COMPLETION_KIND_ENUM": 13, "COMPLETION_KIND_KEYWORD": 14, "COMPLETION_KIND_SNIPPET": 15, "COMPLETION_KIND_CONSTANT": 21, "COMPLETION_KIND_STRUCT": 22, "COMPLETION_KIND_TYPE_PARAMETER": 25, } )
Enum value maps for CompletionKind.
var File_codefly_services_tooling_v0_tooling_proto protoreflect.FileDescriptor
var Tooling_ServiceDesc = grpc.ServiceDesc{ ServiceName: "codefly.services.tooling.v0.Tooling", HandlerType: (*ToolingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListSymbols", Handler: _Tooling_ListSymbols_Handler, }, { MethodName: "GetDiagnostics", Handler: _Tooling_GetDiagnostics_Handler, }, { MethodName: "GoToDefinition", Handler: _Tooling_GoToDefinition_Handler, }, { MethodName: "FindReferences", Handler: _Tooling_FindReferences_Handler, }, { MethodName: "RenameSymbol", Handler: _Tooling_RenameSymbol_Handler, }, { MethodName: "GetHoverInfo", Handler: _Tooling_GetHoverInfo_Handler, }, { MethodName: "GetCompletions", Handler: _Tooling_GetCompletions_Handler, }, { MethodName: "Fix", Handler: _Tooling_Fix_Handler, }, { MethodName: "ApplyEdit", Handler: _Tooling_ApplyEdit_Handler, }, { MethodName: "ListDependencies", Handler: _Tooling_ListDependencies_Handler, }, { MethodName: "AddDependency", Handler: _Tooling_AddDependency_Handler, }, { MethodName: "RemoveDependency", Handler: _Tooling_RemoveDependency_Handler, }, { MethodName: "GetProjectInfo", Handler: _Tooling_GetProjectInfo_Handler, }, { MethodName: "GetCallGraph", Handler: _Tooling_GetCallGraph_Handler, }, { MethodName: "Build", Handler: _Tooling_Build_Handler, }, { MethodName: "Test", Handler: _Tooling_Test_Handler, }, { MethodName: "Lint", Handler: _Tooling_Lint_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "codefly/services/tooling/v0/tooling.proto", }
Tooling_ServiceDesc is the grpc.ServiceDesc for Tooling service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterToolingServer ¶
func RegisterToolingServer(s grpc.ServiceRegistrar, srv ToolingServer)
Types ¶
type AddDependencyRequest ¶
type AddDependencyRequest struct {
PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*AddDependencyRequest) Descriptor
deprecated
func (*AddDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyRequest.ProtoReflect.Descriptor instead.
func (*AddDependencyRequest) GetPackageName ¶
func (x *AddDependencyRequest) GetPackageName() string
func (*AddDependencyRequest) GetVersion ¶
func (x *AddDependencyRequest) GetVersion() string
func (*AddDependencyRequest) ProtoMessage ¶
func (*AddDependencyRequest) ProtoMessage()
func (*AddDependencyRequest) ProtoReflect ¶
func (x *AddDependencyRequest) ProtoReflect() protoreflect.Message
func (*AddDependencyRequest) Reset ¶
func (x *AddDependencyRequest) Reset()
func (*AddDependencyRequest) String ¶
func (x *AddDependencyRequest) String() string
type AddDependencyResponse ¶
type AddDependencyResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"`
// contains filtered or unexported fields
}
func (*AddDependencyResponse) Descriptor
deprecated
func (*AddDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDependencyResponse.ProtoReflect.Descriptor instead.
func (*AddDependencyResponse) GetError ¶
func (x *AddDependencyResponse) GetError() string
func (*AddDependencyResponse) GetInstalledVersion ¶
func (x *AddDependencyResponse) GetInstalledVersion() string
func (*AddDependencyResponse) GetSuccess ¶
func (x *AddDependencyResponse) GetSuccess() bool
func (*AddDependencyResponse) ProtoMessage ¶
func (*AddDependencyResponse) ProtoMessage()
func (*AddDependencyResponse) ProtoReflect ¶
func (x *AddDependencyResponse) ProtoReflect() protoreflect.Message
func (*AddDependencyResponse) Reset ¶
func (x *AddDependencyResponse) Reset()
func (*AddDependencyResponse) String ¶
func (x *AddDependencyResponse) String() string
type ApplyEditRequest ¶
type ApplyEditRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Find string `protobuf:"bytes,2,opt,name=find,proto3" json:"find,omitempty"`
Replace string `protobuf:"bytes,3,opt,name=replace,proto3" json:"replace,omitempty"`
AutoFix bool `protobuf:"varint,4,opt,name=auto_fix,json=autoFix,proto3" json:"auto_fix,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyEditRequest) Descriptor
deprecated
func (*ApplyEditRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditRequest.ProtoReflect.Descriptor instead.
func (*ApplyEditRequest) GetAutoFix ¶
func (x *ApplyEditRequest) GetAutoFix() bool
func (*ApplyEditRequest) GetFile ¶
func (x *ApplyEditRequest) GetFile() string
func (*ApplyEditRequest) GetFind ¶
func (x *ApplyEditRequest) GetFind() string
func (*ApplyEditRequest) GetReplace ¶
func (x *ApplyEditRequest) GetReplace() string
func (*ApplyEditRequest) ProtoMessage ¶
func (*ApplyEditRequest) ProtoMessage()
func (*ApplyEditRequest) ProtoReflect ¶
func (x *ApplyEditRequest) ProtoReflect() protoreflect.Message
func (*ApplyEditRequest) Reset ¶
func (x *ApplyEditRequest) Reset()
func (*ApplyEditRequest) String ¶
func (x *ApplyEditRequest) String() string
type ApplyEditResponse ¶
type ApplyEditResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
FixActions []string `protobuf:"bytes,5,rep,name=fix_actions,json=fixActions,proto3" json:"fix_actions,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyEditResponse) Descriptor
deprecated
func (*ApplyEditResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditResponse.ProtoReflect.Descriptor instead.
func (*ApplyEditResponse) GetContent ¶
func (x *ApplyEditResponse) GetContent() string
func (*ApplyEditResponse) GetError ¶
func (x *ApplyEditResponse) GetError() string
func (*ApplyEditResponse) GetFixActions ¶
func (x *ApplyEditResponse) GetFixActions() []string
func (*ApplyEditResponse) GetStrategy ¶
func (x *ApplyEditResponse) GetStrategy() string
func (*ApplyEditResponse) GetSuccess ¶
func (x *ApplyEditResponse) GetSuccess() bool
func (*ApplyEditResponse) ProtoMessage ¶
func (*ApplyEditResponse) ProtoMessage()
func (*ApplyEditResponse) ProtoReflect ¶
func (x *ApplyEditResponse) ProtoReflect() protoreflect.Message
func (*ApplyEditResponse) Reset ¶
func (x *ApplyEditResponse) Reset()
func (*ApplyEditResponse) String ¶
func (x *ApplyEditResponse) String() string
type BuildRequest ¶
type BuildRequest struct {
// contains filtered or unexported fields
}
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (x *BuildRequest) String() string
type BuildResponse ¶
type BuildResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
func (*BuildResponse) Descriptor
deprecated
func (*BuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) GetDiagnostics ¶
func (x *BuildResponse) GetDiagnostics() []*Diagnostic
func (*BuildResponse) GetOutput ¶
func (x *BuildResponse) GetOutput() string
func (*BuildResponse) GetSuccess ¶
func (x *BuildResponse) GetSuccess() bool
func (*BuildResponse) ProtoMessage ¶
func (*BuildResponse) ProtoMessage()
func (*BuildResponse) ProtoReflect ¶
func (x *BuildResponse) ProtoReflect() protoreflect.Message
func (*BuildResponse) Reset ¶
func (x *BuildResponse) Reset()
func (*BuildResponse) String ¶
func (x *BuildResponse) String() string
type CallEdge ¶
type CallEdge struct {
CallerId string `protobuf:"bytes,1,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
CalleeId string `protobuf:"bytes,2,opt,name=callee_id,json=calleeId,proto3" json:"callee_id,omitempty"`
CallType string `protobuf:"bytes,3,opt,name=call_type,json=callType,proto3" json:"call_type,omitempty"`
CallSite *Location `protobuf:"bytes,4,opt,name=call_site,json=callSite,proto3" json:"call_site,omitempty"`
// contains filtered or unexported fields
}
func (*CallEdge) Descriptor
deprecated
func (*CallEdge) GetCallSite ¶
func (*CallEdge) GetCallType ¶
func (*CallEdge) GetCalleeId ¶
func (*CallEdge) GetCallerId ¶
func (*CallEdge) ProtoMessage ¶
func (*CallEdge) ProtoMessage()
func (*CallEdge) ProtoReflect ¶
func (x *CallEdge) ProtoReflect() protoreflect.Message
type CompletionItem ¶
type CompletionItem struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Kind CompletionKind `protobuf:"varint,2,opt,name=kind,proto3,enum=codefly.services.tooling.v0.CompletionKind" json:"kind,omitempty"`
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
Documentation string `protobuf:"bytes,4,opt,name=documentation,proto3" json:"documentation,omitempty"`
InsertText string `protobuf:"bytes,5,opt,name=insert_text,json=insertText,proto3" json:"insert_text,omitempty"`
SortText string `protobuf:"bytes,6,opt,name=sort_text,json=sortText,proto3" json:"sort_text,omitempty"`
// contains filtered or unexported fields
}
func (*CompletionItem) Descriptor
deprecated
func (*CompletionItem) Descriptor() ([]byte, []int)
Deprecated: Use CompletionItem.ProtoReflect.Descriptor instead.
func (*CompletionItem) GetDetail ¶
func (x *CompletionItem) GetDetail() string
func (*CompletionItem) GetDocumentation ¶
func (x *CompletionItem) GetDocumentation() string
func (*CompletionItem) GetInsertText ¶
func (x *CompletionItem) GetInsertText() string
func (*CompletionItem) GetKind ¶
func (x *CompletionItem) GetKind() CompletionKind
func (*CompletionItem) GetLabel ¶
func (x *CompletionItem) GetLabel() string
func (*CompletionItem) GetSortText ¶
func (x *CompletionItem) GetSortText() string
func (*CompletionItem) ProtoMessage ¶
func (*CompletionItem) ProtoMessage()
func (*CompletionItem) ProtoReflect ¶
func (x *CompletionItem) ProtoReflect() protoreflect.Message
func (*CompletionItem) Reset ¶
func (x *CompletionItem) Reset()
func (*CompletionItem) String ¶
func (x *CompletionItem) String() string
type CompletionKind ¶
type CompletionKind int32
const ( CompletionKind_COMPLETION_KIND_UNKNOWN CompletionKind = 0 CompletionKind_COMPLETION_KIND_TEXT CompletionKind = 1 CompletionKind_COMPLETION_KIND_METHOD CompletionKind = 2 CompletionKind_COMPLETION_KIND_FUNCTION CompletionKind = 3 CompletionKind_COMPLETION_KIND_CONSTRUCTOR CompletionKind = 4 CompletionKind_COMPLETION_KIND_FIELD CompletionKind = 5 CompletionKind_COMPLETION_KIND_VARIABLE CompletionKind = 6 CompletionKind_COMPLETION_KIND_CLASS CompletionKind = 7 CompletionKind_COMPLETION_KIND_INTERFACE CompletionKind = 8 CompletionKind_COMPLETION_KIND_MODULE CompletionKind = 9 CompletionKind_COMPLETION_KIND_PROPERTY CompletionKind = 10 CompletionKind_COMPLETION_KIND_ENUM CompletionKind = 13 CompletionKind_COMPLETION_KIND_KEYWORD CompletionKind = 14 CompletionKind_COMPLETION_KIND_SNIPPET CompletionKind = 15 CompletionKind_COMPLETION_KIND_CONSTANT CompletionKind = 21 CompletionKind_COMPLETION_KIND_STRUCT CompletionKind = 22 CompletionKind_COMPLETION_KIND_TYPE_PARAMETER CompletionKind = 25 )
func (CompletionKind) Descriptor ¶
func (CompletionKind) Descriptor() protoreflect.EnumDescriptor
func (CompletionKind) Enum ¶
func (x CompletionKind) Enum() *CompletionKind
func (CompletionKind) EnumDescriptor
deprecated
func (CompletionKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompletionKind.Descriptor instead.
func (CompletionKind) Number ¶
func (x CompletionKind) Number() protoreflect.EnumNumber
func (CompletionKind) String ¶
func (x CompletionKind) String() string
func (CompletionKind) Type ¶
func (CompletionKind) Type() protoreflect.EnumType
type Dependency ¶
type Dependency struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Direct bool `protobuf:"varint,3,opt,name=direct,proto3" json:"direct,omitempty"`
// contains filtered or unexported fields
}
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetDirect ¶
func (x *Dependency) GetDirect() bool
func (*Dependency) GetName ¶
func (x *Dependency) GetName() string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type Diagnostic ¶
type Diagnostic struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
Severity DiagnosticSeverity `protobuf:"varint,7,opt,name=severity,proto3,enum=codefly.services.tooling.v0.DiagnosticSeverity" json:"severity,omitempty"`
Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
Code string `protobuf:"bytes,9,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetCode ¶
func (x *Diagnostic) GetCode() string
func (*Diagnostic) GetColumn ¶
func (x *Diagnostic) GetColumn() int32
func (*Diagnostic) GetEndColumn ¶
func (x *Diagnostic) GetEndColumn() int32
func (*Diagnostic) GetEndLine ¶
func (x *Diagnostic) GetEndLine() int32
func (*Diagnostic) GetFile ¶
func (x *Diagnostic) GetFile() string
func (*Diagnostic) GetLine ¶
func (x *Diagnostic) GetLine() int32
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() DiagnosticSeverity
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 DiagnosticSeverity ¶
type DiagnosticSeverity int32
const ( DiagnosticSeverity_DIAGNOSTIC_SEVERITY_UNKNOWN DiagnosticSeverity = 0 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_ERROR DiagnosticSeverity = 1 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_WARNING DiagnosticSeverity = 2 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_INFORMATION DiagnosticSeverity = 3 DiagnosticSeverity_DIAGNOSTIC_SEVERITY_HINT DiagnosticSeverity = 4 )
func (DiagnosticSeverity) Descriptor ¶
func (DiagnosticSeverity) Descriptor() protoreflect.EnumDescriptor
func (DiagnosticSeverity) Enum ¶
func (x DiagnosticSeverity) Enum() *DiagnosticSeverity
func (DiagnosticSeverity) EnumDescriptor
deprecated
func (DiagnosticSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiagnosticSeverity.Descriptor instead.
func (DiagnosticSeverity) Number ¶
func (x DiagnosticSeverity) Number() protoreflect.EnumNumber
func (DiagnosticSeverity) String ¶
func (x DiagnosticSeverity) String() string
func (DiagnosticSeverity) Type ¶
func (DiagnosticSeverity) Type() protoreflect.EnumType
type FindReferencesRequest ¶
type FindReferencesRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*FindReferencesRequest) Descriptor
deprecated
func (*FindReferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesRequest.ProtoReflect.Descriptor instead.
func (*FindReferencesRequest) GetColumn ¶
func (x *FindReferencesRequest) GetColumn() int32
func (*FindReferencesRequest) GetFile ¶
func (x *FindReferencesRequest) GetFile() string
func (*FindReferencesRequest) GetLine ¶
func (x *FindReferencesRequest) GetLine() int32
func (*FindReferencesRequest) ProtoMessage ¶
func (*FindReferencesRequest) ProtoMessage()
func (*FindReferencesRequest) ProtoReflect ¶
func (x *FindReferencesRequest) ProtoReflect() protoreflect.Message
func (*FindReferencesRequest) Reset ¶
func (x *FindReferencesRequest) Reset()
func (*FindReferencesRequest) String ¶
func (x *FindReferencesRequest) String() string
type FindReferencesResponse ¶
type FindReferencesResponse struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
func (*FindReferencesResponse) Descriptor
deprecated
func (*FindReferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindReferencesResponse.ProtoReflect.Descriptor instead.
func (*FindReferencesResponse) GetLocations ¶
func (x *FindReferencesResponse) GetLocations() []*Location
func (*FindReferencesResponse) ProtoMessage ¶
func (*FindReferencesResponse) ProtoMessage()
func (*FindReferencesResponse) ProtoReflect ¶
func (x *FindReferencesResponse) ProtoReflect() protoreflect.Message
func (*FindReferencesResponse) Reset ¶
func (x *FindReferencesResponse) Reset()
func (*FindReferencesResponse) String ¶
func (x *FindReferencesResponse) String() string
type FixRequest ¶
type FixRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*FixRequest) Descriptor
deprecated
func (*FixRequest) Descriptor() ([]byte, []int)
Deprecated: Use FixRequest.ProtoReflect.Descriptor instead.
func (*FixRequest) GetFile ¶
func (x *FixRequest) GetFile() string
func (*FixRequest) ProtoMessage ¶
func (*FixRequest) ProtoMessage()
func (*FixRequest) ProtoReflect ¶
func (x *FixRequest) ProtoReflect() protoreflect.Message
func (*FixRequest) Reset ¶
func (x *FixRequest) Reset()
func (*FixRequest) String ¶
func (x *FixRequest) String() string
type FixResponse ¶
type FixResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
func (*FixResponse) Descriptor
deprecated
func (*FixResponse) Descriptor() ([]byte, []int)
Deprecated: Use FixResponse.ProtoReflect.Descriptor instead.
func (*FixResponse) GetActions ¶
func (x *FixResponse) GetActions() []string
func (*FixResponse) GetContent ¶
func (x *FixResponse) GetContent() string
func (*FixResponse) GetError ¶
func (x *FixResponse) GetError() string
func (*FixResponse) GetSuccess ¶
func (x *FixResponse) GetSuccess() bool
func (*FixResponse) ProtoMessage ¶
func (*FixResponse) ProtoMessage()
func (*FixResponse) ProtoReflect ¶
func (x *FixResponse) ProtoReflect() protoreflect.Message
func (*FixResponse) Reset ¶
func (x *FixResponse) Reset()
func (*FixResponse) String ¶
func (x *FixResponse) String() string
type GetCallGraphRequest ¶
type GetCallGraphRequest struct {
Algorithm string `protobuf:"bytes,1,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
// contains filtered or unexported fields
}
func (*GetCallGraphRequest) Descriptor
deprecated
func (*GetCallGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCallGraphRequest.ProtoReflect.Descriptor instead.
func (*GetCallGraphRequest) GetAlgorithm ¶
func (x *GetCallGraphRequest) GetAlgorithm() string
func (*GetCallGraphRequest) ProtoMessage ¶
func (*GetCallGraphRequest) ProtoMessage()
func (*GetCallGraphRequest) ProtoReflect ¶
func (x *GetCallGraphRequest) ProtoReflect() protoreflect.Message
func (*GetCallGraphRequest) Reset ¶
func (x *GetCallGraphRequest) Reset()
func (*GetCallGraphRequest) String ¶
func (x *GetCallGraphRequest) String() string
type GetCallGraphResponse ¶
type GetCallGraphResponse struct {
Calls []*CallEdge `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
Implements []*ImplementsEdge `protobuf:"bytes,2,rep,name=implements,proto3" json:"implements,omitempty"`
FunctionsAnalyzed int32 `protobuf:"varint,3,opt,name=functions_analyzed,json=functionsAnalyzed,proto3" json:"functions_analyzed,omitempty"`
AlgorithmUsed string `protobuf:"bytes,4,opt,name=algorithm_used,json=algorithmUsed,proto3" json:"algorithm_used,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GetCallGraphResponse) Descriptor
deprecated
func (*GetCallGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCallGraphResponse.ProtoReflect.Descriptor instead.
func (*GetCallGraphResponse) GetAlgorithmUsed ¶
func (x *GetCallGraphResponse) GetAlgorithmUsed() string
func (*GetCallGraphResponse) GetCalls ¶
func (x *GetCallGraphResponse) GetCalls() []*CallEdge
func (*GetCallGraphResponse) GetError ¶
func (x *GetCallGraphResponse) GetError() string
func (*GetCallGraphResponse) GetFunctionsAnalyzed ¶
func (x *GetCallGraphResponse) GetFunctionsAnalyzed() int32
func (*GetCallGraphResponse) GetImplements ¶
func (x *GetCallGraphResponse) GetImplements() []*ImplementsEdge
func (*GetCallGraphResponse) ProtoMessage ¶
func (*GetCallGraphResponse) ProtoMessage()
func (*GetCallGraphResponse) ProtoReflect ¶
func (x *GetCallGraphResponse) ProtoReflect() protoreflect.Message
func (*GetCallGraphResponse) Reset ¶
func (x *GetCallGraphResponse) Reset()
func (*GetCallGraphResponse) String ¶
func (x *GetCallGraphResponse) String() string
type GetCompletionsRequest ¶
type GetCompletionsRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*GetCompletionsRequest) Descriptor
deprecated
func (*GetCompletionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompletionsRequest.ProtoReflect.Descriptor instead.
func (*GetCompletionsRequest) GetColumn ¶
func (x *GetCompletionsRequest) GetColumn() int32
func (*GetCompletionsRequest) GetFile ¶
func (x *GetCompletionsRequest) GetFile() string
func (*GetCompletionsRequest) GetLine ¶
func (x *GetCompletionsRequest) GetLine() int32
func (*GetCompletionsRequest) ProtoMessage ¶
func (*GetCompletionsRequest) ProtoMessage()
func (*GetCompletionsRequest) ProtoReflect ¶
func (x *GetCompletionsRequest) ProtoReflect() protoreflect.Message
func (*GetCompletionsRequest) Reset ¶
func (x *GetCompletionsRequest) Reset()
func (*GetCompletionsRequest) String ¶
func (x *GetCompletionsRequest) String() string
type GetCompletionsResponse ¶
type GetCompletionsResponse struct {
Items []*CompletionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
IsIncomplete bool `protobuf:"varint,2,opt,name=is_incomplete,json=isIncomplete,proto3" json:"is_incomplete,omitempty"`
// contains filtered or unexported fields
}
func (*GetCompletionsResponse) Descriptor
deprecated
func (*GetCompletionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCompletionsResponse.ProtoReflect.Descriptor instead.
func (*GetCompletionsResponse) GetIsIncomplete ¶
func (x *GetCompletionsResponse) GetIsIncomplete() bool
func (*GetCompletionsResponse) GetItems ¶
func (x *GetCompletionsResponse) GetItems() []*CompletionItem
func (*GetCompletionsResponse) ProtoMessage ¶
func (*GetCompletionsResponse) ProtoMessage()
func (*GetCompletionsResponse) ProtoReflect ¶
func (x *GetCompletionsResponse) ProtoReflect() protoreflect.Message
func (*GetCompletionsResponse) Reset ¶
func (x *GetCompletionsResponse) Reset()
func (*GetCompletionsResponse) String ¶
func (x *GetCompletionsResponse) String() string
type GetDiagnosticsRequest ¶
type GetDiagnosticsRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*GetDiagnosticsRequest) Descriptor
deprecated
func (*GetDiagnosticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsRequest.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsRequest) GetFile ¶
func (x *GetDiagnosticsRequest) GetFile() string
func (*GetDiagnosticsRequest) ProtoMessage ¶
func (*GetDiagnosticsRequest) ProtoMessage()
func (*GetDiagnosticsRequest) ProtoReflect ¶
func (x *GetDiagnosticsRequest) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsRequest) Reset ¶
func (x *GetDiagnosticsRequest) Reset()
func (*GetDiagnosticsRequest) String ¶
func (x *GetDiagnosticsRequest) String() string
type GetDiagnosticsResponse ¶
type GetDiagnosticsResponse struct {
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
func (*GetDiagnosticsResponse) Descriptor
deprecated
func (*GetDiagnosticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDiagnosticsResponse.ProtoReflect.Descriptor instead.
func (*GetDiagnosticsResponse) GetDiagnostics ¶
func (x *GetDiagnosticsResponse) GetDiagnostics() []*Diagnostic
func (*GetDiagnosticsResponse) ProtoMessage ¶
func (*GetDiagnosticsResponse) ProtoMessage()
func (*GetDiagnosticsResponse) ProtoReflect ¶
func (x *GetDiagnosticsResponse) ProtoReflect() protoreflect.Message
func (*GetDiagnosticsResponse) Reset ¶
func (x *GetDiagnosticsResponse) Reset()
func (*GetDiagnosticsResponse) String ¶
func (x *GetDiagnosticsResponse) String() string
type GetHoverInfoRequest ¶
type GetHoverInfoRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*GetHoverInfoRequest) Descriptor
deprecated
func (*GetHoverInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoRequest.ProtoReflect.Descriptor instead.
func (*GetHoverInfoRequest) GetColumn ¶
func (x *GetHoverInfoRequest) GetColumn() int32
func (*GetHoverInfoRequest) GetFile ¶
func (x *GetHoverInfoRequest) GetFile() string
func (*GetHoverInfoRequest) GetLine ¶
func (x *GetHoverInfoRequest) GetLine() int32
func (*GetHoverInfoRequest) ProtoMessage ¶
func (*GetHoverInfoRequest) ProtoMessage()
func (*GetHoverInfoRequest) ProtoReflect ¶
func (x *GetHoverInfoRequest) ProtoReflect() protoreflect.Message
func (*GetHoverInfoRequest) Reset ¶
func (x *GetHoverInfoRequest) Reset()
func (*GetHoverInfoRequest) String ¶
func (x *GetHoverInfoRequest) String() string
type GetHoverInfoResponse ¶
type GetHoverInfoResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
Range *Location `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
// contains filtered or unexported fields
}
func (*GetHoverInfoResponse) Descriptor
deprecated
func (*GetHoverInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHoverInfoResponse.ProtoReflect.Descriptor instead.
func (*GetHoverInfoResponse) GetContent ¶
func (x *GetHoverInfoResponse) GetContent() string
func (*GetHoverInfoResponse) GetLanguage ¶
func (x *GetHoverInfoResponse) GetLanguage() string
func (*GetHoverInfoResponse) GetRange ¶
func (x *GetHoverInfoResponse) GetRange() *Location
func (*GetHoverInfoResponse) ProtoMessage ¶
func (*GetHoverInfoResponse) ProtoMessage()
func (*GetHoverInfoResponse) ProtoReflect ¶
func (x *GetHoverInfoResponse) ProtoReflect() protoreflect.Message
func (*GetHoverInfoResponse) Reset ¶
func (x *GetHoverInfoResponse) Reset()
func (*GetHoverInfoResponse) String ¶
func (x *GetHoverInfoResponse) String() string
type GetProjectInfoRequest ¶
type GetProjectInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetProjectInfoRequest) Descriptor
deprecated
func (*GetProjectInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoRequest.ProtoReflect.Descriptor instead.
func (*GetProjectInfoRequest) ProtoMessage ¶
func (*GetProjectInfoRequest) ProtoMessage()
func (*GetProjectInfoRequest) ProtoReflect ¶
func (x *GetProjectInfoRequest) ProtoReflect() protoreflect.Message
func (*GetProjectInfoRequest) Reset ¶
func (x *GetProjectInfoRequest) Reset()
func (*GetProjectInfoRequest) String ¶
func (x *GetProjectInfoRequest) String() string
type GetProjectInfoResponse ¶
type GetProjectInfoResponse struct {
Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
LanguageVersion string `protobuf:"bytes,3,opt,name=language_version,json=languageVersion,proto3" json:"language_version,omitempty"`
Packages []*PackageInfo `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"`
Dependencies []*Dependency `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
FileHashes map[string]string `` /* 165-byte string literal not displayed */
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GetProjectInfoResponse) Descriptor
deprecated
func (*GetProjectInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectInfoResponse.ProtoReflect.Descriptor instead.
func (*GetProjectInfoResponse) GetDependencies ¶
func (x *GetProjectInfoResponse) GetDependencies() []*Dependency
func (*GetProjectInfoResponse) GetError ¶
func (x *GetProjectInfoResponse) GetError() string
func (*GetProjectInfoResponse) GetFileHashes ¶
func (x *GetProjectInfoResponse) GetFileHashes() map[string]string
func (*GetProjectInfoResponse) GetLanguage ¶
func (x *GetProjectInfoResponse) GetLanguage() string
func (*GetProjectInfoResponse) GetLanguageVersion ¶
func (x *GetProjectInfoResponse) GetLanguageVersion() string
func (*GetProjectInfoResponse) GetModule ¶
func (x *GetProjectInfoResponse) GetModule() string
func (*GetProjectInfoResponse) GetPackages ¶
func (x *GetProjectInfoResponse) GetPackages() []*PackageInfo
func (*GetProjectInfoResponse) ProtoMessage ¶
func (*GetProjectInfoResponse) ProtoMessage()
func (*GetProjectInfoResponse) ProtoReflect ¶
func (x *GetProjectInfoResponse) ProtoReflect() protoreflect.Message
func (*GetProjectInfoResponse) Reset ¶
func (x *GetProjectInfoResponse) Reset()
func (*GetProjectInfoResponse) String ¶
func (x *GetProjectInfoResponse) String() string
type GoToDefinitionRequest ¶
type GoToDefinitionRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
func (*GoToDefinitionRequest) Descriptor
deprecated
func (*GoToDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionRequest.ProtoReflect.Descriptor instead.
func (*GoToDefinitionRequest) GetColumn ¶
func (x *GoToDefinitionRequest) GetColumn() int32
func (*GoToDefinitionRequest) GetFile ¶
func (x *GoToDefinitionRequest) GetFile() string
func (*GoToDefinitionRequest) GetLine ¶
func (x *GoToDefinitionRequest) GetLine() int32
func (*GoToDefinitionRequest) ProtoMessage ¶
func (*GoToDefinitionRequest) ProtoMessage()
func (*GoToDefinitionRequest) ProtoReflect ¶
func (x *GoToDefinitionRequest) ProtoReflect() protoreflect.Message
func (*GoToDefinitionRequest) Reset ¶
func (x *GoToDefinitionRequest) Reset()
func (*GoToDefinitionRequest) String ¶
func (x *GoToDefinitionRequest) String() string
type GoToDefinitionResponse ¶
type GoToDefinitionResponse struct {
Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
func (*GoToDefinitionResponse) Descriptor
deprecated
func (*GoToDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GoToDefinitionResponse.ProtoReflect.Descriptor instead.
func (*GoToDefinitionResponse) GetLocations ¶
func (x *GoToDefinitionResponse) GetLocations() []*Location
func (*GoToDefinitionResponse) ProtoMessage ¶
func (*GoToDefinitionResponse) ProtoMessage()
func (*GoToDefinitionResponse) ProtoReflect ¶
func (x *GoToDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GoToDefinitionResponse) Reset ¶
func (x *GoToDefinitionResponse) Reset()
func (*GoToDefinitionResponse) String ¶
func (x *GoToDefinitionResponse) String() string
type ImplementsEdge ¶
type ImplementsEdge struct {
TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
InterfaceId string `protobuf:"bytes,2,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"`
// contains filtered or unexported fields
}
func (*ImplementsEdge) Descriptor
deprecated
func (*ImplementsEdge) Descriptor() ([]byte, []int)
Deprecated: Use ImplementsEdge.ProtoReflect.Descriptor instead.
func (*ImplementsEdge) GetInterfaceId ¶
func (x *ImplementsEdge) GetInterfaceId() string
func (*ImplementsEdge) GetTypeId ¶
func (x *ImplementsEdge) GetTypeId() string
func (*ImplementsEdge) ProtoMessage ¶
func (*ImplementsEdge) ProtoMessage()
func (*ImplementsEdge) ProtoReflect ¶
func (x *ImplementsEdge) ProtoReflect() protoreflect.Message
func (*ImplementsEdge) Reset ¶
func (x *ImplementsEdge) Reset()
func (*ImplementsEdge) String ¶
func (x *ImplementsEdge) String() string
type LintRequest ¶
type LintRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // optional: restrict to file
// contains filtered or unexported fields
}
func (*LintRequest) Descriptor
deprecated
func (*LintRequest) Descriptor() ([]byte, []int)
Deprecated: Use LintRequest.ProtoReflect.Descriptor instead.
func (*LintRequest) GetFile ¶
func (x *LintRequest) GetFile() string
func (*LintRequest) ProtoMessage ¶
func (*LintRequest) ProtoMessage()
func (*LintRequest) ProtoReflect ¶
func (x *LintRequest) ProtoReflect() protoreflect.Message
func (*LintRequest) Reset ¶
func (x *LintRequest) Reset()
func (*LintRequest) String ¶
func (x *LintRequest) String() string
type LintResponse ¶
type LintResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
func (*LintResponse) Descriptor
deprecated
func (*LintResponse) Descriptor() ([]byte, []int)
Deprecated: Use LintResponse.ProtoReflect.Descriptor instead.
func (*LintResponse) GetDiagnostics ¶
func (x *LintResponse) GetDiagnostics() []*Diagnostic
func (*LintResponse) GetOutput ¶
func (x *LintResponse) GetOutput() string
func (*LintResponse) GetSuccess ¶
func (x *LintResponse) GetSuccess() bool
func (*LintResponse) ProtoMessage ¶
func (*LintResponse) ProtoMessage()
func (*LintResponse) ProtoReflect ¶
func (x *LintResponse) ProtoReflect() protoreflect.Message
func (*LintResponse) Reset ¶
func (x *LintResponse) Reset()
func (*LintResponse) String ¶
func (x *LintResponse) String() string
type ListDependenciesRequest ¶
type ListDependenciesRequest struct {
// contains filtered or unexported fields
}
func (*ListDependenciesRequest) Descriptor
deprecated
func (*ListDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesRequest.ProtoReflect.Descriptor instead.
func (*ListDependenciesRequest) ProtoMessage ¶
func (*ListDependenciesRequest) ProtoMessage()
func (*ListDependenciesRequest) ProtoReflect ¶
func (x *ListDependenciesRequest) ProtoReflect() protoreflect.Message
func (*ListDependenciesRequest) Reset ¶
func (x *ListDependenciesRequest) Reset()
func (*ListDependenciesRequest) String ¶
func (x *ListDependenciesRequest) String() string
type ListDependenciesResponse ¶
type ListDependenciesResponse struct {
Dependencies []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ListDependenciesResponse) Descriptor
deprecated
func (*ListDependenciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDependenciesResponse.ProtoReflect.Descriptor instead.
func (*ListDependenciesResponse) GetDependencies ¶
func (x *ListDependenciesResponse) GetDependencies() []*Dependency
func (*ListDependenciesResponse) GetError ¶
func (x *ListDependenciesResponse) GetError() string
func (*ListDependenciesResponse) ProtoMessage ¶
func (*ListDependenciesResponse) ProtoMessage()
func (*ListDependenciesResponse) ProtoReflect ¶
func (x *ListDependenciesResponse) ProtoReflect() protoreflect.Message
func (*ListDependenciesResponse) Reset ¶
func (x *ListDependenciesResponse) Reset()
func (*ListDependenciesResponse) String ¶
func (x *ListDependenciesResponse) String() string
type ListSymbolsRequest ¶
type ListSymbolsRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*ListSymbolsRequest) Descriptor
deprecated
func (*ListSymbolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsRequest.ProtoReflect.Descriptor instead.
func (*ListSymbolsRequest) GetFile ¶
func (x *ListSymbolsRequest) GetFile() string
func (*ListSymbolsRequest) ProtoMessage ¶
func (*ListSymbolsRequest) ProtoMessage()
func (*ListSymbolsRequest) ProtoReflect ¶
func (x *ListSymbolsRequest) ProtoReflect() protoreflect.Message
func (*ListSymbolsRequest) Reset ¶
func (x *ListSymbolsRequest) Reset()
func (*ListSymbolsRequest) String ¶
func (x *ListSymbolsRequest) String() string
type ListSymbolsResponse ¶
type ListSymbolsResponse struct {
Symbols []*Symbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
// contains filtered or unexported fields
}
func (*ListSymbolsResponse) Descriptor
deprecated
func (*ListSymbolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSymbolsResponse.ProtoReflect.Descriptor instead.
func (*ListSymbolsResponse) GetSymbols ¶
func (x *ListSymbolsResponse) GetSymbols() []*Symbol
func (*ListSymbolsResponse) ProtoMessage ¶
func (*ListSymbolsResponse) ProtoMessage()
func (*ListSymbolsResponse) ProtoReflect ¶
func (x *ListSymbolsResponse) ProtoReflect() protoreflect.Message
func (*ListSymbolsResponse) Reset ¶
func (x *ListSymbolsResponse) Reset()
func (*ListSymbolsResponse) String ¶
func (x *ListSymbolsResponse) String() string
type Location ¶
type Location struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// contains filtered or unexported fields
}
func (*Location) Descriptor
deprecated
func (*Location) GetEndColumn ¶
func (*Location) GetEndLine ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
type PackageInfo ¶
type PackageInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
Imports []string `protobuf:"bytes,4,rep,name=imports,proto3" json:"imports,omitempty"`
Doc string `protobuf:"bytes,5,opt,name=doc,proto3" json:"doc,omitempty"`
// contains filtered or unexported fields
}
func (*PackageInfo) Descriptor
deprecated
func (*PackageInfo) Descriptor() ([]byte, []int)
Deprecated: Use PackageInfo.ProtoReflect.Descriptor instead.
func (*PackageInfo) GetDoc ¶
func (x *PackageInfo) GetDoc() string
func (*PackageInfo) GetFiles ¶
func (x *PackageInfo) GetFiles() []string
func (*PackageInfo) GetImports ¶
func (x *PackageInfo) GetImports() []string
func (*PackageInfo) GetName ¶
func (x *PackageInfo) GetName() string
func (*PackageInfo) GetRelativePath ¶
func (x *PackageInfo) GetRelativePath() string
func (*PackageInfo) ProtoMessage ¶
func (*PackageInfo) ProtoMessage()
func (*PackageInfo) ProtoReflect ¶
func (x *PackageInfo) ProtoReflect() protoreflect.Message
func (*PackageInfo) Reset ¶
func (x *PackageInfo) Reset()
func (*PackageInfo) String ¶
func (x *PackageInfo) String() string
type RemoveDependencyRequest ¶
type RemoveDependencyRequest struct {
PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveDependencyRequest) Descriptor
deprecated
func (*RemoveDependencyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyRequest.ProtoReflect.Descriptor instead.
func (*RemoveDependencyRequest) GetPackageName ¶
func (x *RemoveDependencyRequest) GetPackageName() string
func (*RemoveDependencyRequest) ProtoMessage ¶
func (*RemoveDependencyRequest) ProtoMessage()
func (*RemoveDependencyRequest) ProtoReflect ¶
func (x *RemoveDependencyRequest) ProtoReflect() protoreflect.Message
func (*RemoveDependencyRequest) Reset ¶
func (x *RemoveDependencyRequest) Reset()
func (*RemoveDependencyRequest) String ¶
func (x *RemoveDependencyRequest) String() string
type RemoveDependencyResponse ¶
type RemoveDependencyResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveDependencyResponse) Descriptor
deprecated
func (*RemoveDependencyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependencyResponse.ProtoReflect.Descriptor instead.
func (*RemoveDependencyResponse) GetError ¶
func (x *RemoveDependencyResponse) GetError() string
func (*RemoveDependencyResponse) GetSuccess ¶
func (x *RemoveDependencyResponse) GetSuccess() bool
func (*RemoveDependencyResponse) ProtoMessage ¶
func (*RemoveDependencyResponse) ProtoMessage()
func (*RemoveDependencyResponse) ProtoReflect ¶
func (x *RemoveDependencyResponse) ProtoReflect() protoreflect.Message
func (*RemoveDependencyResponse) Reset ¶
func (x *RemoveDependencyResponse) Reset()
func (*RemoveDependencyResponse) String ¶
func (x *RemoveDependencyResponse) String() string
type RenameSymbolRequest ¶
type RenameSymbolRequest struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
// contains filtered or unexported fields
}
func (*RenameSymbolRequest) Descriptor
deprecated
func (*RenameSymbolRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolRequest.ProtoReflect.Descriptor instead.
func (*RenameSymbolRequest) GetColumn ¶
func (x *RenameSymbolRequest) GetColumn() int32
func (*RenameSymbolRequest) GetFile ¶
func (x *RenameSymbolRequest) GetFile() string
func (*RenameSymbolRequest) GetLine ¶
func (x *RenameSymbolRequest) GetLine() int32
func (*RenameSymbolRequest) GetNewName ¶
func (x *RenameSymbolRequest) GetNewName() string
func (*RenameSymbolRequest) ProtoMessage ¶
func (*RenameSymbolRequest) ProtoMessage()
func (*RenameSymbolRequest) ProtoReflect ¶
func (x *RenameSymbolRequest) ProtoReflect() protoreflect.Message
func (*RenameSymbolRequest) Reset ¶
func (x *RenameSymbolRequest) Reset()
func (*RenameSymbolRequest) String ¶
func (x *RenameSymbolRequest) String() string
type RenameSymbolResponse ¶
type RenameSymbolResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Edits []*TextEdit `protobuf:"bytes,3,rep,name=edits,proto3" json:"edits,omitempty"`
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
// contains filtered or unexported fields
}
func (*RenameSymbolResponse) Descriptor
deprecated
func (*RenameSymbolResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameSymbolResponse.ProtoReflect.Descriptor instead.
func (*RenameSymbolResponse) GetEdits ¶
func (x *RenameSymbolResponse) GetEdits() []*TextEdit
func (*RenameSymbolResponse) GetError ¶
func (x *RenameSymbolResponse) GetError() string
func (*RenameSymbolResponse) GetFiles ¶
func (x *RenameSymbolResponse) GetFiles() []string
func (*RenameSymbolResponse) GetSuccess ¶
func (x *RenameSymbolResponse) GetSuccess() bool
func (*RenameSymbolResponse) ProtoMessage ¶
func (*RenameSymbolResponse) ProtoMessage()
func (*RenameSymbolResponse) ProtoReflect ¶
func (x *RenameSymbolResponse) ProtoReflect() protoreflect.Message
func (*RenameSymbolResponse) Reset ¶
func (x *RenameSymbolResponse) Reset()
func (*RenameSymbolResponse) String ¶
func (x *RenameSymbolResponse) String() string
type Symbol ¶
type Symbol struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Kind SymbolKind `protobuf:"varint,2,opt,name=kind,proto3,enum=codefly.services.tooling.v0.SymbolKind" json:"kind,omitempty"`
Location *Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"`
Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
Children []*Symbol `protobuf:"bytes,7,rep,name=children,proto3" json:"children,omitempty"`
// qualified_name disambiguates across packages and receivers.
// For functions: "<package>.<name>", for methods: "<package>.<Type>.<name>"
QualifiedName string `protobuf:"bytes,8,opt,name=qualified_name,json=qualifiedName,proto3" json:"qualified_name,omitempty"`
// body_hash is sha256 of the normalized function body text.
// Whitespace-insensitive (trailing WS stripped, blank lines dropped).
// Changes when implementation changes; stable across reformatting.
BodyHash string `protobuf:"bytes,9,opt,name=body_hash,json=bodyHash,proto3" json:"body_hash,omitempty"`
// signature_hash is sha256 of the function signature (excluding body).
// Changes when the API contract changes (new parameter, return type).
SignatureHash string `protobuf:"bytes,10,opt,name=signature_hash,json=signatureHash,proto3" json:"signature_hash,omitempty"`
// contains filtered or unexported fields
}
func (*Symbol) Descriptor
deprecated
func (*Symbol) GetBodyHash ¶
func (*Symbol) GetChildren ¶
func (*Symbol) GetDocumentation ¶
func (*Symbol) GetKind ¶
func (x *Symbol) GetKind() SymbolKind
func (*Symbol) GetLocation ¶
func (*Symbol) GetQualifiedName ¶
func (*Symbol) GetSignature ¶
func (*Symbol) GetSignatureHash ¶
func (*Symbol) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
type SymbolKind ¶
type SymbolKind int32
const ( SymbolKind_SYMBOL_KIND_UNKNOWN SymbolKind = 0 SymbolKind_SYMBOL_KIND_FUNCTION SymbolKind = 1 SymbolKind_SYMBOL_KIND_METHOD SymbolKind = 2 SymbolKind_SYMBOL_KIND_STRUCT SymbolKind = 3 SymbolKind_SYMBOL_KIND_INTERFACE SymbolKind = 4 SymbolKind_SYMBOL_KIND_CONSTANT SymbolKind = 5 SymbolKind_SYMBOL_KIND_VARIABLE SymbolKind = 6 SymbolKind_SYMBOL_KIND_TYPE_ALIAS SymbolKind = 7 SymbolKind_SYMBOL_KIND_PACKAGE SymbolKind = 8 SymbolKind_SYMBOL_KIND_FIELD SymbolKind = 9 SymbolKind_SYMBOL_KIND_ENUM SymbolKind = 10 SymbolKind_SYMBOL_KIND_CLASS SymbolKind = 11 )
func (SymbolKind) Descriptor ¶
func (SymbolKind) Descriptor() protoreflect.EnumDescriptor
func (SymbolKind) Enum ¶
func (x SymbolKind) Enum() *SymbolKind
func (SymbolKind) EnumDescriptor
deprecated
func (SymbolKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SymbolKind.Descriptor instead.
func (SymbolKind) Number ¶
func (x SymbolKind) Number() protoreflect.EnumNumber
func (SymbolKind) String ¶
func (x SymbolKind) String() string
func (SymbolKind) Type ¶
func (SymbolKind) Type() protoreflect.EnumType
type TestRequest ¶
type TestRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // optional: restrict to package/file
Verbose bool `protobuf:"varint,2,opt,name=verbose,proto3" json:"verbose,omitempty"`
// contains filtered or unexported fields
}
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetPath ¶
func (x *TestRequest) GetPath() string
func (*TestRequest) GetVerbose ¶
func (x *TestRequest) GetVerbose() bool
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
TestsRun int32 `protobuf:"varint,3,opt,name=tests_run,json=testsRun,proto3" json:"tests_run,omitempty"`
TestsPassed int32 `protobuf:"varint,4,opt,name=tests_passed,json=testsPassed,proto3" json:"tests_passed,omitempty"`
TestsFailed int32 `protobuf:"varint,5,opt,name=tests_failed,json=testsFailed,proto3" json:"tests_failed,omitempty"`
TestsSkipped int32 `protobuf:"varint,6,opt,name=tests_skipped,json=testsSkipped,proto3" json:"tests_skipped,omitempty"`
CoveragePct float32 `protobuf:"fixed32,7,opt,name=coverage_pct,json=coveragePct,proto3" json:"coverage_pct,omitempty"`
Failures []string `protobuf:"bytes,8,rep,name=failures,proto3" json:"failures,omitempty"`
// contains filtered or unexported fields
}
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetCoveragePct ¶
func (x *TestResponse) GetCoveragePct() float32
func (*TestResponse) GetFailures ¶
func (x *TestResponse) GetFailures() []string
func (*TestResponse) GetOutput ¶
func (x *TestResponse) GetOutput() string
func (*TestResponse) GetSuccess ¶
func (x *TestResponse) GetSuccess() bool
func (*TestResponse) GetTestsFailed ¶
func (x *TestResponse) GetTestsFailed() int32
func (*TestResponse) GetTestsPassed ¶
func (x *TestResponse) GetTestsPassed() int32
func (*TestResponse) GetTestsRun ¶
func (x *TestResponse) GetTestsRun() int32
func (*TestResponse) GetTestsSkipped ¶
func (x *TestResponse) GetTestsSkipped() int32
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type TextEdit ¶
type TextEdit struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
StartLine int32 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
StartColumn int32 `protobuf:"varint,3,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"`
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndColumn int32 `protobuf:"varint,5,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
NewText string `protobuf:"bytes,6,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"`
// contains filtered or unexported fields
}
func (*TextEdit) Descriptor
deprecated
func (*TextEdit) GetEndColumn ¶
func (*TextEdit) GetEndLine ¶
func (*TextEdit) GetNewText ¶
func (*TextEdit) GetStartColumn ¶
func (*TextEdit) GetStartLine ¶
func (*TextEdit) ProtoMessage ¶
func (*TextEdit) ProtoMessage()
func (*TextEdit) ProtoReflect ¶
func (x *TextEdit) ProtoReflect() protoreflect.Message
type ToolingClient ¶
type ToolingClient interface {
// LSP operations
ListSymbols(ctx context.Context, in *ListSymbolsRequest, opts ...grpc.CallOption) (*ListSymbolsResponse, error)
GetDiagnostics(ctx context.Context, in *GetDiagnosticsRequest, opts ...grpc.CallOption) (*GetDiagnosticsResponse, error)
GoToDefinition(ctx context.Context, in *GoToDefinitionRequest, opts ...grpc.CallOption) (*GoToDefinitionResponse, error)
FindReferences(ctx context.Context, in *FindReferencesRequest, opts ...grpc.CallOption) (*FindReferencesResponse, error)
RenameSymbol(ctx context.Context, in *RenameSymbolRequest, opts ...grpc.CallOption) (*RenameSymbolResponse, error)
GetHoverInfo(ctx context.Context, in *GetHoverInfoRequest, opts ...grpc.CallOption) (*GetHoverInfoResponse, error)
GetCompletions(ctx context.Context, in *GetCompletionsRequest, opts ...grpc.CallOption) (*GetCompletionsResponse, error)
// Code modification
Fix(ctx context.Context, in *FixRequest, opts ...grpc.CallOption) (*FixResponse, error)
ApplyEdit(ctx context.Context, in *ApplyEditRequest, opts ...grpc.CallOption) (*ApplyEditResponse, error)
// Dependency management
ListDependencies(ctx context.Context, in *ListDependenciesRequest, opts ...grpc.CallOption) (*ListDependenciesResponse, error)
AddDependency(ctx context.Context, in *AddDependencyRequest, opts ...grpc.CallOption) (*AddDependencyResponse, error)
RemoveDependency(ctx context.Context, in *RemoveDependencyRequest, opts ...grpc.CallOption) (*RemoveDependencyResponse, error)
// Analysis
GetProjectInfo(ctx context.Context, in *GetProjectInfoRequest, opts ...grpc.CallOption) (*GetProjectInfoResponse, error)
GetCallGraph(ctx context.Context, in *GetCallGraphRequest, opts ...grpc.CallOption) (*GetCallGraphResponse, error)
// Dev validation
Build(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (*BuildResponse, error)
Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
Lint(ctx context.Context, in *LintRequest, opts ...grpc.CallOption) (*LintResponse, error)
}
ToolingClient is the client API for Tooling 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.
Tooling provides language-specific code operations. Every language agent (go-grpc, python-fastapi, etc.) implements this service.
NOTE: File operations (read, write, list, search) and git operations are NOT part of this service. Mind handles those directly via its VFS.
func NewToolingClient ¶
func NewToolingClient(cc grpc.ClientConnInterface) ToolingClient
type ToolingServer ¶
type ToolingServer interface {
// LSP operations
ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
GetCompletions(context.Context, *GetCompletionsRequest) (*GetCompletionsResponse, error)
// Code modification
Fix(context.Context, *FixRequest) (*FixResponse, error)
ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
// Dependency management
ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
// Analysis
GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
// Dev validation
Build(context.Context, *BuildRequest) (*BuildResponse, error)
Test(context.Context, *TestRequest) (*TestResponse, error)
Lint(context.Context, *LintRequest) (*LintResponse, error)
// contains filtered or unexported methods
}
ToolingServer is the server API for Tooling service. All implementations must embed UnimplementedToolingServer for forward compatibility.
Tooling provides language-specific code operations. Every language agent (go-grpc, python-fastapi, etc.) implements this service.
NOTE: File operations (read, write, list, search) and git operations are NOT part of this service. Mind handles those directly via its VFS.
type UnimplementedToolingServer ¶
type UnimplementedToolingServer struct{}
UnimplementedToolingServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedToolingServer) AddDependency ¶
func (UnimplementedToolingServer) AddDependency(context.Context, *AddDependencyRequest) (*AddDependencyResponse, error)
func (UnimplementedToolingServer) ApplyEdit ¶
func (UnimplementedToolingServer) ApplyEdit(context.Context, *ApplyEditRequest) (*ApplyEditResponse, error)
func (UnimplementedToolingServer) Build ¶
func (UnimplementedToolingServer) Build(context.Context, *BuildRequest) (*BuildResponse, error)
func (UnimplementedToolingServer) FindReferences ¶
func (UnimplementedToolingServer) FindReferences(context.Context, *FindReferencesRequest) (*FindReferencesResponse, error)
func (UnimplementedToolingServer) Fix ¶
func (UnimplementedToolingServer) Fix(context.Context, *FixRequest) (*FixResponse, error)
func (UnimplementedToolingServer) GetCallGraph ¶
func (UnimplementedToolingServer) GetCallGraph(context.Context, *GetCallGraphRequest) (*GetCallGraphResponse, error)
func (UnimplementedToolingServer) GetCompletions ¶
func (UnimplementedToolingServer) GetCompletions(context.Context, *GetCompletionsRequest) (*GetCompletionsResponse, error)
func (UnimplementedToolingServer) GetDiagnostics ¶
func (UnimplementedToolingServer) GetDiagnostics(context.Context, *GetDiagnosticsRequest) (*GetDiagnosticsResponse, error)
func (UnimplementedToolingServer) GetHoverInfo ¶
func (UnimplementedToolingServer) GetHoverInfo(context.Context, *GetHoverInfoRequest) (*GetHoverInfoResponse, error)
func (UnimplementedToolingServer) GetProjectInfo ¶
func (UnimplementedToolingServer) GetProjectInfo(context.Context, *GetProjectInfoRequest) (*GetProjectInfoResponse, error)
func (UnimplementedToolingServer) GoToDefinition ¶
func (UnimplementedToolingServer) GoToDefinition(context.Context, *GoToDefinitionRequest) (*GoToDefinitionResponse, error)
func (UnimplementedToolingServer) Lint ¶
func (UnimplementedToolingServer) Lint(context.Context, *LintRequest) (*LintResponse, error)
func (UnimplementedToolingServer) ListDependencies ¶
func (UnimplementedToolingServer) ListDependencies(context.Context, *ListDependenciesRequest) (*ListDependenciesResponse, error)
func (UnimplementedToolingServer) ListSymbols ¶
func (UnimplementedToolingServer) ListSymbols(context.Context, *ListSymbolsRequest) (*ListSymbolsResponse, error)
func (UnimplementedToolingServer) RemoveDependency ¶
func (UnimplementedToolingServer) RemoveDependency(context.Context, *RemoveDependencyRequest) (*RemoveDependencyResponse, error)
func (UnimplementedToolingServer) RenameSymbol ¶
func (UnimplementedToolingServer) RenameSymbol(context.Context, *RenameSymbolRequest) (*RenameSymbolResponse, error)
func (UnimplementedToolingServer) Test ¶
func (UnimplementedToolingServer) Test(context.Context, *TestRequest) (*TestResponse, error)
type UnsafeToolingServer ¶
type UnsafeToolingServer interface {
// contains filtered or unexported methods
}
UnsafeToolingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ToolingServer will result in compilation errors.