summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/Visitor.h')
-rw-r--r--Sencha-lang/Visitor.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Sencha-lang/Visitor.h b/Sencha-lang/Visitor.h
new file mode 100644
index 0000000..85d4dfa
--- /dev/null
+++ b/Sencha-lang/Visitor.h
@@ -0,0 +1,19 @@
+/*
+ * Visitor.h
+ *
+ * Created on: Dec 17, 2012
+ * Author: att
+ */
+
+#ifndef VISITOR_H_
+#define VISITOR_H_
+#include "AST/ASTNode.h"
+
+class Visitor {
+public:
+ Visitor();
+ virtual void visit(ASTNode * node/*something*/) = 0;
+ virtual ~Visitor();
+};
+
+#endif /* VISITOR_H_ */