Class: LSP::CallHierarchyOutgoingCallsParams

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

Overview

export interface CallHierarchyOutgoingCallsParams 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



226
227
228
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 226

def item
  @item
end

Instance Method Details

#from_h!(value) ⇒ Object



228
229
230
231
232
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 228

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