package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

Encode returns the LSP encoding of a sequence of tokens.

# Constants

non-standard modifiers Since the type of a symbol is orthogonal to its kind, (e.g.
No description provided by the author
No description provided by the author
for predeclared symbols.
for the declaring identifier of a symbol.
for format string directives such as "%s".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
for constants (TokVariable).
for function types.
No description provided by the author
No description provided by the author
No description provided by the author
for a comment.
for a function.
for a keyword.
for a control label (LSP 3.18).
for text/template tokens.
for a method.
for an imported package name.
for a numeric literal.
for an operator.
for a parameter variable.
for a string literal.
for a type name (plus other uses).
for a type parameter.
for a var or const.

# Variables

TokenModifiers is a slice of modifiers gopls will return as its server capabilities.
TokenTypes is a slice of types gopls will return as its server capabilities.

# Structs

A Token provides the extent and semantics of a token.

# Type aliases

No description provided by the author
No description provided by the author