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

索引

Constructors

Properties

Constructors

constructor

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

Properties

Optional Readonly resultId

resultId: 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