Class: LSP::DocumentColorParams
- Defined in:
- lib/lsp/lsp_protocol_colorprovider.rb
Overview
export interface DocumentColorParams extends WorkDoneProgressParams, PartialResultParams
/**
* The text document.
*/
textDocument: TextDocumentIdentifier;
Instance Attribute Summary collapse
-
#textDocument ⇒ Object
type: TextDocumentIdentifier.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#textDocument ⇒ Object
type: TextDocumentIdentifier
61 62 63 |
# File 'lib/lsp/lsp_protocol_colorprovider.rb', line 61 def textDocument @textDocument end |
Instance Method Details
#from_h!(value) ⇒ Object
63 64 65 66 67 |
# File 'lib/lsp/lsp_protocol_colorprovider.rb', line 63 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self end |