Class: LSP::DidOpenTextDocumentParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DidOpenTextDocumentParams
/**
* The document that was opened.
*/
textDocument: TextDocumentItem;
Instance Attribute Summary collapse
-
#textDocument ⇒ Object
type: TextDocumentItem.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#textDocument ⇒ Object
type: TextDocumentItem
548 549 550 |
# File 'lib/lsp/lsp_protocol.rb', line 548 def textDocument @textDocument end |
Instance Method Details
#from_h!(value) ⇒ Object
550 551 552 553 554 |
# File 'lib/lsp/lsp_protocol.rb', line 550 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self end |