Save state before re-write of RegEx.
This commit is contained in:
@@ -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:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user