-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFipListener.cs
233 lines (229 loc) · 9.95 KB
/
FipListener.cs
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.13.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generated from Fip.g4 by ANTLR 4.13.1
// Unreachable code detected
#pragma warning disable 0162
// The variable '...' is assigned but its value is never used
#pragma warning disable 0219
// Missing XML comment for publicly visible type or member '...'
#pragma warning disable 1591
// Ambiguous reference in cref attribute
#pragma warning disable 419
using Antlr4.Runtime.Misc;
using IParseTreeListener = Antlr4.Runtime.Tree.IParseTreeListener;
using IToken = Antlr4.Runtime.IToken;
/// <summary>
/// This interface defines a complete listener for a parse tree produced by
/// <see cref="FipParser"/>.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "4.13.1")]
[System.CLSCompliant(false)]
public interface IFipListener : IParseTreeListener {
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.file"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterFile([NotNull] FipParser.FileContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.file"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitFile([NotNull] FipParser.FileContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.commandline"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterCommandline([NotNull] FipParser.CommandlineContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.commandline"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitCommandline([NotNull] FipParser.CommandlineContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.command"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterCommand([NotNull] FipParser.CommandContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.command"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitCommand([NotNull] FipParser.CommandContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.mem"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterMem([NotNull] FipParser.MemContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.mem"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitMem([NotNull] FipParser.MemContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.freemem"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterFreemem([NotNull] FipParser.FreememContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.freemem"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitFreemem([NotNull] FipParser.FreememContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.print"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterPrint([NotNull] FipParser.PrintContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.print"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitPrint([NotNull] FipParser.PrintContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.update"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterUpdate([NotNull] FipParser.UpdateContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.update"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitUpdate([NotNull] FipParser.UpdateContext context);
/// <summary>
/// Enter a parse tree produced by <see cref="FipParser.assignment"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterAssignment([NotNull] FipParser.AssignmentContext context);
/// <summary>
/// Exit a parse tree produced by <see cref="FipParser.assignment"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitAssignment([NotNull] FipParser.AssignmentContext context);
/// <summary>
/// Enter a parse tree produced by the <c>stringAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterStringAtomExp([NotNull] FipParser.StringAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>stringAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitStringAtomExp([NotNull] FipParser.StringAtomExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>mulDivExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterMulDivExp([NotNull] FipParser.MulDivExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>mulDivExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitMulDivExp([NotNull] FipParser.MulDivExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>comparisonExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterComparisonExp([NotNull] FipParser.ComparisonExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>comparisonExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitComparisonExp([NotNull] FipParser.ComparisonExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>boolAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterBoolAtomExp([NotNull] FipParser.BoolAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>boolAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitBoolAtomExp([NotNull] FipParser.BoolAtomExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>doubleAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterDoubleAtomExp([NotNull] FipParser.DoubleAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>doubleAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitDoubleAtomExp([NotNull] FipParser.DoubleAtomExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>integerAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterIntegerAtomExp([NotNull] FipParser.IntegerAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>integerAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitIntegerAtomExp([NotNull] FipParser.IntegerAtomExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>parenthesisExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterParenthesisExp([NotNull] FipParser.ParenthesisExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>parenthesisExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitParenthesisExp([NotNull] FipParser.ParenthesisExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>identifierAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterIdentifierAtomExp([NotNull] FipParser.IdentifierAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>identifierAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitIdentifierAtomExp([NotNull] FipParser.IdentifierAtomExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>addSubExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterAddSubExp([NotNull] FipParser.AddSubExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>addSubExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitAddSubExp([NotNull] FipParser.AddSubExpContext context);
/// <summary>
/// Enter a parse tree produced by the <c>referenceAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void EnterReferenceAtomExp([NotNull] FipParser.ReferenceAtomExpContext context);
/// <summary>
/// Exit a parse tree produced by the <c>referenceAtomExp</c>
/// labeled alternative in <see cref="FipParser.expression"/>.
/// </summary>
/// <param name="context">The parse tree.</param>
void ExitReferenceAtomExp([NotNull] FipParser.ReferenceAtomExpContext context);
}