v0

package
v0.1.156 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
var File_codefly_services_tooling_v0_tooling_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use CallEdge.ProtoReflect.Descriptor instead.

func (*CallEdge) GetCallSite

func (x *CallEdge) GetCallSite() *Location

func (*CallEdge) GetCallType

func (x *CallEdge) GetCallType() string

func (*CallEdge) GetCalleeId

func (x *CallEdge) GetCalleeId() string

func (*CallEdge) GetCallerId

func (x *CallEdge) GetCallerId() string

func (*CallEdge) ProtoMessage

func (*CallEdge) ProtoMessage()

func (*CallEdge) ProtoReflect

func (x *CallEdge) ProtoReflect() protoreflect.Message

func (*CallEdge) Reset

func (x *CallEdge) Reset()

func (*CallEdge) String

func (x *CallEdge) String() string

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) Enum

func (x CompletionKind) Enum() *CompletionKind

func (CompletionKind) EnumDescriptor deprecated

func (CompletionKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompletionKind.Descriptor instead.

func (CompletionKind) Number

func (CompletionKind) String

func (x CompletionKind) String() string

func (CompletionKind) Type

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) Enum

func (DiagnosticSeverity) EnumDescriptor deprecated

func (DiagnosticSeverity) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiagnosticSeverity.Descriptor instead.

func (DiagnosticSeverity) Number

func (DiagnosticSeverity) String

func (x DiagnosticSeverity) String() string

func (DiagnosticSeverity) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetColumn

func (x *Location) GetColumn() int32

func (*Location) GetEndColumn

func (x *Location) GetEndColumn() int32

func (*Location) GetEndLine

func (x *Location) GetEndLine() int32

func (*Location) GetFile

func (x *Location) GetFile() string

func (*Location) GetLine

func (x *Location) GetLine() int32

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Symbol.ProtoReflect.Descriptor instead.

func (*Symbol) GetBodyHash

func (x *Symbol) GetBodyHash() string

func (*Symbol) GetChildren

func (x *Symbol) GetChildren() []*Symbol

func (*Symbol) GetDocumentation

func (x *Symbol) GetDocumentation() string

func (*Symbol) GetKind

func (x *Symbol) GetKind() SymbolKind

func (*Symbol) GetLocation

func (x *Symbol) GetLocation() *Location

func (*Symbol) GetName

func (x *Symbol) GetName() string

func (*Symbol) GetParent

func (x *Symbol) GetParent() string

func (*Symbol) GetQualifiedName

func (x *Symbol) GetQualifiedName() string

func (*Symbol) GetSignature

func (x *Symbol) GetSignature() string

func (*Symbol) GetSignatureHash

func (x *Symbol) GetSignatureHash() string

func (*Symbol) ProtoMessage

func (*Symbol) ProtoMessage()

func (*Symbol) ProtoReflect

func (x *Symbol) ProtoReflect() protoreflect.Message

func (*Symbol) Reset

func (x *Symbol) Reset()

func (*Symbol) String

func (x *Symbol) String() string

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

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) Descriptor() ([]byte, []int)

Deprecated: Use TextEdit.ProtoReflect.Descriptor instead.

func (*TextEdit) GetEndColumn

func (x *TextEdit) GetEndColumn() int32

func (*TextEdit) GetEndLine

func (x *TextEdit) GetEndLine() int32

func (*TextEdit) GetFile

func (x *TextEdit) GetFile() string

func (*TextEdit) GetNewText

func (x *TextEdit) GetNewText() string

func (*TextEdit) GetStartColumn

func (x *TextEdit) GetStartColumn() int32

func (*TextEdit) GetStartLine

func (x *TextEdit) GetStartLine() int32

func (*TextEdit) ProtoMessage

func (*TextEdit) ProtoMessage()

func (*TextEdit) ProtoReflect

func (x *TextEdit) ProtoReflect() protoreflect.Message

func (*TextEdit) Reset

func (x *TextEdit) Reset()

func (*TextEdit) String

func (x *TextEdit) String() string

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) ApplyEdit

func (UnimplementedToolingServer) Build

func (UnimplementedToolingServer) FindReferences

func (UnimplementedToolingServer) Fix

func (UnimplementedToolingServer) GetCallGraph

func (UnimplementedToolingServer) GetCompletions

func (UnimplementedToolingServer) GetDiagnostics

func (UnimplementedToolingServer) GetHoverInfo

func (UnimplementedToolingServer) GetProjectInfo

func (UnimplementedToolingServer) GoToDefinition

func (UnimplementedToolingServer) Lint

func (UnimplementedToolingServer) ListDependencies

func (UnimplementedToolingServer) ListSymbols

func (UnimplementedToolingServer) RemoveDependency

func (UnimplementedToolingServer) RenameSymbol

func (UnimplementedToolingServer) Test

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL