Represents an outgoing call, e.g. calling a getter from a method or a method from a constructor etc.

Constructor

new(item:CallHierarchyItem, fromRanges:Array<Range>)

Create a new call object.

Parameters:

item

The item being called

fromRanges

The ranges at which the calls appear.

Variables

fromRanges:Array<Range>

The range at which this item is called. This is the range relative to the caller, e.g the item passed to {@linkcode CallHierarchyProvider.provideCallHierarchyOutgoingCalls provideCallHierarchyOutgoingCalls} and not {@linkcode CallHierarchyOutgoingCall.to this.to}.

to:CallHierarchyItem

The item that is called.