aboutsummaryrefslogtreecommitdiff
path: root/NodeOutputVisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NodeOutputVisitor.cpp')
-rw-r--r--NodeOutputVisitor.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/NodeOutputVisitor.cpp b/NodeOutputVisitor.cpp
new file mode 100644
index 0000000..ca00fd4
--- /dev/null
+++ b/NodeOutputVisitor.cpp
@@ -0,0 +1,8 @@
+#include "NodeOutputVisitor.h"
+
+void NodeOutputVisitor::visit(Node & node) { }
+void NodeOutputVisitor::visit(NodeOutput & node) {
+ level = node.level(); // TODO: dit klopt niet
+ output_node = true;
+}
+