-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSimpleQLLexer.py
370 lines (354 loc) · 22.4 KB
/
SimpleQLLexer.py
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
# Generated from SimpleQL.g4 by ANTLR 4.6
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2")
buf.write(u"9\u022b\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4")
buf.write(u"\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r")
buf.write(u"\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22")
buf.write(u"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4")
buf.write(u"\30\t\30\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35")
buf.write(u"\t\35\4\36\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4")
buf.write(u"$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t")
buf.write(u",\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63")
buf.write(u"\t\63\4\64\t\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\4")
buf.write(u"9\t9\4:\t:\4;\t;\4<\t<\4=\t=\4>\t>\4?\t?\4@\t@\4A\tA")
buf.write(u"\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\t")
buf.write(u"J\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S")
buf.write(u"\tS\3\2\3\2\3\3\3\3\3\3\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3")
buf.write(u"\7\3\b\3\b\3\t\3\t\3\t\3\n\3\n\3\n\3\13\3\13\3\f\3\f")
buf.write(u"\3\r\3\r\3\16\3\16\3\16\3\17\3\17\3\20\3\20\3\20\3\21")
buf.write(u"\3\21\3\22\3\22\3\22\3\23\3\23\3\23\3\24\3\24\3\24\3")
buf.write(u"\25\3\25\3\26\3\26\3\27\3\27\3\30\3\30\3\31\3\31\3\31")
buf.write(u"\3\31\3\32\3\32\3\32\3\32\3\33\3\33\3\33\3\33\3\33\3")
buf.write(u"\33\3\33\3\33\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\35")
buf.write(u"\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\36\3\36\3")
buf.write(u"\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36")
buf.write(u"\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3")
buf.write(u"\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3 \3 \3 \3 \3")
buf.write(u" \3!\3!\3!\3!\3!\3!\3!\3!\3!\3\"\3\"\3\"\3\"\3\"\3#\3")
buf.write(u"#\3#\3#\3#\3#\3$\3$\3$\3$\3$\3$\3$\3%\3%\3%\3&\3&\3&")
buf.write(u"\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3)\3)\3)")
buf.write(u"\3)\3)\3)\3*\3*\3*\3*\3+\3+\3+\3+\3+\3+\3+\3+\3,\3,\3")
buf.write(u",\3,\3,\3-\3-\3-\3-\3-\3-\3-\3.\3.\3.\3/\3/\3/\3/\3/")
buf.write(u"\3/\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\61\3\61\3\61")
buf.write(u"\3\61\3\61\3\61\3\62\3\62\3\62\3\62\3\62\3\62\3\63\3")
buf.write(u"\63\3\63\3\63\7\63\u018d\n\63\f\63\16\63\u0190\13\63")
buf.write(u"\3\63\3\63\3\63\3\63\3\63\7\63\u0197\n\63\f\63\16\63")
buf.write(u"\u019a\13\63\3\63\3\63\3\63\7\63\u019f\n\63\f\63\16\63")
buf.write(u"\u01a2\13\63\3\63\3\63\3\63\7\63\u01a7\n\63\f\63\16\63")
buf.write(u"\u01aa\13\63\5\63\u01ac\n\63\3\64\6\64\u01af\n\64\r\64")
buf.write(u"\16\64\u01b0\3\64\3\64\7\64\u01b5\n\64\f\64\16\64\u01b8")
buf.write(u"\13\64\5\64\u01ba\n\64\3\64\3\64\5\64\u01be\n\64\3\64")
buf.write(u"\6\64\u01c1\n\64\r\64\16\64\u01c2\5\64\u01c5\n\64\3\64")
buf.write(u"\3\64\6\64\u01c9\n\64\r\64\16\64\u01ca\3\64\3\64\5\64")
buf.write(u"\u01cf\n\64\3\64\6\64\u01d2\n\64\r\64\16\64\u01d3\5\64")
buf.write(u"\u01d6\n\64\5\64\u01d8\n\64\3\65\3\65\7\65\u01dc\n\65")
buf.write(u"\f\65\16\65\u01df\13\65\3\65\3\65\5\65\u01e3\n\65\3\66")
buf.write(u"\3\66\3\66\3\66\7\66\u01e9\n\66\f\66\16\66\u01ec\13\66")
buf.write(u"\3\66\3\66\3\67\3\67\3\67\3\67\38\38\39\39\3:\3:\3;\3")
buf.write(u";\3<\3<\3=\3=\3>\3>\3?\3?\3@\3@\3A\3A\3B\3B\3C\3C\3D")
buf.write(u"\3D\3E\3E\3F\3F\3G\3G\3H\3H\3I\3I\3J\3J\3K\3K\3L\3L\3")
buf.write(u"M\3M\3N\3N\3O\3O\3P\3P\3Q\3Q\3R\3R\3S\3S\2\2T\3\3\5\4")
buf.write(u"\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33")
buf.write(u"\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32")
buf.write(u"\63\33\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+")
buf.write(u"U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o9q\2s\2u\2")
buf.write(u"w\2y\2{\2}\2\177\2\u0081\2\u0083\2\u0085\2\u0087\2\u0089")
buf.write(u"\2\u008b\2\u008d\2\u008f\2\u0091\2\u0093\2\u0095\2\u0097")
buf.write(u"\2\u0099\2\u009b\2\u009d\2\u009f\2\u00a1\2\u00a3\2\u00a5")
buf.write(u"\2\3\2&\3\2$$\3\2bb\3\2__\5\2C\\aac|\6\2\62;C\\aac|\4")
buf.write(u"\2--//\5\2&&<<BB\3\2))\5\2\13\r\17\17\"\"\3\2\62;\4\2")
buf.write(u"CCcc\4\2DDdd\4\2EEee\4\2FFff\4\2GGgg\4\2HHhh\4\2IIii")
buf.write(u"\4\2JJjj\4\2KKkk\4\2LLll\4\2MMmm\4\2NNnn\4\2OOoo\4\2")
buf.write(u"PPpp\4\2QQqq\4\2RRrr\4\2SSss\4\2TTtt\4\2UUuu\4\2VVvv")
buf.write(u"\4\2WWww\4\2XXxx\4\2YYyy\4\2ZZzz\4\2[[{{\4\2\\\\||\u0227")
buf.write(u"\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13")
buf.write(u"\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3")
buf.write(u"\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3")
buf.write(u"\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2")
buf.write(u"\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3")
buf.write(u"\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2")
buf.write(u"\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2")
buf.write(u"?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2")
buf.write(u"\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2")
buf.write(u"\2\2S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2")
buf.write(u"\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3")
buf.write(u"\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2")
buf.write(u"o\3\2\2\2\3\u00a7\3\2\2\2\5\u00a9\3\2\2\2\7\u00ac\3\2")
buf.write(u"\2\2\t\u00ae\3\2\2\2\13\u00b0\3\2\2\2\r\u00b2\3\2\2\2")
buf.write(u"\17\u00b4\3\2\2\2\21\u00b6\3\2\2\2\23\u00b9\3\2\2\2\25")
buf.write(u"\u00bc\3\2\2\2\27\u00be\3\2\2\2\31\u00c0\3\2\2\2\33\u00c2")
buf.write(u"\3\2\2\2\35\u00c5\3\2\2\2\37\u00c7\3\2\2\2!\u00ca\3\2")
buf.write(u"\2\2#\u00cc\3\2\2\2%\u00cf\3\2\2\2\'\u00d2\3\2\2\2)\u00d5")
buf.write(u"\3\2\2\2+\u00d7\3\2\2\2-\u00d9\3\2\2\2/\u00db\3\2\2\2")
buf.write(u"\61\u00dd\3\2\2\2\63\u00e1\3\2\2\2\65\u00e5\3\2\2\2\67")
buf.write(u"\u00ed\3\2\2\29\u00f0\3\2\2\2;\u00fd\3\2\2\2=\u010a\3")
buf.write(u"\2\2\2?\u011c\3\2\2\2A\u0121\3\2\2\2C\u012a\3\2\2\2E")
buf.write(u"\u012f\3\2\2\2G\u0135\3\2\2\2I\u013c\3\2\2\2K\u013f\3")
buf.write(u"\2\2\2M\u0142\3\2\2\2O\u0149\3\2\2\2Q\u014e\3\2\2\2S")
buf.write(u"\u0154\3\2\2\2U\u0158\3\2\2\2W\u0160\3\2\2\2Y\u0165\3")
buf.write(u"\2\2\2[\u016c\3\2\2\2]\u016f\3\2\2\2_\u0175\3\2\2\2a")
buf.write(u"\u017c\3\2\2\2c\u0182\3\2\2\2e\u01ab\3\2\2\2g\u01d7\3")
buf.write(u"\2\2\2i\u01e2\3\2\2\2k\u01e4\3\2\2\2m\u01ef\3\2\2\2o")
buf.write(u"\u01f3\3\2\2\2q\u01f5\3\2\2\2s\u01f7\3\2\2\2u\u01f9\3")
buf.write(u"\2\2\2w\u01fb\3\2\2\2y\u01fd\3\2\2\2{\u01ff\3\2\2\2}")
buf.write(u"\u0201\3\2\2\2\177\u0203\3\2\2\2\u0081\u0205\3\2\2\2")
buf.write(u"\u0083\u0207\3\2\2\2\u0085\u0209\3\2\2\2\u0087\u020b")
buf.write(u"\3\2\2\2\u0089\u020d\3\2\2\2\u008b\u020f\3\2\2\2\u008d")
buf.write(u"\u0211\3\2\2\2\u008f\u0213\3\2\2\2\u0091\u0215\3\2\2")
buf.write(u"\2\u0093\u0217\3\2\2\2\u0095\u0219\3\2\2\2\u0097\u021b")
buf.write(u"\3\2\2\2\u0099\u021d\3\2\2\2\u009b\u021f\3\2\2\2\u009d")
buf.write(u"\u0221\3\2\2\2\u009f\u0223\3\2\2\2\u00a1\u0225\3\2\2")
buf.write(u"\2\u00a3\u0227\3\2\2\2\u00a5\u0229\3\2\2\2\u00a7\u00a8")
buf.write(u"\7.\2\2\u00a8\4\3\2\2\2\u00a9\u00aa\7~\2\2\u00aa\u00ab")
buf.write(u"\7~\2\2\u00ab\6\3\2\2\2\u00ac\u00ad\7,\2\2\u00ad\b\3")
buf.write(u"\2\2\2\u00ae\u00af\7\61\2\2\u00af\n\3\2\2\2\u00b0\u00b1")
buf.write(u"\7\'\2\2\u00b1\f\3\2\2\2\u00b2\u00b3\7-\2\2\u00b3\16")
buf.write(u"\3\2\2\2\u00b4\u00b5\7/\2\2\u00b5\20\3\2\2\2\u00b6\u00b7")
buf.write(u"\7>\2\2\u00b7\u00b8\7>\2\2\u00b8\22\3\2\2\2\u00b9\u00ba")
buf.write(u"\7@\2\2\u00ba\u00bb\7@\2\2\u00bb\24\3\2\2\2\u00bc\u00bd")
buf.write(u"\7(\2\2\u00bd\26\3\2\2\2\u00be\u00bf\7~\2\2\u00bf\30")
buf.write(u"\3\2\2\2\u00c0\u00c1\7>\2\2\u00c1\32\3\2\2\2\u00c2\u00c3")
buf.write(u"\7>\2\2\u00c3\u00c4\7?\2\2\u00c4\34\3\2\2\2\u00c5\u00c6")
buf.write(u"\7@\2\2\u00c6\36\3\2\2\2\u00c7\u00c8\7@\2\2\u00c8\u00c9")
buf.write(u"\7?\2\2\u00c9 \3\2\2\2\u00ca\u00cb\7?\2\2\u00cb\"\3\2")
buf.write(u"\2\2\u00cc\u00cd\7?\2\2\u00cd\u00ce\7?\2\2\u00ce$\3\2")
buf.write(u"\2\2\u00cf\u00d0\7#\2\2\u00d0\u00d1\7?\2\2\u00d1&\3\2")
buf.write(u"\2\2\u00d2\u00d3\7>\2\2\u00d3\u00d4\7@\2\2\u00d4(\3\2")
buf.write(u"\2\2\u00d5\u00d6\7*\2\2\u00d6*\3\2\2\2\u00d7\u00d8\7")
buf.write(u"+\2\2\u00d8,\3\2\2\2\u00d9\u00da\7\60\2\2\u00da.\3\2")
buf.write(u"\2\2\u00db\u00dc\7\u0080\2\2\u00dc\60\3\2\2\2\u00dd\u00de")
buf.write(u"\5s:\2\u00de\u00df\5\u008dG\2\u00df\u00e0\5y=\2\u00e0")
buf.write(u"\62\3\2\2\2\u00e1\u00e2\5s:\2\u00e2\u00e3\5\u0097L\2")
buf.write(u"\u00e3\u00e4\5w<\2\u00e4\64\3\2\2\2\u00e5\u00e6\5u;\2")
buf.write(u"\u00e6\u00e7\5{>\2\u00e7\u00e8\5\u0099M\2\u00e8\u00e9")
buf.write(u"\5\u009fP\2\u00e9\u00ea\5{>\2\u00ea\u00eb\5{>\2\u00eb")
buf.write(u"\u00ec\5\u008dG\2\u00ec\66\3\2\2\2\u00ed\u00ee\5u;\2")
buf.write(u"\u00ee\u00ef\5\u00a3R\2\u00ef8\3\2\2\2\u00f0\u00f1\5")
buf.write(u"w<\2\u00f1\u00f2\5\u009bN\2\u00f2\u00f3\5\u0095K\2\u00f3")
buf.write(u"\u00f4\5\u0095K\2\u00f4\u00f5\5{>\2\u00f5\u00f6\5\u008d")
buf.write(u"G\2\u00f6\u00f7\5\u0099M\2\u00f7\u00f8\7a\2\2\u00f8\u00f9")
buf.write(u"\5y=\2\u00f9\u00fa\5s:\2\u00fa\u00fb\5\u0099M\2\u00fb")
buf.write(u"\u00fc\5{>\2\u00fc:\3\2\2\2\u00fd\u00fe\5w<\2\u00fe\u00ff")
buf.write(u"\5\u009bN\2\u00ff\u0100\5\u0095K\2\u0100\u0101\5\u0095")
buf.write(u"K\2\u0101\u0102\5{>\2\u0102\u0103\5\u008dG\2\u0103\u0104")
buf.write(u"\5\u0099M\2\u0104\u0105\7a\2\2\u0105\u0106\5\u0099M\2")
buf.write(u"\u0106\u0107\5\u0083B\2\u0107\u0108\5\u008bF\2\u0108")
buf.write(u"\u0109\5{>\2\u0109<\3\2\2\2\u010a\u010b\5w<\2\u010b\u010c")
buf.write(u"\5\u009bN\2\u010c\u010d\5\u0095K\2\u010d\u010e\5\u0095")
buf.write(u"K\2\u010e\u010f\5{>\2\u010f\u0110\5\u008dG\2\u0110\u0111")
buf.write(u"\5\u0099M\2\u0111\u0112\7a\2\2\u0112\u0113\5\u0099M\2")
buf.write(u"\u0113\u0114\5\u0083B\2\u0114\u0115\5\u008bF\2\u0115")
buf.write(u"\u0116\5{>\2\u0116\u0117\5\u0097L\2\u0117\u0118\5\u0099")
buf.write(u"M\2\u0118\u0119\5s:\2\u0119\u011a\5\u008bF\2\u011a\u011b")
buf.write(u"\5\u0091I\2\u011b>\3\2\2\2\u011c\u011d\5y=\2\u011d\u011e")
buf.write(u"\5{>\2\u011e\u011f\5\u0097L\2\u011f\u0120\5w<\2\u0120")
buf.write(u"@\3\2\2\2\u0121\u0122\5y=\2\u0122\u0123\5\u0083B\2\u0123")
buf.write(u"\u0124\5\u0097L\2\u0124\u0125\5\u0099M\2\u0125\u0126")
buf.write(u"\5\u0083B\2\u0126\u0127\5\u008dG\2\u0127\u0128\5w<\2")
buf.write(u"\u0128\u0129\5\u0099M\2\u0129B\3\2\2\2\u012a\u012b\5")
buf.write(u"}?\2\u012b\u012c\5\u0095K\2\u012c\u012d\5\u008fH\2\u012d")
buf.write(u"\u012e\5\u008bF\2\u012eD\3\2\2\2\u012f\u0130\5\177@\2")
buf.write(u"\u0130\u0131\5\u0095K\2\u0131\u0132\5\u008fH\2\u0132")
buf.write(u"\u0133\5\u009bN\2\u0133\u0134\5\u0091I\2\u0134F\3\2\2")
buf.write(u"\2\u0135\u0136\5\u0081A\2\u0136\u0137\5s:\2\u0137\u0138")
buf.write(u"\5\u009dO\2\u0138\u0139\5\u0083B\2\u0139\u013a\5\u008d")
buf.write(u"G\2\u013a\u013b\5\177@\2\u013bH\3\2\2\2\u013c\u013d\5")
buf.write(u"\u0083B\2\u013d\u013e\5\u008dG\2\u013eJ\3\2\2\2\u013f")
buf.write(u"\u0140\5\u0083B\2\u0140\u0141\5\u0097L\2\u0141L\3\2\2")
buf.write(u"\2\u0142\u0143\5\u0083B\2\u0143\u0144\5\u0097L\2\u0144")
buf.write(u"\u0145\5\u008dG\2\u0145\u0146\5\u009bN\2\u0146\u0147")
buf.write(u"\5\u0089E\2\u0147\u0148\5\u0089E\2\u0148N\3\2\2\2\u0149")
buf.write(u"\u014a\5\u0089E\2\u014a\u014b\5\u0083B\2\u014b\u014c")
buf.write(u"\5\u0087D\2\u014c\u014d\5{>\2\u014dP\3\2\2\2\u014e\u014f")
buf.write(u"\5\u0089E\2\u014f\u0150\5\u0083B\2\u0150\u0151\5\u008b")
buf.write(u"F\2\u0151\u0152\5\u0083B\2\u0152\u0153\5\u0099M\2\u0153")
buf.write(u"R\3\2\2\2\u0154\u0155\5\u008dG\2\u0155\u0156\5\u008f")
buf.write(u"H\2\u0156\u0157\5\u0099M\2\u0157T\3\2\2\2\u0158\u0159")
buf.write(u"\5\u008dG\2\u0159\u015a\5\u008fH\2\u015a\u015b\5\u0099")
buf.write(u"M\2\u015b\u015c\5\u008dG\2\u015c\u015d\5\u009bN\2\u015d")
buf.write(u"\u015e\5\u0089E\2\u015e\u015f\5\u0089E\2\u015fV\3\2\2")
buf.write(u"\2\u0160\u0161\5\u008dG\2\u0161\u0162\5\u009bN\2\u0162")
buf.write(u"\u0163\5\u0089E\2\u0163\u0164\5\u0089E\2\u0164X\3\2\2")
buf.write(u"\2\u0165\u0166\5\u008fH\2\u0166\u0167\5}?\2\u0167\u0168")
buf.write(u"\5}?\2\u0168\u0169\5\u0097L\2\u0169\u016a\5{>\2\u016a")
buf.write(u"\u016b\5\u0099M\2\u016bZ\3\2\2\2\u016c\u016d\5\u008f")
buf.write(u"H\2\u016d\u016e\5\u0095K\2\u016e\\\3\2\2\2\u016f\u0170")
buf.write(u"\5\u008fH\2\u0170\u0171\5\u0095K\2\u0171\u0172\5y=\2")
buf.write(u"\u0172\u0173\5{>\2\u0173\u0174\5\u0095K\2\u0174^\3\2")
buf.write(u"\2\2\u0175\u0176\5\u0097L\2\u0176\u0177\5{>\2\u0177\u0178")
buf.write(u"\5\u0089E\2\u0178\u0179\5{>\2\u0179\u017a\5w<\2\u017a")
buf.write(u"\u017b\5\u0099M\2\u017b`\3\2\2\2\u017c\u017d\5\u0099")
buf.write(u"M\2\u017d\u017e\5s:\2\u017e\u017f\5u;\2\u017f\u0180\5")
buf.write(u"\u0089E\2\u0180\u0181\5{>\2\u0181b\3\2\2\2\u0182\u0183")
buf.write(u"\5\u009fP\2\u0183\u0184\5\u0081A\2\u0184\u0185\5{>\2")
buf.write(u"\u0185\u0186\5\u0095K\2\u0186\u0187\5{>\2\u0187d\3\2")
buf.write(u"\2\2\u0188\u018e\7$\2\2\u0189\u018d\n\2\2\2\u018a\u018b")
buf.write(u"\7$\2\2\u018b\u018d\7$\2\2\u018c\u0189\3\2\2\2\u018c")
buf.write(u"\u018a\3\2\2\2\u018d\u0190\3\2\2\2\u018e\u018c\3\2\2")
buf.write(u"\2\u018e\u018f\3\2\2\2\u018f\u0191\3\2\2\2\u0190\u018e")
buf.write(u"\3\2\2\2\u0191\u01ac\7$\2\2\u0192\u0198\7b\2\2\u0193")
buf.write(u"\u0197\n\3\2\2\u0194\u0195\7b\2\2\u0195\u0197\7b\2\2")
buf.write(u"\u0196\u0193\3\2\2\2\u0196\u0194\3\2\2\2\u0197\u019a")
buf.write(u"\3\2\2\2\u0198\u0196\3\2\2\2\u0198\u0199\3\2\2\2\u0199")
buf.write(u"\u019b\3\2\2\2\u019a\u0198\3\2\2\2\u019b\u01ac\7b\2\2")
buf.write(u"\u019c\u01a0\7]\2\2\u019d\u019f\n\4\2\2\u019e\u019d\3")
buf.write(u"\2\2\2\u019f\u01a2\3\2\2\2\u01a0\u019e\3\2\2\2\u01a0")
buf.write(u"\u01a1\3\2\2\2\u01a1\u01a3\3\2\2\2\u01a2\u01a0\3\2\2")
buf.write(u"\2\u01a3\u01ac\7_\2\2\u01a4\u01a8\t\5\2\2\u01a5\u01a7")
buf.write(u"\t\6\2\2\u01a6\u01a5\3\2\2\2\u01a7\u01aa\3\2\2\2\u01a8")
buf.write(u"\u01a6\3\2\2\2\u01a8\u01a9\3\2\2\2\u01a9\u01ac\3\2\2")
buf.write(u"\2\u01aa\u01a8\3\2\2\2\u01ab\u0188\3\2\2\2\u01ab\u0192")
buf.write(u"\3\2\2\2\u01ab\u019c\3\2\2\2\u01ab\u01a4\3\2\2\2\u01ac")
buf.write(u"f\3\2\2\2\u01ad\u01af\5q9\2\u01ae\u01ad\3\2\2\2\u01af")
buf.write(u"\u01b0\3\2\2\2\u01b0\u01ae\3\2\2\2\u01b0\u01b1\3\2\2")
buf.write(u"\2\u01b1\u01b9\3\2\2\2\u01b2\u01b6\7\60\2\2\u01b3\u01b5")
buf.write(u"\5q9\2\u01b4\u01b3\3\2\2\2\u01b5\u01b8\3\2\2\2\u01b6")
buf.write(u"\u01b4\3\2\2\2\u01b6\u01b7\3\2\2\2\u01b7\u01ba\3\2\2")
buf.write(u"\2\u01b8\u01b6\3\2\2\2\u01b9\u01b2\3\2\2\2\u01b9\u01ba")
buf.write(u"\3\2\2\2\u01ba\u01c4\3\2\2\2\u01bb\u01bd\5{>\2\u01bc")
buf.write(u"\u01be\t\7\2\2\u01bd\u01bc\3\2\2\2\u01bd\u01be\3\2\2")
buf.write(u"\2\u01be\u01c0\3\2\2\2\u01bf\u01c1\5q9\2\u01c0\u01bf")
buf.write(u"\3\2\2\2\u01c1\u01c2\3\2\2\2\u01c2\u01c0\3\2\2\2\u01c2")
buf.write(u"\u01c3\3\2\2\2\u01c3\u01c5\3\2\2\2\u01c4\u01bb\3\2\2")
buf.write(u"\2\u01c4\u01c5\3\2\2\2\u01c5\u01d8\3\2\2\2\u01c6\u01c8")
buf.write(u"\7\60\2\2\u01c7\u01c9\5q9\2\u01c8\u01c7\3\2\2\2\u01c9")
buf.write(u"\u01ca\3\2\2\2\u01ca\u01c8\3\2\2\2\u01ca\u01cb\3\2\2")
buf.write(u"\2\u01cb\u01d5\3\2\2\2\u01cc\u01ce\5{>\2\u01cd\u01cf")
buf.write(u"\t\7\2\2\u01ce\u01cd\3\2\2\2\u01ce\u01cf\3\2\2\2\u01cf")
buf.write(u"\u01d1\3\2\2\2\u01d0\u01d2\5q9\2\u01d1\u01d0\3\2\2\2")
buf.write(u"\u01d2\u01d3\3\2\2\2\u01d3\u01d1\3\2\2\2\u01d3\u01d4")
buf.write(u"\3\2\2\2\u01d4\u01d6\3\2\2\2\u01d5\u01cc\3\2\2\2\u01d5")
buf.write(u"\u01d6\3\2\2\2\u01d6\u01d8\3\2\2\2\u01d7\u01ae\3\2\2")
buf.write(u"\2\u01d7\u01c6\3\2\2\2\u01d8h\3\2\2\2\u01d9\u01dd\7A")
buf.write(u"\2\2\u01da\u01dc\5q9\2\u01db\u01da\3\2\2\2\u01dc\u01df")
buf.write(u"\3\2\2\2\u01dd\u01db\3\2\2\2\u01dd\u01de\3\2\2\2\u01de")
buf.write(u"\u01e3\3\2\2\2\u01df\u01dd\3\2\2\2\u01e0\u01e1\t\b\2")
buf.write(u"\2\u01e1\u01e3\5e\63\2\u01e2\u01d9\3\2\2\2\u01e2\u01e0")
buf.write(u"\3\2\2\2\u01e3j\3\2\2\2\u01e4\u01ea\7)\2\2\u01e5\u01e9")
buf.write(u"\n\t\2\2\u01e6\u01e7\7)\2\2\u01e7\u01e9\7)\2\2\u01e8")
buf.write(u"\u01e5\3\2\2\2\u01e8\u01e6\3\2\2\2\u01e9\u01ec\3\2\2")
buf.write(u"\2\u01ea\u01e8\3\2\2\2\u01ea\u01eb\3\2\2\2\u01eb\u01ed")
buf.write(u"\3\2\2\2\u01ec\u01ea\3\2\2\2\u01ed\u01ee\7)\2\2\u01ee")
buf.write(u"l\3\2\2\2\u01ef\u01f0\t\n\2\2\u01f0\u01f1\3\2\2\2\u01f1")
buf.write(u"\u01f2\b\67\2\2\u01f2n\3\2\2\2\u01f3\u01f4\13\2\2\2\u01f4")
buf.write(u"p\3\2\2\2\u01f5\u01f6\t\13\2\2\u01f6r\3\2\2\2\u01f7\u01f8")
buf.write(u"\t\f\2\2\u01f8t\3\2\2\2\u01f9\u01fa\t\r\2\2\u01fav\3")
buf.write(u"\2\2\2\u01fb\u01fc\t\16\2\2\u01fcx\3\2\2\2\u01fd\u01fe")
buf.write(u"\t\17\2\2\u01fez\3\2\2\2\u01ff\u0200\t\20\2\2\u0200|")
buf.write(u"\3\2\2\2\u0201\u0202\t\21\2\2\u0202~\3\2\2\2\u0203\u0204")
buf.write(u"\t\22\2\2\u0204\u0080\3\2\2\2\u0205\u0206\t\23\2\2\u0206")
buf.write(u"\u0082\3\2\2\2\u0207\u0208\t\24\2\2\u0208\u0084\3\2\2")
buf.write(u"\2\u0209\u020a\t\25\2\2\u020a\u0086\3\2\2\2\u020b\u020c")
buf.write(u"\t\26\2\2\u020c\u0088\3\2\2\2\u020d\u020e\t\27\2\2\u020e")
buf.write(u"\u008a\3\2\2\2\u020f\u0210\t\30\2\2\u0210\u008c\3\2\2")
buf.write(u"\2\u0211\u0212\t\31\2\2\u0212\u008e\3\2\2\2\u0213\u0214")
buf.write(u"\t\32\2\2\u0214\u0090\3\2\2\2\u0215\u0216\t\33\2\2\u0216")
buf.write(u"\u0092\3\2\2\2\u0217\u0218\t\34\2\2\u0218\u0094\3\2\2")
buf.write(u"\2\u0219\u021a\t\35\2\2\u021a\u0096\3\2\2\2\u021b\u021c")
buf.write(u"\t\36\2\2\u021c\u0098\3\2\2\2\u021d\u021e\t\37\2\2\u021e")
buf.write(u"\u009a\3\2\2\2\u021f\u0220\t \2\2\u0220\u009c\3\2\2\2")
buf.write(u"\u0221\u0222\t!\2\2\u0222\u009e\3\2\2\2\u0223\u0224\t")
buf.write(u"\"\2\2\u0224\u00a0\3\2\2\2\u0225\u0226\t#\2\2\u0226\u00a2")
buf.write(u"\3\2\2\2\u0227\u0228\t$\2\2\u0228\u00a4\3\2\2\2\u0229")
buf.write(u"\u022a\t%\2\2\u022a\u00a6\3\2\2\2\31\2\u018c\u018e\u0196")
buf.write(u"\u0198\u01a0\u01a8\u01ab\u01b0\u01b6\u01b9\u01bd\u01c2")
buf.write(u"\u01c4\u01ca\u01ce\u01d3\u01d5\u01d7\u01dd\u01e2\u01e8")
buf.write(u"\u01ea\3\2\3\2")
return buf.getvalue()
class SimpleQLLexer(Lexer):
atn = ATNDeserializer().deserialize(serializedATN())
decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
T__0 = 1
T__1 = 2
T__2 = 3
T__3 = 4
T__4 = 5
T__5 = 6
T__6 = 7
T__7 = 8
T__8 = 9
T__9 = 10
T__10 = 11
T__11 = 12
T__12 = 13
T__13 = 14
T__14 = 15
T__15 = 16
T__16 = 17
T__17 = 18
T__18 = 19
T__19 = 20
T__20 = 21
T__21 = 22
T__22 = 23
K_AND = 24
K_ASC = 25
K_BETWEEN = 26
K_BY = 27
K_CURRENT_DATE = 28
K_CURRENT_TIME = 29
K_CURRENT_TIMESTAMP = 30
K_DESC = 31
K_DISTINCT = 32
K_FROM = 33
K_GROUP = 34
K_HAVING = 35
K_IN = 36
K_IS = 37
K_ISNULL = 38
K_LIKE = 39
K_LIMIT = 40
K_NOT = 41
K_NOTNULL = 42
K_NULL = 43
K_OFFSET = 44
K_OR = 45
K_ORDER = 46
K_SELECT = 47
K_TABLE = 48
K_WHERE = 49
IDENTIFIER = 50
NUMERIC_LITERAL = 51
BIND_PARAMETER = 52
STRING_LITERAL = 53
SPACES = 54
UNEXPECTED_CHAR = 55
modeNames = [ u"DEFAULT_MODE" ]
literalNames = [ u"<INVALID>",
u"','", u"'||'", u"'*'", u"'/'", u"'%'", u"'+'", u"'-'", u"'<<'",
u"'>>'", u"'&'", u"'|'", u"'<'", u"'<='", u"'>'", u"'>='", u"'='",
u"'=='", u"'!='", u"'<>'", u"'('", u"')'", u"'.'", u"'~'" ]
symbolicNames = [ u"<INVALID>",
u"K_AND", u"K_ASC", u"K_BETWEEN", u"K_BY", u"K_CURRENT_DATE",
u"K_CURRENT_TIME", u"K_CURRENT_TIMESTAMP", u"K_DESC", u"K_DISTINCT",
u"K_FROM", u"K_GROUP", u"K_HAVING", u"K_IN", u"K_IS", u"K_ISNULL",
u"K_LIKE", u"K_LIMIT", u"K_NOT", u"K_NOTNULL", u"K_NULL", u"K_OFFSET",
u"K_OR", u"K_ORDER", u"K_SELECT", u"K_TABLE", u"K_WHERE", u"IDENTIFIER",
u"NUMERIC_LITERAL", u"BIND_PARAMETER", u"STRING_LITERAL", u"SPACES",
u"UNEXPECTED_CHAR" ]
ruleNames = [ u"T__0", u"T__1", u"T__2", u"T__3", u"T__4", u"T__5",
u"T__6", u"T__7", u"T__8", u"T__9", u"T__10", u"T__11",
u"T__12", u"T__13", u"T__14", u"T__15", u"T__16", u"T__17",
u"T__18", u"T__19", u"T__20", u"T__21", u"T__22", u"K_AND",
u"K_ASC", u"K_BETWEEN", u"K_BY", u"K_CURRENT_DATE", u"K_CURRENT_TIME",
u"K_CURRENT_TIMESTAMP", u"K_DESC", u"K_DISTINCT", u"K_FROM",
u"K_GROUP", u"K_HAVING", u"K_IN", u"K_IS", u"K_ISNULL",
u"K_LIKE", u"K_LIMIT", u"K_NOT", u"K_NOTNULL", u"K_NULL",
u"K_OFFSET", u"K_OR", u"K_ORDER", u"K_SELECT", u"K_TABLE",
u"K_WHERE", u"IDENTIFIER", u"NUMERIC_LITERAL", u"BIND_PARAMETER",
u"STRING_LITERAL", u"SPACES", u"UNEXPECTED_CHAR", u"DIGIT",
u"A", u"B", u"C", u"D", u"E", u"F", u"G", u"H", u"I",
u"J", u"K", u"L", u"M", u"N", u"O", u"P", u"Q", u"R",
u"S", u"T", u"U", u"V", u"W", u"X", u"Y", u"Z" ]
grammarFileName = u"SimpleQL.g4"
def __init__(self, input=None):
super(SimpleQLLexer, self).__init__(input)
self.checkVersion("4.6")
self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
self._actions = None
self._predicates = None