summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicStatement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/BasicStatement.cpp')
-rw-r--r--Sencha-lang/AST/BasicStatement.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Sencha-lang/AST/BasicStatement.cpp b/Sencha-lang/AST/BasicStatement.cpp
index 88d70c2..b8dc1bf 100644
--- a/Sencha-lang/AST/BasicStatement.cpp
+++ b/Sencha-lang/AST/BasicStatement.cpp
@@ -34,3 +34,8 @@ void BasicStatement::execute()
for(auto child: children)
child->execute() ;
}
+
+void BasicStatement::accept(Visitor * visitor)
+{
+ visitor->visit(this);
+}