Interface CallHierarchyProvider

The call hierarchy provider interface describes the contract between extensions and the call hierarchy feature which allows to browse calls and caller of function, methods, constructor etc.

Methods

  • Provide all outgoing calls for an item, e.g call calls to functions, methods, or constructors from the given item. In graph terms this describes directed and annotated edges inside the call graph, e.g the given item is the starting node and the result is the nodes that can be reached.

    Parameters

    Returns ProviderResult<CallHierarchyOutgoingCall[]>

    A set of outgoing calls or a thenable that resolves to such. The lack of a result can be signaled by returning undefined or null.