Added in structure for tree transformations.
This commit is contained in:
17
src/ASTData.cpp
Normal file
17
src/ASTData.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "ASTData.h"
|
||||
|
||||
ASTData::ASTData(ASTType type, ValueType valueType) {
|
||||
this->type = type;
|
||||
this->valueType = valueType;
|
||||
this->symbol = NULL;
|
||||
}
|
||||
|
||||
ASTData::ASTData(ASTType type, Symbol* symbol, ValueType valueType) {
|
||||
this->type = type;
|
||||
this->valueType = valueType;
|
||||
this->symbol = symbol;
|
||||
}
|
||||
|
||||
|
||||
ASTData::~ASTData() {
|
||||
}
|
||||
Reference in New Issue
Block a user