Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SemanticTokensLegend

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

Hierarchy

  • SemanticTokensLegend

Index

Constructors(1)

Properties(2)

Constructors(1)

constructor

  • Creates a semantic tokens legend.

    Parameters

    • tokenTypes: string[]

      An array of token types.

    • Optional tokenModifiers: string[]

      An array of token modifiers.

    Returns SemanticTokensLegend

Properties(2)

Readonly tokenTypes

tokenTypes: string[]

The possible token types.

Readonly tokenModifiers

tokenModifiers: string[]

The possible token modifiers.

Generated by TypeDoc. Maintained by 洛竹