summary refs log tree commit diff
path: root/gen/ANFVisitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen/ANFVisitor.py')
-rw-r--r--gen/ANFVisitor.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/gen/ANFVisitor.py b/gen/ANFVisitor.py
new file mode 100644
index 0000000..982fa58
--- /dev/null
+++ b/gen/ANFVisitor.py
@@ -0,0 +1,28 @@
+# Generated from /home/erik/PycharmProjects/pythonProject/grammar/ANF.g4 by ANTLR 4.13.1
+from antlr4 import *
+if "." in __name__:
+    from .ANFParser import ANFParser
+else:
+    from ANFParser import ANFParser
+
+# This class defines a complete generic visitor for a parse tree produced by ANFParser.
+
+class ANFVisitor(ParseTreeVisitor):
+
+    # Visit a parse tree produced by ANFParser#aexp.
+    def visitAexp(self, ctx:ANFParser.AexpContext):
+        return self.visitChildren(ctx)
+
+
+    # Visit a parse tree produced by ANFParser#funcall.
+    def visitFuncall(self, ctx:ANFParser.FuncallContext):
+        return self.visitChildren(ctx)
+
+
+    # Visit a parse tree produced by ANFParser#cexp.
+    def visitCexp(self, ctx:ANFParser.CexpContext):
+        return self.visitChildren(ctx)
+
+
+
+del ANFParser
\ No newline at end of file