class

LSProtocol::SemanticTokensRangeParams

Inherits JSON::Serializable / Reference / Object

@since 3.16.0

Constructors

new(range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

partial_result_token

An optional token that a server can use to report partial results (e.g. streaming) to the client.

Source
range

The range the semantic tokens are requested for.

Source
text_document

The text document.

Source
work_done_token

An optional token that a server can use to report work done progress.

Source