Added Type class, bettered types a bit, made address of and dereference operators work.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "NodeTree.h"
|
||||
#include "ASTData.h"
|
||||
#include "Type.h"
|
||||
|
||||
#include "util.h"
|
||||
|
||||
@@ -15,7 +16,7 @@ class CGenerator {
|
||||
CGenerator();
|
||||
~CGenerator();
|
||||
std::string generate(NodeTree<ASTData>* from);
|
||||
static std::string ValueTypeToCType(ValueType type);
|
||||
static std::string ValueTypeToCType(Type type);
|
||||
std::string generatorString;
|
||||
private:
|
||||
std::string tabs();
|
||||
|
||||
Reference in New Issue
Block a user