Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Symbol ¶
type Symbol struct { Name string Type SymbolType // Position is a start and end range for a symbol // ex: 36:2-36:7 // (line 36, columns 2 - 7) Position string File string Parent *Symbol Children []*Symbol }
func SymbolsSlice ¶
type SymbolType ¶
type SymbolType string
SymbolType maps to the second field in the `gopls symbols` output.
const ( SymbolTypeConstant SymbolType = "Constant" SymbolTypeClass SymbolType = "Class" // (ex: ACSRouterJobStatus, from 'type ACSRouterJobStatus string') SymbolTypeStruct SymbolType = "Struct" SymbolTypeField SymbolType = "Field" SymbolTypeFunction SymbolType = "Function" SymbolTypeMethod SymbolType = "Method" // ex: '(*WebBackupOperationCompletedEventData).UnmarshalJSON' )
Click to show internal directories.
Click to hide internal directories.