#ifndef AST_ACTION_FACTORY #define AST_ACTION_FACTORY #include "clang/Tooling/Tooling.h" #include "data/parser/cxx/ASTAction.h" #include "utility/file/FileRegister.h" class ASTActionFactory : public clang::tooling::FrontendActionFactory { public: explicit ASTActionFactory(std::shared_ptr client, std::shared_ptr fileRegister); virtual ~ASTActionFactory(); virtual clang::FrontendAction* create(); private: std::shared_ptr m_client; std::shared_ptr m_fileRegister; }; #endif // AST_ACTION_FACTORY