clang API Documentation

Public Attributes
CXIdxEntityRefInfo Struct Reference

Data for IndexerCallbacks::indexEntityReference. More...

#include <Index.h>

Collaboration diagram for CXIdxEntityRefInfo:
Collaboration graph
[legend]

List of all members.

Public Attributes

CXIdxEntityRefKind kind
CXCursor cursor
 Reference cursor.
CXIdxLoc loc
const CXIdxEntityInforeferencedEntity
 The entity that gets referenced.
const CXIdxEntityInfoparentEntity
 Immediate "parent" of the reference. For example:
const CXIdxContainerInfocontainer
 Lexical container context of the reference.

Detailed Description

Data for IndexerCallbacks::indexEntityReference.

Definition at line 5391 of file Index.h.


Member Data Documentation

Lexical container context of the reference.

Definition at line 5417 of file Index.h.

Reference cursor.

Definition at line 5396 of file Index.h.

Definition at line 5392 of file Index.h.

Definition at line 5397 of file Index.h.

Immediate "parent" of the reference. For example:

 Foo *var;

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.

Definition at line 5413 of file Index.h.

The entity that gets referenced.

Definition at line 5401 of file Index.h.


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