struct

LSP::Data::TextDocumentItem

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(uri : URI = URI.new, language_id : String = "", version : Int64 = 0, text : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

language_id

The text document's language identifier.

Source
language_id=(language_id : String)

The text document's language identifier.

Source
text

The content of the opened text document.

Source
text=(text : String)

The content of the opened text document.

Source
uri

The text document's URI.

Source
uri=(uri : URI)

The text document's URI.

Source
version

The version number of this document (it will increase after each change, including undo/redo).

Source
version=(version : Int64)

The version number of this document (it will increase after each change, including undo/redo).

Source