clang API Documentation

Public Member Functions | Friends
clang::idx::Program Class Reference

Top level object that owns and maintains information that is common across translation units. More...

#include <Program.h>

List of all members.

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

Detailed Description

Top level object that owns and maintains information that is common across translation units.

Definition at line 25 of file Program.h.


Constructor & Destructor Documentation

Program::Program ( )

Definition at line 27 of file Program.cpp.

Program::~Program ( )

Definition at line 29 of file Program.cpp.


Member Function Documentation

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().


Friends And Related Function Documentation

friend class Entity [friend]

Definition at line 30 of file Program.h.

friend class GlobalSelector [friend]

Definition at line 31 of file Program.h.


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