diff options
Diffstat (limited to 'NodeVisitor.h')
-rw-r--r-- | NodeVisitor.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/NodeVisitor.h b/NodeVisitor.h new file mode 100644 index 0000000..f98a8ba --- /dev/null +++ b/NodeVisitor.h @@ -0,0 +1,11 @@ +#pragma once + +class Node; +class NodeOutput; + +class NodeVisitor { +public: + virtual void visit(NodeOutput & node) = 0; + virtual void visit(Node & node) = 0; +}; + |