Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Properties

Constructors

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

Properties

data: Uint32Array

The actual tokens data.

see

provideDocumentSemanticTokens for an explanation of the format.

resultId: undefined | string

The result id of the tokens.

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