#ifndef CGENERATOR_H #define CGENERATOR_H #include #include #include #include "NodeTree.h" #include "ASTData.h" #include "Type.h" #include "util.h" class CGenerator { public: CGenerator(); ~CGenerator(); void generateCompSet(std::map*> ASTs, std::string outputName); std::string generate(NodeTree* from); static std::string ValueTypeToCType(Type *type); std::string generatorString; private: std::string tabs(); int tabLevel; }; #endif