class

LSProtocol::DocumentHighlightParams

Inherits JSON::Serializable / Reference / Object

Parameters for a DocumentHighlightRequest.

Constructors

new(position : 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
position

The position 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