Class AbstractSemanticTokenProviderAbstract

A basic super class for providing semantic token data. Users of Langium should extend this class to create their own SemanticTokenProvider.

The entry method for generating semantic tokens based on an AstNode is the highlightElement method.

Hierarchy (view full)

Implements

Constructors

Properties

clientCapabilities?: SemanticTokensClientCapabilities
currentDocument?: LangiumDocument<AstNode>
currentRange?: Range
currentTokensBuilder?: SemanticTokensBuilder
tokensBuilders: Map<string, SemanticTokensBuilder> = ...

Store a token builder for each open document.

Accessors

Methods