Class: LSP::CallHierarchyServerCapabilities
- Defined in:
- lib/lsp/lsp_protocol_callhierarchy.proposed.rb
Overview
export interface CallHierarchyServerCapabilities
/**
* The server provides Call Hierarchy support.
*/
callHierarchyProvider?: boolean | CallHierarchyOptions | (CallHierarchyRegistrationOptions & StaticRegistrationOptions);
Instance Attribute Summary collapse
-
#callHierarchyProvider ⇒ Object
type: boolean | CallHierarchyOptions | (CallHierarchyRegistrationOptions & StaticRegistrationOptions).
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ CallHierarchyServerCapabilities
constructor
A new instance of CallHierarchyServerCapabilities.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ CallHierarchyServerCapabilities
Returns a new instance of CallHierarchyServerCapabilities.
187 188 189 190 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 187 def initialize(initial_hash = nil) super @optional_method_names = %i[callHierarchyProvider] end |
Instance Attribute Details
#callHierarchyProvider ⇒ Object
type: boolean | CallHierarchyOptions | (CallHierarchyRegistrationOptions & StaticRegistrationOptions)
185 186 187 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 185 def callHierarchyProvider @callHierarchyProvider end |
Instance Method Details
#from_h!(value) ⇒ Object
192 193 194 195 196 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 192 def from_h!(value) value = {} if value.nil? self.callHierarchyProvider = value['callHierarchyProvider'] # Unknown type self end |