struct CXIdxEntityRefInfo

Declaration

struct CXIdxEntityRefInfo { /* full declaration omitted */ };

Description

Data for IndexerCallbacks#indexEntityReference.

Declared at: clang/include/clang-c/Index.h:6544

Member Variables

public CXIdxEntityRefKind kind
public CXCursor cursor
Reference cursor.
public CXIdxLoc loc
public const CXIdxEntityInfo* referencedEntity
The entity that gets referenced.
public const CXIdxEntityInfo* parentEntity
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.
public const CXIdxContainerInfo* container
Lexical container context of the reference.
public CXSymbolRole role
Sets of symbol roles of the reference.