Class: LSP::CallHierarchyIncomingCall
- Defined in:
- lib/lsp/lsp_protocol_callhierarchy.proposed.rb
Overview
Instance Attribute Summary collapse
-
#from ⇒ Object
type: CallHierarchyItem # type: Range.
-
#fromRanges ⇒ Object
type: CallHierarchyItem # type: Range.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#from ⇒ Object
type: CallHierarchyItem # type: Range
75 76 77 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 75 def from @from end |
#fromRanges ⇒ Object
type: CallHierarchyItem # type: Range
75 76 77 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 75 def fromRanges @fromRanges end |
Instance Method Details
#from_h!(value) ⇒ Object
77 78 79 80 81 82 |
# File 'lib/lsp/lsp_protocol_callhierarchy.proposed.rb', line 77 def from_h!(value) value = {} if value.nil? self.from = CallHierarchyItem.new(value['from']) unless value['from'].nil? self.fromRanges = value['fromRanges'].map { |val| val } unless value['fromRanges'].nil? # Unknown array type self end |