class

LSProtocol::TextDocumentPositionParams

Inherits JSON::Serializable / Reference / Object

A parameter literal used in requests to pass a text document and a position inside that document.

Constructors

new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

position

The position inside the text document.

Source
text_document

The text document.

Source