Class: LSP::DocumentSymbolRegistrationOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentSymbolRegistrationOptions extends TextDocumentRegistrationOptions, DocumentSymbolOptions { }
Instance Attribute Summary collapse
-
#documentSelector ⇒ Object
type: DocumentSelector | null # type: boolean.
-
#workDoneProgress ⇒ Object
type: DocumentSelector | null # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentSymbolRegistrationOptions
constructor
A new instance of DocumentSymbolRegistrationOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentSymbolRegistrationOptions
Returns a new instance of DocumentSymbolRegistrationOptions.
1760 1761 1762 1763 |
# File 'lib/lsp/lsp_protocol.rb', line 1760 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#documentSelector ⇒ Object
type: DocumentSelector | null # type: boolean
1758 1759 1760 |
# File 'lib/lsp/lsp_protocol.rb', line 1758 def documentSelector @documentSelector end |
#workDoneProgress ⇒ Object
type: DocumentSelector | null # type: boolean
1758 1759 1760 |
# File 'lib/lsp/lsp_protocol.rb', line 1758 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1765 1766 1767 1768 1769 1770 |
# File 'lib/lsp/lsp_protocol.rb', line 1765 def from_h!(value) value = {} if value.nil? self.documentSelector = value['documentSelector'] # Unknown type self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |