Documentation ¶
Index ¶
- func ConstValueTypeDefinitionIdentifier(ctx context.Context, ss *cache.Snapshot, file uri.URI, ast *parser.Document, ...) (uri.URI, *parser.Identifier, error)
- func Definition(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position) (res []protocol.Location, err error)
- func GetConstIdentifierNode(ast *parser.Document, name string) *parser.Identifier
- func GetConstNode(ast *parser.Document, name string) *parser.Const
- func GetEnumNode(ast *parser.Document, name string) *parser.Enum
- func GetEnumNodeByEnumValue(ast *parser.Document, enumValueName string) *parser.Enum
- func GetEnumValueIdentifierNode(ast *parser.Document, name string) *parser.Identifier
- func GetExceptionNode(ast *parser.Document, name string) *parser.Exception
- func GetServiceNode(ast *parser.Document, name string) *parser.Service
- func GetStructNode(ast *parser.Document, name string) *parser.Struct
- func GetTypedefNode(ast *parser.Document, name string) *parser.Typedef
- func GetUnionNode(ast *parser.Document, name string) *parser.Union
- func Hover(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position) (res string, err error)
- func IsBasicType(t string) bool
- func IsContainerType(t string) bool
- func PrepareRename(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position) (res *protocol.Range, err error)
- func Reference(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position) (res []protocol.Location, err error)
- func Rename(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position, ...) (res *protocol.WorkspaceEdit, err error)
- func ServiceDefinitionIdentifier(ctx context.Context, ss *cache.Snapshot, file uri.URI, ast *parser.Document, ...) (uri.URI, *parser.Identifier, string, error)
- func TypeDefinition(ctx context.Context, ss *cache.Snapshot, file uri.URI, pos protocol.Position) (res []protocol.Location, err error)
- func TypeNameDefinitionIdentifier(ctx context.Context, ss *cache.Snapshot, file uri.URI, ast *parser.Document, ...) (uri.URI, *parser.Identifier, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstValueTypeDefinitionIdentifier ¶ added in v0.0.9
func Definition ¶
func GetConstIdentifierNode ¶
func GetConstIdentifierNode(ast *parser.Document, name string) *parser.Identifier
func GetEnumNodeByEnumValue ¶
func GetEnumValueIdentifierNode ¶
func GetEnumValueIdentifierNode(ast *parser.Document, name string) *parser.Identifier
GetEnumValueIdentifierNode enum A { ONE }, ONE is the target node
func GetServiceNode ¶ added in v0.1.2
func IsBasicType ¶ added in v0.0.9
func IsContainerType ¶ added in v0.0.9
func PrepareRename ¶
func ServiceDefinitionIdentifier ¶ added in v0.1.2
func TypeDefinition ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.