blob: 982fa58a1a488324c1716adb796a0d1a029545cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|