class

LSProtocol::CallHierarchyOutgoingCall

Inherits JSON::Serializable / Reference / Object

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

@since 3.16.0

Constructors

new(from_ranges : Array(Range) | Nil, to : CallHierarchyItem | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

from_ranges

The range at which this item is called. This is the range relative to the caller, e.g the item passed to CallHierarchyItemProvider#provideCallHierarchyOutgoingCalls and not CallHierarchyOutgoingCall#to.

Source
to

The item that is called.

Source