sql-parser-vlad 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sql-parser/parser.racc +1 -0
- data/lib/sql-parser/parser.racc.rb +542 -527
- data/lib/sql-parser/parser.tab.rb +1630 -0
- data/lib/sql-parser/version.rb +1 -1
- metadata +3 -2
@@ -11,7 +11,7 @@ require File.dirname(__FILE__) + '/parser.rex.rb'
|
|
11
11
|
module SQLParser
|
12
12
|
class Parser < Racc::Parser
|
13
13
|
|
14
|
-
module_eval(<<'...end parser.racc/module_eval...', 'parser.racc',
|
14
|
+
module_eval(<<'...end parser.racc/module_eval...', 'parser.racc', 343)
|
15
15
|
|
16
16
|
def self.parse(sql)
|
17
17
|
new.scan_str(sql)
|
@@ -20,352 +20,364 @@ end
|
|
20
20
|
##### State transition tables begin ###
|
21
21
|
|
22
22
|
racc_action_table = [
|
23
|
-
47,
|
24
|
-
47,
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
39, 41, 42, 43, 44, 21, 52,
|
29
|
-
47, 50, 51, 50, 51,
|
30
|
-
42, 43, 44, 21, 52,
|
31
|
-
|
32
|
-
44, 48, 52,
|
33
|
-
|
34
|
-
39, 41, 42, 43, 44,
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
21,
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
47,
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
nil, nil, nil,
|
57
|
-
39, 41, 42, 43, 44,
|
58
|
-
|
59
|
-
|
23
|
+
47, 99, 99, 58, 152, 31, 112, 78, 239, 105,
|
24
|
+
47, 58, 58, 153, 240, 154, 138, 230, 47, 231,
|
25
|
+
232, 93, 92, 233, 106, 228, 108, 109, 75, 110,
|
26
|
+
111, 219, 220, 76, 77, 65, 47, 21, 21, 21,
|
27
|
+
79, 233, 47, 65, 65, 50, 51, 21, 35, 48,
|
28
|
+
39, 41, 42, 43, 44, 21, 52, 197, 55, 48,
|
29
|
+
47, 50, 51, 50, 51, 158, 35, 48, 39, 41,
|
30
|
+
42, 43, 44, 21, 52, 7, 55, 73, 8, 21,
|
31
|
+
75, 50, 51, 157, 35, 48, 39, 41, 42, 43,
|
32
|
+
44, 48, 52, 47, 55, -135, 162, 21, 158, 75,
|
33
|
+
262, 263, 75, 8, 75, 50, 51, 178, 35, 48,
|
34
|
+
39, 41, 42, 43, 44, 47, 52, 179, 55, 180,
|
35
|
+
31, 181, 165, 142, 143, 182, -135, -135, -135, 162,
|
36
|
+
21, 183, 184, 126, 186, 47, 187, 75, 50, 51,
|
37
|
+
31, 35, 48, 39, 41, 42, 43, 44, 65, 52,
|
38
|
+
118, 55, 21, 47, 193, 194, 71, 197, 31, 58,
|
39
|
+
50, 51, 211, 35, 48, 39, 41, 42, 43, 44,
|
40
|
+
71, 52, 21, 55, 71, 214, 215, 47, 221, 8,
|
41
|
+
50, 51, 31, 35, 48, 39, 41, 42, 43, 44,
|
42
|
+
21, 52, 94, 55, 126, 47, 91, 90, 50, 51,
|
43
|
+
31, 35, 48, 39, 41, 42, 43, 44, 235, 52,
|
44
|
+
89, 55, -154, 47, 21, 88, 87, 86, 31, 85,
|
45
|
+
84, 83, 50, 51, -91, 35, 48, 39, 41, 42,
|
46
|
+
43, 44, 21, 52, 250, 55, 251, 197, 252, 211,
|
47
|
+
50, 51, 72, 35, 48, 39, 41, 42, 43, 44,
|
48
|
+
21, 52, 47, 55, 235, 71, 57, 158, 50, 51,
|
49
|
+
256, 35, 48, 39, 41, 42, 43, 44, 56, 52,
|
50
|
+
47, 55, 258, 197, 75, 31, 12, 265, 11, 267,
|
51
|
+
268, 165, 269, 270, 128, 271, 9, 140, 162, 21,
|
52
|
+
47, 139, 144, 104, 134, 31, 148, 50, 51, 65,
|
53
|
+
35, 48, 39, 41, 42, 43, 44, 21, 52, 150,
|
54
|
+
55, 151, 47, nil, nil, 50, 51, 31, 35, 48,
|
55
|
+
39, 41, 42, 43, 44, nil, 52, 21, 55, nil,
|
56
|
+
nil, nil, 47, nil, nil, 50, 51, 31, 35, 48,
|
57
|
+
39, 41, 42, 43, 44, nil, 52, nil, 55, 21,
|
58
|
+
47, nil, nil, nil, nil, 31, nil, 50, 51, nil,
|
59
|
+
35, 48, 39, 41, 42, 43, 44, nil, 52, 21,
|
60
|
+
55, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
61
|
+
35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
|
62
|
+
55, nil, nil, nil, 105, 50, 51, nil, 35, 48,
|
63
|
+
39, 41, 42, 43, 44, 47, 52, nil, 55, 106,
|
64
|
+
31, 108, 109, nil, 110, 111, 13, 14, 15, 17,
|
65
|
+
nil, nil, nil, 47, nil, nil, 198, 199, 31, 200,
|
66
|
+
201, 202, nil, 8, nil, nil, 203, 204, 205, 206,
|
67
|
+
207, 208, 21, nil, nil, nil, nil, nil, nil, nil,
|
68
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
69
|
+
21, 52, nil, 55, nil, nil, nil, nil, 50, 51,
|
60
70
|
nil, 35, 48, 39, 41, 42, 43, 44, 47, 52,
|
61
|
-
nil, 55,
|
62
|
-
|
63
|
-
|
64
|
-
nil, nil, nil, nil,
|
71
|
+
nil, 55, 105, 31, nil, 103, nil, nil, 8, 104,
|
72
|
+
nil, nil, nil, nil, nil, nil, 47, 106, nil, 108,
|
73
|
+
109, 31, 110, 111, nil, nil, nil, nil, nil, nil,
|
74
|
+
17, nil, nil, nil, nil, 21, nil, nil, nil, nil,
|
65
75
|
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
66
|
-
42, 43, 44,
|
67
|
-
nil,
|
68
|
-
|
69
|
-
|
76
|
+
42, 43, 44, 21, 52, nil, 55, nil, nil, nil,
|
77
|
+
nil, 50, 51, nil, 35, 48, 39, 41, 42, 43,
|
78
|
+
44, 47, 52, nil, 55, nil, 31, nil, nil, nil,
|
79
|
+
nil, nil, nil, nil, nil, 17, nil, nil, nil, 47,
|
80
|
+
nil, nil, nil, nil, 31, nil, nil, nil, nil, nil,
|
81
|
+
nil, nil, nil, 17, nil, nil, nil, 47, 21, nil,
|
82
|
+
nil, nil, 233, nil, nil, nil, 50, 51, nil, 35,
|
83
|
+
48, 39, 41, 42, 43, 44, 21, 52, nil, 55,
|
84
|
+
nil, 47, nil, nil, 50, 51, 233, 35, 48, 39,
|
85
|
+
41, 42, 43, 44, 21, 52, nil, 55, nil, nil,
|
86
|
+
nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
|
87
|
+
43, 44, 47, 52, nil, 55, nil, 158, 21, nil,
|
88
|
+
nil, nil, nil, nil, nil, nil, 50, 51, nil, 35,
|
89
|
+
48, 39, 41, 42, 43, 44, nil, 52, 47, 55,
|
90
|
+
nil, 165, nil, 31, nil, nil, nil, nil, 162, 21,
|
91
|
+
nil, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
92
|
+
35, 48, 39, 41, 42, 43, 44, 47, 52, nil,
|
93
|
+
55, nil, 31, nil, nil, 21, nil, nil, nil, nil,
|
94
|
+
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
95
|
+
42, 43, 44, 47, 52, nil, 55, nil, 31, nil,
|
96
|
+
nil, nil, nil, nil, 21, nil, nil, nil, nil, nil,
|
97
|
+
nil, nil, nil, nil, nil, 35, 48, 39, 41, 42,
|
98
|
+
43, 44, nil, 52, 47, 55, nil, nil, nil, 158,
|
70
99
|
21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
|
71
|
-
nil, 35, 48, 39, 41, 42, 43, 44,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
nil, nil,
|
76
|
-
47, nil, nil, 50, 51, 31, 35, 48, 39, 41,
|
77
|
-
42, 43, 44, nil, 52, nil, 55, 21, nil, nil,
|
100
|
+
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
101
|
+
47, 55, nil, 165, nil, 233, nil, nil, nil, nil,
|
102
|
+
162, 21, nil, nil, nil, nil, nil, nil, nil, 50,
|
103
|
+
51, nil, 35, 48, 39, 41, 42, 43, 44, 47,
|
104
|
+
52, nil, 55, nil, 233, nil, nil, 21, nil, nil,
|
78
105
|
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
79
|
-
39, 41, 42, 43, 44, 47, 52, 21, 55, nil,
|
80
|
-
154, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
81
106
|
39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
|
82
|
-
|
83
|
-
nil,
|
84
|
-
|
85
|
-
nil,
|
86
|
-
232, nil, nil, 35, 48, 39, 41, 42, 43, 44,
|
87
|
-
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
88
|
-
232, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
89
|
-
nil, 55, 21, 47, nil, nil, nil, nil, 232, nil,
|
107
|
+
233, nil, nil, nil, nil, nil, 21, nil, nil, nil,
|
108
|
+
nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
|
109
|
+
41, 42, 43, 44, 47, 52, nil, 55, nil, 233,
|
110
|
+
nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
|
90
111
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
nil,
|
96
|
-
|
97
|
-
|
98
|
-
50, 51,
|
99
|
-
|
100
|
-
|
101
|
-
nil, 55, nil, nil, 21, nil, nil, nil, nil, nil,
|
102
|
-
nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
|
103
|
-
43, 44, 21, 52, 47, 55, nil, nil, nil, 154,
|
112
|
+
47, 52, nil, 55, nil, 233, nil, nil, nil, nil,
|
113
|
+
nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
|
114
|
+
51, nil, 35, 48, 39, 41, 42, 43, 44, 47,
|
115
|
+
52, nil, 55, nil, 233, nil, nil, 21, nil, nil,
|
116
|
+
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
117
|
+
39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
|
118
|
+
233, nil, nil, nil, nil, nil, 21, nil, nil, nil,
|
119
|
+
nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
|
120
|
+
41, 42, 43, 44, 47, 52, nil, 55, nil, 233,
|
121
|
+
nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
|
104
122
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
52, nil, 55, 47, nil, nil, 158, 21, 31, nil,
|
123
|
+
47, 52, nil, 55, nil, 158, nil, nil, nil, nil,
|
124
|
+
nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
|
125
|
+
51, nil, 35, 48, 39, 41, 42, 43, 44, 165,
|
126
|
+
52, nil, 55, 47, nil, nil, 162, 21, 158, nil,
|
110
127
|
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
111
|
-
39, 41, 42, 43, 44,
|
112
|
-
|
128
|
+
39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
|
129
|
+
31, nil, 165, nil, nil, nil, nil, nil, nil, 162,
|
113
130
|
21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
|
114
131
|
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
115
|
-
|
116
|
-
8, nil, 50, 51, nil, 35, 48, 39, 41, 42,
|
117
|
-
43, 44, 47, 52, nil, 55, nil, 31, nil, 161,
|
118
|
-
nil, nil, nil, nil, nil, nil, 158, 21, nil, nil,
|
119
|
-
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
120
|
-
39, 41, 42, 43, 44, 47, 52, nil, 55, 21,
|
121
|
-
154, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
122
|
-
35, 48, 39, 41, 42, 43, 44, nil, 52, nil,
|
123
|
-
55, nil, nil, nil, 161, nil, nil, nil, nil, nil,
|
124
|
-
nil, 158, 21, nil, nil, nil, nil, nil, nil, nil,
|
132
|
+
nil, 55, 21, nil, nil, nil, nil, nil, nil, nil,
|
125
133
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
126
|
-
nil, 52,
|
127
|
-
nil, nil, nil, nil, nil, nil, nil, 103, nil, 105,
|
128
|
-
106, nil, 107, 108 ]
|
134
|
+
nil, 52, nil, 55 ]
|
129
135
|
|
130
136
|
racc_action_check = [
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
25,
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
76,
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
nil, nil, nil,
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
nil,
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
nil, nil, nil,
|
174
|
-
|
175
|
-
nil, nil, nil, nil, nil,
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
nil,
|
180
|
-
nil,
|
181
|
-
|
182
|
-
|
183
|
-
nil, nil, nil,
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
nil,
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
nil, nil,
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
nil,
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
nil, nil,
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
nil, nil, nil, nil,
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
nil,
|
233
|
-
|
234
|
-
nil,
|
235
|
-
nil, nil, nil, nil, nil,
|
236
|
-
|
137
|
+
103, 140, 57, 12, 109, 103, 60, 25, 202, 191,
|
138
|
+
252, 151, 71, 110, 202, 111, 91, 198, 265, 198,
|
139
|
+
198, 52, 52, 265, 191, 195, 191, 191, 60, 191,
|
140
|
+
191, 191, 191, 24, 24, 12, 256, 103, 140, 57,
|
141
|
+
25, 256, 194, 151, 71, 103, 103, 252, 103, 103,
|
142
|
+
103, 103, 103, 103, 103, 265, 103, 195, 103, 252,
|
143
|
+
165, 91, 91, 265, 265, 165, 265, 265, 265, 265,
|
144
|
+
265, 265, 265, 256, 265, 0, 265, 20, 0, 194,
|
145
|
+
112, 256, 256, 117, 256, 256, 256, 256, 256, 256,
|
146
|
+
256, 194, 256, 158, 256, 23, 165, 165, 158, 20,
|
147
|
+
251, 251, 83, 158, 269, 165, 165, 128, 165, 165,
|
148
|
+
165, 165, 165, 165, 165, 72, 165, 129, 165, 130,
|
149
|
+
72, 131, 158, 97, 97, 132, 23, 23, 23, 158,
|
150
|
+
158, 133, 137, 82, 146, 148, 147, 73, 158, 158,
|
151
|
+
148, 158, 158, 158, 158, 158, 158, 158, 150, 158,
|
152
|
+
70, 158, 72, 76, 156, 157, 68, 159, 76, 162,
|
153
|
+
72, 72, 163, 72, 72, 72, 72, 72, 72, 72,
|
154
|
+
67, 72, 148, 72, 66, 188, 189, 77, 192, 58,
|
155
|
+
148, 148, 77, 148, 148, 148, 148, 148, 148, 148,
|
156
|
+
76, 148, 55, 148, 196, 78, 49, 48, 76, 76,
|
157
|
+
78, 76, 76, 76, 76, 76, 76, 76, 200, 76,
|
158
|
+
47, 76, 45, 79, 77, 44, 43, 42, 79, 41,
|
159
|
+
39, 36, 77, 77, 21, 77, 77, 77, 77, 77,
|
160
|
+
77, 77, 78, 77, 220, 77, 221, 223, 224, 229,
|
161
|
+
78, 78, 19, 78, 78, 78, 78, 78, 78, 78,
|
162
|
+
79, 78, 118, 78, 231, 16, 11, 118, 79, 79,
|
163
|
+
234, 79, 79, 79, 79, 79, 79, 79, 9, 79,
|
164
|
+
84, 79, 239, 249, 250, 84, 7, 253, 5, 257,
|
165
|
+
259, 118, 260, 262, 84, 263, 1, 95, 118, 118,
|
166
|
+
85, 92, 100, 102, 89, 85, 104, 118, 118, 105,
|
167
|
+
118, 118, 118, 118, 118, 118, 118, 84, 118, 106,
|
168
|
+
118, 107, 86, nil, nil, 84, 84, 86, 84, 84,
|
169
|
+
84, 84, 84, 84, 84, nil, 84, 85, 84, nil,
|
170
|
+
nil, nil, 87, nil, nil, 85, 85, 87, 85, 85,
|
171
|
+
85, 85, 85, 85, 85, nil, 85, nil, 85, 86,
|
172
|
+
88, nil, nil, nil, nil, 88, nil, 86, 86, nil,
|
173
|
+
86, 86, 86, 86, 86, 86, 86, nil, 86, 87,
|
174
|
+
86, nil, nil, nil, nil, nil, nil, 87, 87, nil,
|
175
|
+
87, 87, 87, 87, 87, 87, 87, 88, 87, nil,
|
176
|
+
87, nil, nil, nil, 119, 88, 88, nil, 88, 88,
|
177
|
+
88, 88, 88, 88, 88, 8, 88, nil, 88, 119,
|
178
|
+
8, 119, 119, nil, 119, 119, 8, 8, 8, 8,
|
179
|
+
nil, nil, nil, 235, nil, nil, 161, 161, 235, 161,
|
180
|
+
161, 161, nil, 235, nil, nil, 161, 161, 161, 161,
|
181
|
+
161, 161, 8, nil, nil, nil, nil, nil, nil, nil,
|
182
|
+
8, 8, nil, 8, 8, 8, 8, 8, 8, 8,
|
183
|
+
235, 8, nil, 8, nil, nil, nil, nil, 235, 235,
|
184
|
+
nil, 235, 235, 235, 235, 235, 235, 235, 233, 235,
|
185
|
+
nil, 235, 59, 233, nil, 59, nil, nil, 233, 59,
|
186
|
+
nil, nil, nil, nil, nil, nil, 13, 59, nil, 59,
|
187
|
+
59, 13, 59, 59, nil, nil, nil, nil, nil, nil,
|
188
|
+
13, nil, nil, nil, nil, 233, nil, nil, nil, nil,
|
189
|
+
nil, nil, nil, 233, 233, nil, 233, 233, 233, 233,
|
190
|
+
233, 233, 233, 13, 233, nil, 233, nil, nil, nil,
|
191
|
+
nil, 13, 13, nil, 13, 13, 13, 13, 13, 13,
|
192
|
+
13, 14, 13, nil, 13, nil, 14, nil, nil, nil,
|
193
|
+
nil, nil, nil, nil, nil, 14, nil, nil, nil, 15,
|
194
|
+
nil, nil, nil, nil, 15, nil, nil, nil, nil, nil,
|
195
|
+
nil, nil, nil, 15, nil, nil, nil, 232, 14, nil,
|
196
|
+
nil, nil, 232, nil, nil, nil, 14, 14, nil, 14,
|
197
|
+
14, 14, 14, 14, 14, 14, 15, 14, nil, 14,
|
198
|
+
nil, 230, nil, nil, 15, 15, 230, 15, 15, 15,
|
199
|
+
15, 15, 15, 15, 232, 15, nil, 15, nil, nil,
|
200
|
+
nil, nil, 232, 232, nil, 232, 232, 232, 232, 232,
|
201
|
+
232, 232, 219, 232, nil, 232, nil, 219, 230, nil,
|
202
|
+
nil, nil, nil, nil, nil, nil, 230, 230, nil, 230,
|
203
|
+
230, 230, 230, 230, 230, 230, nil, 230, 215, 230,
|
204
|
+
nil, 219, nil, 215, nil, nil, nil, nil, 219, 219,
|
205
|
+
nil, nil, nil, nil, nil, nil, nil, 219, 219, nil,
|
206
|
+
219, 219, 219, 219, 219, 219, 219, 26, 219, nil,
|
207
|
+
219, nil, 26, nil, nil, 215, nil, nil, nil, nil,
|
208
|
+
nil, nil, nil, 215, 215, nil, 215, 215, 215, 215,
|
209
|
+
215, 215, 215, 31, 215, nil, 215, nil, 31, nil,
|
210
|
+
nil, nil, nil, nil, 26, nil, nil, nil, nil, nil,
|
211
|
+
nil, nil, nil, nil, nil, 26, 26, 26, 26, 26,
|
212
|
+
26, 26, nil, 26, 211, 26, nil, nil, nil, 211,
|
213
|
+
31, nil, nil, nil, nil, nil, nil, nil, 31, 31,
|
214
|
+
nil, 31, 31, 31, 31, 31, 31, 31, nil, 31,
|
215
|
+
208, 31, nil, 211, nil, 208, nil, nil, nil, nil,
|
216
|
+
211, 211, nil, nil, nil, nil, nil, nil, nil, 211,
|
217
|
+
211, nil, 211, 211, 211, 211, 211, 211, 211, 207,
|
218
|
+
211, nil, 211, nil, 207, nil, nil, 208, nil, nil,
|
219
|
+
nil, nil, nil, nil, nil, 208, 208, nil, 208, 208,
|
220
|
+
208, 208, 208, 208, 208, 206, 208, nil, 208, nil,
|
221
|
+
206, nil, nil, nil, nil, nil, 207, nil, nil, nil,
|
222
|
+
nil, nil, nil, nil, 207, 207, nil, 207, 207, 207,
|
223
|
+
207, 207, 207, 207, 205, 207, nil, 207, nil, 205,
|
224
|
+
nil, nil, 206, nil, nil, nil, nil, nil, nil, nil,
|
225
|
+
206, 206, nil, 206, 206, 206, 206, 206, 206, 206,
|
226
|
+
204, 206, nil, 206, nil, 204, nil, nil, nil, nil,
|
227
|
+
nil, 205, nil, nil, nil, nil, nil, nil, nil, 205,
|
228
|
+
205, nil, 205, 205, 205, 205, 205, 205, 205, 203,
|
229
|
+
205, nil, 205, nil, 203, nil, nil, 204, nil, nil,
|
230
|
+
nil, nil, nil, nil, nil, 204, 204, nil, 204, 204,
|
231
|
+
204, 204, 204, 204, 204, 201, 204, nil, 204, nil,
|
232
|
+
201, nil, nil, nil, nil, nil, 203, nil, nil, nil,
|
233
|
+
nil, nil, nil, nil, 203, 203, nil, 203, 203, 203,
|
234
|
+
203, 203, 203, 203, 199, 203, nil, 203, nil, 199,
|
235
|
+
nil, nil, 201, nil, nil, nil, nil, nil, nil, nil,
|
236
|
+
201, 201, nil, 201, 201, 201, 201, 201, 201, 201,
|
237
|
+
197, 201, nil, 201, nil, 197, nil, nil, nil, nil,
|
238
|
+
nil, 199, nil, nil, nil, nil, nil, nil, nil, 199,
|
239
|
+
199, nil, 199, 199, 199, 199, 199, 199, 199, 197,
|
240
|
+
199, nil, 199, 193, nil, nil, 197, 197, 193, nil,
|
241
|
+
nil, nil, nil, nil, nil, 197, 197, nil, 197, 197,
|
242
|
+
197, 197, 197, 197, 197, 187, 197, nil, 197, nil,
|
243
|
+
187, nil, 193, nil, nil, nil, nil, nil, nil, 193,
|
244
|
+
193, nil, nil, nil, nil, nil, nil, nil, 193, 193,
|
245
|
+
nil, 193, 193, 193, 193, 193, 193, 193, nil, 193,
|
246
|
+
nil, 193, 187, nil, nil, nil, nil, nil, nil, nil,
|
247
|
+
187, 187, nil, 187, 187, 187, 187, 187, 187, 187,
|
248
|
+
nil, 187, nil, 187 ]
|
237
249
|
|
238
250
|
racc_action_pointer = [
|
239
|
-
|
240
|
-
nil,
|
241
|
-
|
242
|
-
nil,
|
243
|
-
nil,
|
244
|
-
nil, nil, -
|
245
|
-
nil, nil, nil, nil,
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
nil, nil, nil, nil, nil,
|
252
|
-
|
253
|
-
nil, nil,
|
254
|
-
|
255
|
-
nil,
|
251
|
+
63, 286, nil, nil, nil, 276, nil, 263, 400, 268,
|
252
|
+
nil, 253, -7, 491, 546, 564, 234, nil, nil, 235,
|
253
|
+
57, 170, nil, 76, -17, -12, 692, nil, nil, nil,
|
254
|
+
nil, 718, nil, nil, nil, nil, 167, nil, nil, 210,
|
255
|
+
nil, 209, 207, 206, 205, 152, nil, 156, 192, 136,
|
256
|
+
nil, nil, -40, nil, nil, 128, nil, -3, 164, 475,
|
257
|
+
-14, nil, nil, nil, nil, nil, 153, 149, 135, nil,
|
258
|
+
119, 2, 110, 95, nil, nil, 148, 172, 190, 208,
|
259
|
+
nil, nil, 122, 60, 265, 285, 307, 327, 345, 289,
|
260
|
+
nil, 11, 230, nil, nil, 280, nil, 115, nil, nil,
|
261
|
+
281, nil, 279, -5, 286, 257, 286, 288, nil, -22,
|
262
|
+
-13, -11, 38, nil, nil, nil, nil, 51, 247, 387,
|
263
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 96, 106,
|
264
|
+
108, 110, 114, 120, nil, nil, nil, 127, nil, nil,
|
265
|
+
-4, nil, nil, nil, nil, nil, 123, 129, 130, nil,
|
266
|
+
106, 1, nil, nil, nil, nil, 121, 152, 88, 114,
|
267
|
+
nil, 392, 149, 126, nil, 55, nil, nil, nil, nil,
|
256
268
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
257
|
-
nil, nil, nil,
|
258
|
-
|
259
|
-
|
260
|
-
nil,
|
261
|
-
|
262
|
-
|
263
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
264
|
-
|
265
|
-
nil,
|
266
|
-
nil, nil, nil ]
|
269
|
+
nil, nil, nil, nil, nil, nil, nil, 1050, 164, 169,
|
270
|
+
nil, 2, 174, 1028, 37, 14, 183, 995, -18, 969,
|
271
|
+
198, 940, -26, 914, 885, 859, 830, 804, 775, nil,
|
272
|
+
nil, 749, nil, nil, nil, 663, nil, nil, nil, 637,
|
273
|
+
224, 231, nil, 194, 231, nil, nil, nil, nil, 203,
|
274
|
+
606, 244, 582, 473, 224, 418, nil, nil, nil, 232,
|
275
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 230,
|
276
|
+
232, 94, 5, 241, nil, nil, 31, 268, nil, 269,
|
277
|
+
275, nil, 278, 280, nil, 13, nil, nil, nil, 62,
|
278
|
+
nil, nil, nil, nil ]
|
267
279
|
|
268
280
|
racc_action_default = [
|
269
|
-
-
|
270
|
-
-4, -
|
271
|
-
-41, -
|
272
|
-
-
|
273
|
-
-
|
274
|
-
-
|
275
|
-
-47, -
|
276
|
-
|
277
|
-
-
|
278
|
-
-
|
279
|
-
-
|
280
|
-
-45, -27, -29, -31, -
|
281
|
-
|
282
|
-
-
|
283
|
-
|
284
|
-
|
285
|
-
-
|
286
|
-
-
|
287
|
-
-
|
288
|
-
|
289
|
-
-
|
290
|
-
-
|
291
|
-
|
292
|
-
-
|
293
|
-
|
294
|
-
-8, -
|
295
|
-
-
|
296
|
-
-10, -
|
281
|
+
-166, -166, -1, -2, -3, -5, -20, -166, -166, -166,
|
282
|
+
-4, -166, -166, -166, -166, -166, -34, -35, -36, -38,
|
283
|
+
-41, -160, -118, -119, -122, -125, -166, -127, -128, -129,
|
284
|
+
-130, -166, -132, -133, -134, -136, -166, -138, -139, -166,
|
285
|
+
-141, -166, -166, -166, -166, -147, -148, -152, -166, -166,
|
286
|
+
-158, -159, -166, -163, -164, -166, 274, -166, -166, -166,
|
287
|
+
-46, -47, -48, -50, -51, -91, -28, -30, -32, -33,
|
288
|
+
-67, -166, -166, -166, -40, -160, -166, -166, -166, -166,
|
289
|
+
-126, -135, -166, -166, -166, -166, -166, -166, -166, -150,
|
290
|
+
-151, -166, -166, -162, -165, -6, -12, -16, -14, -15,
|
291
|
+
-166, -21, -166, -166, -166, -166, -166, -166, -55, -57,
|
292
|
+
-59, -60, -166, -45, -27, -29, -31, -69, -166, -43,
|
293
|
+
-37, -39, -120, -121, -123, -124, -131, -137, -166, -166,
|
294
|
+
-166, -166, -166, -166, -149, -153, -155, -166, -157, -161,
|
295
|
+
-166, -13, -17, -18, -19, -22, -166, -25, -166, -52,
|
296
|
+
-166, -166, -56, -58, -61, -44, -75, -166, -166, -68,
|
297
|
+
-77, -166, -166, -94, -96, -166, -99, -100, -101, -103,
|
298
|
+
-104, -105, -106, -107, -108, -115, -116, -117, -140, -142,
|
299
|
+
-143, -144, -145, -146, -156, -11, -23, -166, -166, -85,
|
300
|
+
-53, -166, -7, -166, -166, -166, -117, -166, -166, -166,
|
301
|
+
-166, -166, -166, -166, -166, -166, -166, -166, -166, -49,
|
302
|
+
-90, -166, -98, -24, -26, -166, -54, -62, -63, -166,
|
303
|
+
-166, -166, -42, -76, -70, -72, -73, -74, -102, -95,
|
304
|
+
-166, -166, -166, -166, -166, -166, -81, -82, -87, -166,
|
305
|
+
-89, -109, -110, -111, -112, -113, -114, -97, -84, -64,
|
306
|
+
-166, -8, -166, -166, -80, -86, -166, -166, -88, -166,
|
307
|
+
-66, -93, -166, -166, -71, -166, -79, -83, -65, -166,
|
308
|
+
-9, -10, -78, -92 ]
|
297
309
|
|
298
310
|
racc_goto_table = [
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
nil,
|
311
|
+
74, 20, 98, 61, 188, 60, 20, 20, 20, 59,
|
312
|
+
146, 159, 96, 101, 225, 226, 236, 122, 123, 124,
|
313
|
+
125, 102, 141, 117, 82, 156, 192, 234, 222, 238,
|
314
|
+
210, 241, 242, 243, 244, 245, 246, 81, 16, 216,
|
315
|
+
113, 217, 218, 66, 67, 68, 95, 254, 259, 69,
|
316
|
+
260, 195, 224, 121, 10, 5, 145, 4, 253, 3,
|
317
|
+
255, 229, 61, 127, 60, 20, 247, 212, 119, 1,
|
318
|
+
2, 248, 264, 226, 136, 137, 80, 129, 130, 131,
|
319
|
+
132, 133, 135, 120, 266, 98, 223, 81, 81, 81,
|
320
|
+
81, 257, 155, 272, 213, 185, 147, nil, 149, 114,
|
321
|
+
115, 116, nil, nil, nil, nil, nil, nil, nil, nil,
|
322
|
+
nil, nil, 249, nil, nil, nil, nil, nil, nil, nil,
|
311
323
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
312
|
-
|
313
|
-
|
314
|
-
nil,
|
315
|
-
nil, nil, nil, nil, nil, 271, nil, nil, nil, nil,
|
316
|
-
nil, nil, nil, nil, nil, nil, 143, nil, nil, nil,
|
324
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 227,
|
325
|
+
nil, 189, 61, 190, 60, nil, nil, nil, 191, nil,
|
326
|
+
nil, 196, nil, 209, nil, nil, nil, nil, nil, nil,
|
317
327
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
318
|
-
nil, nil, nil, nil, nil, nil, 225, nil, nil, nil,
|
319
|
-
nil, nil, nil, nil, nil, nil, 185, nil, nil, nil,
|
320
328
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
321
|
-
nil, nil, nil, nil, nil,
|
329
|
+
147, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
330
|
+
nil, 209, nil, nil, nil, nil, nil, 227, nil, nil,
|
331
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 189, nil,
|
322
332
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
323
|
-
nil, nil,
|
333
|
+
nil, nil, 209, nil, nil, nil, 82, nil, 189, nil,
|
334
|
+
261, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
335
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 273 ]
|
324
336
|
|
325
337
|
racc_goto_check = [
|
326
|
-
25, 19, 12,
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
nil, 39, nil, nil, nil, nil, nil, nil, nil,
|
338
|
+
25, 19, 12, 13, 20, 30, 19, 19, 19, 15,
|
339
|
+
18, 39, 9, 16, 43, 44, 49, 60, 60, 62,
|
340
|
+
62, 17, 11, 27, 19, 28, 29, 47, 8, 47,
|
341
|
+
32, 47, 47, 47, 47, 47, 47, 61, 21, 36,
|
342
|
+
25, 37, 38, 21, 21, 21, 7, 49, 40, 22,
|
343
|
+
41, 39, 42, 25, 6, 5, 16, 4, 47, 3,
|
344
|
+
47, 53, 13, 25, 30, 19, 54, 55, 15, 1,
|
345
|
+
2, 20, 43, 44, 76, 64, 65, 19, 19, 19,
|
346
|
+
19, 19, 75, 23, 47, 12, 39, 61, 61, 61,
|
347
|
+
61, 20, 25, 47, 18, 9, 19, nil, 30, 22,
|
348
|
+
22, 22, nil, nil, nil, nil, nil, nil, nil, nil,
|
349
|
+
nil, nil, 39, nil, nil, nil, nil, nil, nil, nil,
|
338
350
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
339
|
-
|
340
|
-
|
341
|
-
nil,
|
342
|
-
nil, nil, nil, nil, nil, 47, nil, nil, nil, nil,
|
343
|
-
nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
|
351
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 12,
|
352
|
+
nil, 19, 13, 30, 30, nil, nil, nil, 15, nil,
|
353
|
+
nil, 19, nil, 13, nil, nil, nil, nil, nil, nil,
|
344
354
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
345
|
-
nil, nil, nil, nil, nil, nil, 12, nil, nil, nil,
|
346
|
-
nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
|
347
355
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
348
|
-
nil, nil, nil, nil, nil,
|
356
|
+
19, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
357
|
+
nil, 13, nil, nil, nil, nil, nil, 12, nil, nil,
|
358
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 19, nil,
|
349
359
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
350
|
-
nil, nil,
|
360
|
+
nil, nil, 13, nil, nil, nil, 19, nil, 19, nil,
|
361
|
+
25, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
362
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 25 ]
|
351
363
|
|
352
364
|
racc_goto_pointer = [
|
353
|
-
nil,
|
354
|
-
nil, -
|
355
|
-
-
|
356
|
-
-7, nil, -
|
357
|
-
-
|
358
|
-
nil, nil, nil, -
|
359
|
-
-
|
360
|
-
nil, nil, nil, nil, nil,
|
365
|
+
nil, 69, 70, 59, 57, 55, 49, -11, -164, -45,
|
366
|
+
nil, -75, -55, -9, nil, -3, -46, -38, -93, -7,
|
367
|
+
-144, 30, 33, 11, nil, -20, nil, -47, -92, -130,
|
368
|
+
-7, nil, -132, nil, nil, nil, -152, -150, -149, -107,
|
369
|
+
-202, -200, -142, -180, -179, nil, nil, -172, nil, -184,
|
370
|
+
nil, nil, nil, -136, -145, -98, nil, nil, nil, nil,
|
371
|
+
-59, 11, -59, nil, -16, 50, nil, nil, nil, nil,
|
372
|
+
nil, nil, nil, nil, nil, -9, -17, nil, nil ]
|
361
373
|
|
362
374
|
racc_goto_default = [
|
363
|
-
nil, nil, nil, nil, nil,
|
364
|
-
|
365
|
-
nil, nil, nil, 18, 19, 37,
|
366
|
-
38,
|
367
|
-
nil, nil, nil, nil, 45,
|
368
|
-
|
375
|
+
nil, nil, nil, nil, nil, 100, nil, nil, nil, nil,
|
376
|
+
97, nil, 29, 160, 6, nil, nil, nil, nil, 177,
|
377
|
+
nil, nil, nil, 18, 19, 37, 70, nil, nil, nil,
|
378
|
+
38, 62, 237, 63, 64, 107, nil, nil, nil, nil,
|
379
|
+
nil, nil, nil, nil, 45, 176, 170, 161, 171, nil,
|
380
|
+
172, 173, 174, 163, 164, 166, 167, 168, 169, 175,
|
369
381
|
22, 23, 24, 25, 26, 27, 28, 30, 32, 33,
|
370
382
|
34, 36, 40, 46, 49, nil, nil, 53, 54 ]
|
371
383
|
|
@@ -418,127 +430,128 @@ racc_reduce_table = [
|
|
418
430
|
2, 80, :_reduce_45,
|
419
431
|
1, 80, :_reduce_none,
|
420
432
|
1, 80, :_reduce_none,
|
433
|
+
1, 80, :_reduce_none,
|
421
434
|
1, 97, :_reduce_none,
|
422
435
|
1, 96, :_reduce_none,
|
423
436
|
1, 96, :_reduce_none,
|
424
|
-
3, 98, :
|
425
|
-
4, 98, :
|
426
|
-
5, 99, :
|
427
|
-
1, 100, :
|
428
|
-
2, 100, :
|
429
|
-
1, 100, :
|
430
|
-
2, 100, :
|
431
|
-
1, 100, :_reduce_58,
|
437
|
+
3, 98, :_reduce_52,
|
438
|
+
4, 98, :_reduce_53,
|
439
|
+
5, 99, :_reduce_54,
|
440
|
+
1, 100, :_reduce_55,
|
441
|
+
2, 100, :_reduce_56,
|
442
|
+
1, 100, :_reduce_57,
|
443
|
+
2, 100, :_reduce_58,
|
432
444
|
1, 100, :_reduce_59,
|
433
|
-
|
445
|
+
1, 100, :_reduce_60,
|
446
|
+
2, 100, :_reduce_61,
|
434
447
|
1, 101, :_reduce_none,
|
435
448
|
1, 101, :_reduce_none,
|
436
|
-
2, 102, :
|
437
|
-
4, 103, :
|
449
|
+
2, 102, :_reduce_64,
|
450
|
+
4, 103, :_reduce_65,
|
438
451
|
1, 105, :_reduce_none,
|
439
452
|
0, 92, :_reduce_none,
|
440
|
-
2, 92, :
|
453
|
+
2, 92, :_reduce_68,
|
441
454
|
0, 93, :_reduce_none,
|
442
|
-
3, 93, :
|
443
|
-
3, 107, :
|
455
|
+
3, 93, :_reduce_70,
|
456
|
+
3, 107, :_reduce_71,
|
444
457
|
1, 107, :_reduce_none,
|
445
458
|
1, 108, :_reduce_none,
|
446
459
|
1, 108, :_reduce_none,
|
447
460
|
0, 94, :_reduce_none,
|
448
|
-
2, 94, :
|
461
|
+
2, 94, :_reduce_76,
|
449
462
|
1, 110, :_reduce_none,
|
450
|
-
6, 111, :
|
451
|
-
5, 111, :
|
452
|
-
4, 113, :
|
453
|
-
3, 113, :
|
463
|
+
6, 111, :_reduce_78,
|
464
|
+
5, 111, :_reduce_79,
|
465
|
+
4, 113, :_reduce_80,
|
466
|
+
3, 113, :_reduce_81,
|
454
467
|
1, 114, :_reduce_none,
|
455
|
-
3, 114, :
|
456
|
-
3, 85, :
|
468
|
+
3, 114, :_reduce_83,
|
469
|
+
3, 85, :_reduce_84,
|
457
470
|
1, 85, :_reduce_none,
|
458
|
-
4, 115, :
|
459
|
-
3, 115, :
|
460
|
-
4, 116, :
|
461
|
-
3, 116, :
|
462
|
-
2, 117, :
|
463
|
-
1, 95, :
|
464
|
-
3, 106, :
|
471
|
+
4, 115, :_reduce_86,
|
472
|
+
3, 115, :_reduce_87,
|
473
|
+
4, 116, :_reduce_88,
|
474
|
+
3, 116, :_reduce_89,
|
475
|
+
2, 117, :_reduce_90,
|
476
|
+
1, 95, :_reduce_91,
|
477
|
+
3, 106, :_reduce_92,
|
465
478
|
1, 106, :_reduce_none,
|
466
479
|
1, 104, :_reduce_none,
|
467
|
-
3, 104, :
|
480
|
+
3, 104, :_reduce_95,
|
468
481
|
1, 118, :_reduce_none,
|
469
|
-
3, 118, :
|
470
|
-
2, 119, :
|
482
|
+
3, 118, :_reduce_97,
|
483
|
+
2, 119, :_reduce_98,
|
471
484
|
1, 119, :_reduce_none,
|
472
485
|
1, 120, :_reduce_none,
|
473
486
|
1, 121, :_reduce_none,
|
474
|
-
3, 121, :
|
487
|
+
3, 121, :_reduce_102,
|
475
488
|
1, 122, :_reduce_none,
|
476
489
|
1, 122, :_reduce_none,
|
477
490
|
1, 122, :_reduce_none,
|
478
491
|
1, 122, :_reduce_none,
|
479
492
|
1, 122, :_reduce_none,
|
480
493
|
1, 122, :_reduce_none,
|
481
|
-
3, 123, :_reduce_108,
|
482
494
|
3, 123, :_reduce_109,
|
483
495
|
3, 123, :_reduce_110,
|
484
496
|
3, 123, :_reduce_111,
|
485
497
|
3, 123, :_reduce_112,
|
486
498
|
3, 123, :_reduce_113,
|
499
|
+
3, 123, :_reduce_114,
|
487
500
|
1, 112, :_reduce_none,
|
488
501
|
1, 112, :_reduce_none,
|
489
502
|
1, 124, :_reduce_none,
|
490
503
|
1, 84, :_reduce_none,
|
491
504
|
1, 84, :_reduce_none,
|
492
|
-
3, 125, :_reduce_119,
|
493
505
|
3, 125, :_reduce_120,
|
506
|
+
3, 125, :_reduce_121,
|
494
507
|
1, 125, :_reduce_none,
|
495
|
-
3, 127, :_reduce_122,
|
496
508
|
3, 127, :_reduce_123,
|
509
|
+
3, 127, :_reduce_124,
|
497
510
|
1, 127, :_reduce_none,
|
498
|
-
2, 128, :
|
511
|
+
2, 128, :_reduce_126,
|
499
512
|
1, 128, :_reduce_none,
|
500
513
|
1, 130, :_reduce_none,
|
501
514
|
1, 130, :_reduce_none,
|
502
515
|
1, 130, :_reduce_none,
|
503
|
-
3, 130, :
|
516
|
+
3, 130, :_reduce_131,
|
504
517
|
1, 131, :_reduce_none,
|
505
518
|
1, 131, :_reduce_none,
|
506
519
|
1, 133, :_reduce_none,
|
507
520
|
1, 133, :_reduce_none,
|
508
|
-
1, 134, :
|
509
|
-
3, 77, :
|
521
|
+
1, 134, :_reduce_136,
|
522
|
+
3, 77, :_reduce_137,
|
510
523
|
1, 77, :_reduce_none,
|
511
524
|
1, 136, :_reduce_none,
|
512
|
-
4, 132, :
|
525
|
+
4, 132, :_reduce_140,
|
513
526
|
1, 132, :_reduce_none,
|
514
|
-
4, 137, :_reduce_141,
|
515
527
|
4, 137, :_reduce_142,
|
516
528
|
4, 137, :_reduce_143,
|
517
529
|
4, 137, :_reduce_144,
|
518
530
|
4, 137, :_reduce_145,
|
531
|
+
4, 137, :_reduce_146,
|
519
532
|
1, 135, :_reduce_none,
|
520
533
|
1, 135, :_reduce_none,
|
521
|
-
3, 109, :
|
522
|
-
2, 109, :_reduce_149,
|
534
|
+
3, 109, :_reduce_149,
|
523
535
|
2, 109, :_reduce_150,
|
524
|
-
|
525
|
-
|
536
|
+
2, 109, :_reduce_151,
|
537
|
+
1, 109, :_reduce_152,
|
538
|
+
3, 138, :_reduce_153,
|
526
539
|
1, 139, :_reduce_none,
|
527
540
|
1, 140, :_reduce_none,
|
528
|
-
2, 141, :
|
529
|
-
1, 141, :
|
530
|
-
1, 129, :_reduce_157,
|
541
|
+
2, 141, :_reduce_156,
|
542
|
+
1, 141, :_reduce_157,
|
531
543
|
1, 129, :_reduce_158,
|
532
|
-
1,
|
533
|
-
|
534
|
-
|
544
|
+
1, 129, :_reduce_159,
|
545
|
+
1, 90, :_reduce_160,
|
546
|
+
3, 126, :_reduce_161,
|
547
|
+
2, 126, :_reduce_162,
|
535
548
|
1, 126, :_reduce_none,
|
536
549
|
1, 142, :_reduce_none,
|
537
|
-
2, 143, :
|
550
|
+
2, 143, :_reduce_165 ]
|
538
551
|
|
539
|
-
racc_reduce_n =
|
552
|
+
racc_reduce_n = 166
|
540
553
|
|
541
|
-
racc_shift_n =
|
554
|
+
racc_shift_n = 274
|
542
555
|
|
543
556
|
racc_token_table = {
|
544
557
|
false => 0,
|
@@ -1049,275 +1062,275 @@ module_eval(<<'.,.,', 'parser.racc', 95)
|
|
1049
1062
|
|
1050
1063
|
# reduce 50 omitted
|
1051
1064
|
|
1052
|
-
|
1053
|
-
def _reduce_51(val, _values, result)
|
1054
|
-
result = SQLParser::Statement::CrossJoin.new(val[0], val[2])
|
1055
|
-
result
|
1056
|
-
end
|
1057
|
-
.,.,
|
1065
|
+
# reduce 51 omitted
|
1058
1066
|
|
1059
1067
|
module_eval(<<'.,.,', 'parser.racc', 108)
|
1060
1068
|
def _reduce_52(val, _values, result)
|
1061
|
-
result = SQLParser::Statement::CrossJoin.new(val[0], val[
|
1069
|
+
result = SQLParser::Statement::CrossJoin.new(val[0], val[2])
|
1062
1070
|
result
|
1063
1071
|
end
|
1064
1072
|
.,.,
|
1065
1073
|
|
1066
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1074
|
+
module_eval(<<'.,.,', 'parser.racc', 109)
|
1067
1075
|
def _reduce_53(val, _values, result)
|
1068
|
-
result =
|
1076
|
+
result = SQLParser::Statement::CrossJoin.new(val[0], val[3])
|
1069
1077
|
result
|
1070
1078
|
end
|
1071
1079
|
.,.,
|
1072
1080
|
|
1073
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1081
|
+
module_eval(<<'.,.,', 'parser.racc', 112)
|
1074
1082
|
def _reduce_54(val, _values, result)
|
1075
|
-
result =
|
1083
|
+
result = val[1].new(val[0], val[3], val[4])
|
1076
1084
|
result
|
1077
1085
|
end
|
1078
1086
|
.,.,
|
1079
1087
|
|
1080
1088
|
module_eval(<<'.,.,', 'parser.racc', 115)
|
1081
1089
|
def _reduce_55(val, _values, result)
|
1082
|
-
result = SQLParser::Statement::
|
1090
|
+
result = SQLParser::Statement::InnerJoin
|
1083
1091
|
result
|
1084
1092
|
end
|
1085
1093
|
.,.,
|
1086
1094
|
|
1087
1095
|
module_eval(<<'.,.,', 'parser.racc', 116)
|
1088
1096
|
def _reduce_56(val, _values, result)
|
1089
|
-
result = SQLParser::Statement::
|
1097
|
+
result = SQLParser::Statement::LeftOuterJoin
|
1090
1098
|
result
|
1091
1099
|
end
|
1092
1100
|
.,.,
|
1093
1101
|
|
1094
1102
|
module_eval(<<'.,.,', 'parser.racc', 117)
|
1095
1103
|
def _reduce_57(val, _values, result)
|
1096
|
-
result = SQLParser::Statement::
|
1104
|
+
result = SQLParser::Statement::LeftJoin
|
1097
1105
|
result
|
1098
1106
|
end
|
1099
1107
|
.,.,
|
1100
1108
|
|
1101
1109
|
module_eval(<<'.,.,', 'parser.racc', 118)
|
1102
1110
|
def _reduce_58(val, _values, result)
|
1103
|
-
result = SQLParser::Statement::
|
1111
|
+
result = SQLParser::Statement::RightOuterJoin
|
1104
1112
|
result
|
1105
1113
|
end
|
1106
1114
|
.,.,
|
1107
1115
|
|
1108
1116
|
module_eval(<<'.,.,', 'parser.racc', 119)
|
1109
1117
|
def _reduce_59(val, _values, result)
|
1110
|
-
result = SQLParser::Statement::
|
1118
|
+
result = SQLParser::Statement::RightJoin
|
1111
1119
|
result
|
1112
1120
|
end
|
1113
1121
|
.,.,
|
1114
1122
|
|
1115
1123
|
module_eval(<<'.,.,', 'parser.racc', 120)
|
1116
1124
|
def _reduce_60(val, _values, result)
|
1117
|
-
result = SQLParser::Statement::
|
1125
|
+
result = SQLParser::Statement::FullJoin
|
1118
1126
|
result
|
1119
1127
|
end
|
1120
1128
|
.,.,
|
1121
1129
|
|
1122
|
-
|
1130
|
+
module_eval(<<'.,.,', 'parser.racc', 121)
|
1131
|
+
def _reduce_61(val, _values, result)
|
1132
|
+
result = SQLParser::Statement::FullOuterJoin
|
1133
|
+
result
|
1134
|
+
end
|
1135
|
+
.,.,
|
1123
1136
|
|
1124
1137
|
# reduce 62 omitted
|
1125
1138
|
|
1126
|
-
|
1127
|
-
|
1139
|
+
# reduce 63 omitted
|
1140
|
+
|
1141
|
+
module_eval(<<'.,.,', 'parser.racc', 128)
|
1142
|
+
def _reduce_64(val, _values, result)
|
1128
1143
|
result = SQLParser::Statement::On.new(val[1])
|
1129
1144
|
result
|
1130
1145
|
end
|
1131
1146
|
.,.,
|
1132
1147
|
|
1133
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1134
|
-
def
|
1148
|
+
module_eval(<<'.,.,', 'parser.racc', 131)
|
1149
|
+
def _reduce_65(val, _values, result)
|
1135
1150
|
result = SQLParser::Statement::Using.new(val[2])
|
1136
1151
|
result
|
1137
1152
|
end
|
1138
1153
|
.,.,
|
1139
1154
|
|
1140
|
-
# reduce 65 omitted
|
1141
|
-
|
1142
1155
|
# reduce 66 omitted
|
1143
1156
|
|
1144
|
-
|
1145
|
-
|
1157
|
+
# reduce 67 omitted
|
1158
|
+
|
1159
|
+
module_eval(<<'.,.,', 'parser.racc', 138)
|
1160
|
+
def _reduce_68(val, _values, result)
|
1146
1161
|
result = SQLParser::Statement::WhereClause.new(val[1])
|
1147
1162
|
result
|
1148
1163
|
end
|
1149
1164
|
.,.,
|
1150
1165
|
|
1151
|
-
# reduce
|
1166
|
+
# reduce 69 omitted
|
1152
1167
|
|
1153
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1154
|
-
def
|
1168
|
+
module_eval(<<'.,.,', 'parser.racc', 142)
|
1169
|
+
def _reduce_70(val, _values, result)
|
1155
1170
|
result = SQLParser::Statement::GroupByClause.new(val[2])
|
1156
1171
|
result
|
1157
1172
|
end
|
1158
1173
|
.,.,
|
1159
1174
|
|
1160
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1161
|
-
def
|
1175
|
+
module_eval(<<'.,.,', 'parser.racc', 145)
|
1176
|
+
def _reduce_71(val, _values, result)
|
1162
1177
|
result = Array(val[0]) + Array(val[2])
|
1163
1178
|
result
|
1164
1179
|
end
|
1165
1180
|
.,.,
|
1166
1181
|
|
1167
|
-
# reduce 71 omitted
|
1168
|
-
|
1169
1182
|
# reduce 72 omitted
|
1170
1183
|
|
1171
1184
|
# reduce 73 omitted
|
1172
1185
|
|
1173
1186
|
# reduce 74 omitted
|
1174
1187
|
|
1175
|
-
|
1176
|
-
|
1188
|
+
# reduce 75 omitted
|
1189
|
+
|
1190
|
+
module_eval(<<'.,.,', 'parser.racc', 154)
|
1191
|
+
def _reduce_76(val, _values, result)
|
1177
1192
|
result = SQLParser::Statement::HavingClause.new(val[1])
|
1178
1193
|
result
|
1179
1194
|
end
|
1180
1195
|
.,.,
|
1181
1196
|
|
1182
|
-
# reduce
|
1197
|
+
# reduce 77 omitted
|
1183
1198
|
|
1184
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1185
|
-
def
|
1199
|
+
module_eval(<<'.,.,', 'parser.racc', 161)
|
1200
|
+
def _reduce_78(val, _values, result)
|
1186
1201
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Between.new(val[0], val[3], val[5]))
|
1187
1202
|
result
|
1188
1203
|
end
|
1189
1204
|
.,.,
|
1190
1205
|
|
1191
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1192
|
-
def
|
1206
|
+
module_eval(<<'.,.,', 'parser.racc', 162)
|
1207
|
+
def _reduce_79(val, _values, result)
|
1193
1208
|
result = SQLParser::Statement::Between.new(val[0], val[2], val[4])
|
1194
1209
|
result
|
1195
1210
|
end
|
1196
1211
|
.,.,
|
1197
1212
|
|
1198
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1199
|
-
def
|
1213
|
+
module_eval(<<'.,.,', 'parser.racc', 165)
|
1214
|
+
def _reduce_80(val, _values, result)
|
1200
1215
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::In.new(val[0], val[3]))
|
1201
1216
|
result
|
1202
1217
|
end
|
1203
1218
|
.,.,
|
1204
1219
|
|
1205
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1206
|
-
def
|
1220
|
+
module_eval(<<'.,.,', 'parser.racc', 166)
|
1221
|
+
def _reduce_81(val, _values, result)
|
1207
1222
|
result = SQLParser::Statement::In.new(val[0], val[2])
|
1208
1223
|
result
|
1209
1224
|
end
|
1210
1225
|
.,.,
|
1211
1226
|
|
1212
|
-
# reduce
|
1227
|
+
# reduce 82 omitted
|
1213
1228
|
|
1214
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1215
|
-
def
|
1229
|
+
module_eval(<<'.,.,', 'parser.racc', 170)
|
1230
|
+
def _reduce_83(val, _values, result)
|
1216
1231
|
result = SQLParser::Statement::InValueList.new(val[1])
|
1217
1232
|
result
|
1218
1233
|
end
|
1219
1234
|
.,.,
|
1220
1235
|
|
1221
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1222
|
-
def
|
1236
|
+
module_eval(<<'.,.,', 'parser.racc', 173)
|
1237
|
+
def _reduce_84(val, _values, result)
|
1223
1238
|
result = Array(val[0]) + Array(val[2])
|
1224
1239
|
result
|
1225
1240
|
end
|
1226
1241
|
.,.,
|
1227
1242
|
|
1228
|
-
# reduce
|
1243
|
+
# reduce 85 omitted
|
1229
1244
|
|
1230
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1231
|
-
def
|
1245
|
+
module_eval(<<'.,.,', 'parser.racc', 180)
|
1246
|
+
def _reduce_86(val, _values, result)
|
1232
1247
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Like.new(val[0], val[3]))
|
1233
1248
|
result
|
1234
1249
|
end
|
1235
1250
|
.,.,
|
1236
1251
|
|
1237
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1238
|
-
def
|
1252
|
+
module_eval(<<'.,.,', 'parser.racc', 181)
|
1253
|
+
def _reduce_87(val, _values, result)
|
1239
1254
|
result = SQLParser::Statement::Like.new(val[0], val[2])
|
1240
1255
|
result
|
1241
1256
|
end
|
1242
1257
|
.,.,
|
1243
1258
|
|
1244
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1245
|
-
def
|
1259
|
+
module_eval(<<'.,.,', 'parser.racc', 184)
|
1260
|
+
def _reduce_88(val, _values, result)
|
1246
1261
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new))
|
1247
1262
|
result
|
1248
1263
|
end
|
1249
1264
|
.,.,
|
1250
1265
|
|
1251
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1252
|
-
def
|
1266
|
+
module_eval(<<'.,.,', 'parser.racc', 185)
|
1267
|
+
def _reduce_89(val, _values, result)
|
1253
1268
|
result = SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new)
|
1254
1269
|
result
|
1255
1270
|
end
|
1256
1271
|
.,.,
|
1257
1272
|
|
1258
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1259
|
-
def
|
1273
|
+
module_eval(<<'.,.,', 'parser.racc', 188)
|
1274
|
+
def _reduce_90(val, _values, result)
|
1260
1275
|
result = SQLParser::Statement::Exists.new(val[1])
|
1261
1276
|
result
|
1262
1277
|
end
|
1263
1278
|
.,.,
|
1264
1279
|
|
1265
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1266
|
-
def
|
1280
|
+
module_eval(<<'.,.,', 'parser.racc', 192)
|
1281
|
+
def _reduce_91(val, _values, result)
|
1267
1282
|
result = SQLParser::Statement::Table.new(val[0])
|
1268
1283
|
result
|
1269
1284
|
end
|
1270
1285
|
.,.,
|
1271
1286
|
|
1272
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1273
|
-
def
|
1287
|
+
module_eval(<<'.,.,', 'parser.racc', 195)
|
1288
|
+
def _reduce_92(val, _values, result)
|
1274
1289
|
result = Array(val[0]) + Array(val[2])
|
1275
1290
|
result
|
1276
1291
|
end
|
1277
1292
|
.,.,
|
1278
1293
|
|
1279
|
-
# reduce 92 omitted
|
1280
|
-
|
1281
1294
|
# reduce 93 omitted
|
1282
1295
|
|
1283
|
-
|
1284
|
-
|
1296
|
+
# reduce 94 omitted
|
1297
|
+
|
1298
|
+
module_eval(<<'.,.,', 'parser.racc', 201)
|
1299
|
+
def _reduce_95(val, _values, result)
|
1285
1300
|
result = SQLParser::Statement::Or.new(val[0], val[2])
|
1286
1301
|
result
|
1287
1302
|
end
|
1288
1303
|
.,.,
|
1289
1304
|
|
1290
|
-
# reduce
|
1305
|
+
# reduce 96 omitted
|
1291
1306
|
|
1292
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1293
|
-
def
|
1307
|
+
module_eval(<<'.,.,', 'parser.racc', 205)
|
1308
|
+
def _reduce_97(val, _values, result)
|
1294
1309
|
result = SQLParser::Statement::And.new(val[0], val[2])
|
1295
1310
|
result
|
1296
1311
|
end
|
1297
1312
|
.,.,
|
1298
1313
|
|
1299
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1300
|
-
def
|
1314
|
+
module_eval(<<'.,.,', 'parser.racc', 208)
|
1315
|
+
def _reduce_98(val, _values, result)
|
1301
1316
|
result = SQLParser::Statement::Not.new(val[1])
|
1302
1317
|
result
|
1303
1318
|
end
|
1304
1319
|
.,.,
|
1305
1320
|
|
1306
|
-
# reduce 98 omitted
|
1307
|
-
|
1308
1321
|
# reduce 99 omitted
|
1309
1322
|
|
1310
1323
|
# reduce 100 omitted
|
1311
1324
|
|
1312
|
-
|
1313
|
-
|
1325
|
+
# reduce 101 omitted
|
1326
|
+
|
1327
|
+
module_eval(<<'.,.,', 'parser.racc', 216)
|
1328
|
+
def _reduce_102(val, _values, result)
|
1314
1329
|
result = val[1]
|
1315
1330
|
result
|
1316
1331
|
end
|
1317
1332
|
.,.,
|
1318
1333
|
|
1319
|
-
# reduce 102 omitted
|
1320
|
-
|
1321
1334
|
# reduce 103 omitted
|
1322
1335
|
|
1323
1336
|
# reduce 104 omitted
|
@@ -1328,49 +1341,49 @@ module_eval(<<'.,.,', 'parser.racc', 215)
|
|
1328
1341
|
|
1329
1342
|
# reduce 107 omitted
|
1330
1343
|
|
1331
|
-
|
1332
|
-
def _reduce_108(val, _values, result)
|
1333
|
-
result = SQLParser::Statement::Equals.new(val[0], val[2])
|
1334
|
-
result
|
1335
|
-
end
|
1336
|
-
.,.,
|
1344
|
+
# reduce 108 omitted
|
1337
1345
|
|
1338
1346
|
module_eval(<<'.,.,', 'parser.racc', 227)
|
1339
1347
|
def _reduce_109(val, _values, result)
|
1340
|
-
result = SQLParser::Statement::
|
1348
|
+
result = SQLParser::Statement::Equals.new(val[0], val[2])
|
1341
1349
|
result
|
1342
1350
|
end
|
1343
1351
|
.,.,
|
1344
1352
|
|
1345
1353
|
module_eval(<<'.,.,', 'parser.racc', 228)
|
1346
1354
|
def _reduce_110(val, _values, result)
|
1347
|
-
result = SQLParser::Statement::
|
1355
|
+
result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
|
1348
1356
|
result
|
1349
1357
|
end
|
1350
1358
|
.,.,
|
1351
1359
|
|
1352
1360
|
module_eval(<<'.,.,', 'parser.racc', 229)
|
1353
1361
|
def _reduce_111(val, _values, result)
|
1354
|
-
result = SQLParser::Statement::
|
1362
|
+
result = SQLParser::Statement::Less.new(val[0], val[2])
|
1355
1363
|
result
|
1356
1364
|
end
|
1357
1365
|
.,.,
|
1358
1366
|
|
1359
1367
|
module_eval(<<'.,.,', 'parser.racc', 230)
|
1360
1368
|
def _reduce_112(val, _values, result)
|
1361
|
-
result = SQLParser::Statement::
|
1369
|
+
result = SQLParser::Statement::Greater.new(val[0], val[2])
|
1362
1370
|
result
|
1363
1371
|
end
|
1364
1372
|
.,.,
|
1365
1373
|
|
1366
1374
|
module_eval(<<'.,.,', 'parser.racc', 231)
|
1367
1375
|
def _reduce_113(val, _values, result)
|
1368
|
-
result = SQLParser::Statement::
|
1376
|
+
result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
|
1369
1377
|
result
|
1370
1378
|
end
|
1371
1379
|
.,.,
|
1372
1380
|
|
1373
|
-
|
1381
|
+
module_eval(<<'.,.,', 'parser.racc', 232)
|
1382
|
+
def _reduce_114(val, _values, result)
|
1383
|
+
result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
|
1384
|
+
result
|
1385
|
+
end
|
1386
|
+
.,.,
|
1374
1387
|
|
1375
1388
|
# reduce 115 omitted
|
1376
1389
|
|
@@ -1380,228 +1393,230 @@ module_eval(<<'.,.,', 'parser.racc', 231)
|
|
1380
1393
|
|
1381
1394
|
# reduce 118 omitted
|
1382
1395
|
|
1383
|
-
|
1384
|
-
|
1396
|
+
# reduce 119 omitted
|
1397
|
+
|
1398
|
+
module_eval(<<'.,.,', 'parser.racc', 246)
|
1399
|
+
def _reduce_120(val, _values, result)
|
1385
1400
|
result = SQLParser::Statement::Add.new(val[0], val[2])
|
1386
1401
|
result
|
1387
1402
|
end
|
1388
1403
|
.,.,
|
1389
1404
|
|
1390
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1391
|
-
def
|
1405
|
+
module_eval(<<'.,.,', 'parser.racc', 247)
|
1406
|
+
def _reduce_121(val, _values, result)
|
1392
1407
|
result = SQLParser::Statement::Subtract.new(val[0], val[2])
|
1393
1408
|
result
|
1394
1409
|
end
|
1395
1410
|
.,.,
|
1396
1411
|
|
1397
|
-
# reduce
|
1412
|
+
# reduce 122 omitted
|
1398
1413
|
|
1399
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1400
|
-
def
|
1414
|
+
module_eval(<<'.,.,', 'parser.racc', 251)
|
1415
|
+
def _reduce_123(val, _values, result)
|
1401
1416
|
result = SQLParser::Statement::Multiply.new(val[0], val[2])
|
1402
1417
|
result
|
1403
1418
|
end
|
1404
1419
|
.,.,
|
1405
1420
|
|
1406
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1407
|
-
def
|
1421
|
+
module_eval(<<'.,.,', 'parser.racc', 252)
|
1422
|
+
def _reduce_124(val, _values, result)
|
1408
1423
|
result = SQLParser::Statement::Divide.new(val[0], val[2])
|
1409
1424
|
result
|
1410
1425
|
end
|
1411
1426
|
.,.,
|
1412
1427
|
|
1413
|
-
# reduce
|
1428
|
+
# reduce 125 omitted
|
1414
1429
|
|
1415
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1416
|
-
def
|
1430
|
+
module_eval(<<'.,.,', 'parser.racc', 256)
|
1431
|
+
def _reduce_126(val, _values, result)
|
1417
1432
|
result = val[0].new(val[1])
|
1418
1433
|
result
|
1419
1434
|
end
|
1420
1435
|
.,.,
|
1421
1436
|
|
1422
|
-
# reduce 126 omitted
|
1423
|
-
|
1424
1437
|
# reduce 127 omitted
|
1425
1438
|
|
1426
1439
|
# reduce 128 omitted
|
1427
1440
|
|
1428
1441
|
# reduce 129 omitted
|
1429
1442
|
|
1430
|
-
|
1431
|
-
|
1443
|
+
# reduce 130 omitted
|
1444
|
+
|
1445
|
+
module_eval(<<'.,.,', 'parser.racc', 263)
|
1446
|
+
def _reduce_131(val, _values, result)
|
1432
1447
|
result = val[1]
|
1433
1448
|
result
|
1434
1449
|
end
|
1435
1450
|
.,.,
|
1436
1451
|
|
1437
|
-
# reduce 131 omitted
|
1438
|
-
|
1439
1452
|
# reduce 132 omitted
|
1440
1453
|
|
1441
1454
|
# reduce 133 omitted
|
1442
1455
|
|
1443
1456
|
# reduce 134 omitted
|
1444
1457
|
|
1445
|
-
|
1446
|
-
|
1458
|
+
# reduce 135 omitted
|
1459
|
+
|
1460
|
+
module_eval(<<'.,.,', 'parser.racc', 274)
|
1461
|
+
def _reduce_136(val, _values, result)
|
1447
1462
|
result = SQLParser::Statement::CurrentUser.new
|
1448
1463
|
result
|
1449
1464
|
end
|
1450
1465
|
.,.,
|
1451
1466
|
|
1452
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1453
|
-
def
|
1467
|
+
module_eval(<<'.,.,', 'parser.racc', 277)
|
1468
|
+
def _reduce_137(val, _values, result)
|
1454
1469
|
result = SQLParser::Statement::QualifiedColumn.new(val[0], val[2])
|
1455
1470
|
result
|
1456
1471
|
end
|
1457
1472
|
.,.,
|
1458
1473
|
|
1459
|
-
# reduce 137 omitted
|
1460
|
-
|
1461
1474
|
# reduce 138 omitted
|
1462
1475
|
|
1463
|
-
|
1464
|
-
|
1476
|
+
# reduce 139 omitted
|
1477
|
+
|
1478
|
+
module_eval(<<'.,.,', 'parser.racc', 284)
|
1479
|
+
def _reduce_140(val, _values, result)
|
1465
1480
|
result = SQLParser::Statement::Count.new(SQLParser::Statement::All.new)
|
1466
1481
|
result
|
1467
1482
|
end
|
1468
1483
|
.,.,
|
1469
1484
|
|
1470
|
-
# reduce
|
1471
|
-
|
1472
|
-
module_eval(<<'.,.,', 'parser.racc', 287)
|
1473
|
-
def _reduce_141(val, _values, result)
|
1474
|
-
result = SQLParser::Statement::Count.new(val[2])
|
1475
|
-
result
|
1476
|
-
end
|
1477
|
-
.,.,
|
1485
|
+
# reduce 141 omitted
|
1478
1486
|
|
1479
1487
|
module_eval(<<'.,.,', 'parser.racc', 288)
|
1480
1488
|
def _reduce_142(val, _values, result)
|
1481
|
-
result = SQLParser::Statement::
|
1489
|
+
result = SQLParser::Statement::Count.new(val[2])
|
1482
1490
|
result
|
1483
1491
|
end
|
1484
1492
|
.,.,
|
1485
1493
|
|
1486
1494
|
module_eval(<<'.,.,', 'parser.racc', 289)
|
1487
1495
|
def _reduce_143(val, _values, result)
|
1488
|
-
result = SQLParser::Statement::
|
1496
|
+
result = SQLParser::Statement::Average.new(val[2])
|
1489
1497
|
result
|
1490
1498
|
end
|
1491
1499
|
.,.,
|
1492
1500
|
|
1493
1501
|
module_eval(<<'.,.,', 'parser.racc', 290)
|
1494
1502
|
def _reduce_144(val, _values, result)
|
1495
|
-
result = SQLParser::Statement::
|
1503
|
+
result = SQLParser::Statement::Maximum.new(val[2])
|
1496
1504
|
result
|
1497
1505
|
end
|
1498
1506
|
.,.,
|
1499
1507
|
|
1500
1508
|
module_eval(<<'.,.,', 'parser.racc', 291)
|
1501
1509
|
def _reduce_145(val, _values, result)
|
1502
|
-
result = SQLParser::Statement::
|
1510
|
+
result = SQLParser::Statement::Minimum.new(val[2])
|
1503
1511
|
result
|
1504
1512
|
end
|
1505
1513
|
.,.,
|
1506
1514
|
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
module_eval(<<'.,.,', 'parser.racc', 299)
|
1512
|
-
def _reduce_148(val, _values, result)
|
1513
|
-
result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
|
1515
|
+
module_eval(<<'.,.,', 'parser.racc', 292)
|
1516
|
+
def _reduce_146(val, _values, result)
|
1517
|
+
result = SQLParser::Statement::Sum.new(val[2])
|
1514
1518
|
result
|
1515
1519
|
end
|
1516
1520
|
.,.,
|
1517
1521
|
|
1522
|
+
# reduce 147 omitted
|
1523
|
+
|
1524
|
+
# reduce 148 omitted
|
1525
|
+
|
1518
1526
|
module_eval(<<'.,.,', 'parser.racc', 300)
|
1519
1527
|
def _reduce_149(val, _values, result)
|
1520
|
-
result = SQLParser::Statement::Float.new(val[0])
|
1528
|
+
result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
|
1521
1529
|
result
|
1522
1530
|
end
|
1523
1531
|
.,.,
|
1524
1532
|
|
1525
1533
|
module_eval(<<'.,.,', 'parser.racc', 301)
|
1526
1534
|
def _reduce_150(val, _values, result)
|
1527
|
-
result = SQLParser::Statement::Float.new(
|
1535
|
+
result = SQLParser::Statement::Float.new(val[0])
|
1528
1536
|
result
|
1529
1537
|
end
|
1530
1538
|
.,.,
|
1531
1539
|
|
1532
1540
|
module_eval(<<'.,.,', 'parser.racc', 302)
|
1533
1541
|
def _reduce_151(val, _values, result)
|
1534
|
-
result = SQLParser::Statement::
|
1542
|
+
result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
|
1535
1543
|
result
|
1536
1544
|
end
|
1537
1545
|
.,.,
|
1538
1546
|
|
1539
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1547
|
+
module_eval(<<'.,.,', 'parser.racc', 303)
|
1540
1548
|
def _reduce_152(val, _values, result)
|
1541
|
-
result = SQLParser::Statement::
|
1549
|
+
result = SQLParser::Statement::Integer.new(val[0])
|
1542
1550
|
result
|
1543
1551
|
end
|
1544
1552
|
.,.,
|
1545
1553
|
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
module_eval(<<'.,.,', 'parser.racc', 314)
|
1551
|
-
def _reduce_155(val, _values, result)
|
1552
|
-
result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
|
1554
|
+
module_eval(<<'.,.,', 'parser.racc', 306)
|
1555
|
+
def _reduce_153(val, _values, result)
|
1556
|
+
result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
|
1553
1557
|
result
|
1554
1558
|
end
|
1555
1559
|
.,.,
|
1556
1560
|
|
1561
|
+
# reduce 154 omitted
|
1562
|
+
|
1563
|
+
# reduce 155 omitted
|
1564
|
+
|
1557
1565
|
module_eval(<<'.,.,', 'parser.racc', 315)
|
1558
1566
|
def _reduce_156(val, _values, result)
|
1559
|
-
result = SQLParser::Statement::Integer.new(val[
|
1567
|
+
result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
|
1560
1568
|
result
|
1561
1569
|
end
|
1562
1570
|
.,.,
|
1563
1571
|
|
1564
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1572
|
+
module_eval(<<'.,.,', 'parser.racc', 316)
|
1565
1573
|
def _reduce_157(val, _values, result)
|
1566
|
-
result = SQLParser::Statement::
|
1574
|
+
result = SQLParser::Statement::Integer.new(val[0])
|
1567
1575
|
result
|
1568
1576
|
end
|
1569
1577
|
.,.,
|
1570
1578
|
|
1571
1579
|
module_eval(<<'.,.,', 'parser.racc', 319)
|
1572
1580
|
def _reduce_158(val, _values, result)
|
1573
|
-
result = SQLParser::Statement::
|
1581
|
+
result = SQLParser::Statement::UnaryPlus
|
1574
1582
|
result
|
1575
1583
|
end
|
1576
1584
|
.,.,
|
1577
1585
|
|
1578
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1586
|
+
module_eval(<<'.,.,', 'parser.racc', 320)
|
1579
1587
|
def _reduce_159(val, _values, result)
|
1580
|
-
result = SQLParser::Statement::
|
1588
|
+
result = SQLParser::Statement::UnaryMinus
|
1581
1589
|
result
|
1582
1590
|
end
|
1583
1591
|
.,.,
|
1584
1592
|
|
1585
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1593
|
+
module_eval(<<'.,.,', 'parser.racc', 324)
|
1586
1594
|
def _reduce_160(val, _values, result)
|
1587
|
-
result = SQLParser::Statement::
|
1595
|
+
result = SQLParser::Statement::Column.new(val[0])
|
1588
1596
|
result
|
1589
1597
|
end
|
1590
1598
|
.,.,
|
1591
1599
|
|
1592
1600
|
module_eval(<<'.,.,', 'parser.racc', 328)
|
1593
1601
|
def _reduce_161(val, _values, result)
|
1594
|
-
result = SQLParser::Statement::String.new(
|
1602
|
+
result = SQLParser::Statement::String.new(val[1])
|
1595
1603
|
result
|
1596
1604
|
end
|
1597
1605
|
.,.,
|
1598
1606
|
|
1599
|
-
|
1607
|
+
module_eval(<<'.,.,', 'parser.racc', 329)
|
1608
|
+
def _reduce_162(val, _values, result)
|
1609
|
+
result = SQLParser::Statement::String.new('')
|
1610
|
+
result
|
1611
|
+
end
|
1612
|
+
.,.,
|
1600
1613
|
|
1601
1614
|
# reduce 163 omitted
|
1602
1615
|
|
1603
|
-
|
1604
|
-
|
1616
|
+
# reduce 164 omitted
|
1617
|
+
|
1618
|
+
module_eval(<<'.,.,', 'parser.racc', 336)
|
1619
|
+
def _reduce_165(val, _values, result)
|
1605
1620
|
result = SQLParser::Statement::Date.new(val[1])
|
1606
1621
|
result
|
1607
1622
|
end
|