clang-tools  14.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>

Collaboration diagram for clang::clangd::CallHierarchyItem:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

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

Definition at line 1436 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 1463 of file Protocol.h.

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

◆ detail

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

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

Definition at line 1447 of file Protocol.h.

◆ kind

SymbolKind clang::clangd::CallHierarchyItem::kind

The kind of this item.

Definition at line 1441 of file Protocol.h.

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

◆ name

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

The name of this item.

Definition at line 1438 of file Protocol.h.

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

◆ 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 1454 of file Protocol.h.

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

◆ 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 1459 of file Protocol.h.

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

◆ tags

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

Tags for this item.

Definition at line 1444 of file Protocol.h.

◆ uri

URIForFile clang::clangd::CallHierarchyItem::uri

The resource identifier of this item.

Definition at line 1450 of file Protocol.h.

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


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