summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST')
-rw-r--r--Sencha-lang/AST/ASTNode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sencha-lang/AST/ASTNode.h b/Sencha-lang/AST/ASTNode.h
index 7afe190..feee8bd 100644
--- a/Sencha-lang/AST/ASTNode.h
+++ b/Sencha-lang/AST/ASTNode.h
@@ -10,6 +10,7 @@
#include <vector>
#include <string>
#include "SenchaObject.h"
+#include "../Visitor.h"
class ASTNode {
public:
@@ -17,6 +18,7 @@ public:
ASTNode * parent;
std::vector<ASTNode *> children;
+ virtual void accept(Visitor *) = 0;
virtual std::string debug() = 0;
virtual void execute() = 0;