Class: LSP::SemanticTokensRangeParams
- Defined in:
- lib/lsp/lsp_protocol_sematictokens.proposed.rb
Overview
export interface SemanticTokensRangeParams extends WorkDoneProgressParams, PartialResultParams
/**
* The text document.
*/
textDocument: TextDocumentIdentifier;
/**
* The range the semantic tokens are requested for.
*/
range: Range;
Instance Attribute Summary collapse
-
#range ⇒ Object
type: TextDocumentIdentifier # type: Range.
-
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: Range.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#range ⇒ Object
type: TextDocumentIdentifier # type: Range
328 329 330 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 328 def range @range end |
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: Range
328 329 330 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 328 def textDocument @textDocument end |
Instance Method Details
#from_h!(value) ⇒ Object
330 331 332 333 334 335 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 330 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self.range = value['range'] # Unknown type self end |