SemanticTokens

class SemanticTokens
Members defined in SemanticTokens (3 members)

data

R

The actual tokens.

result_id

RW

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.

__init__

Attributes

property data: syside.ContainerView[int]

The actual tokens.

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.

Methods

__init__(result_id: str | None = None, data: Sequence[int] = []) None
Used in