prepareCallHierarchy
abstract fun prepareCallHierarchy(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<JsAny>(source)
Bootstraps call hierarchy by returning the item that is denoted by the given document and position. This item will be used as entry into the call graph. Providers should return undefined
or null
when there is no item at the given location.
Parameters
document
The document in which the command was invoked.
position
The position at which the command was invoked.
token
A cancellation token.