Class: LSP::SemanticTokensEditsParams
- Defined in:
- lib/lsp/lsp_protocol_sematictokens.proposed.rb
Overview
export interface SemanticTokensEditsParams extends WorkDoneProgressParams, PartialResultParams
/**
* The text document.
*/
textDocument: TextDocumentIdentifier;
/**
* The previous result id.
*/
previousResultId: string;
Instance Attribute Summary collapse
-
#previousResultId ⇒ Object
type: TextDocumentIdentifier # type: string.
-
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: string.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#previousResultId ⇒ Object
type: TextDocumentIdentifier # type: string
307 308 309 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 307 def previousResultId @previousResultId end |
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: string
307 308 309 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 307 def textDocument @textDocument end |
Instance Method Details
#from_h!(value) ⇒ Object
309 310 311 312 313 314 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 309 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self.previousResultId = value['previousResultId'] self end |