Skip to content

Commit

Permalink
and more jsdoc, #70231
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 25, 2019
1 parent b8d2bad commit 3355cea
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ declare module 'vscode' {

/**
* Provide all incoming calls for an item, e.g all callers for a method. In graph terms this descibes directed
* and annotated edges inside the call graph, e.g the given item is the starting node and the result are the nodes
* 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.
*
* @param item The hierarchy item for which incoming calls should be computed.
Expand All @@ -148,7 +148,7 @@ declare module 'vscode' {
/**
* Provide all outgoing calls for an item, e.g call calls to functions, methods, or constructors from the given item. In
* graph terms this descibes directed and annotated edges inside the call graph, e.g the given item is the starting
* node and the result are the nodes that can be reached.
* node and the result is the nodes that can be reached.
*
* @param item The hierarchy item for which outgoing calls should be computed.
* @param token A cancellation token.
Expand All @@ -159,6 +159,14 @@ declare module 'vscode' {
}

export namespace languages {

/**
* Register a call hierarchy provider.
*
* @param selector A selector that defines the documents this provider is applicable to.
* @param provider A call hierarchy provider.
* @return A [disposable](#Disposable) that unregisters this provider when being disposed.
*/
export function registerCallHierarchyProvider(selector: DocumentSelector, provider: CallHierarchyProvider): Disposable;
}

Expand Down

0 comments on commit 3355cea

Please sign in to comment.