Class: LSP::CallHierarchyIncomingCallsParams

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

Overview

export interface CallHierarchyIncomingCallsParams extends WorkDoneProgressParams, PartialResultParams

item: CallHierarchyItem;

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from LSP::LSPBase

Instance Attribute Details

#itemObject

type: CallHierarchyItem



213
214
215
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 213

def item
  @item
end

Instance Method Details

#from_h!(value) ⇒ Object



215
216
217
218
219
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 215

def from_h!(value)
  value = {} if value.nil?
  self.item = CallHierarchyItem.new(value['item']) unless value['item'].nil?
  self
end