20 lines
246 B
C++
20 lines
246 B
C++
|
/*
|
||
|
* AST.cpp
|
||
|
*
|
||
|
* Created on: Nov 4, 2012
|
||
|
* Author: attero
|
||
|
*/
|
||
|
#include "AST.h"
|
||
|
#include "AllTypesOfASTNodes.h"
|
||
|
|
||
|
AST::AST() {
|
||
|
root = new ASTProgram();
|
||
|
current_node = root;
|
||
|
number_of_nodes = 1;
|
||
|
level_of_depth = 0;
|
||
|
}
|
||
|
|
||
|
AST::~AST() {
|
||
|
}
|
||
|
|