/
snobol_listener.go
261 lines (175 loc) · 7.7 KB
/
snobol_listener.go
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
// Code generated from snobol.g4 by ANTLR 4.7.2. DO NOT EDIT.
package snobol // snobol
import "github.com/antlr/antlr4/runtime/Go/antlr"
// snobolListener is a complete listener for a parse tree produced by snobolParser.
type snobolListener interface {
antlr.ParseTreeListener
// EnterProg is called when entering the prog production.
EnterProg(c *ProgContext)
// EnterLin is called when entering the lin production.
EnterLin(c *LinContext)
// EnterLine is called when entering the line production.
EnterLine(c *LineContext)
// EnterLabel is called when entering the label production.
EnterLabel(c *LabelContext)
// EnterSubject is called when entering the subject production.
EnterSubject(c *SubjectContext)
// EnterPattern is called when entering the pattern production.
EnterPattern(c *PatternContext)
// EnterExpression is called when entering the expression production.
EnterExpression(c *ExpressionContext)
// EnterMultiplyingExpression is called when entering the multiplyingExpression production.
EnterMultiplyingExpression(c *MultiplyingExpressionContext)
// EnterPowExpression is called when entering the powExpression production.
EnterPowExpression(c *PowExpressionContext)
// EnterAtom is called when entering the atom production.
EnterAtom(c *AtomContext)
// EnterCommand is called when entering the command production.
EnterCommand(c *CommandContext)
// EnterIdent is called when entering the ident production.
EnterIdent(c *IdentContext)
// EnterDiffer is called when entering the differ production.
EnterDiffer(c *DifferContext)
// EnterEq is called when entering the eq production.
EnterEq(c *EqContext)
// EnterNe is called when entering the ne production.
EnterNe(c *NeContext)
// EnterGe is called when entering the ge production.
EnterGe(c *GeContext)
// EnterGt is called when entering the gt production.
EnterGt(c *GtContext)
// EnterLe is called when entering the le production.
EnterLe(c *LeContext)
// EnterLt is called when entering the lt production.
EnterLt(c *LtContext)
// EnterInteger is called when entering the integer production.
EnterInteger(c *IntegerContext)
// EnterLgt is called when entering the lgt production.
EnterLgt(c *LgtContext)
// EnterAtan is called when entering the atan production.
EnterAtan(c *AtanContext)
// EnterChop is called when entering the chop production.
EnterChop(c *ChopContext)
// EnterCos is called when entering the cos production.
EnterCos(c *CosContext)
// EnterExp is called when entering the exp production.
EnterExp(c *ExpContext)
// EnterLn is called when entering the ln production.
EnterLn(c *LnContext)
// EnterRemdr is called when entering the remdr production.
EnterRemdr(c *RemdrContext)
// EnterSin is called when entering the sin production.
EnterSin(c *SinContext)
// EnterTan is called when entering the tan production.
EnterTan(c *TanContext)
// EnterDupl is called when entering the dupl production.
EnterDupl(c *DuplContext)
// EnterReverse is called when entering the reverse production.
EnterReverse(c *ReverseContext)
// EnterDate is called when entering the date production.
EnterDate(c *DateContext)
// EnterReplace is called when entering the replace production.
EnterReplace(c *ReplaceContext)
// EnterSize is called when entering the size production.
EnterSize(c *SizeContext)
// EnterTrim is called when entering the trim production.
EnterTrim(c *TrimContext)
// EnterArray is called when entering the array production.
EnterArray(c *ArrayContext)
// EnterConvert is called when entering the convert production.
EnterConvert(c *ConvertContext)
// EnterTable is called when entering the table production.
EnterTable(c *TableContext)
// EnterSort is called when entering the sort production.
EnterSort(c *SortContext)
// EnterBreak_ is called when entering the break_ production.
EnterBreak_(c *Break_Context)
// EnterTransfer is called when entering the transfer production.
EnterTransfer(c *TransferContext)
// EnterTransferpre is called when entering the transferpre production.
EnterTransferpre(c *TransferpreContext)
// ExitProg is called when exiting the prog production.
ExitProg(c *ProgContext)
// ExitLin is called when exiting the lin production.
ExitLin(c *LinContext)
// ExitLine is called when exiting the line production.
ExitLine(c *LineContext)
// ExitLabel is called when exiting the label production.
ExitLabel(c *LabelContext)
// ExitSubject is called when exiting the subject production.
ExitSubject(c *SubjectContext)
// ExitPattern is called when exiting the pattern production.
ExitPattern(c *PatternContext)
// ExitExpression is called when exiting the expression production.
ExitExpression(c *ExpressionContext)
// ExitMultiplyingExpression is called when exiting the multiplyingExpression production.
ExitMultiplyingExpression(c *MultiplyingExpressionContext)
// ExitPowExpression is called when exiting the powExpression production.
ExitPowExpression(c *PowExpressionContext)
// ExitAtom is called when exiting the atom production.
ExitAtom(c *AtomContext)
// ExitCommand is called when exiting the command production.
ExitCommand(c *CommandContext)
// ExitIdent is called when exiting the ident production.
ExitIdent(c *IdentContext)
// ExitDiffer is called when exiting the differ production.
ExitDiffer(c *DifferContext)
// ExitEq is called when exiting the eq production.
ExitEq(c *EqContext)
// ExitNe is called when exiting the ne production.
ExitNe(c *NeContext)
// ExitGe is called when exiting the ge production.
ExitGe(c *GeContext)
// ExitGt is called when exiting the gt production.
ExitGt(c *GtContext)
// ExitLe is called when exiting the le production.
ExitLe(c *LeContext)
// ExitLt is called when exiting the lt production.
ExitLt(c *LtContext)
// ExitInteger is called when exiting the integer production.
ExitInteger(c *IntegerContext)
// ExitLgt is called when exiting the lgt production.
ExitLgt(c *LgtContext)
// ExitAtan is called when exiting the atan production.
ExitAtan(c *AtanContext)
// ExitChop is called when exiting the chop production.
ExitChop(c *ChopContext)
// ExitCos is called when exiting the cos production.
ExitCos(c *CosContext)
// ExitExp is called when exiting the exp production.
ExitExp(c *ExpContext)
// ExitLn is called when exiting the ln production.
ExitLn(c *LnContext)
// ExitRemdr is called when exiting the remdr production.
ExitRemdr(c *RemdrContext)
// ExitSin is called when exiting the sin production.
ExitSin(c *SinContext)
// ExitTan is called when exiting the tan production.
ExitTan(c *TanContext)
// ExitDupl is called when exiting the dupl production.
ExitDupl(c *DuplContext)
// ExitReverse is called when exiting the reverse production.
ExitReverse(c *ReverseContext)
// ExitDate is called when exiting the date production.
ExitDate(c *DateContext)
// ExitReplace is called when exiting the replace production.
ExitReplace(c *ReplaceContext)
// ExitSize is called when exiting the size production.
ExitSize(c *SizeContext)
// ExitTrim is called when exiting the trim production.
ExitTrim(c *TrimContext)
// ExitArray is called when exiting the array production.
ExitArray(c *ArrayContext)
// ExitConvert is called when exiting the convert production.
ExitConvert(c *ConvertContext)
// ExitTable is called when exiting the table production.
ExitTable(c *TableContext)
// ExitSort is called when exiting the sort production.
ExitSort(c *SortContext)
// ExitBreak_ is called when exiting the break_ production.
ExitBreak_(c *Break_Context)
// ExitTransfer is called when exiting the transfer production.
ExitTransfer(c *TransferContext)
// ExitTransferpre is called when exiting the transferpre production.
ExitTransferpre(c *TransferpreContext)
}