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

See

Constructors

Properties

Constructors

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).