summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ASTNode.h
blob: 7afe190f3207345248b90c2927771351cf1713ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * ASTNode.h
 *
 *  Created on: Nov 4, 2012
 *      Author: attero
 */

#ifndef ASTNODE_H_
#define ASTNODE_H_
#include <vector>
#include <string>
#include "SenchaObject.h"

class ASTNode {
public:
	ASTNode();
	ASTNode * parent;
	std::vector<ASTNode *> children;


	virtual std::string debug() = 0;
	virtual void execute() = 0;
	virtual ~ASTNode();
};

#endif /* ASTNODE_H_ */