clang 18.0.0git
|
Stores information about the context of the declaration of this API. More...
#include "clang/ExtractAPI/API.h"
Public Member Functions | |
HierarchyInformation ()=default | |
HierarchyInformation (StringRef ParentUSR, StringRef ParentName, RecordKind Kind, APIRecord *ParentRecord=nullptr) | |
bool | empty () const |
Public Attributes | |
StringRef | ParentUSR |
The USR of the parent API. | |
StringRef | ParentName |
The name of the parent API. | |
RecordKind | ParentKind = RK_Unknown |
The record kind of the parent API. | |
APIRecord * | ParentRecord = nullptr |
A pointer to the parent APIRecord if known. | |
Stores information about the context of the declaration of this API.
This is roughly analogous to the DeclContext hierarchy for an AST Node.
|
default |
|
inline |
|
inline |
Definition at line 218 of file API.h.
References ParentKind, ParentName, ParentRecord, ParentUSR, and clang::extractapi::APIRecord::RK_Unknown.
RecordKind clang::extractapi::APIRecord::HierarchyInformation::ParentKind = RK_Unknown |
StringRef clang::extractapi::APIRecord::HierarchyInformation::ParentName |
APIRecord* clang::extractapi::APIRecord::HierarchyInformation::ParentRecord = nullptr |
StringRef clang::extractapi::APIRecord::HierarchyInformation::ParentUSR |