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

Constructor

new(tokenTypes:Array<String>, ?tokenModifiers:Array<String>)

Creates a semantic tokens legend.

Parameters:

tokenTypes

An array of token types.

tokenModifiers

An array of token modifiers.

Variables

read onlytokenModifiers:Array<String>

The possible token modifiers.

read onlytokenTypes:Array<String>

The possible token types.