Class: LSP::DocumentHighlightOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentHighlightOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentHighlightOptions
constructor
A new instance of DocumentHighlightOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentHighlightOptions
Returns a new instance of DocumentHighlightOptions.
1629 1630 1631 1632 |
# File 'lib/lsp/lsp_protocol.rb', line 1629 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1627 1628 1629 |
# File 'lib/lsp/lsp_protocol.rb', line 1627 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1634 1635 1636 1637 1638 |
# File 'lib/lsp/lsp_protocol.rb', line 1634 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |