Class: LSP::WorkspaceSymbolOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface WorkspaceSymbolOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ WorkspaceSymbolOptions
constructor
A new instance of WorkspaceSymbolOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ WorkspaceSymbolOptions
Returns a new instance of WorkspaceSymbolOptions.
1994 1995 1996 1997 |
# File 'lib/lsp/lsp_protocol.rb', line 1994 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1992 1993 1994 |
# File 'lib/lsp/lsp_protocol.rb', line 1992 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1999 2000 2001 2002 2003 |
# File 'lib/lsp/lsp_protocol.rb', line 1999 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |