Optional
legend: SemanticTokensLegendFinish and create a SemanticTokens
instance.
Optional
resultId: stringAdd another token.
The token start line number (absolute value).
The token start character (absolute value).
The token length in characters.
The encoded token type.
Optional
tokenModifiers: numberThe encoded token modifiers.
Add another token. Use only when providing a legend.
The range of the token. Must be single-line.
The token type.
Optional
tokenModifiers: readonly string[]The token modifiers.
A semantic tokens builder can help with creating a
SemanticTokens
instance which contains delta encoded semantic tokens.