nvim_runtime_lua

lsp.CallHierarchyItem

Represents programming constructs like functions or constructors in the context of call hierarchy.

Fields8

CallHierarchyItem.name : string

The name of this item.

CallHierarchyItem.kind : lsp.SymbolKind

The kind of this item.

CallHierarchyItem.tags : lsp.SymbolTag[] | nil

Tags for this item.

CallHierarchyItem.detail : nil | string

More detail for this item, e.g. the signature of a function.

CallHierarchyItem.uri : lsp.DocumentUri

The resource identifier of this item.

CallHierarchyItem.range : lsp.Range

The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

CallHierarchyItem.selectionRange : lsp.Range

The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the {@link CallHierarchyItem.range range}.

CallHierarchyItem.data : lsp.LSPAny | nil

A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls requests.