syside.ide.lsp.SemanticTokens

class SemanticTokens(result_id: str | None = None, data: Sequence[int] = [])

Initialization

property result_id: str | None

An optional result id. If provided and clients support delta updating the client will include the result id in the next semantic token request. A server can then instead of computing all semantic tokens again simply send a delta.

property data: syside.ContainerView[int]

The actual tokens.