Class: LSP::DocumentSymbolOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentSymbolOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentSymbolOptions
constructor
A new instance of DocumentSymbolOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentSymbolOptions
Returns a new instance of DocumentSymbolOptions.
1743 1744 1745 1746 |
# File 'lib/lsp/lsp_protocol.rb', line 1743 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1741 1742 1743 |
# File 'lib/lsp/lsp_protocol.rb', line 1741 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1748 1749 1750 1751 1752 |
# File 'lib/lsp/lsp_protocol.rb', line 1748 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |