class LSProtocol::CallHierarchyOutgoingCall

Overview

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

@since 3.16.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from_ranges : Array(Range) | Nil, to : CallHierarchyItem | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def from_ranges : Array(Range) #

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.


[View source]
def to : CallHierarchyItem #

The item that is called.


[View source]