Class: LSP::TextDocumentChangeEvent
- Defined in:
- lib/lsp/lsp_types.rb
Overview
export interface TextDocumentChangeEvent
/**
* The document that has changed.
*/
document: TextDocument;
Instance Attribute Summary collapse
-
#document ⇒ Object
type: TextDocument.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#document ⇒ Object
type: TextDocument
1500 1501 1502 |
# File 'lib/lsp/lsp_types.rb', line 1500 def document @document end |
Instance Method Details
#from_h!(value) ⇒ Object
1502 1503 1504 1505 1506 |
# File 'lib/lsp/lsp_types.rb', line 1502 def from_h!(value) value = {} if value.nil? self.document = TextDocument.new(value['document']) unless value['document'].nil? self end |