queryparser-python3 0.6.0__py3-none-any.whl → 0.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- queryparser/__init__.py +1 -9
- queryparser/adql/ADQLLexer.py +1296 -1328
- queryparser/adql/ADQLParser.py +2136 -2261
- queryparser/adql/ADQLParserListener.py +38 -56
- queryparser/adql/ADQLParserVisitor.py +22 -32
- queryparser/adql/adqltranslator.py +178 -72
- queryparser/common/common.py +1 -36
- queryparser/mysql/MySQLLexer.py +2 -2
- queryparser/mysql/MySQLParser.py +201 -212
- queryparser/mysql/MySQLParserListener.py +2 -2
- queryparser/postgresql/PostgreSQLLexer.py +880 -792
- queryparser/postgresql/PostgreSQLParser.py +2155 -1522
- queryparser/postgresql/PostgreSQLParserListener.py +83 -2
- queryparser/postgresql/postgresqllisteners.py +2 -50
- queryparser/postgresql/postgresqlprocessor.py +1 -4
- {queryparser_python3-0.6.0.dist-info → queryparser_python3-0.7.0.dist-info}/METADATA +63 -36
- queryparser_python3-0.7.0.dist-info/RECORD +27 -0
- {queryparser_python3-0.6.0.dist-info → queryparser_python3-0.7.0.dist-info}/WHEEL +1 -1
- queryparser_python3-0.6.0.dist-info/RECORD +0 -27
- {queryparser_python3-0.6.0.dist-info → queryparser_python3-0.7.0.dist-info}/LICENSE +0 -0
- {queryparser_python3-0.6.0.dist-info → queryparser_python3-0.7.0.dist-info}/top_level.txt +0 -0
queryparser/mysql/MySQLParser.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated from src/queryparser/mysql/MySQLParser.g4 by ANTLR 4.
|
|
1
|
+
# Generated from src/queryparser/mysql/MySQLParser.g4 by ANTLR 4.13.1
|
|
2
2
|
# encoding: utf-8
|
|
3
3
|
from antlr4 import *
|
|
4
4
|
from io import StringIO
|
|
@@ -10,7 +10,7 @@ else:
|
|
|
10
10
|
|
|
11
11
|
def serializedATN():
|
|
12
12
|
return [
|
|
13
|
-
4,1,
|
|
13
|
+
4,1,640,875,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,
|
|
14
14
|
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,
|
|
15
15
|
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,
|
|
16
16
|
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,
|
|
@@ -75,62 +75,62 @@ def serializedATN():
|
|
|
75
75
|
731,9,66,1,66,1,66,1,66,1,66,1,66,5,66,738,8,66,10,66,12,66,741,
|
|
76
76
|
9,66,3,66,743,8,66,3,66,745,8,66,1,67,1,67,1,67,3,67,750,8,67,1,
|
|
77
77
|
67,5,67,753,8,67,10,67,12,67,756,9,67,1,68,1,68,1,68,1,68,1,68,1,
|
|
78
|
-
68,1,68,1,68,1,68,1,68,1,68,1,68,
|
|
79
|
-
69,1,
|
|
80
|
-
|
|
81
|
-
1,70,1,70,1,70,
|
|
82
|
-
72,1,72,1,72,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
75,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
193,
|
|
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
|
-
0,
|
|
133
|
-
|
|
78
|
+
68,1,68,1,68,1,68,1,68,1,68,1,68,3,68,770,8,68,1,69,1,69,1,69,1,
|
|
79
|
+
69,1,70,1,70,3,70,778,8,70,1,70,3,70,781,8,70,1,70,3,70,784,8,70,
|
|
80
|
+
1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,1,70,
|
|
81
|
+
1,70,1,70,1,70,3,70,802,8,70,1,71,1,71,1,72,1,72,3,72,808,8,72,1,
|
|
82
|
+
72,1,72,1,72,3,72,813,8,72,5,72,815,8,72,10,72,12,72,818,9,72,1,
|
|
83
|
+
73,1,73,1,73,1,73,1,73,3,73,825,8,73,3,73,827,8,73,1,74,1,74,1,74,
|
|
84
|
+
3,74,832,8,74,1,74,1,74,1,74,1,74,5,74,838,8,74,10,74,12,74,841,
|
|
85
|
+
9,74,1,75,1,75,1,75,1,75,3,75,847,8,75,3,75,849,8,75,1,75,1,75,3,
|
|
86
|
+
75,853,8,75,1,76,1,76,1,77,1,77,1,77,5,77,860,8,77,10,77,12,77,863,
|
|
87
|
+
9,77,1,78,1,78,1,78,3,78,868,8,78,1,78,1,78,1,79,1,79,1,79,1,79,
|
|
88
|
+
0,0,80,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,
|
|
89
|
+
42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,
|
|
90
|
+
86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,
|
|
91
|
+
122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,
|
|
92
|
+
154,156,158,0,23,2,0,608,611,631,632,9,0,75,79,127,130,187,189,193,
|
|
93
|
+
193,215,215,233,234,307,307,315,315,317,317,2,0,155,155,300,300,
|
|
94
|
+
2,0,103,103,283,283,1,0,624,625,2,0,633,633,636,636,32,0,12,12,21,
|
|
95
|
+
21,25,25,35,35,37,37,41,42,91,91,101,101,104,105,108,108,112,112,
|
|
96
|
+
125,125,139,140,161,162,167,168,173,175,180,180,186,186,200,200,
|
|
97
|
+
205,205,217,217,223,226,230,231,245,245,247,247,260,260,262,263,
|
|
98
|
+
279,279,282,282,287,287,292,292,310,310,10,0,17,17,23,24,26,27,49,
|
|
99
|
+
49,121,121,183,183,190,190,255,258,265,265,303,305,21,0,1,2,13,13,
|
|
100
|
+
15,16,33,34,44,44,47,48,58,58,84,84,99,99,106,106,165,165,170,172,
|
|
101
|
+
191,191,212,214,218,219,228,228,240,240,242,242,254,254,269,269,
|
|
102
|
+
284,284,32,0,5,6,18,18,36,36,38,38,40,40,43,43,62,62,64,64,82,83,
|
|
103
|
+
86,87,92,93,110,110,119,119,132,133,136,137,144,144,146,146,154,
|
|
104
|
+
154,167,167,180,181,184,184,195,195,203,203,209,209,222,222,232,
|
|
105
|
+
232,237,237,244,244,268,268,294,294,301,302,306,306,29,0,3,4,46,
|
|
106
|
+
46,61,61,63,63,65,65,67,74,102,102,113,114,118,118,127,127,153,153,
|
|
107
|
+
178,179,185,185,187,187,193,194,198,198,210,211,215,215,233,233,
|
|
108
|
+
235,235,261,261,264,264,267,267,271,277,280,281,289,289,297,299,
|
|
109
|
+
307,309,315,316,1,0,318,593,1,0,594,601,2,0,8,8,88,89,2,0,250,250,
|
|
110
|
+
252,252,1,0,613,614,3,0,603,604,619,619,629,629,2,0,22,22,624,626,
|
|
111
|
+
3,0,8,8,88,88,619,619,2,0,11,11,85,85,2,0,135,135,149,149,2,0,60,
|
|
112
|
+
60,138,138,2,0,161,161,226,226,938,0,160,1,0,0,0,2,195,1,0,0,0,4,
|
|
113
|
+
212,1,0,0,0,6,214,1,0,0,0,8,216,1,0,0,0,10,218,1,0,0,0,12,220,1,
|
|
114
|
+
0,0,0,14,222,1,0,0,0,16,225,1,0,0,0,18,229,1,0,0,0,20,231,1,0,0,
|
|
115
|
+
0,22,233,1,0,0,0,24,235,1,0,0,0,26,237,1,0,0,0,28,239,1,0,0,0,30,
|
|
116
|
+
241,1,0,0,0,32,243,1,0,0,0,34,251,1,0,0,0,36,259,1,0,0,0,38,261,
|
|
117
|
+
1,0,0,0,40,321,1,0,0,0,42,325,1,0,0,0,44,341,1,0,0,0,46,343,1,0,
|
|
118
|
+
0,0,48,359,1,0,0,0,50,363,1,0,0,0,52,373,1,0,0,0,54,384,1,0,0,0,
|
|
119
|
+
56,394,1,0,0,0,58,406,1,0,0,0,60,408,1,0,0,0,62,416,1,0,0,0,64,425,
|
|
120
|
+
1,0,0,0,66,429,1,0,0,0,68,440,1,0,0,0,70,448,1,0,0,0,72,459,1,0,
|
|
121
|
+
0,0,74,464,1,0,0,0,76,469,1,0,0,0,78,477,1,0,0,0,80,486,1,0,0,0,
|
|
122
|
+
82,539,1,0,0,0,84,541,1,0,0,0,86,558,1,0,0,0,88,563,1,0,0,0,90,586,
|
|
123
|
+
1,0,0,0,92,588,1,0,0,0,94,596,1,0,0,0,96,598,1,0,0,0,98,606,1,0,
|
|
124
|
+
0,0,100,617,1,0,0,0,102,625,1,0,0,0,104,627,1,0,0,0,106,640,1,0,
|
|
125
|
+
0,0,108,654,1,0,0,0,110,656,1,0,0,0,112,658,1,0,0,0,114,668,1,0,
|
|
126
|
+
0,0,116,672,1,0,0,0,118,677,1,0,0,0,120,679,1,0,0,0,122,688,1,0,
|
|
127
|
+
0,0,124,710,1,0,0,0,126,714,1,0,0,0,128,719,1,0,0,0,130,722,1,0,
|
|
128
|
+
0,0,132,744,1,0,0,0,134,746,1,0,0,0,136,769,1,0,0,0,138,771,1,0,
|
|
129
|
+
0,0,140,801,1,0,0,0,142,803,1,0,0,0,144,805,1,0,0,0,146,819,1,0,
|
|
130
|
+
0,0,148,828,1,0,0,0,150,842,1,0,0,0,152,854,1,0,0,0,154,856,1,0,
|
|
131
|
+
0,0,156,867,1,0,0,0,158,871,1,0,0,0,160,161,7,0,0,0,161,1,1,0,0,
|
|
132
|
+
0,162,166,5,22,0,0,163,164,5,621,0,0,164,165,5,633,0,0,165,167,5,
|
|
133
|
+
620,0,0,166,163,1,0,0,0,166,167,1,0,0,0,167,196,1,0,0,0,168,172,
|
|
134
134
|
5,35,0,0,169,170,5,621,0,0,170,171,5,633,0,0,171,173,5,620,0,0,172,
|
|
135
135
|
169,1,0,0,0,172,173,1,0,0,0,173,196,1,0,0,0,174,196,5,70,0,0,175,
|
|
136
136
|
196,5,66,0,0,176,184,5,81,0,0,177,178,5,621,0,0,178,181,5,633,0,
|
|
@@ -312,52 +312,52 @@ def serializedATN():
|
|
|
312
312
|
1,0,0,0,745,133,1,0,0,0,746,754,3,38,19,0,747,749,5,288,0,0,748,
|
|
313
313
|
750,5,8,0,0,749,748,1,0,0,0,749,750,1,0,0,0,750,751,1,0,0,0,751,
|
|
314
314
|
753,3,38,19,0,752,747,1,0,0,0,753,756,1,0,0,0,754,752,1,0,0,0,754,
|
|
315
|
-
755,1,0,0,0,755,135,1,0,0,0,756,754,1,0,0,0,757,
|
|
316
|
-
|
|
317
|
-
0,0,762,
|
|
318
|
-
|
|
319
|
-
0,769,
|
|
320
|
-
0,
|
|
321
|
-
0,
|
|
322
|
-
0,0,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
0,0,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
0,813,
|
|
336
|
-
0,816,
|
|
337
|
-
0,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
0,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
315
|
+
755,1,0,0,0,755,135,1,0,0,0,756,754,1,0,0,0,757,770,3,36,18,0,758,
|
|
316
|
+
770,3,70,35,0,759,770,3,56,28,0,760,770,3,82,41,0,761,762,5,229,
|
|
317
|
+
0,0,762,770,3,70,35,0,763,770,3,138,69,0,764,765,5,98,0,0,765,770,
|
|
318
|
+
3,138,69,0,766,770,3,100,50,0,767,770,3,106,53,0,768,770,3,46,23,
|
|
319
|
+
0,769,757,1,0,0,0,769,758,1,0,0,0,769,759,1,0,0,0,769,760,1,0,0,
|
|
320
|
+
0,769,761,1,0,0,0,769,763,1,0,0,0,769,764,1,0,0,0,769,766,1,0,0,
|
|
321
|
+
0,769,767,1,0,0,0,769,768,1,0,0,0,770,137,1,0,0,0,771,772,5,621,
|
|
322
|
+
0,0,772,773,3,134,67,0,773,774,5,620,0,0,774,139,1,0,0,0,775,777,
|
|
323
|
+
3,156,78,0,776,778,3,116,58,0,777,776,1,0,0,0,777,778,1,0,0,0,778,
|
|
324
|
+
780,1,0,0,0,779,781,3,40,20,0,780,779,1,0,0,0,780,781,1,0,0,0,781,
|
|
325
|
+
783,1,0,0,0,782,784,3,92,46,0,783,782,1,0,0,0,783,784,1,0,0,0,784,
|
|
326
|
+
802,1,0,0,0,785,786,3,138,69,0,786,787,3,40,20,0,787,802,1,0,0,0,
|
|
327
|
+
788,789,5,621,0,0,789,790,3,154,77,0,790,791,5,620,0,0,791,802,1,
|
|
328
|
+
0,0,0,792,793,5,202,0,0,793,794,3,152,76,0,794,795,5,161,0,0,795,
|
|
329
|
+
796,5,207,0,0,796,797,5,147,0,0,797,798,3,152,76,0,798,799,5,204,
|
|
330
|
+
0,0,799,800,3,68,34,0,800,802,1,0,0,0,801,775,1,0,0,0,801,785,1,
|
|
331
|
+
0,0,0,801,788,1,0,0,0,801,792,1,0,0,0,802,141,1,0,0,0,803,804,5,
|
|
332
|
+
638,0,0,804,143,1,0,0,0,805,816,3,146,73,0,806,808,7,21,0,0,807,
|
|
333
|
+
806,1,0,0,0,807,808,1,0,0,0,808,809,1,0,0,0,809,810,5,147,0,0,810,
|
|
334
|
+
812,3,140,70,0,811,813,3,102,51,0,812,811,1,0,0,0,812,813,1,0,0,
|
|
335
|
+
0,813,815,1,0,0,0,814,807,1,0,0,0,815,818,1,0,0,0,816,814,1,0,0,
|
|
336
|
+
0,816,817,1,0,0,0,817,145,1,0,0,0,818,816,1,0,0,0,819,826,3,148,
|
|
337
|
+
74,0,820,821,5,259,0,0,821,824,3,140,70,0,822,823,5,204,0,0,823,
|
|
338
|
+
825,3,68,34,0,824,822,1,0,0,0,824,825,1,0,0,0,825,827,1,0,0,0,826,
|
|
339
|
+
820,1,0,0,0,826,827,1,0,0,0,827,147,1,0,0,0,828,839,3,150,75,0,829,
|
|
340
|
+
831,7,22,0,0,830,832,5,207,0,0,831,830,1,0,0,0,831,832,1,0,0,0,832,
|
|
341
|
+
833,1,0,0,0,833,834,5,147,0,0,834,835,3,150,75,0,835,836,3,102,51,
|
|
342
|
+
0,836,838,1,0,0,0,837,829,1,0,0,0,838,841,1,0,0,0,839,837,1,0,0,
|
|
343
|
+
0,839,840,1,0,0,0,840,149,1,0,0,0,841,839,1,0,0,0,842,852,3,140,
|
|
344
|
+
70,0,843,848,5,196,0,0,844,846,7,22,0,0,845,847,5,207,0,0,846,845,
|
|
345
|
+
1,0,0,0,846,847,1,0,0,0,847,849,1,0,0,0,848,844,1,0,0,0,848,849,
|
|
346
|
+
1,0,0,0,849,850,1,0,0,0,850,851,5,147,0,0,851,853,3,140,70,0,852,
|
|
347
|
+
843,1,0,0,0,852,853,1,0,0,0,853,151,1,0,0,0,854,855,3,144,72,0,855,
|
|
348
|
+
153,1,0,0,0,856,861,3,152,76,0,857,858,5,618,0,0,858,860,3,152,76,
|
|
349
|
+
0,859,857,1,0,0,0,860,863,1,0,0,0,861,859,1,0,0,0,861,862,1,0,0,
|
|
350
|
+
0,862,155,1,0,0,0,863,861,1,0,0,0,864,865,3,130,65,0,865,866,5,617,
|
|
351
|
+
0,0,866,868,1,0,0,0,867,864,1,0,0,0,867,868,1,0,0,0,868,869,1,0,
|
|
352
|
+
0,0,869,870,3,142,71,0,870,157,1,0,0,0,871,872,5,312,0,0,872,873,
|
|
353
|
+
3,68,34,0,873,159,1,0,0,0,109,166,172,181,184,188,193,195,204,212,
|
|
354
|
+
225,251,259,263,266,269,272,275,278,281,284,290,293,296,299,301,
|
|
355
|
+
304,307,315,318,321,328,334,337,341,346,350,361,371,379,389,394,
|
|
356
|
+
404,406,413,421,425,432,436,438,445,454,462,467,474,482,486,491,
|
|
357
|
+
500,503,506,532,535,539,548,553,558,561,570,586,593,603,613,615,
|
|
358
|
+
625,631,638,646,652,665,670,684,688,693,699,708,717,729,739,742,
|
|
359
|
+
744,749,754,769,777,780,783,801,807,812,816,824,826,831,839,846,
|
|
360
|
+
848,852,861,867
|
|
361
361
|
]
|
|
362
362
|
|
|
363
363
|
class MySQLParser ( Parser ):
|
|
@@ -715,8 +715,7 @@ class MySQLParser ( Parser ):
|
|
|
715
715
|
"RPAREN", "LPAREN", "RBRACK", "LBRACK", "PLUS", "MINUS",
|
|
716
716
|
"NEGATION", "VERTBAR", "BITAND", "POWER_OP", "BACKTICK",
|
|
717
717
|
"GTH", "LTH", "INTEGER_NUM", "HEX_DIGIT", "BIT_NUM",
|
|
718
|
-
"REAL_NUMBER", "TEXT_STRING", "ID", "COMMENT", "WS"
|
|
719
|
-
"USER_VAR" ]
|
|
718
|
+
"REAL_NUMBER", "TEXT_STRING", "ID", "COMMENT", "WS" ]
|
|
720
719
|
|
|
721
720
|
RULE_relational_op = 0
|
|
722
721
|
RULE_cast_data_type = 1
|
|
@@ -1463,11 +1462,10 @@ class MySQLParser ( Parser ):
|
|
|
1463
1462
|
ID=638
|
|
1464
1463
|
COMMENT=639
|
|
1465
1464
|
WS=640
|
|
1466
|
-
USER_VAR=641
|
|
1467
1465
|
|
|
1468
1466
|
def __init__(self, input:TokenStream, output:TextIO = sys.stdout):
|
|
1469
1467
|
super().__init__(input, output)
|
|
1470
|
-
self.checkVersion("4.
|
|
1468
|
+
self.checkVersion("4.13.1")
|
|
1471
1469
|
self._interp = ParserATNSimulator(self, self.atn, self.decisionsToDFA, self.sharedContextCache)
|
|
1472
1470
|
self._predicates = None
|
|
1473
1471
|
|
|
@@ -1522,7 +1520,7 @@ class MySQLParser ( Parser ):
|
|
|
1522
1520
|
self.enterOuterAlt(localctx, 1)
|
|
1523
1521
|
self.state = 160
|
|
1524
1522
|
_la = self._input.LA(1)
|
|
1525
|
-
if not((((_la - 608)) & ~0x3f) == 0 and ((1 << (_la - 608)) & 25165839) != 0):
|
|
1523
|
+
if not(((((_la - 608)) & ~0x3f) == 0 and ((1 << (_la - 608)) & 25165839) != 0)):
|
|
1526
1524
|
self._errHandler.recoverInline(self)
|
|
1527
1525
|
else:
|
|
1528
1526
|
self._errHandler.reportMatch(self)
|
|
@@ -1916,7 +1914,7 @@ class MySQLParser ( Parser ):
|
|
|
1916
1914
|
self.enterOuterAlt(localctx, 1)
|
|
1917
1915
|
self.state = 214
|
|
1918
1916
|
_la = self._input.LA(1)
|
|
1919
|
-
if not((((_la - 75)) & ~0x3f) == 0 and ((1 << (_la - 75)) & 67553994410557471) != 0 or (((_la - 187)) & ~0x3f) == 0 and ((1 << (_la - 187)) & 211106500968519) != 0 or (((_la - 307)) & ~0x3f) == 0 and ((1 << (_la - 307)) & 1281) != 0):
|
|
1917
|
+
if not(((((_la - 75)) & ~0x3f) == 0 and ((1 << (_la - 75)) & 67553994410557471) != 0) or ((((_la - 187)) & ~0x3f) == 0 and ((1 << (_la - 187)) & 211106500968519) != 0) or ((((_la - 307)) & ~0x3f) == 0 and ((1 << (_la - 307)) & 1281) != 0)):
|
|
1920
1918
|
self._errHandler.recoverInline(self)
|
|
1921
1919
|
else:
|
|
1922
1920
|
self._errHandler.reportMatch(self)
|
|
@@ -2384,7 +2382,7 @@ class MySQLParser ( Parser ):
|
|
|
2384
2382
|
self.enterOuterAlt(localctx, 1)
|
|
2385
2383
|
self.state = 231
|
|
2386
2384
|
_la = self._input.LA(1)
|
|
2387
|
-
if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 6768904114176) != 0 or (((_la - 91)) & ~0x3f) == 0 and ((1 << (_la - 91)) & 844442112254977) != 0 or (((_la - 161)) & ~0x3f) == 0 and ((1 << (_la - 161)) & -4539610282413494077) != 0 or (((_la - 225)) & ~0x3f) == 0 and ((1 << (_la - 225)) & 4773816051694567523) != 0 or _la==292 or _la==310):
|
|
2385
|
+
if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 6768904114176) != 0) or ((((_la - 91)) & ~0x3f) == 0 and ((1 << (_la - 91)) & 844442112254977) != 0) or ((((_la - 161)) & ~0x3f) == 0 and ((1 << (_la - 161)) & -4539610282413494077) != 0) or ((((_la - 225)) & ~0x3f) == 0 and ((1 << (_la - 225)) & 4773816051694567523) != 0) or _la==292 or _la==310):
|
|
2388
2386
|
self._errHandler.recoverInline(self)
|
|
2389
2387
|
else:
|
|
2390
2388
|
self._errHandler.reportMatch(self)
|
|
@@ -2479,7 +2477,7 @@ class MySQLParser ( Parser ):
|
|
|
2479
2477
|
self.enterOuterAlt(localctx, 1)
|
|
2480
2478
|
self.state = 233
|
|
2481
2479
|
_la = self._input.LA(1)
|
|
2482
|
-
if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 562950180044800) != 0 or _la==121 or _la==183 or _la==190 or (((_la - 255)) & ~0x3f) == 0 and ((1 << (_la - 255)) & 1970324836975631) != 0):
|
|
2480
|
+
if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 562950180044800) != 0) or _la==121 or _la==183 or _la==190 or ((((_la - 255)) & ~0x3f) == 0 and ((1 << (_la - 255)) & 1970324836975631) != 0)):
|
|
2483
2481
|
self._errHandler.recoverInline(self)
|
|
2484
2482
|
else:
|
|
2485
2483
|
self._errHandler.reportMatch(self)
|
|
@@ -2613,7 +2611,7 @@ class MySQLParser ( Parser ):
|
|
|
2613
2611
|
self.enterOuterAlt(localctx, 1)
|
|
2614
2612
|
self.state = 235
|
|
2615
2613
|
_la = self._input.LA(1)
|
|
2616
|
-
if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 288670206572732422) != 0 or (((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & 4227073) != 0 or (((_la - 165)) & ~0x3f) == 0 and ((1 << (_la - 165)) & -9195365276604956447) != 0 or (((_la - 240)) & ~0x3f) == 0 and ((1 << (_la - 240)) & 17592722931717) != 0):
|
|
2614
|
+
if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 288670206572732422) != 0) or ((((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & 4227073) != 0) or ((((_la - 165)) & ~0x3f) == 0 and ((1 << (_la - 165)) & -9195365276604956447) != 0) or ((((_la - 240)) & ~0x3f) == 0 and ((1 << (_la - 240)) & 17592722931717) != 0)):
|
|
2617
2615
|
self._errHandler.recoverInline(self)
|
|
2618
2616
|
else:
|
|
2619
2617
|
self._errHandler.reportMatch(self)
|
|
@@ -2777,7 +2775,7 @@ class MySQLParser ( Parser ):
|
|
|
2777
2775
|
self.enterOuterAlt(localctx, 1)
|
|
2778
2776
|
self.state = 237
|
|
2779
2777
|
_la = self._input.LA(1)
|
|
2780
|
-
if not(((_la) & ~0x3f) == 0 and ((1 << _la) & 4611696257629683808) != 0 or (((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 36099166581817345) != 0 or (((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -9218023977933320141) != 0 or (((_la - 203)) & ~0x3f) == 0 and ((1 << (_la - 203)) & 2216740520001) != 0 or (((_la - 268)) & ~0x3f) == 0 and ((1 << (_la - 268)) & 300714819585) != 0):
|
|
2778
|
+
if not((((_la) & ~0x3f) == 0 and ((1 << _la) & 4611696257629683808) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & 36099166581817345) != 0) or ((((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -9218023977933320141) != 0) or ((((_la - 203)) & ~0x3f) == 0 and ((1 << (_la - 203)) & 2216740520001) != 0) or ((((_la - 268)) & ~0x3f) == 0 and ((1 << (_la - 268)) & 300714819585) != 0)):
|
|
2781
2779
|
self._errHandler.recoverInline(self)
|
|
2782
2780
|
else:
|
|
2783
2781
|
self._errHandler.reportMatch(self)
|
|
@@ -2980,7 +2978,7 @@ class MySQLParser ( Parser ):
|
|
|
2980
2978
|
self.enterOuterAlt(localctx, 1)
|
|
2981
2979
|
self.state = 239
|
|
2982
2980
|
_la = self._input.LA(1)
|
|
2983
|
-
if not(((_la) & ~0x3f) == 0 and ((1 << _la) & -6917458658896904168) != 0 or (((_la - 65)) & ~0x3f) == 0 and ((1 << (_la - 65)) & 4621537780051215357) != 0 or (((_la - 153)) & ~0x3f) == 0 and ((1 << (_la - 153)) & 5044070087137427457) != 0 or (((_la - 233)) & ~0x3f) == 0 and ((1 << (_la - 233)) & 72514735592964101) != 0 or (((_la - 297)) & ~0x3f) == 0 and ((1 << (_la - 297)) & 793607) != 0):
|
|
2981
|
+
if not((((_la) & ~0x3f) == 0 and ((1 << _la) & -6917458658896904168) != 0) or ((((_la - 65)) & ~0x3f) == 0 and ((1 << (_la - 65)) & 4621537780051215357) != 0) or ((((_la - 153)) & ~0x3f) == 0 and ((1 << (_la - 153)) & 5044070087137427457) != 0) or ((((_la - 233)) & ~0x3f) == 0 and ((1 << (_la - 233)) & 72514735592964101) != 0) or ((((_la - 297)) & ~0x3f) == 0 and ((1 << (_la - 297)) & 793607) != 0)):
|
|
2984
2982
|
self._errHandler.recoverInline(self)
|
|
2985
2983
|
else:
|
|
2986
2984
|
self._errHandler.reportMatch(self)
|
|
@@ -3852,7 +3850,7 @@ class MySQLParser ( Parser ):
|
|
|
3852
3850
|
self.enterOuterAlt(localctx, 1)
|
|
3853
3851
|
self.state = 241
|
|
3854
3852
|
_la = self._input.LA(1)
|
|
3855
|
-
if not((((_la - 318)) & ~0x3f) == 0 and ((1 << (_la - 318)) & -1) != 0 or (((_la - 382)) & ~0x3f) == 0 and ((1 << (_la - 382)) & -1) != 0 or (((_la - 446)) & ~0x3f) == 0 and ((1 << (_la - 446)) & -1) != 0 or (((_la - 510)) & ~0x3f) == 0 and ((1 << (_la - 510)) & -1) != 0 or (((_la - 574)) & ~0x3f) == 0 and ((1 << (_la - 574)) & 1048575) != 0):
|
|
3853
|
+
if not(((((_la - 318)) & ~0x3f) == 0 and ((1 << (_la - 318)) & -1) != 0) or ((((_la - 382)) & ~0x3f) == 0 and ((1 << (_la - 382)) & -1) != 0) or ((((_la - 446)) & ~0x3f) == 0 and ((1 << (_la - 446)) & -1) != 0) or ((((_la - 510)) & ~0x3f) == 0 and ((1 << (_la - 510)) & -1) != 0) or ((((_la - 574)) & ~0x3f) == 0 and ((1 << (_la - 574)) & 1048575) != 0)):
|
|
3856
3854
|
self._errHandler.recoverInline(self)
|
|
3857
3855
|
else:
|
|
3858
3856
|
self._errHandler.reportMatch(self)
|
|
@@ -3920,7 +3918,7 @@ class MySQLParser ( Parser ):
|
|
|
3920
3918
|
self.enterOuterAlt(localctx, 1)
|
|
3921
3919
|
self.state = 243
|
|
3922
3920
|
_la = self._input.LA(1)
|
|
3923
|
-
if not((((_la - 594)) & ~0x3f) == 0 and ((1 << (_la - 594)) & 255) != 0):
|
|
3921
|
+
if not(((((_la - 594)) & ~0x3f) == 0 and ((1 << (_la - 594)) & 255) != 0)):
|
|
3924
3922
|
self._errHandler.recoverInline(self)
|
|
3925
3923
|
else:
|
|
3926
3924
|
self._errHandler.reportMatch(self)
|
|
@@ -4685,7 +4683,7 @@ class MySQLParser ( Parser ):
|
|
|
4685
4683
|
self.state = 344
|
|
4686
4684
|
self.case_when_statement1()
|
|
4687
4685
|
pass
|
|
4688
|
-
elif token in [1, 2, 3, 4, 5, 6, 12, 13, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 58, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 82, 83, 84, 86, 87, 91, 92, 93, 98, 99, 101, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 118, 119, 121, 125, 127, 132, 133, 136, 137, 139, 140, 142, 144, 146, 153, 154, 161, 162, 165, 167, 168, 170, 171, 172, 173, 174, 175, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 190, 191, 193, 194, 195, 198, 199, 200, 203, 205, 209, 210, 211, 212, 213, 214, 215, 217, 218, 219, 222, 223, 224, 225, 226, 228, 229, 230, 231, 232, 233, 235, 237, 240, 242, 244, 245, 247, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 267, 268, 269, 271, 272, 273, 274, 275, 276, 277, 279, 280, 281, 282, 283, 284, 287, 289, 292, 294, 297, 298, 299, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 315, 316, 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, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 621, 624, 625, 626, 633, 634, 635, 636, 637, 638
|
|
4686
|
+
elif token in [1, 2, 3, 4, 5, 6, 12, 13, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 58, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 82, 83, 84, 86, 87, 91, 92, 93, 98, 99, 101, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 118, 119, 121, 125, 127, 132, 133, 136, 137, 139, 140, 142, 144, 146, 153, 154, 161, 162, 165, 167, 168, 170, 171, 172, 173, 174, 175, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 190, 191, 193, 194, 195, 198, 199, 200, 203, 205, 209, 210, 211, 212, 213, 214, 215, 217, 218, 219, 222, 223, 224, 225, 226, 228, 229, 230, 231, 232, 233, 235, 237, 240, 242, 244, 245, 247, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 267, 268, 269, 271, 272, 273, 274, 275, 276, 277, 279, 280, 281, 282, 283, 284, 287, 289, 292, 294, 297, 298, 299, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 315, 316, 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, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 621, 624, 625, 626, 633, 634, 635, 636, 637, 638]:
|
|
4689
4687
|
self.state = 345
|
|
4690
4688
|
self.case_when_statement2()
|
|
4691
4689
|
pass
|
|
@@ -5817,7 +5815,7 @@ class MySQLParser ( Parser ):
|
|
|
5817
5815
|
if _alt==1:
|
|
5818
5816
|
self.state = 478
|
|
5819
5817
|
_la = self._input.LA(1)
|
|
5820
|
-
if not((((_la - 603)) & ~0x3f) == 0 and ((1 << (_la - 603)) & 67174403) != 0):
|
|
5818
|
+
if not(((((_la - 603)) & ~0x3f) == 0 and ((1 << (_la - 603)) & 67174403) != 0)):
|
|
5821
5819
|
self._errHandler.recoverInline(self)
|
|
5822
5820
|
else:
|
|
5823
5821
|
self._errHandler.reportMatch(self)
|
|
@@ -5897,7 +5895,7 @@ class MySQLParser ( Parser ):
|
|
|
5897
5895
|
if la_ == 1:
|
|
5898
5896
|
self.state = 485
|
|
5899
5897
|
_la = self._input.LA(1)
|
|
5900
|
-
if not(_la==22 or (((_la - 624)) & ~0x3f) == 0 and ((1 << (_la - 624)) & 7) != 0):
|
|
5898
|
+
if not(_la==22 or ((((_la - 624)) & ~0x3f) == 0 and ((1 << (_la - 624)) & 7) != 0)):
|
|
5901
5899
|
self._errHandler.recoverInline(self)
|
|
5902
5900
|
else:
|
|
5903
5901
|
self._errHandler.reportMatch(self)
|
|
@@ -6033,7 +6031,7 @@ class MySQLParser ( Parser ):
|
|
|
6033
6031
|
self.state = 503
|
|
6034
6032
|
self._errHandler.sync(self)
|
|
6035
6033
|
_la = self._input.LA(1)
|
|
6036
|
-
if ((_la) & ~0x3f) == 0 and ((1 << _la) & -2016487284791594882) != 0 or (((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -6717303647121963013) != 0 or (((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -1369147224870595149) != 0 or (((_la - 197)) & ~0x3f) == 0 and ((1 << (_la - 197)) & -4754207602937171633) != 0 or (((_la - 261)) & ~0x3f) == 0 and ((1 << (_la - 261)) & -88946700026249761) != 0 or (((_la - 325)) & ~0x3f) == 0 and ((1 << (_la - 325)) & -1) != 0 or (((_la - 389)) & ~0x3f) == 0 and ((1 << (_la - 389)) & -1) != 0 or (((_la - 453)) & ~0x3f) == 0 and ((1 << (_la - 453)) & -1) != 0 or (((_la - 517)) & ~0x3f) == 0 and ((1 << (_la - 517)) & -1) != 0 or (((_la - 581)) & ~0x3f) == 0 and ((1 << (_la - 581)) &
|
|
6034
|
+
if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2016487284791594882) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -6717303647121963013) != 0) or ((((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -1369147224870595149) != 0) or ((((_la - 197)) & ~0x3f) == 0 and ((1 << (_la - 197)) & -4754207602937171633) != 0) or ((((_la - 261)) & ~0x3f) == 0 and ((1 << (_la - 261)) & -88946700026249761) != 0) or ((((_la - 325)) & ~0x3f) == 0 and ((1 << (_la - 325)) & -1) != 0) or ((((_la - 389)) & ~0x3f) == 0 and ((1 << (_la - 389)) & -1) != 0) or ((((_la - 453)) & ~0x3f) == 0 and ((1 << (_la - 453)) & -1) != 0) or ((((_la - 517)) & ~0x3f) == 0 and ((1 << (_la - 517)) & -1) != 0) or ((((_la - 581)) & ~0x3f) == 0 and ((1 << (_la - 581)) & 283789448689221631) != 0):
|
|
6037
6035
|
self.state = 495
|
|
6038
6036
|
self.expression()
|
|
6039
6037
|
self.state = 500
|
|
@@ -6126,7 +6124,7 @@ class MySQLParser ( Parser ):
|
|
|
6126
6124
|
self.state = 535
|
|
6127
6125
|
self._errHandler.sync(self)
|
|
6128
6126
|
_la = self._input.LA(1)
|
|
6129
|
-
if ((_la) & ~0x3f) == 0 and ((1 << _la) & -2016487284791594882) != 0 or (((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -6717303647121963013) != 0 or (((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -1369147224870595149) != 0 or (((_la - 198)) & ~0x3f) == 0 and ((1 << (_la - 198)) & -2377103801468585817) != 0 or (((_la - 262)) & ~0x3f) == 0 and ((1 << (_la - 262)) & -44473350013124881) != 0 or (((_la - 326)) & ~0x3f) == 0 and ((1 << (_la - 326)) & -1) != 0 or (((_la - 390)) & ~0x3f) == 0 and ((1 << (_la - 390)) & -1) != 0 or (((_la - 454)) & ~0x3f) == 0 and ((1 << (_la - 454)) & -1) != 0 or (((_la - 518)) & ~0x3f) == 0 and ((1 << (_la - 518)) & -1) != 0 or (((_la - 582)) & ~0x3f) == 0 and ((1 << (_la - 582)) &
|
|
6127
|
+
if (((_la) & ~0x3f) == 0 and ((1 << _la) & -2016487284791594882) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & -6717303647121963013) != 0) or ((((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & -1369147224870595149) != 0) or ((((_la - 198)) & ~0x3f) == 0 and ((1 << (_la - 198)) & -2377103801468585817) != 0) or ((((_la - 262)) & ~0x3f) == 0 and ((1 << (_la - 262)) & -44473350013124881) != 0) or ((((_la - 326)) & ~0x3f) == 0 and ((1 << (_la - 326)) & -1) != 0) or ((((_la - 390)) & ~0x3f) == 0 and ((1 << (_la - 390)) & -1) != 0) or ((((_la - 454)) & ~0x3f) == 0 and ((1 << (_la - 454)) & -1) != 0) or ((((_la - 518)) & ~0x3f) == 0 and ((1 << (_la - 518)) & -1) != 0) or ((((_la - 582)) & ~0x3f) == 0 and ((1 << (_la - 582)) & 141894724344610815) != 0):
|
|
6130
6128
|
self.state = 534
|
|
6131
6129
|
self.bit_expr()
|
|
6132
6130
|
|
|
@@ -7816,7 +7814,7 @@ class MySQLParser ( Parser ):
|
|
|
7816
7814
|
self.state = 744
|
|
7817
7815
|
self._errHandler.sync(self)
|
|
7818
7816
|
token = self._input.LA(1)
|
|
7819
|
-
if token in [1, 2, 3, 4, 5, 6, 12, 13, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 58, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 82, 83, 84, 86, 87, 91, 92, 93, 98, 99, 101, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 118, 119, 121, 125, 127, 132, 133, 136, 137, 139, 140, 142, 144, 146, 153, 154, 161, 162, 165, 167, 168, 170, 171, 172, 173, 174, 175, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 190, 191, 193, 194, 195, 198, 199, 200, 203, 205, 209, 210, 211, 212, 213, 214, 215, 217, 218, 219, 222, 223, 224, 225, 226, 228, 229, 230, 231, 232, 233, 235, 237, 240, 242, 244, 245, 247, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 267, 268, 269, 271, 272, 273, 274, 275, 276, 277, 279, 280, 281, 282, 283, 284, 287, 289, 292, 294, 297, 298, 299, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 315, 316, 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, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 621, 624, 625, 626, 633, 634, 635, 636, 637, 638
|
|
7817
|
+
if token in [1, 2, 3, 4, 5, 6, 12, 13, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 58, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 82, 83, 84, 86, 87, 91, 92, 93, 98, 99, 101, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 118, 119, 121, 125, 127, 132, 133, 136, 137, 139, 140, 142, 144, 146, 153, 154, 161, 162, 165, 167, 168, 170, 171, 172, 173, 174, 175, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 190, 191, 193, 194, 195, 198, 199, 200, 203, 205, 209, 210, 211, 212, 213, 214, 215, 217, 218, 219, 222, 223, 224, 225, 226, 228, 229, 230, 231, 232, 233, 235, 237, 240, 242, 244, 245, 247, 254, 255, 256, 257, 258, 260, 261, 262, 263, 264, 265, 267, 268, 269, 271, 272, 273, 274, 275, 276, 277, 279, 280, 281, 282, 283, 284, 287, 289, 292, 294, 297, 298, 299, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 315, 316, 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, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 621, 624, 625, 626, 633, 634, 635, 636, 637, 638]:
|
|
7820
7818
|
self.state = 724
|
|
7821
7819
|
self.displayed_column()
|
|
7822
7820
|
self.state = 729
|
|
@@ -7971,9 +7969,6 @@ class MySQLParser ( Parser ):
|
|
|
7971
7969
|
return self.getTypedRuleContext(MySQLParser.Function_callContext,0)
|
|
7972
7970
|
|
|
7973
7971
|
|
|
7974
|
-
def USER_VAR(self):
|
|
7975
|
-
return self.getToken(MySQLParser.USER_VAR, 0)
|
|
7976
|
-
|
|
7977
7972
|
def ROW_SYM(self):
|
|
7978
7973
|
return self.getToken(MySQLParser.ROW_SYM, 0)
|
|
7979
7974
|
|
|
@@ -8015,7 +8010,7 @@ class MySQLParser ( Parser ):
|
|
|
8015
8010
|
localctx = MySQLParser.Simple_exprContext(self, self._ctx, self.state)
|
|
8016
8011
|
self.enterRule(localctx, 136, self.RULE_simple_expr)
|
|
8017
8012
|
try:
|
|
8018
|
-
self.state =
|
|
8013
|
+
self.state = 769
|
|
8019
8014
|
self._errHandler.sync(self)
|
|
8020
8015
|
la_ = self._interp.adaptivePredict(self._input,92,self._ctx)
|
|
8021
8016
|
if la_ == 1:
|
|
@@ -8045,46 +8040,40 @@ class MySQLParser ( Parser ):
|
|
|
8045
8040
|
elif la_ == 5:
|
|
8046
8041
|
self.enterOuterAlt(localctx, 5)
|
|
8047
8042
|
self.state = 761
|
|
8048
|
-
self.match(MySQLParser.
|
|
8043
|
+
self.match(MySQLParser.ROW_SYM)
|
|
8044
|
+
self.state = 762
|
|
8045
|
+
self.expression_list()
|
|
8049
8046
|
pass
|
|
8050
8047
|
|
|
8051
8048
|
elif la_ == 6:
|
|
8052
8049
|
self.enterOuterAlt(localctx, 6)
|
|
8053
|
-
self.state = 762
|
|
8054
|
-
self.match(MySQLParser.ROW_SYM)
|
|
8055
8050
|
self.state = 763
|
|
8056
|
-
self.
|
|
8051
|
+
self.subquery()
|
|
8057
8052
|
pass
|
|
8058
8053
|
|
|
8059
8054
|
elif la_ == 7:
|
|
8060
8055
|
self.enterOuterAlt(localctx, 7)
|
|
8061
8056
|
self.state = 764
|
|
8057
|
+
self.match(MySQLParser.EXISTS)
|
|
8058
|
+
self.state = 765
|
|
8062
8059
|
self.subquery()
|
|
8063
8060
|
pass
|
|
8064
8061
|
|
|
8065
8062
|
elif la_ == 8:
|
|
8066
8063
|
self.enterOuterAlt(localctx, 8)
|
|
8067
|
-
self.state = 765
|
|
8068
|
-
self.match(MySQLParser.EXISTS)
|
|
8069
8064
|
self.state = 766
|
|
8070
|
-
self.
|
|
8065
|
+
self.interval_expr()
|
|
8071
8066
|
pass
|
|
8072
8067
|
|
|
8073
8068
|
elif la_ == 9:
|
|
8074
8069
|
self.enterOuterAlt(localctx, 9)
|
|
8075
8070
|
self.state = 767
|
|
8076
|
-
self.
|
|
8071
|
+
self.match_against_statement()
|
|
8077
8072
|
pass
|
|
8078
8073
|
|
|
8079
8074
|
elif la_ == 10:
|
|
8080
8075
|
self.enterOuterAlt(localctx, 10)
|
|
8081
8076
|
self.state = 768
|
|
8082
|
-
self.match_against_statement()
|
|
8083
|
-
pass
|
|
8084
|
-
|
|
8085
|
-
elif la_ == 11:
|
|
8086
|
-
self.enterOuterAlt(localctx, 11)
|
|
8087
|
-
self.state = 769
|
|
8088
8077
|
self.case_when_statement()
|
|
8089
8078
|
pass
|
|
8090
8079
|
|
|
@@ -8135,11 +8124,11 @@ class MySQLParser ( Parser ):
|
|
|
8135
8124
|
self.enterRule(localctx, 138, self.RULE_subquery)
|
|
8136
8125
|
try:
|
|
8137
8126
|
self.enterOuterAlt(localctx, 1)
|
|
8138
|
-
self.state =
|
|
8127
|
+
self.state = 771
|
|
8139
8128
|
self.match(MySQLParser.LPAREN)
|
|
8140
|
-
self.state =
|
|
8129
|
+
self.state = 772
|
|
8141
8130
|
self.select_statement()
|
|
8142
|
-
self.state =
|
|
8131
|
+
self.state = 773
|
|
8143
8132
|
self.match(MySQLParser.RPAREN)
|
|
8144
8133
|
except RecognitionException as re:
|
|
8145
8134
|
localctx.exception = re
|
|
@@ -8233,34 +8222,34 @@ class MySQLParser ( Parser ):
|
|
|
8233
8222
|
self.enterRule(localctx, 140, self.RULE_table_atom)
|
|
8234
8223
|
self._la = 0 # Token type
|
|
8235
8224
|
try:
|
|
8236
|
-
self.state =
|
|
8225
|
+
self.state = 801
|
|
8237
8226
|
self._errHandler.sync(self)
|
|
8238
8227
|
la_ = self._interp.adaptivePredict(self._input,96,self._ctx)
|
|
8239
8228
|
if la_ == 1:
|
|
8240
8229
|
self.enterOuterAlt(localctx, 1)
|
|
8241
|
-
self.state =
|
|
8230
|
+
self.state = 775
|
|
8242
8231
|
self.table_spec()
|
|
8243
|
-
self.state =
|
|
8232
|
+
self.state = 777
|
|
8244
8233
|
self._errHandler.sync(self)
|
|
8245
8234
|
la_ = self._interp.adaptivePredict(self._input,93,self._ctx)
|
|
8246
8235
|
if la_ == 1:
|
|
8247
|
-
self.state =
|
|
8236
|
+
self.state = 776
|
|
8248
8237
|
self.partition_clause()
|
|
8249
8238
|
|
|
8250
8239
|
|
|
8251
|
-
self.state =
|
|
8240
|
+
self.state = 780
|
|
8252
8241
|
self._errHandler.sync(self)
|
|
8253
8242
|
_la = self._input.LA(1)
|
|
8254
8243
|
if _la==14 or _la==638:
|
|
8255
|
-
self.state =
|
|
8244
|
+
self.state = 779
|
|
8256
8245
|
self.alias()
|
|
8257
8246
|
|
|
8258
8247
|
|
|
8259
|
-
self.state =
|
|
8248
|
+
self.state = 783
|
|
8260
8249
|
self._errHandler.sync(self)
|
|
8261
8250
|
_la = self._input.LA(1)
|
|
8262
8251
|
if _la==107 or _la==134 or _la==295:
|
|
8263
|
-
self.state =
|
|
8252
|
+
self.state = 782
|
|
8264
8253
|
self.index_hint_list()
|
|
8265
8254
|
|
|
8266
8255
|
|
|
@@ -8268,39 +8257,39 @@ class MySQLParser ( Parser ):
|
|
|
8268
8257
|
|
|
8269
8258
|
elif la_ == 2:
|
|
8270
8259
|
self.enterOuterAlt(localctx, 2)
|
|
8271
|
-
self.state =
|
|
8260
|
+
self.state = 785
|
|
8272
8261
|
self.subquery()
|
|
8273
|
-
self.state =
|
|
8262
|
+
self.state = 786
|
|
8274
8263
|
self.alias()
|
|
8275
8264
|
pass
|
|
8276
8265
|
|
|
8277
8266
|
elif la_ == 3:
|
|
8278
8267
|
self.enterOuterAlt(localctx, 3)
|
|
8279
|
-
self.state =
|
|
8268
|
+
self.state = 788
|
|
8280
8269
|
self.match(MySQLParser.LPAREN)
|
|
8281
|
-
self.state =
|
|
8270
|
+
self.state = 789
|
|
8282
8271
|
self.table_references()
|
|
8283
|
-
self.state =
|
|
8272
|
+
self.state = 790
|
|
8284
8273
|
self.match(MySQLParser.RPAREN)
|
|
8285
8274
|
pass
|
|
8286
8275
|
|
|
8287
8276
|
elif la_ == 4:
|
|
8288
8277
|
self.enterOuterAlt(localctx, 4)
|
|
8289
|
-
self.state =
|
|
8278
|
+
self.state = 792
|
|
8290
8279
|
self.match(MySQLParser.OJ_SYM)
|
|
8291
|
-
self.state =
|
|
8280
|
+
self.state = 793
|
|
8292
8281
|
self.table_reference()
|
|
8293
|
-
self.state =
|
|
8282
|
+
self.state = 794
|
|
8294
8283
|
self.match(MySQLParser.LEFT)
|
|
8295
|
-
self.state =
|
|
8284
|
+
self.state = 795
|
|
8296
8285
|
self.match(MySQLParser.OUTER)
|
|
8297
|
-
self.state =
|
|
8286
|
+
self.state = 796
|
|
8298
8287
|
self.match(MySQLParser.JOIN_SYM)
|
|
8299
|
-
self.state =
|
|
8288
|
+
self.state = 797
|
|
8300
8289
|
self.table_reference()
|
|
8301
|
-
self.state =
|
|
8290
|
+
self.state = 798
|
|
8302
8291
|
self.match(MySQLParser.ON)
|
|
8303
|
-
self.state =
|
|
8292
|
+
self.state = 799
|
|
8304
8293
|
self.expression()
|
|
8305
8294
|
pass
|
|
8306
8295
|
|
|
@@ -8344,7 +8333,7 @@ class MySQLParser ( Parser ):
|
|
|
8344
8333
|
self.enterRule(localctx, 142, self.RULE_table_name)
|
|
8345
8334
|
try:
|
|
8346
8335
|
self.enterOuterAlt(localctx, 1)
|
|
8347
|
-
self.state =
|
|
8336
|
+
self.state = 803
|
|
8348
8337
|
self.match(MySQLParser.ID)
|
|
8349
8338
|
except RecognitionException as re:
|
|
8350
8339
|
localctx.exception = re
|
|
@@ -8419,17 +8408,17 @@ class MySQLParser ( Parser ):
|
|
|
8419
8408
|
self._la = 0 # Token type
|
|
8420
8409
|
try:
|
|
8421
8410
|
self.enterOuterAlt(localctx, 1)
|
|
8422
|
-
self.state =
|
|
8411
|
+
self.state = 805
|
|
8423
8412
|
self.table_factor2()
|
|
8424
|
-
self.state =
|
|
8413
|
+
self.state = 816
|
|
8425
8414
|
self._errHandler.sync(self)
|
|
8426
8415
|
_la = self._input.LA(1)
|
|
8427
8416
|
while _la==60 or _la==138 or _la==147:
|
|
8428
|
-
self.state =
|
|
8417
|
+
self.state = 807
|
|
8429
8418
|
self._errHandler.sync(self)
|
|
8430
8419
|
_la = self._input.LA(1)
|
|
8431
8420
|
if _la==60 or _la==138:
|
|
8432
|
-
self.state =
|
|
8421
|
+
self.state = 806
|
|
8433
8422
|
_la = self._input.LA(1)
|
|
8434
8423
|
if not(_la==60 or _la==138):
|
|
8435
8424
|
self._errHandler.recoverInline(self)
|
|
@@ -8438,19 +8427,19 @@ class MySQLParser ( Parser ):
|
|
|
8438
8427
|
self.consume()
|
|
8439
8428
|
|
|
8440
8429
|
|
|
8441
|
-
self.state =
|
|
8430
|
+
self.state = 809
|
|
8442
8431
|
self.match(MySQLParser.JOIN_SYM)
|
|
8443
|
-
self.state =
|
|
8432
|
+
self.state = 810
|
|
8444
8433
|
self.table_atom()
|
|
8445
|
-
self.state =
|
|
8434
|
+
self.state = 812
|
|
8446
8435
|
self._errHandler.sync(self)
|
|
8447
8436
|
la_ = self._interp.adaptivePredict(self._input,98,self._ctx)
|
|
8448
8437
|
if la_ == 1:
|
|
8449
|
-
self.state =
|
|
8438
|
+
self.state = 811
|
|
8450
8439
|
self.join_condition()
|
|
8451
8440
|
|
|
8452
8441
|
|
|
8453
|
-
self.state =
|
|
8442
|
+
self.state = 818
|
|
8454
8443
|
self._errHandler.sync(self)
|
|
8455
8444
|
_la = self._input.LA(1)
|
|
8456
8445
|
|
|
@@ -8509,23 +8498,23 @@ class MySQLParser ( Parser ):
|
|
|
8509
8498
|
self._la = 0 # Token type
|
|
8510
8499
|
try:
|
|
8511
8500
|
self.enterOuterAlt(localctx, 1)
|
|
8512
|
-
self.state =
|
|
8501
|
+
self.state = 819
|
|
8513
8502
|
self.table_factor3()
|
|
8514
|
-
self.state =
|
|
8503
|
+
self.state = 826
|
|
8515
8504
|
self._errHandler.sync(self)
|
|
8516
8505
|
_la = self._input.LA(1)
|
|
8517
8506
|
if _la==259:
|
|
8518
|
-
self.state =
|
|
8507
|
+
self.state = 820
|
|
8519
8508
|
self.match(MySQLParser.STRAIGHT_JOIN)
|
|
8520
|
-
self.state =
|
|
8509
|
+
self.state = 821
|
|
8521
8510
|
self.table_atom()
|
|
8522
|
-
self.state =
|
|
8511
|
+
self.state = 824
|
|
8523
8512
|
self._errHandler.sync(self)
|
|
8524
8513
|
la_ = self._interp.adaptivePredict(self._input,100,self._ctx)
|
|
8525
8514
|
if la_ == 1:
|
|
8526
|
-
self.state =
|
|
8515
|
+
self.state = 822
|
|
8527
8516
|
self.match(MySQLParser.ON)
|
|
8528
|
-
self.state =
|
|
8517
|
+
self.state = 823
|
|
8529
8518
|
self.expression()
|
|
8530
8519
|
|
|
8531
8520
|
|
|
@@ -8606,35 +8595,35 @@ class MySQLParser ( Parser ):
|
|
|
8606
8595
|
self._la = 0 # Token type
|
|
8607
8596
|
try:
|
|
8608
8597
|
self.enterOuterAlt(localctx, 1)
|
|
8609
|
-
self.state =
|
|
8598
|
+
self.state = 828
|
|
8610
8599
|
self.table_factor4()
|
|
8611
|
-
self.state =
|
|
8600
|
+
self.state = 839
|
|
8612
8601
|
self._errHandler.sync(self)
|
|
8613
8602
|
_alt = self._interp.adaptivePredict(self._input,103,self._ctx)
|
|
8614
8603
|
while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
|
|
8615
8604
|
if _alt==1:
|
|
8616
|
-
self.state =
|
|
8605
|
+
self.state = 829
|
|
8617
8606
|
_la = self._input.LA(1)
|
|
8618
8607
|
if not(_la==161 or _la==226):
|
|
8619
8608
|
self._errHandler.recoverInline(self)
|
|
8620
8609
|
else:
|
|
8621
8610
|
self._errHandler.reportMatch(self)
|
|
8622
8611
|
self.consume()
|
|
8623
|
-
self.state =
|
|
8612
|
+
self.state = 831
|
|
8624
8613
|
self._errHandler.sync(self)
|
|
8625
8614
|
_la = self._input.LA(1)
|
|
8626
8615
|
if _la==207:
|
|
8627
|
-
self.state =
|
|
8616
|
+
self.state = 830
|
|
8628
8617
|
self.match(MySQLParser.OUTER)
|
|
8629
8618
|
|
|
8630
8619
|
|
|
8631
|
-
self.state =
|
|
8620
|
+
self.state = 833
|
|
8632
8621
|
self.match(MySQLParser.JOIN_SYM)
|
|
8633
|
-
self.state =
|
|
8622
|
+
self.state = 834
|
|
8634
8623
|
self.table_factor4()
|
|
8635
|
-
self.state =
|
|
8624
|
+
self.state = 835
|
|
8636
8625
|
self.join_condition()
|
|
8637
|
-
self.state =
|
|
8626
|
+
self.state = 841
|
|
8638
8627
|
self._errHandler.sync(self)
|
|
8639
8628
|
_alt = self._interp.adaptivePredict(self._input,103,self._ctx)
|
|
8640
8629
|
|
|
@@ -8697,38 +8686,38 @@ class MySQLParser ( Parser ):
|
|
|
8697
8686
|
self._la = 0 # Token type
|
|
8698
8687
|
try:
|
|
8699
8688
|
self.enterOuterAlt(localctx, 1)
|
|
8700
|
-
self.state =
|
|
8689
|
+
self.state = 842
|
|
8701
8690
|
self.table_atom()
|
|
8702
|
-
self.state =
|
|
8691
|
+
self.state = 852
|
|
8703
8692
|
self._errHandler.sync(self)
|
|
8704
8693
|
_la = self._input.LA(1)
|
|
8705
8694
|
if _la==196:
|
|
8706
|
-
self.state =
|
|
8695
|
+
self.state = 843
|
|
8707
8696
|
self.match(MySQLParser.NATURAL)
|
|
8708
|
-
self.state =
|
|
8697
|
+
self.state = 848
|
|
8709
8698
|
self._errHandler.sync(self)
|
|
8710
8699
|
_la = self._input.LA(1)
|
|
8711
8700
|
if _la==161 or _la==226:
|
|
8712
|
-
self.state =
|
|
8701
|
+
self.state = 844
|
|
8713
8702
|
_la = self._input.LA(1)
|
|
8714
8703
|
if not(_la==161 or _la==226):
|
|
8715
8704
|
self._errHandler.recoverInline(self)
|
|
8716
8705
|
else:
|
|
8717
8706
|
self._errHandler.reportMatch(self)
|
|
8718
8707
|
self.consume()
|
|
8719
|
-
self.state =
|
|
8708
|
+
self.state = 846
|
|
8720
8709
|
self._errHandler.sync(self)
|
|
8721
8710
|
_la = self._input.LA(1)
|
|
8722
8711
|
if _la==207:
|
|
8723
|
-
self.state =
|
|
8712
|
+
self.state = 845
|
|
8724
8713
|
self.match(MySQLParser.OUTER)
|
|
8725
8714
|
|
|
8726
8715
|
|
|
8727
8716
|
|
|
8728
8717
|
|
|
8729
|
-
self.state =
|
|
8718
|
+
self.state = 850
|
|
8730
8719
|
self.match(MySQLParser.JOIN_SYM)
|
|
8731
|
-
self.state =
|
|
8720
|
+
self.state = 851
|
|
8732
8721
|
self.table_atom()
|
|
8733
8722
|
|
|
8734
8723
|
|
|
@@ -8772,7 +8761,7 @@ class MySQLParser ( Parser ):
|
|
|
8772
8761
|
self.enterRule(localctx, 152, self.RULE_table_reference)
|
|
8773
8762
|
try:
|
|
8774
8763
|
self.enterOuterAlt(localctx, 1)
|
|
8775
|
-
self.state =
|
|
8764
|
+
self.state = 854
|
|
8776
8765
|
self.table_factor1()
|
|
8777
8766
|
except RecognitionException as re:
|
|
8778
8767
|
localctx.exception = re
|
|
@@ -8824,17 +8813,17 @@ class MySQLParser ( Parser ):
|
|
|
8824
8813
|
self._la = 0 # Token type
|
|
8825
8814
|
try:
|
|
8826
8815
|
self.enterOuterAlt(localctx, 1)
|
|
8827
|
-
self.state =
|
|
8816
|
+
self.state = 856
|
|
8828
8817
|
self.table_reference()
|
|
8829
|
-
self.state =
|
|
8818
|
+
self.state = 861
|
|
8830
8819
|
self._errHandler.sync(self)
|
|
8831
8820
|
_la = self._input.LA(1)
|
|
8832
8821
|
while _la==618:
|
|
8833
|
-
self.state =
|
|
8822
|
+
self.state = 857
|
|
8834
8823
|
self.match(MySQLParser.COMMA)
|
|
8835
|
-
self.state =
|
|
8824
|
+
self.state = 858
|
|
8836
8825
|
self.table_reference()
|
|
8837
|
-
self.state =
|
|
8826
|
+
self.state = 863
|
|
8838
8827
|
self._errHandler.sync(self)
|
|
8839
8828
|
_la = self._input.LA(1)
|
|
8840
8829
|
|
|
@@ -8885,17 +8874,17 @@ class MySQLParser ( Parser ):
|
|
|
8885
8874
|
self.enterRule(localctx, 156, self.RULE_table_spec)
|
|
8886
8875
|
try:
|
|
8887
8876
|
self.enterOuterAlt(localctx, 1)
|
|
8888
|
-
self.state =
|
|
8877
|
+
self.state = 867
|
|
8889
8878
|
self._errHandler.sync(self)
|
|
8890
8879
|
la_ = self._interp.adaptivePredict(self._input,108,self._ctx)
|
|
8891
8880
|
if la_ == 1:
|
|
8892
|
-
self.state =
|
|
8881
|
+
self.state = 864
|
|
8893
8882
|
self.schema_name()
|
|
8894
|
-
self.state =
|
|
8883
|
+
self.state = 865
|
|
8895
8884
|
self.match(MySQLParser.DOT)
|
|
8896
8885
|
|
|
8897
8886
|
|
|
8898
|
-
self.state =
|
|
8887
|
+
self.state = 869
|
|
8899
8888
|
self.table_name()
|
|
8900
8889
|
except RecognitionException as re:
|
|
8901
8890
|
localctx.exception = re
|
|
@@ -8940,9 +8929,9 @@ class MySQLParser ( Parser ):
|
|
|
8940
8929
|
self.enterRule(localctx, 158, self.RULE_where_clause)
|
|
8941
8930
|
try:
|
|
8942
8931
|
self.enterOuterAlt(localctx, 1)
|
|
8943
|
-
self.state =
|
|
8932
|
+
self.state = 871
|
|
8944
8933
|
self.match(MySQLParser.WHERE)
|
|
8945
|
-
self.state =
|
|
8934
|
+
self.state = 872
|
|
8946
8935
|
self.expression()
|
|
8947
8936
|
except RecognitionException as re:
|
|
8948
8937
|
localctx.exception = re
|