diff options
Diffstat (limited to 'gen/ANFVisitor.py')
-rw-r--r-- | gen/ANFVisitor.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gen/ANFVisitor.py b/gen/ANFVisitor.py index 9d48f29..6c6c6a4 100644 --- a/gen/ANFVisitor.py +++ b/gen/ANFVisitor.py @@ -9,6 +9,16 @@ else: class ANFVisitor(ParseTreeVisitor): + # Visit a parse tree produced by ANFParser#prog. + def visitProg(self, ctx:ANFParser.ProgContext): + return self.visitChildren(ctx) + + + # Visit a parse tree produced by ANFParser#def. + def visitDef(self, ctx:ANFParser.DefContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by ANFParser#true. def visitTrue(self, ctx:ANFParser.TrueContext): return self.visitChildren(ctx) @@ -29,6 +39,11 @@ class ANFVisitor(ParseTreeVisitor): return self.visitChildren(ctx) + # Visit a parse tree produced by ANFParser#str. + def visitStr(self, ctx:ANFParser.StrContext): + return self.visitChildren(ctx) + + # Visit a parse tree produced by ANFParser#add. def visitAdd(self, ctx:ANFParser.AddContext): return self.visitChildren(ctx) |