Class: LSP::SemanticTokensEditsPartialResult
- Defined in:
- lib/lsp/lsp_protocol_sematictokens.proposed.rb
Overview
export interface SemanticTokensEditsPartialResult
edits: SemanticTokensEdit[];
Instance Attribute Summary collapse
-
#edits ⇒ Object
type: SemanticTokensEdit[].
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#edits ⇒ Object
type: SemanticTokensEdit[]
124 125 126 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 124 def edits @edits end |
Instance Method Details
#from_h!(value) ⇒ Object
126 127 128 129 130 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 126 def from_h!(value) value = {} if value.nil? self.edits = to_typed_aray(value['edits'], SemanticTokensEdit) self end |