summaryrefslogtreecommitdiff
path: root/gen/ANFVisitor.py
diff options
context:
space:
mode:
authorErik Oosting2023-12-12 15:20:56 +0100
committerErik Oosting2023-12-12 15:20:56 +0100
commitd9ffc2f3f679bf6e87cf12dc1ed9809badf673da (patch)
tree8e7d9cf3b5ea50790353290c34566f00e6de05f2 /gen/ANFVisitor.py
parent60c8f636596de722a91f9dba1f2ae631a61a6484 (diff)
start working on actual visitor
Diffstat (limited to 'gen/ANFVisitor.py')
-rw-r--r--gen/ANFVisitor.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen/ANFVisitor.py b/gen/ANFVisitor.py
index 778df85..9d48f29 100644
--- a/gen/ANFVisitor.py
+++ b/gen/ANFVisitor.py
@@ -109,6 +109,11 @@ class ANFVisitor(ParseTreeVisitor):
return self.visitChildren(ctx)
+ # Visit a parse tree produced by ANFParser#if.
+ def visitIf(self, ctx:ANFParser.IfContext):
+ return self.visitChildren(ctx)
+
+
# Visit a parse tree produced by ANFParser#fc.
def visitFc(self, ctx:ANFParser.FcContext):
return self.visitChildren(ctx)