struct

LSP::SemanticTokens

Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object

The semantic tokens of a document.

The data is an array of relative 5-tuples: delta line, delta start, length, token type index and token modifier bitset.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data
Source
data=(data : Array(Int32))
Source
result_id

An optional result id, used by the delta protocol.

Source
result_id=(result_id : String | Nil)

An optional result id, used by the delta protocol.

Source