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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47# Generated from PlusFirst.g4 by ANTLR 4.7
from antlr4 import *
if __name__ is not None and "." in __name__:
from .PlusFirstParser import PlusFirstParser
else:
from PlusFirstParser import PlusFirstParser
# This class defines a complete listener for a parse tree produced by PlusFirstParser.
class PlusFirstListener(ParseTreeListener):
# Enter a parse tree produced by PlusFirstParser#Add.
def enterAdd(self, ctx:PlusFirstParser.AddContext):
pass
# Exit a parse tree produced by PlusFirstParser#Add.
def exitAdd(self, ctx:PlusFirstParser.AddContext):
pass
# Enter a parse tree produced by PlusFirstParser#Mult.
def enterMult(self, ctx:PlusFirstParser.MultContext):
pass
# Exit a parse tree produced by PlusFirstParser#Mult.
def exitMult(self, ctx:PlusFirstParser.MultContext):
pass
# Enter a parse tree produced by PlusFirstParser#Int.
def enterInt(self, ctx:PlusFirstParser.IntContext):
pass
# Exit a parse tree produced by PlusFirstParser#Int.
def exitInt(self, ctx:PlusFirstParser.IntContext):
pass
# Enter a parse tree produced by PlusFirstParser#Barc.
def enterBarc(self, ctx:PlusFirstParser.BarcContext):
pass
# Exit a parse tree produced by PlusFirstParser#Barc.
def exitBarc(self, ctx:PlusFirstParser.BarcContext):
pass