class LanguageServer::Protocol::Interface::WillSaveTextDocumentParams
The parameters send in a will save text document notification.
def initialize(text_document:, reason:)
def initialize(text_document:, reason:) @attributes = {} @attributes[:textDocument] = text_document @attributes[:reason] = reason @attributes.freeze end
def reason
-
(TextDocumentSaveReason)
-
def reason attributes.fetch(:reason) end
def text_document
-
(TextDocumentIdentifier)
-
def text_document attributes.fetch(:textDocument) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end