Files
kraken/include/CGenerator.h

21 lines
349 B
C
Raw Normal View History

#ifndef CGENERATOR_H
#define CGENERATOR_H
#include <string>
#include <iostream>
#include "NodeTree.h"
#include "ASTData.h"
class CGenerator {
public:
CGenerator();
~CGenerator();
std::string generate(NodeTree<ASTData>* from);
static std::string ValueTypeToCType(ValueType type);
private:
std::string tabs();
int tabLevel;
};
#endif