forked from nyaruka/goflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
excellent3_lexer.go
301 lines (290 loc) · 16.6 KB
/
excellent3_lexer.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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
// Code generated from Excellent3.g4 by ANTLR 4.10.1. DO NOT EDIT.
package gen
import (
"fmt"
"sync"
"unicode"
"github.com/antlr/antlr4/runtime/Go/antlr"
)
// Suppress unused import error
var _ = fmt.Printf
var _ = sync.Once{}
var _ = unicode.IsLetter
type Excellent3Lexer struct {
*antlr.BaseLexer
channelNames []string
modeNames []string
// TODO: EOF string
}
var excellent3lexerLexerStaticData struct {
once sync.Once
serializedATN []int32
channelNames []string
modeNames []string
literalNames []string
symbolicNames []string
ruleNames []string
predictionContextCache *antlr.PredictionContextCache
atn *antlr.ATN
decisionToDFA []*antlr.DFA
}
func excellent3lexerLexerInit() {
staticData := &excellent3lexerLexerStaticData
staticData.channelNames = []string{
"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
}
staticData.modeNames = []string{
"DEFAULT_MODE",
}
staticData.literalNames = []string{
"", "','", "'('", "')'", "'['", "']'", "'.'", "'=>'", "'+'", "'-'",
"'*'", "'/'", "'^'", "'='", "'!='", "'<='", "'<'", "'>='", "'>'", "'&'",
}
staticData.symbolicNames = []string{
"", "COMMA", "LPAREN", "RPAREN", "LBRACK", "RBRACK", "DOT", "ARROW",
"PLUS", "MINUS", "TIMES", "DIVIDE", "EXPONENT", "EQ", "NEQ", "LTE",
"LT", "GTE", "GT", "AMPERSAND", "TEXT", "INTEGER", "DECIMAL", "TRUE",
"FALSE", "NULL", "NAME", "WS", "ERROR",
}
staticData.ruleNames = []string{
"COMMA", "LPAREN", "RPAREN", "LBRACK", "RBRACK", "DOT", "ARROW", "PLUS",
"MINUS", "TIMES", "DIVIDE", "EXPONENT", "EQ", "NEQ", "LTE", "LT", "GTE",
"GT", "AMPERSAND", "TEXT", "INTEGER", "DECIMAL", "TRUE", "FALSE", "NULL",
"NAME", "WS", "ERROR", "UnicodeLetter", "UnicodeClass_LU", "UnicodeClass_LL",
"UnicodeClass_LT", "UnicodeClass_LM", "UnicodeClass_LO", "UnicodeDigit",
}
staticData.predictionContextCache = antlr.NewPredictionContextCache()
staticData.serializedATN = []int32{
4, 0, 28, 198, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2,
4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2,
10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15,
7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7,
20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25,
2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2,
31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 1, 0, 1, 0, 1, 1,
1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6,
1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12,
1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 16, 1,
16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 19, 5, 19,
118, 8, 19, 10, 19, 12, 19, 121, 9, 19, 1, 19, 1, 19, 1, 20, 4, 20, 126,
8, 20, 11, 20, 12, 20, 127, 1, 21, 4, 21, 131, 8, 21, 11, 21, 12, 21, 132,
1, 21, 1, 21, 4, 21, 137, 8, 21, 11, 21, 12, 21, 138, 1, 22, 1, 22, 1,
22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24,
1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 4, 25, 159, 8, 25, 11, 25, 12, 25, 160,
1, 25, 1, 25, 1, 25, 5, 25, 166, 8, 25, 10, 25, 12, 25, 169, 9, 25, 1,
26, 4, 26, 172, 8, 26, 11, 26, 12, 26, 173, 1, 26, 1, 26, 1, 27, 1, 27,
1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 3, 28, 185, 8, 28, 1, 29, 1, 29, 1,
30, 1, 30, 1, 31, 1, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 0, 0,
35, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21,
11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39,
20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57,
0, 59, 0, 61, 0, 63, 0, 65, 0, 67, 0, 69, 0, 1, 0, 18, 1, 0, 34, 34, 1,
0, 48, 57, 2, 0, 84, 84, 116, 116, 2, 0, 82, 82, 114, 114, 2, 0, 85, 85,
117, 117, 2, 0, 69, 69, 101, 101, 2, 0, 70, 70, 102, 102, 2, 0, 65, 65,
97, 97, 2, 0, 76, 76, 108, 108, 2, 0, 83, 83, 115, 115, 2, 0, 78, 78, 110,
110, 3, 0, 9, 10, 13, 13, 32, 32, 82, 0, 65, 90, 192, 214, 216, 222, 256,
310, 313, 327, 330, 381, 385, 386, 388, 395, 398, 401, 403, 404, 406, 408,
412, 413, 415, 416, 418, 425, 428, 435, 437, 444, 452, 461, 463, 475, 478,
494, 497, 500, 502, 504, 506, 562, 570, 571, 573, 574, 577, 582, 584, 590,
880, 882, 886, 895, 902, 906, 908, 929, 931, 939, 975, 980, 984, 1006,
1012, 1015, 1017, 1018, 1021, 1071, 1120, 1152, 1162, 1229, 1232, 1326,
1329, 1366, 4256, 4293, 4295, 4301, 7680, 7828, 7838, 7934, 7944, 7951,
7960, 7965, 7976, 7983, 7992, 7999, 8008, 8013, 8025, 8031, 8040, 8047,
8120, 8123, 8136, 8139, 8152, 8155, 8168, 8172, 8184, 8187, 8450, 8455,
8459, 8461, 8464, 8466, 8469, 8477, 8484, 8493, 8496, 8499, 8510, 8511,
8517, 8579, 11264, 11310, 11360, 11364, 11367, 11376, 11378, 11381, 11390,
11392, 11394, 11490, 11499, 11501, 11506, 42560, 42562, 42604, 42624, 42650,
42786, 42798, 42802, 42862, 42873, 42886, 42891, 42893, 42896, 42898, 42902,
42925, 42928, 42929, 65313, 65338, 81, 0, 97, 122, 181, 246, 248, 255,
257, 375, 378, 384, 387, 389, 392, 402, 405, 411, 414, 417, 419, 421, 424,
429, 432, 436, 438, 447, 454, 460, 462, 499, 501, 505, 507, 569, 572, 578,
583, 659, 661, 687, 881, 883, 887, 893, 912, 974, 976, 977, 981, 983, 985,
1011, 1013, 1119, 1121, 1153, 1163, 1215, 1218, 1327, 1377, 1415, 7424,
7467, 7531, 7543, 7545, 7578, 7681, 7837, 7839, 7943, 7952, 7957, 7968,
7975, 7984, 7991, 8000, 8005, 8016, 8023, 8032, 8039, 8048, 8061, 8064,
8071, 8080, 8087, 8096, 8103, 8112, 8116, 8118, 8119, 8126, 8132, 8134,
8135, 8144, 8147, 8150, 8151, 8160, 8167, 8178, 8180, 8182, 8183, 8458,
8467, 8495, 8505, 8508, 8509, 8518, 8521, 8526, 8580, 11312, 11358, 11361,
11372, 11377, 11387, 11393, 11500, 11502, 11507, 11520, 11557, 11559, 11565,
42561, 42605, 42625, 42651, 42787, 42801, 42803, 42872, 42874, 42876, 42879,
42887, 42892, 42894, 42897, 42901, 42903, 42921, 43002, 43866, 43876, 43877,
64256, 64262, 64275, 64279, 65345, 65370, 6, 0, 453, 459, 498, 8079, 8088,
8095, 8104, 8111, 8124, 8140, 8188, 8188, 33, 0, 688, 705, 710, 721, 736,
740, 748, 750, 884, 890, 1369, 1600, 1765, 1766, 2036, 2037, 2042, 2074,
2084, 2088, 2417, 3654, 3782, 4348, 6103, 6211, 6823, 7293, 7468, 7530,
7544, 7615, 8305, 8319, 8336, 8348, 11388, 11389, 11631, 11823, 12293,
12341, 12347, 12542, 40981, 42237, 42508, 42623, 42652, 42653, 42775, 42783,
42864, 42888, 43000, 43001, 43471, 43494, 43632, 43741, 43763, 43764, 43868,
43871, 65392, 65439, 234, 0, 170, 186, 443, 451, 660, 1514, 1520, 1522,
1568, 1599, 1601, 1610, 1646, 1647, 1649, 1747, 1749, 1788, 1791, 1808,
1810, 1839, 1869, 1957, 1969, 2026, 2048, 2069, 2112, 2136, 2208, 2226,
2308, 2361, 2365, 2384, 2392, 2401, 2418, 2432, 2437, 2444, 2447, 2448,
2451, 2472, 2474, 2480, 2482, 2489, 2493, 2510, 2524, 2525, 2527, 2529,
2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611,
2613, 2614, 2616, 2617, 2649, 2652, 2654, 2676, 2693, 2701, 2703, 2705,
2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2768, 2784, 2785,
2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873,
2877, 2913, 2929, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970,
2972, 2986, 2990, 3001, 3024, 3084, 3086, 3088, 3090, 3112, 3114, 3129,
3133, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3294,
3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3406,
3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3526,
3585, 3632, 3634, 3635, 3648, 3653, 3713, 3714, 3716, 3722, 3725, 3735,
3737, 3743, 3745, 3747, 3749, 3751, 3754, 3755, 3757, 3760, 3762, 3763,
3773, 3780, 3804, 3807, 3840, 3911, 3913, 3948, 3976, 3980, 4096, 4138,
4159, 4181, 4186, 4189, 4193, 4208, 4213, 4225, 4238, 4346, 4349, 4680,
4682, 4685, 4688, 4694, 4696, 4701, 4704, 4744, 4746, 4749, 4752, 4784,
4786, 4789, 4792, 4798, 4800, 4805, 4808, 4822, 4824, 4880, 4882, 4885,
4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786,
5792, 5866, 5873, 5880, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969,
5984, 5996, 5998, 6000, 6016, 6067, 6108, 6210, 6212, 6263, 6272, 6312,
6314, 6389, 6400, 6430, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599,
6656, 6678, 6688, 6740, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087,
7098, 7141, 7168, 7203, 7245, 7247, 7258, 7287, 7401, 7404, 7406, 7409,
7413, 7414, 8501, 8504, 11568, 11623, 11648, 11670, 11680, 11686, 11688,
11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734,
11736, 11742, 12294, 12348, 12353, 12438, 12447, 12538, 12543, 12589, 12593,
12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 40980,
40982, 42124, 42192, 42231, 42240, 42507, 42512, 42527, 42538, 42539, 42606,
42725, 42999, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123,
43138, 43187, 43250, 43255, 43259, 43301, 43312, 43334, 43360, 43388, 43396,
43442, 43488, 43492, 43495, 43503, 43514, 43518, 43520, 43560, 43584, 43586,
43588, 43595, 43616, 43631, 43633, 43638, 43642, 43695, 43697, 43709, 43712,
43714, 43739, 43740, 43744, 43754, 43762, 43782, 43785, 43790, 43793, 43798,
43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243,
55291, 63744, 64109, 64112, 64217, 64285, 64296, 64298, 64310, 64312, 64316,
64318, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136,
65140, 65142, 65276, 65382, 65391, 65393, 65437, 65440, 65470, 65474, 65479,
65482, 65487, 65490, 65495, 65498, 65500, 37, 0, 48, 57, 1632, 1641, 1776,
1785, 1984, 1993, 2406, 2415, 2534, 2543, 2662, 2671, 2790, 2799, 2918,
2927, 3046, 3055, 3174, 3183, 3302, 3311, 3430, 3439, 3558, 3567, 3664,
3673, 3792, 3801, 3872, 3881, 4160, 4169, 4240, 4249, 6112, 6121, 6160,
6169, 6470, 6479, 6608, 6617, 6784, 6793, 6800, 6809, 6992, 7001, 7088,
7097, 7232, 7241, 7248, 7257, 42528, 42537, 43216, 43225, 43264, 43273,
43472, 43481, 43504, 43513, 43600, 43609, 44016, 44025, 65296, 65305, 205,
0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0,
0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0,
0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0,
0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1,
0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39,
1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0,
47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0,
0, 55, 1, 0, 0, 0, 1, 71, 1, 0, 0, 0, 3, 73, 1, 0, 0, 0, 5, 75, 1, 0, 0,
0, 7, 77, 1, 0, 0, 0, 9, 79, 1, 0, 0, 0, 11, 81, 1, 0, 0, 0, 13, 83, 1,
0, 0, 0, 15, 86, 1, 0, 0, 0, 17, 88, 1, 0, 0, 0, 19, 90, 1, 0, 0, 0, 21,
92, 1, 0, 0, 0, 23, 94, 1, 0, 0, 0, 25, 96, 1, 0, 0, 0, 27, 98, 1, 0, 0,
0, 29, 101, 1, 0, 0, 0, 31, 104, 1, 0, 0, 0, 33, 106, 1, 0, 0, 0, 35, 109,
1, 0, 0, 0, 37, 111, 1, 0, 0, 0, 39, 113, 1, 0, 0, 0, 41, 125, 1, 0, 0,
0, 43, 130, 1, 0, 0, 0, 45, 140, 1, 0, 0, 0, 47, 145, 1, 0, 0, 0, 49, 151,
1, 0, 0, 0, 51, 158, 1, 0, 0, 0, 53, 171, 1, 0, 0, 0, 55, 177, 1, 0, 0,
0, 57, 184, 1, 0, 0, 0, 59, 186, 1, 0, 0, 0, 61, 188, 1, 0, 0, 0, 63, 190,
1, 0, 0, 0, 65, 192, 1, 0, 0, 0, 67, 194, 1, 0, 0, 0, 69, 196, 1, 0, 0,
0, 71, 72, 5, 44, 0, 0, 72, 2, 1, 0, 0, 0, 73, 74, 5, 40, 0, 0, 74, 4,
1, 0, 0, 0, 75, 76, 5, 41, 0, 0, 76, 6, 1, 0, 0, 0, 77, 78, 5, 91, 0, 0,
78, 8, 1, 0, 0, 0, 79, 80, 5, 93, 0, 0, 80, 10, 1, 0, 0, 0, 81, 82, 5,
46, 0, 0, 82, 12, 1, 0, 0, 0, 83, 84, 5, 61, 0, 0, 84, 85, 5, 62, 0, 0,
85, 14, 1, 0, 0, 0, 86, 87, 5, 43, 0, 0, 87, 16, 1, 0, 0, 0, 88, 89, 5,
45, 0, 0, 89, 18, 1, 0, 0, 0, 90, 91, 5, 42, 0, 0, 91, 20, 1, 0, 0, 0,
92, 93, 5, 47, 0, 0, 93, 22, 1, 0, 0, 0, 94, 95, 5, 94, 0, 0, 95, 24, 1,
0, 0, 0, 96, 97, 5, 61, 0, 0, 97, 26, 1, 0, 0, 0, 98, 99, 5, 33, 0, 0,
99, 100, 5, 61, 0, 0, 100, 28, 1, 0, 0, 0, 101, 102, 5, 60, 0, 0, 102,
103, 5, 61, 0, 0, 103, 30, 1, 0, 0, 0, 104, 105, 5, 60, 0, 0, 105, 32,
1, 0, 0, 0, 106, 107, 5, 62, 0, 0, 107, 108, 5, 61, 0, 0, 108, 34, 1, 0,
0, 0, 109, 110, 5, 62, 0, 0, 110, 36, 1, 0, 0, 0, 111, 112, 5, 38, 0, 0,
112, 38, 1, 0, 0, 0, 113, 119, 5, 34, 0, 0, 114, 118, 8, 0, 0, 0, 115,
116, 5, 92, 0, 0, 116, 118, 5, 34, 0, 0, 117, 114, 1, 0, 0, 0, 117, 115,
1, 0, 0, 0, 118, 121, 1, 0, 0, 0, 119, 117, 1, 0, 0, 0, 119, 120, 1, 0,
0, 0, 120, 122, 1, 0, 0, 0, 121, 119, 1, 0, 0, 0, 122, 123, 5, 34, 0, 0,
123, 40, 1, 0, 0, 0, 124, 126, 7, 1, 0, 0, 125, 124, 1, 0, 0, 0, 126, 127,
1, 0, 0, 0, 127, 125, 1, 0, 0, 0, 127, 128, 1, 0, 0, 0, 128, 42, 1, 0,
0, 0, 129, 131, 7, 1, 0, 0, 130, 129, 1, 0, 0, 0, 131, 132, 1, 0, 0, 0,
132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 134, 1, 0, 0, 0, 134,
136, 5, 46, 0, 0, 135, 137, 7, 1, 0, 0, 136, 135, 1, 0, 0, 0, 137, 138,
1, 0, 0, 0, 138, 136, 1, 0, 0, 0, 138, 139, 1, 0, 0, 0, 139, 44, 1, 0,
0, 0, 140, 141, 7, 2, 0, 0, 141, 142, 7, 3, 0, 0, 142, 143, 7, 4, 0, 0,
143, 144, 7, 5, 0, 0, 144, 46, 1, 0, 0, 0, 145, 146, 7, 6, 0, 0, 146, 147,
7, 7, 0, 0, 147, 148, 7, 8, 0, 0, 148, 149, 7, 9, 0, 0, 149, 150, 7, 5,
0, 0, 150, 48, 1, 0, 0, 0, 151, 152, 7, 10, 0, 0, 152, 153, 7, 4, 0, 0,
153, 154, 7, 8, 0, 0, 154, 155, 7, 8, 0, 0, 155, 50, 1, 0, 0, 0, 156, 159,
3, 57, 28, 0, 157, 159, 5, 95, 0, 0, 158, 156, 1, 0, 0, 0, 158, 157, 1,
0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 158, 1, 0, 0, 0, 160, 161, 1, 0, 0,
0, 161, 167, 1, 0, 0, 0, 162, 166, 3, 57, 28, 0, 163, 166, 3, 69, 34, 0,
164, 166, 5, 95, 0, 0, 165, 162, 1, 0, 0, 0, 165, 163, 1, 0, 0, 0, 165,
164, 1, 0, 0, 0, 166, 169, 1, 0, 0, 0, 167, 165, 1, 0, 0, 0, 167, 168,
1, 0, 0, 0, 168, 52, 1, 0, 0, 0, 169, 167, 1, 0, 0, 0, 170, 172, 7, 11,
0, 0, 171, 170, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 171, 1, 0, 0, 0,
173, 174, 1, 0, 0, 0, 174, 175, 1, 0, 0, 0, 175, 176, 6, 26, 0, 0, 176,
54, 1, 0, 0, 0, 177, 178, 9, 0, 0, 0, 178, 56, 1, 0, 0, 0, 179, 185, 3,
59, 29, 0, 180, 185, 3, 61, 30, 0, 181, 185, 3, 63, 31, 0, 182, 185, 3,
65, 32, 0, 183, 185, 3, 67, 33, 0, 184, 179, 1, 0, 0, 0, 184, 180, 1, 0,
0, 0, 184, 181, 1, 0, 0, 0, 184, 182, 1, 0, 0, 0, 184, 183, 1, 0, 0, 0,
185, 58, 1, 0, 0, 0, 186, 187, 7, 12, 0, 0, 187, 60, 1, 0, 0, 0, 188, 189,
7, 13, 0, 0, 189, 62, 1, 0, 0, 0, 190, 191, 7, 14, 0, 0, 191, 64, 1, 0,
0, 0, 192, 193, 7, 15, 0, 0, 193, 66, 1, 0, 0, 0, 194, 195, 7, 16, 0, 0,
195, 68, 1, 0, 0, 0, 196, 197, 7, 17, 0, 0, 197, 70, 1, 0, 0, 0, 12, 0,
117, 119, 127, 132, 138, 158, 160, 165, 167, 173, 184, 1, 6, 0, 0,
}
deserializer := antlr.NewATNDeserializer(nil)
staticData.atn = deserializer.Deserialize(staticData.serializedATN)
atn := staticData.atn
staticData.decisionToDFA = make([]*antlr.DFA, len(atn.DecisionToState))
decisionToDFA := staticData.decisionToDFA
for index, state := range atn.DecisionToState {
decisionToDFA[index] = antlr.NewDFA(state, index)
}
}
// Excellent3LexerInit initializes any static state used to implement Excellent3Lexer. By default the
// static state used to implement the lexer is lazily initialized during the first call to
// NewExcellent3Lexer(). You can call this function if you wish to initialize the static state ahead
// of time.
func Excellent3LexerInit() {
staticData := &excellent3lexerLexerStaticData
staticData.once.Do(excellent3lexerLexerInit)
}
// NewExcellent3Lexer produces a new lexer instance for the optional input antlr.CharStream.
func NewExcellent3Lexer(input antlr.CharStream) *Excellent3Lexer {
Excellent3LexerInit()
l := new(Excellent3Lexer)
l.BaseLexer = antlr.NewBaseLexer(input)
staticData := &excellent3lexerLexerStaticData
l.Interpreter = antlr.NewLexerATNSimulator(l, staticData.atn, staticData.decisionToDFA, staticData.predictionContextCache)
l.channelNames = staticData.channelNames
l.modeNames = staticData.modeNames
l.RuleNames = staticData.ruleNames
l.LiteralNames = staticData.literalNames
l.SymbolicNames = staticData.symbolicNames
l.GrammarFileName = "Excellent3.g4"
// TODO: l.EOF = antlr.TokenEOF
return l
}
// Excellent3Lexer tokens.
const (
Excellent3LexerCOMMA = 1
Excellent3LexerLPAREN = 2
Excellent3LexerRPAREN = 3
Excellent3LexerLBRACK = 4
Excellent3LexerRBRACK = 5
Excellent3LexerDOT = 6
Excellent3LexerARROW = 7
Excellent3LexerPLUS = 8
Excellent3LexerMINUS = 9
Excellent3LexerTIMES = 10
Excellent3LexerDIVIDE = 11
Excellent3LexerEXPONENT = 12
Excellent3LexerEQ = 13
Excellent3LexerNEQ = 14
Excellent3LexerLTE = 15
Excellent3LexerLT = 16
Excellent3LexerGTE = 17
Excellent3LexerGT = 18
Excellent3LexerAMPERSAND = 19
Excellent3LexerTEXT = 20
Excellent3LexerINTEGER = 21
Excellent3LexerDECIMAL = 22
Excellent3LexerTRUE = 23
Excellent3LexerFALSE = 24
Excellent3LexerNULL = 25
Excellent3LexerNAME = 26
Excellent3LexerWS = 27
Excellent3LexerERROR = 28
)