Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SemanticTokens

Represents semantic tokens, either in a range or in an entire document.

see

provideDocumentSemanticTokens for an explanation of the format.

see

SemanticTokensBuilder for a helper to create an instance.

Hierarchy

  • SemanticTokens

Index

Constructors(1)

Properties(2)

Constructors(1)

constructor

  • new SemanticTokens(data: Uint32Array, resultId?: string): SemanticTokens

Properties(2)

Readonly resultId

resultId: undefined | string

The result id of the tokens.

This is the id that will be passed to DocumentSemanticTokensProvider.provideDocumentSemanticTokensEdits (if implemented).

Readonly data

data: Uint32Array

The actual tokens data.

see

provideDocumentSemanticTokens for an explanation of the format.

Generated by TypeDoc. Maintained by 洛竹