clang API Documentation

Public Member Functions
clang::idx::EntityGetter Class Reference

Gets the Entity associated with a Decl. More...

Inheritance diagram for clang::idx::EntityGetter:
Inheritance graph
[legend]
Collaboration diagram for clang::idx::EntityGetter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EntityGetter (Program &prog, ProgramImpl &progImpl)
Entity getEntity (Entity Parent, DeclarationName Name, unsigned IdNS, bool isObjCInstanceMethod)
Entity getGlobalEntity (StringRef Name)
Entity VisitNamedDecl (NamedDecl *D)
Entity VisitVarDecl (VarDecl *D)
Entity VisitFieldDecl (FieldDecl *D)
Entity VisitFunctionDecl (FunctionDecl *D)
Entity VisitTypeDecl (TypeDecl *D)

Detailed Description

Gets the Entity associated with a Decl.

Definition at line 37 of file Entity.cpp.


Constructor & Destructor Documentation

clang::idx::EntityGetter::EntityGetter ( Program prog,
ProgramImpl progImpl 
) [inline]

Definition at line 42 of file Entity.cpp.


Member Function Documentation

Entity EntityGetter::getEntity ( Entity  Parent,
DeclarationName  Name,
unsigned  IdNS,
bool  isObjCInstanceMethod 
)
Entity EntityGetter::getGlobalEntity ( StringRef  Name)
Entity EntityGetter::VisitFieldDecl ( FieldDecl D)

Definition at line 151 of file Entity.cpp.

Entity EntityGetter::VisitFunctionDecl ( FunctionDecl D)
Entity EntityGetter::VisitNamedDecl ( NamedDecl D)
Entity EntityGetter::VisitTypeDecl ( TypeDecl D)

Definition at line 156 of file Entity.cpp.

Entity EntityGetter::VisitVarDecl ( VarDecl D)

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