Class: LSP::WorkspaceSymbolOptions

Inherits:
LSPBase
  • Object
show all
Defined in:
lib/lsp/lsp_protocol.rb

Overview

export interface WorkspaceSymbolOptions extends WorkDoneProgressOptions { }

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#to_h, #to_json

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

#workDoneProgressObject

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