struct

LSP::TextDocumentItem

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

langauge_id

The text document's language identifier.

Source
langauge_id=(langauge_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=(uri : String)
Source
version

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

Source
version=(version : Int32)

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

Source