Save state before re-write of RegEx.

This commit is contained in:
Nathan Braswell
2014-01-07 13:14:58 -05:00
parent 82df9b1592
commit 0297f29dcd
13 changed files with 139 additions and 57 deletions

View File

@@ -8,6 +8,9 @@
#include <string>
#include <iostream>
//Circular dependency
class ASTData;
#include "ASTData.h"
#include "util.h"
enum ValueType {none, void_type, boolean, integer, floating, double_percision, character };
@@ -18,10 +21,13 @@ class Type {
Type();
Type(ValueType typeIn, int indirectionIn);
Type(ValueType typeIn);
Type(std::string typeIn);
Type(NodeTree<ASTData>* typeDefinitionIn);
Type(NodeTree<ASTData>* typeDefinitionIn, int indirectionIn);
Type(ValueType typeIn, NodeTree<ASTData>* typeDefinitionIn, int indirectionIn);
~Type();
std::string toString();
ValueType baseType;
NodeTree<ASTData>* typeDefinition;
int indirection;
private:
};