clang
19.0.0git
|
Data for IndexerCallbacks::indexEntityReference. More...
#include "clang-c/Index.h"
Public Attributes | |
CXIdxEntityRefKind | kind |
CXCursor | cursor |
Reference cursor. More... | |
CXIdxLoc | loc |
const CXIdxEntityInfo * | referencedEntity |
The entity that gets referenced. More... | |
const CXIdxEntityInfo * | parentEntity |
Immediate "parent" of the reference. More... | |
const CXIdxContainerInfo * | container |
Lexical container context of the reference. More... | |
CXSymbolRole | role |
Sets of symbol roles of the reference. More... | |
Data for IndexerCallbacks::indexEntityReference.
const CXIdxContainerInfo* CXIdxEntityRefInfo::container |
CXIdxEntityRefKind CXIdxEntityRefInfo::kind |
const CXIdxEntityInfo* CXIdxEntityRefInfo::parentEntity |
Immediate "parent" of the reference.
For example:
The parent of reference of type 'Foo' is the variable 'var'. For references inside statement bodies of functions/methods, the parentEntity will be the function/method.
const CXIdxEntityInfo* CXIdxEntityRefInfo::referencedEntity |
CXSymbolRole CXIdxEntityRefInfo::role |