summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.h
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-18 22:41:39 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-18 22:41:39 +0100
commit736458f1fd5508b48602feae215749d2db73ebc5 (patch)
treedd56f48a1b7e3e8eb171cc6344240b4208e92c33 /Sencha-lang/AST/BasicStatement.h
parent442d8c640fdde22d9f6bf5d1a729d8e17e2fa407 (diff)
downloadsencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.gz
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.bz2
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.tar.xz
sencha-lang-736458f1fd5508b48602feae215749d2db73ebc5.zip
This crazy setup compiles. However I encountered some problems with
polymorphism. It probably doesn't work as I thought it would. Not problem at all :).
Diffstat (limited to 'Sencha-lang/AST/BasicStatement.h')
-rw-r--r--Sencha-lang/AST/BasicStatement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Sencha-lang/AST/BasicStatement.h b/Sencha-lang/AST/BasicStatement.h
index a34c4e7..1b616dc 100644
--- a/Sencha-lang/AST/BasicStatement.h
+++ b/Sencha-lang/AST/BasicStatement.h
@@ -10,6 +10,7 @@
#include <iostream>
#include "ASTExpression.h"
#include "ASTStatement.h"
+#include "../Visitor.h"
class BasicStatement : public ASTStatement {
public:
@@ -17,6 +18,7 @@ public:
virtual std::string debug();
void add_expression(ASTExpression * expr);
virtual void execute();
+ virtual void accept(Visitor * vistitor);
virtual ~BasicStatement();
};