summaryrefslogtreecommitdiff
path: root/gen/ANFListener.py
diff options
context:
space:
mode:
authorErik Oosting2023-12-11 15:25:24 +0100
committerErik Oosting2023-12-11 15:25:24 +0100
commit0e96e69659c7c31927b7eee5c40d017b035a6471 (patch)
tree8d037de425102e8ba6ebf0921aa7f58bacab1976 /gen/ANFListener.py
Initial commit
Adding grammar
Diffstat (limited to 'gen/ANFListener.py')
-rw-r--r--gen/ANFListener.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/gen/ANFListener.py b/gen/ANFListener.py
new file mode 100644
index 0000000..cbceaab
--- /dev/null
+++ b/gen/ANFListener.py
@@ -0,0 +1,39 @@
+# 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 listener for a parse tree produced by ANFParser.
+class ANFListener(ParseTreeListener):
+
+ # Enter a parse tree produced by ANFParser#aexp.
+ def enterAexp(self, ctx:ANFParser.AexpContext):
+ pass
+
+ # Exit a parse tree produced by ANFParser#aexp.
+ def exitAexp(self, ctx:ANFParser.AexpContext):
+ pass
+
+
+ # Enter a parse tree produced by ANFParser#funcall.
+ def enterFuncall(self, ctx:ANFParser.FuncallContext):
+ pass
+
+ # Exit a parse tree produced by ANFParser#funcall.
+ def exitFuncall(self, ctx:ANFParser.FuncallContext):
+ pass
+
+
+ # Enter a parse tree produced by ANFParser#cexp.
+ def enterCexp(self, ctx:ANFParser.CexpContext):
+ pass
+
+ # Exit a parse tree produced by ANFParser#cexp.
+ def exitCexp(self, ctx:ANFParser.CexpContext):
+ pass
+
+
+
+del ANFParser \ No newline at end of file