clang  5.0.0
Public Attributes | List of all members
CXIdxEntityRefInfo Struct Reference

Data for IndexerCallbacks::indexEntityReference. More...

#include "clang-c/Index.h"

Collaboration diagram for CXIdxEntityRefInfo:
[legend]

Public Attributes

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

Detailed Description

Data for IndexerCallbacks::indexEntityReference.

Definition at line 5957 of file Index.h.

Member Data Documentation

const CXIdxContainerInfo* CXIdxEntityRefInfo::container

Lexical container context of the reference.

Definition at line 5983 of file Index.h.

CXCursor CXIdxEntityRefInfo::cursor

Reference cursor.

Definition at line 5962 of file Index.h.

CXIdxEntityRefKind CXIdxEntityRefInfo::kind

Definition at line 5958 of file Index.h.

CXIdxLoc CXIdxEntityRefInfo::loc

Definition at line 5963 of file Index.h.

const CXIdxEntityInfo* CXIdxEntityRefInfo::parentEntity

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 5979 of file Index.h.

const CXIdxEntityInfo* CXIdxEntityRefInfo::referencedEntity

The entity that gets referenced.

Definition at line 5967 of file Index.h.


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