clang-tools 20.0.0git
Public Attributes | List of all members
clang::clangd::CallHierarchyItem Struct Reference

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

#include <Protocol.h>

Public Attributes

std::string name
 The name of this item.
 
SymbolKind kind
 The kind of this item.
 
std::vector< SymbolTagtags
 Tags for this item.
 
std::string detail
 More detaill for this item, e.g. the signature of a function.
 
URIForFile uri
 The resource identifier of this item.
 
Range range
 The range enclosing this symbol not including leading / trailing whitespace but everything else, e.g.
 
Range selectionRange
 The range that should be selected and revealed when this symbol is being picked, e.g.
 
std::string data
 An optional 'data' field, which can be used to identify a call hierarchy item in an incomingCalls or outgoingCalls request.
 

Detailed Description

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

Definition at line 1572 of file Protocol.h.

Member Data Documentation

◆ data

std::string clang::clangd::CallHierarchyItem::data

An optional 'data' field, which can be used to identify a call hierarchy item in an incomingCalls or outgoingCalls request.

Definition at line 1599 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), clang::clangd::incomingCalls(), clang::clangd::outgoingCalls(), and clang::clangd::toJSON().

◆ detail

std::string clang::clangd::CallHierarchyItem::detail

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

Definition at line 1583 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ kind

SymbolKind clang::clangd::CallHierarchyItem::kind

The kind of this item.

Definition at line 1577 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().

◆ name

std::string clang::clangd::CallHierarchyItem::name

The name of this item.

Definition at line 1574 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), and clang::clangd::toJSON().

◆ range

Range clang::clangd::CallHierarchyItem::range

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

comments and code.

Definition at line 1590 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().

◆ selectionRange

Range clang::clangd::CallHierarchyItem::selectionRange

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 Rng.

Definition at line 1595 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), clang::clangd::operator<<(), and clang::clangd::toJSON().

◆ tags

std::vector<SymbolTag> clang::clangd::CallHierarchyItem::tags

Tags for this item.

Definition at line 1580 of file Protocol.h.

Referenced by clang::clangd::toJSON().

◆ uri

URIForFile clang::clangd::CallHierarchyItem::uri

The resource identifier of this item.

Definition at line 1586 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), clang::clangd::incomingCalls(), clang::clangd::outgoingCalls(), and clang::clangd::toJSON().


The documentation for this struct was generated from the following file: