SemanticTokensLegend

constructor(tokenTypes: ReadonlyArray<ERROR CLASS: Symbol not found for JsString>, tokenModifiers: ReadonlyArray<ERROR CLASS: Symbol not found for JsString> = definedExternally)(source)

Creates a semantic tokens legend.

Parameters

tokenTypes

An array of token types.

tokenModifiers

An array of token modifiers.

Online Documentation