struct

LSP::Message::WillSave::Params

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, reason : LSP::Data::TextDocumentSaveReason = Data::TextDocumentSaveReason::Manual)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

reason

Represents the reason why the document will be saved.

Source
reason=(reason : Data::TextDocumentSaveReason)

Represents the reason why the document will be saved.

Source
text_document

The document that will be saved.

Source
text_document=(text_document : Data::TextDocumentIdentifier)

The document that will be saved.

Source