class

LSProtocol::SelectionRangeParams

Inherits JSON::Serializable / Reference / Object

A parameter literal used in selection range requests.

Constructors

new(positions : Array(Position) | 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
positions

The positions inside the text document.

Source
text_document

The text document.

Source
work_done_token

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

Source