Class: LSP::WillSaveTextDocumentParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface WillSaveTextDocumentParams
/**
* The document that will be saved.
*/
textDocument: TextDocumentIdentifier;
/**
* The 'TextDocumentSaveReason'.
*/
reason: TextDocumentSaveReason;
Instance Attribute Summary collapse
-
#reason ⇒ Object
type: TextDocumentIdentifier # type: TextDocumentSaveReason.
-
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: TextDocumentSaveReason.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#reason ⇒ Object
type: TextDocumentIdentifier # type: TextDocumentSaveReason
679 680 681 |
# File 'lib/lsp/lsp_protocol.rb', line 679 def reason @reason end |
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: TextDocumentSaveReason
679 680 681 |
# File 'lib/lsp/lsp_protocol.rb', line 679 def textDocument @textDocument end |
Instance Method Details
#from_h!(value) ⇒ Object
681 682 683 684 685 686 |
# File 'lib/lsp/lsp_protocol.rb', line 681 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self.reason = value['reason'] # Unknown type self end |