Class: LSP::DocumentSymbolOptions

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

Overview

export interface DocumentSymbolOptions extends WorkDoneProgressOptions { }

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#to_h, #to_json

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

#workDoneProgressObject

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