# 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#var. def visitVar(self, ctx:ANFParser.VarContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#num. def visitNum(self, ctx:ANFParser.NumContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#add. def visitAdd(self, ctx:ANFParser.AddContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#sub. def visitSub(self, ctx:ANFParser.SubContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#mul. def visitMul(self, ctx:ANFParser.MulContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#div. def visitDiv(self, ctx:ANFParser.DivContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#lam. def visitLam(self, ctx:ANFParser.LamContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#call. def visitCall(self, ctx:ANFParser.CallContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#atom. def visitAtom(self, ctx:ANFParser.AtomContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#let. def visitLet(self, ctx:ANFParser.LetContext): return self.visitChildren(ctx) # Visit a parse tree produced by ANFParser#fc. def visitFc(self, ctx:ANFParser.FcContext): return self.visitChildren(ctx) del ANFParser