-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMathOpsListener.java
More file actions
137 lines (136 loc) · 4.66 KB
/
Copy pathMathOpsListener.java
File metadata and controls
137 lines (136 loc) · 4.66 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// Generated from C:/Users/khali/OneDrive/Documents/CS 320/Coding Assignment 3-1/src/MathOps.g4 by ANTLR 4.13.1
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link MathOpsParser}.
*/
public interface MathOpsListener extends ParseTreeListener {
/**
* Enter a parse tree produced by the {@code finalExpr}
* labeled alternative in {@link MathOpsParser#file_}.
* @param ctx the parse tree
*/
void enterFinalExpr(MathOpsParser.FinalExprContext ctx);
/**
* Exit a parse tree produced by the {@code finalExpr}
* labeled alternative in {@link MathOpsParser#file_}.
* @param ctx the parse tree
*/
void exitFinalExpr(MathOpsParser.FinalExprContext ctx);
/**
* Enter a parse tree produced by the {@code paren}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterParen(MathOpsParser.ParenContext ctx);
/**
* Exit a parse tree produced by the {@code paren}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitParen(MathOpsParser.ParenContext ctx);
/**
* Enter a parse tree produced by the {@code Negation}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterNegation(MathOpsParser.NegationContext ctx);
/**
* Exit a parse tree produced by the {@code Negation}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitNegation(MathOpsParser.NegationContext ctx);
/**
* Enter a parse tree produced by the {@code Func}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterFunc(MathOpsParser.FuncContext ctx);
/**
* Exit a parse tree produced by the {@code Func}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitFunc(MathOpsParser.FuncContext ctx);
/**
* Enter a parse tree produced by the {@code MulDiv}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterMulDiv(MathOpsParser.MulDivContext ctx);
/**
* Exit a parse tree produced by the {@code MulDiv}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitMulDiv(MathOpsParser.MulDivContext ctx);
/**
* Enter a parse tree produced by the {@code AddSub}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterAddSub(MathOpsParser.AddSubContext ctx);
/**
* Exit a parse tree produced by the {@code AddSub}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitAddSub(MathOpsParser.AddSubContext ctx);
/**
* Enter a parse tree produced by the {@code num}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterNum(MathOpsParser.NumContext ctx);
/**
* Exit a parse tree produced by the {@code num}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitNum(MathOpsParser.NumContext ctx);
/**
* Enter a parse tree produced by the {@code Pow}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterPow(MathOpsParser.PowContext ctx);
/**
* Exit a parse tree produced by the {@code Pow}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitPow(MathOpsParser.PowContext ctx);
/**
* Enter a parse tree produced by the {@code Fact}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void enterFact(MathOpsParser.FactContext ctx);
/**
* Exit a parse tree produced by the {@code Fact}
* labeled alternative in {@link MathOpsParser#expression}.
* @param ctx the parse tree
*/
void exitFact(MathOpsParser.FactContext ctx);
/**
* Enter a parse tree produced by {@link MathOpsParser#atom}.
* @param ctx the parse tree
*/
void enterAtom(MathOpsParser.AtomContext ctx);
/**
* Exit a parse tree produced by {@link MathOpsParser#atom}.
* @param ctx the parse tree
*/
void exitAtom(MathOpsParser.AtomContext ctx);
/**
* Enter a parse tree produced by {@link MathOpsParser#scientific}.
* @param ctx the parse tree
*/
void enterScientific(MathOpsParser.ScientificContext ctx);
/**
* Exit a parse tree produced by {@link MathOpsParser#scientific}.
* @param ctx the parse tree
*/
void exitScientific(MathOpsParser.ScientificContext ctx);
}