class

LSProtocol::TextDocumentContentResult

Inherits JSON::Serializable / Reference / Object

Result of the workspace/textDocumentContent request.

@since 3.18.0 @proposed

Constructors

new(pull : JSON::PullParser)
Source
new(text : String | Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

text

The text content of the text document. Please note, that the content of any subsequent open notifications for the text document might differ from the returned content due to whitespace and line ending normalizations done on the client

Source