23 lines
383 B
C
23 lines
383 B
C
|
/*
|
||
|
* ASTProgram.h
|
||
|
*
|
||
|
* Created on: Nov 5, 2012
|
||
|
* Author: attero
|
||
|
*/
|
||
|
|
||
|
#ifndef PROGRAMNODE_H_
|
||
|
#define PROGRAMNODE_H_
|
||
|
#include <iostream>
|
||
|
#include "ASTNode.h"
|
||
|
#include "ASTStatement.h"
|
||
|
|
||
|
class ProgramNode : public ASTNode {
|
||
|
public:
|
||
|
ProgramNode();
|
||
|
ASTStatement * add_child(ASTStatement * node);
|
||
|
virtual ~ProgramNode();
|
||
|
virtual void execute();
|
||
|
};
|
||
|
|
||
|
#endif /* PROGRAMNODE_H_ */
|