class LSProtocol::TextDocumentPositionParams

Overview

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

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def position : Position #

The position inside the text document.


[View source]
def text_document : TextDocumentIdentifier #

The text document.


[View source]