SemanticTokensLegend

A semantic tokens legend contains the needed information to decipher the integer encoded representation of semantic tokens.

Online Documentation

Constructors

Link copied to clipboard
constructor(tokenTypes: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>, tokenModifiers: ReadonlyArray<ERROR CLASS: Symbol not found for JsString> = definedExternally)

Creates a semantic tokens legend.

Properties

Link copied to clipboard
val tokenModifiers: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>

The possible token modifiers.

Link copied to clipboard
val tokenTypes: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>

The possible token types.