Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions _specifications/lsp/3.18/language/callHierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ _Response_:
<div class="anchorHolder"><a href="#callHierarchyItem" name="callHierarchyItem" class="linkableAnchor"></a></div>

```typescript
export namespace ReferenceTag {
/**
* Statement with r-value usage of the referenced variable.
*/
export const Read = 1;
/**
* Statement with l-value usage of the referenced variable.
*/
export const Write = 2;
}

export type ReferenceTag = 1 | 2;

export interface CallHierarchyItem {
/**
* The name of this item.
Expand All @@ -85,6 +98,11 @@ export interface CallHierarchyItem {
*/
tags?: SymbolTag[];

/**
* Reference tags of this item.
*/
referenceTags?: ReferenceTag[];

/**
* More detail for this item, e.g. the signature of a function.
*/
Expand Down