SemanticTokensLegend

constructor(tokenTypes: ReadonlyArray<JsString>, tokenModifiers: ReadonlyArray<JsString> = definedExternally)(source)

Creates a semantic tokens legend.

Parameters

tokenTypes

An array of token types.

tokenModifiers

An array of token modifiers.

Online Documentation