class

LSProtocol::SemanticTokensOptions

Inherits JSON::Serializable / Reference / Object

@since 3.16.0

Constructors

new(pull : JSON::PullParser)
Source
new(legend : SemanticTokensLegend | Nil, full : Bool | SemanticTokensFullDelta | Nil = nil, range : Bool | JSON::Any | Nil = nil, work_done_progress : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

full

Server supports providing semantic tokens for a full document.

Source
legend

The legend used by the server

Source
range

Server supports providing semantic tokens for a specific range of a document.

Source
work_done_progress
Source