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

Public Member Functions

 ClangFrontendActionFactory (ClangAstVisitor *visitor, CppImportLogger *log)
 Creates the factory and save the pointer to the visitor which is used for all translation units. More...
 
virtual std::unique_ptr< clang::FrontendAction > create () override
 This function is called for every translationunit It creates a new ClangConsumerCreator with the provided visitor. More...
 

Private Attributes

CppImportLoggerlog_ {}
 
ClangAstVisitorvisitor_ {}
 

Constructor & Destructor Documentation

◆ ClangFrontendActionFactory()

CppImport::ClangFrontendActionFactory::ClangFrontendActionFactory ( ClangAstVisitor visitor,
CppImportLogger log 
)

Creates the factory and save the pointer to the visitor which is used for all translation units.

Member Function Documentation

◆ create()

std::unique_ptr< clang::FrontendAction > CppImport::ClangFrontendActionFactory::create ( )
overridevirtual

This function is called for every translationunit It creates a new ClangConsumerCreator with the provided visitor.

Member Data Documentation

◆ log_

CppImportLogger* CppImport::ClangFrontendActionFactory::log_ {}
private

◆ visitor_

ClangAstVisitor* CppImport::ClangFrontendActionFactory::visitor_ {}
private