clang API Documentation
Top level object that owns and maintains information that is common across translation units. More...
#include <Program.h>
Public Member Functions | |
| Program () | |
| ~Program () | |
| void | FindEntities (ASTContext &Ctx, EntityHandler &Handler) |
| Traverses the AST and passes all the entities to the Handler. | |
Friends | |
| class | Entity |
| class | GlobalSelector |
Top level object that owns and maintains information that is common across translation units.
| Program::Program | ( | ) |
Definition at line 27 of file Program.cpp.
| Program::~Program | ( | ) |
Definition at line 29 of file Program.cpp.
| void Program::FindEntities | ( | ASTContext & | Ctx, |
| EntityHandler & | Handler | ||
| ) |
Traverses the AST and passes all the entities to the Handler.
Definition at line 48 of file Program.cpp.
References FindEntitiesInDC(), and clang::ASTContext::getTranslationUnitDecl().
Referenced by clang::idx::Indexer::IndexAST().
friend class GlobalSelector [friend] |