Class: LSP::DocumentSymbolParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentSymbolParams extends WorkDoneProgressParams, PartialResultParams
/**
* The text document.
*/
textDocument: TextDocumentIdentifier;
Instance Attribute Summary collapse
-
#partialResultToken ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken.
-
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken.
-
#workDoneToken ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentSymbolParams
constructor
A new instance of DocumentSymbolParams.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentSymbolParams
Returns a new instance of DocumentSymbolParams.
1724 1725 1726 1727 |
# File 'lib/lsp/lsp_protocol.rb', line 1724 def initialize(initial_hash = nil) super @optional_method_names = i[workDoneToken partialResultToken] end |
Instance Attribute Details
#partialResultToken ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken
1722 1723 1724 |
# File 'lib/lsp/lsp_protocol.rb', line 1722 def partialResultToken @partialResultToken end |
#textDocument ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken
1722 1723 1724 |
# File 'lib/lsp/lsp_protocol.rb', line 1722 def textDocument @textDocument end |
#workDoneToken ⇒ Object
type: TextDocumentIdentifier # type: ProgressToken # type: ProgressToken
1722 1723 1724 |
# File 'lib/lsp/lsp_protocol.rb', line 1722 def workDoneToken @workDoneToken end |
Instance Method Details
#from_h!(value) ⇒ Object
1729 1730 1731 1732 1733 1734 1735 |
# File 'lib/lsp/lsp_protocol.rb', line 1729 def from_h!(value) value = {} if value.nil? self.textDocument = value['textDocument'] # Unknown type self.workDoneToken = value['workDoneToken'] # Unknown type self.partialResultToken = value['partialResultToken'] # Unknown type self end |