Package-level declarations

Types

Link copied to clipboard
data class SemanticTokenData(val line: Int, val startChar: Int, val length: Int, val tokenType: Int, val tokenModifiers: Int)

A semantic token for use in semantic highlighting.

Link copied to clipboard

Encodes a list of SemanticTokenData into the LSP semantic tokens format.

Link copied to clipboard

Interface for providing semantic tokens based on the current context in a text document.

Link copied to clipboard

Factory for creating a list of SemanticTokensSuppliers.

Link copied to clipboard
data class SimpleTokenData(val range: IntRange, val type: TokenType)

A simplified version of a semantic token, used for initial processing. This can be converted to a full semantic token via toSemanticData.

Link copied to clipboard

Types of tokens used for semantic highlighting.

Functions

Link copied to clipboard

Converts a SimpleTokenData to a full SemanticTokenData which adheres to the LSP specification.