Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
CppImport::ClangAstConsumer Class Reference
Inheritance diagram for CppImport::ClangAstConsumer:

Public Member Functions

 ClangAstConsumer (ClangAstVisitor *visitor)
 
virtual void HandleTranslationUnit (clang::ASTContext &astContext) override
 Starts the astVisitor_ on this translation unit. More...
 
void setCompilerInstance (const clang::CompilerInstance *compilerInstance)
 Sets the compilerInstance of the logger_ and the astVisitor_ to compilerInstance. More...
 

Private Attributes

ClangAstVisitorastVisitor_ {}
 

Constructor & Destructor Documentation

◆ ClangAstConsumer()

CppImport::ClangAstConsumer::ClangAstConsumer ( ClangAstVisitor visitor)

Member Function Documentation

◆ HandleTranslationUnit()

void CppImport::ClangAstConsumer::HandleTranslationUnit ( clang::ASTContext &  astContext)
overridevirtual

Starts the astVisitor_ on this translation unit.

◆ setCompilerInstance()

void CppImport::ClangAstConsumer::setCompilerInstance ( const clang::CompilerInstance *  compilerInstance)

Sets the compilerInstance of the logger_ and the astVisitor_ to compilerInstance.

Member Data Documentation

◆ astVisitor_

ClangAstVisitor* CppImport::ClangAstConsumer::astVisitor_ {}
private