sql-parser-vlad 0.0.3 → 0.0.4
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 +7 -1
- data/lib/sql-parser/parser.racc.rb +800 -782
- data/lib/sql-parser/parser.rex +2 -0
- data/lib/sql-parser/parser.rex.rb +6 -0
- data/lib/sql-parser/sql_visitor.rb +10 -1
- data/lib/sql-parser/statement.rb +13 -1
- data/lib/sql-parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 540f69a45bf1f60b6b8a0952a8ac102a2ae0a759ef55c76d42ac20591c56b529
|
4
|
+
data.tar.gz: 5c58c4fc66694ed5a28c60c639317de9df4b93fe3f9d26c65cbf6da57995586b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1de8f46b0ec1bc72d7949096fc4c28ade69f7a5ea0d232927a2f4c40625d5b778a9e3b10dc7376339a08c03ae472860a130b449bd5fb7d12eba4cb8774f4eec
|
7
|
+
data.tar.gz: a14d6f20d8651c6b9682d701472cac829cde41fbd8542518f465cd62fc83f6c327b6640e033fc42081f8f78032f859d9df1884fb40e326ce011b780271ae538f
|
data/lib/sql-parser/parser.racc
CHANGED
@@ -18,6 +18,12 @@ rule
|
|
18
18
|
: # no action
|
19
19
|
| ORDER BY sort_specification_list { result = SQLParser::Statement::OrderBy.new(val[2]) }
|
20
20
|
|
21
|
+
limit_clause
|
22
|
+
: # no action
|
23
|
+
| LIMIT unsigned_integer { result = SQLParser::Statement::LimitClause.new(val[1], nil) }
|
24
|
+
| LIMIT unsigned_integer OFFSET unsigned_integer { result = SQLParser::Statement::LimitClause.new(val[1], val[3]) }
|
25
|
+
| LIMIT unsigned_integer comma unsigned_integer { result = SQLParser::Statement::LimitClause.new(val[3], val[1]) }
|
26
|
+
|
21
27
|
sort_specification_list
|
22
28
|
: sort_specification_list comma sort_specification { result = Array(val[0]) + Array(val[2]) }
|
23
29
|
| sort_specification
|
@@ -80,7 +86,7 @@ rule
|
|
80
86
|
| value_expression
|
81
87
|
|
82
88
|
table_expression
|
83
|
-
: from_clause where_clause group_by_clause having_clause { result = SQLParser::Statement::TableExpression.new(val[0], val[1], val[2], val[3]) }
|
89
|
+
: from_clause where_clause group_by_clause having_clause limit_clause { result = SQLParser::Statement::TableExpression.new(val[0], val[1], val[2], val[3], val[4]) }
|
84
90
|
|
85
91
|
from_clause
|
86
92
|
: FROM table_reference { result = SQLParser::Statement::FromClause.new(val[1]) }
|
@@ -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', 341)
|
15
15
|
|
16
16
|
def self.parse(sql)
|
17
17
|
new.scan_str(sql)
|
@@ -20,312 +20,298 @@ end
|
|
20
20
|
##### State transition tables begin ###
|
21
21
|
|
22
22
|
racc_action_table = [
|
23
|
-
47,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
42, 43, 44, 21, 52,
|
29
|
-
|
30
|
-
44, 21, 52,
|
31
|
-
51,
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
41, 42, 43, 44,
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
35, 48, 39, 41, 42, 43, 44,
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
23
|
+
47, 97, 97, 226, 102, 31, 109, 76, 71, 237,
|
24
|
+
7, -133, 63, 8, 135, 238, 260, 261, 47, 103,
|
25
|
+
146, 105, 106, 31, 107, 108, 217, 218, 73, 228,
|
26
|
+
73, 229, 230, 139, 140, 194, 47, 21, 73, 73,
|
27
|
+
77, 231, -133, -133, -133, 50, 51, 147, 35, 48,
|
28
|
+
39, 41, 42, 43, 44, 21, 52, 148, 55, 50,
|
29
|
+
51, 74, 75, 50, 51, 149, 35, 48, 39, 41,
|
30
|
+
42, 43, 44, 21, 52, 150, 55, 91, 90, 73,
|
31
|
+
153, 50, 51, 69, 35, 48, 39, 41, 42, 43,
|
32
|
+
44, 47, 52, 174, 55, 102, 31, 175, 176, 177,
|
33
|
+
178, 8, 179, 180, 69, 182, 183, 69, 63, 47,
|
34
|
+
103, 63, 105, 106, 31, 107, 108, 189, 190, 194,
|
35
|
+
13, 14, 15, 17, 206, 209, 92, 212, 21, 213,
|
36
|
+
219, 89, 21, 47, 225, 88, 50, 51, 231, 35,
|
37
|
+
48, 39, 41, 42, 43, 44, 21, 52, 123, 55,
|
38
|
+
87, -152, 233, 86, 50, 51, 85, 35, 48, 39,
|
39
|
+
41, 42, 43, 44, 47, 52, 84, 55, 83, 31,
|
40
|
+
21, 82, 81, 8, 8, -89, 70, 69, 50, 51,
|
41
|
+
248, 35, 48, 39, 41, 42, 43, 44, 47, 52,
|
42
|
+
249, 55, 194, 231, 250, 209, 63, 233, 57, 56,
|
43
|
+
254, 21, 12, 256, 194, 73, 21, 263, 11, 50,
|
44
|
+
51, 265, 35, 48, 39, 41, 42, 43, 44, 266,
|
45
|
+
52, 47, 55, 267, 268, 21, 31, 269, 9, 73,
|
46
|
+
73, 123, 73, 50, 51, 17, 35, 48, 39, 41,
|
47
|
+
42, 43, 44, 47, 52, 131, 55, 63, 31, 195,
|
48
|
+
196, 136, 197, 198, 199, 137, 101, 17, 21, 200,
|
49
|
+
201, 202, 203, 204, 205, 115, 50, 51, 144, 35,
|
50
|
+
48, 39, 41, 42, 43, 44, 47, 52, nil, 55,
|
51
|
+
21, 31, nil, nil, nil, nil, nil, nil, 50, 51,
|
52
|
+
17, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
53
|
+
nil, 55, 47, nil, nil, nil, nil, 154, nil, nil,
|
54
|
+
nil, nil, nil, 21, nil, nil, nil, nil, nil, nil,
|
55
|
+
nil, 50, 51, nil, 35, 48, 39, 41, 42, 43,
|
56
|
+
44, 161, 52, nil, 55, 47, nil, nil, 158, 21,
|
57
|
+
31, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
58
|
+
35, 48, 39, 41, 42, 43, 44, 47, 52, nil,
|
59
|
+
55, nil, 231, nil, nil, nil, nil, nil, nil, nil,
|
60
|
+
nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
|
51
61
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
52
|
-
|
53
|
-
nil,
|
54
|
-
|
62
|
+
47, 52, nil, 55, 21, 154, nil, nil, nil, nil,
|
63
|
+
nil, nil, 50, 51, nil, 35, 48, 39, 41, 42,
|
64
|
+
43, 44, 47, 52, nil, 55, nil, 31, nil, 161,
|
65
|
+
nil, nil, nil, nil, nil, nil, 158, 21, nil, nil,
|
66
|
+
nil, nil, 47, nil, nil, 50, 51, 31, 35, 48,
|
67
|
+
39, 41, 42, 43, 44, nil, 52, nil, 55, 21,
|
68
|
+
47, nil, nil, nil, nil, 31, nil, 50, 51, nil,
|
69
|
+
35, 48, 39, 41, 42, 43, 44, nil, 52, 21,
|
70
|
+
55, nil, nil, nil, 47, nil, nil, 50, 51, 31,
|
55
71
|
35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
|
56
|
-
55, nil, nil, nil,
|
57
|
-
39, 41, 42, 43, 44,
|
58
|
-
nil, nil, nil,
|
59
|
-
|
60
|
-
|
61
|
-
35, 48, 39, 41, 42, 43, 44,
|
62
|
-
55,
|
63
|
-
|
64
|
-
nil,
|
65
|
-
|
66
|
-
nil, nil, nil, nil,
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
nil,
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
nil, nil, nil, nil, 50, 51,
|
78
|
-
41, 42, 43, 44, nil, 52,
|
79
|
-
nil,
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
|
86
|
-
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
87
|
-
47, 55, nil, 31, nil, nil, 21, nil, nil, nil,
|
88
|
-
nil, nil, nil, nil, nil, nil, nil, 35, 48, 39,
|
89
|
-
41, 42, 43, 44, nil, 52, 47, 55, nil, 229,
|
90
|
-
nil, nil, nil, nil, nil, 21, nil, nil, nil, nil,
|
91
|
-
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
92
|
-
42, 43, 44, nil, 52, 47, 55, nil, 229, nil,
|
93
|
-
nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
|
94
|
-
51, nil, 35, 48, 39, 41, 42, 43, 44, nil,
|
95
|
-
52, 47, 55, nil, 229, nil, nil, nil, nil, nil,
|
96
|
-
21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
|
97
|
-
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
98
|
-
47, 55, nil, 229, nil, nil, 21, nil, nil, nil,
|
99
|
-
nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
|
100
|
-
41, 42, 43, 44, nil, 52, 47, 55, nil, 229,
|
101
|
-
nil, nil, nil, nil, nil, 21, nil, nil, nil, nil,
|
102
|
-
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
103
|
-
42, 43, 44, nil, 52, 47, 55, nil, 229, nil,
|
104
|
-
nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
|
105
|
-
51, nil, 35, 48, 39, 41, 42, 43, 44, nil,
|
106
|
-
52, 47, 55, nil, 229, nil, nil, nil, nil, nil,
|
107
|
-
21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
|
108
|
-
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
109
|
-
nil, 55, 47, nil, nil, 154, 21, nil, nil, nil,
|
110
|
-
nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
|
111
|
-
41, 42, 43, 44, nil, 52, nil, 55, 47, 161,
|
112
|
-
nil, 154, nil, nil, nil, nil, 158, 21, nil, nil,
|
113
|
-
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
114
|
-
39, 41, 42, 43, 44, 161, 52, 47, 55, nil,
|
115
|
-
31, nil, 158, 21, nil, nil, nil, nil, nil, nil,
|
116
|
-
nil, 50, 51, nil, 35, 48, 39, 41, 42, 43,
|
117
|
-
44, nil, 52, 47, 55, nil, 229, nil, nil, nil,
|
72
|
+
55, nil, 47, nil, nil, 50, 51, 31, 35, 48,
|
73
|
+
39, 41, 42, 43, 44, nil, 52, nil, 55, nil,
|
74
|
+
47, 21, nil, nil, nil, 31, nil, nil, nil, 50,
|
75
|
+
51, nil, 35, 48, 39, 41, 42, 43, 44, 21,
|
76
|
+
52, nil, 55, nil, nil, nil, nil, 50, 51, nil,
|
77
|
+
35, 48, 39, 41, 42, 43, 44, 21, 52, nil,
|
78
|
+
55, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
79
|
+
39, 41, 42, 43, 44, 47, 52, nil, 55, 102,
|
80
|
+
31, nil, 100, nil, nil, nil, 101, nil, nil, 125,
|
81
|
+
nil, nil, nil, 47, 103, nil, 105, 106, 231, 107,
|
82
|
+
108, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
83
|
+
nil, 47, 21, nil, nil, nil, 31, nil, nil, nil,
|
84
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
85
|
+
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
86
|
+
31, 35, 48, 39, 41, 42, 43, 44, 21, 52,
|
87
|
+
nil, 55, nil, 47, nil, nil, nil, nil, 231, 35,
|
88
|
+
48, 39, 41, 42, 43, 44, nil, 52, nil, 55,
|
89
|
+
nil, 47, 21, nil, nil, nil, 231, nil, nil, nil,
|
90
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
91
|
+
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
92
|
+
231, 35, 48, 39, 41, 42, 43, 44, 21, 52,
|
93
|
+
nil, 55, nil, 47, nil, nil, 50, 51, 231, 35,
|
94
|
+
48, 39, 41, 42, 43, 44, nil, 52, nil, 55,
|
95
|
+
nil, 47, 21, nil, nil, nil, 231, nil, nil, nil,
|
96
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
97
|
+
21, 52, nil, 55, nil, 47, nil, nil, 50, 51,
|
98
|
+
231, 35, 48, 39, 41, 42, 43, 44, 21, 52,
|
99
|
+
nil, 55, nil, 47, nil, nil, 50, 51, 231, 35,
|
100
|
+
48, 39, 41, 42, 43, 44, nil, 52, nil, 55,
|
118
101
|
nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
|
119
102
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
120
|
-
|
103
|
+
21, 52, 47, 55, nil, nil, nil, 154, 50, 51,
|
104
|
+
nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
105
|
+
nil, 55, nil, nil, nil, nil, nil, nil, 47, nil,
|
106
|
+
nil, 161, nil, 154, nil, nil, nil, nil, 158, 21,
|
107
|
+
nil, nil, nil, nil, nil, nil, nil, 50, 51, nil,
|
108
|
+
35, 48, 39, 41, 42, 43, 44, 161, 52, nil,
|
109
|
+
55, 47, nil, nil, 158, 21, 31, nil, nil, nil,
|
110
|
+
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
111
|
+
42, 43, 44, nil, 52, 47, 55, nil, nil, nil,
|
112
|
+
154, nil, nil, nil, nil, nil, nil, nil, 21, nil,
|
121
113
|
nil, nil, nil, nil, nil, nil, 50, 51, nil, 35,
|
122
114
|
48, 39, 41, 42, 43, 44, nil, 52, 47, 55,
|
123
|
-
nil,
|
124
|
-
125, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
125
|
-
39, 41, 42, 43, 44, nil, 52, 47, 55, nil,
|
126
|
-
31, nil, nil, 21, nil, nil, nil, nil, nil, nil,
|
127
|
-
nil, 50, 51, nil, 35, 48, 39, 41, 42, 43,
|
128
|
-
44, nil, 52, 47, 55, nil, 154, nil, nil, nil,
|
129
|
-
nil, nil, 21, nil, nil, nil, nil, nil, nil, nil,
|
115
|
+
nil, 158, 21, 154, nil, nil, nil, nil, 8, nil,
|
130
116
|
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
131
|
-
|
132
|
-
nil, nil, nil, nil, nil, nil,
|
133
|
-
|
134
|
-
|
117
|
+
47, 52, nil, 55, nil, 31, nil, 161, nil, nil,
|
118
|
+
nil, nil, nil, nil, 158, 21, nil, nil, nil, nil,
|
119
|
+
nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
|
120
|
+
42, 43, 44, 47, 52, nil, 55, 21, 154, nil,
|
135
121
|
nil, nil, nil, nil, nil, 50, 51, nil, 35, 48,
|
136
|
-
39, 41, 42, 43, 44,
|
137
|
-
|
138
|
-
|
122
|
+
39, 41, 42, 43, 44, 47, 52, nil, 55, nil,
|
123
|
+
31, nil, 161, nil, nil, nil, nil, nil, nil, 158,
|
124
|
+
21, nil, nil, nil, nil, 47, nil, nil, 50, 51,
|
125
|
+
31, 35, 48, 39, 41, 42, 43, 44, nil, 52,
|
126
|
+
nil, 55, 21, nil, nil, nil, nil, nil, nil, nil,
|
127
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
128
|
+
nil, 52, 21, 55, nil, nil, nil, nil, nil, nil,
|
129
|
+
50, 51, nil, 35, 48, 39, 41, 42, 43, 44,
|
130
|
+
nil, 52, nil, 55 ]
|
139
131
|
|
140
132
|
racc_action_check = [
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
83,
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
13, 13,
|
169
|
-
14,
|
170
|
-
|
171
|
-
nil, 217, nil, nil,
|
172
|
-
|
173
|
-
|
174
|
-
217, nil, nil, nil,
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
nil, nil,
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
nil, nil, nil, nil,
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
75,
|
192
|
-
76, nil, nil, nil,
|
193
|
-
nil, 76, 76, 76, 76, 76, 76, 76,
|
194
|
-
|
195
|
-
|
196
|
-
77,
|
197
|
-
|
198
|
-
nil, nil, nil,
|
199
|
-
|
200
|
-
nil,
|
201
|
-
|
202
|
-
|
203
|
-
205,
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
nil, 204, nil,
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
nil,
|
218
|
-
|
219
|
-
nil, nil,
|
220
|
-
|
221
|
-
|
222
|
-
nil,
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
nil, nil, nil,
|
229
|
-
|
230
|
-
|
231
|
-
nil, nil, nil, nil, nil,
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
nil, nil,
|
237
|
-
|
238
|
-
|
239
|
-
nil, nil, nil, nil, nil,
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
115, 144, 100, 144, nil, 100, nil, 115, 115, nil,
|
250
|
-
nil, nil, nil, nil, nil, nil, 115, 115, nil, 115,
|
251
|
-
115, 115, 115, 115, 115, 115, nil, 115, nil, 115,
|
252
|
-
nil, nil, nil, nil, nil, nil, nil, 100, nil, nil,
|
253
|
-
nil, nil, nil, nil, nil, 100, 100, nil, 100, 100,
|
254
|
-
100, 100, 100, 100, 100, nil, 100, nil, 100, 157,
|
255
|
-
157, nil, 157, 157, 157, nil, nil, nil, nil, 157,
|
256
|
-
157, 157, 157, 157, 157 ]
|
133
|
+
84, 57, 137, 192, 187, 84, 59, 25, 20, 199,
|
134
|
+
0, 23, 102, 0, 89, 199, 249, 249, 83, 187,
|
135
|
+
103, 187, 187, 83, 187, 187, 187, 187, 59, 195,
|
136
|
+
20, 195, 195, 95, 95, 192, 254, 84, 57, 137,
|
137
|
+
25, 254, 23, 23, 23, 84, 84, 104, 84, 84,
|
138
|
+
84, 84, 84, 84, 84, 83, 84, 106, 84, 89,
|
139
|
+
89, 24, 24, 83, 83, 107, 83, 83, 83, 83,
|
140
|
+
83, 83, 83, 254, 83, 108, 83, 52, 52, 109,
|
141
|
+
114, 254, 254, 66, 254, 254, 254, 254, 254, 254,
|
142
|
+
254, 233, 254, 125, 254, 116, 233, 126, 127, 128,
|
143
|
+
129, 233, 130, 134, 65, 142, 143, 64, 146, 8,
|
144
|
+
116, 147, 116, 116, 8, 116, 116, 152, 153, 155,
|
145
|
+
8, 8, 8, 8, 158, 159, 55, 184, 233, 185,
|
146
|
+
188, 49, 190, 230, 191, 48, 233, 233, 230, 233,
|
147
|
+
233, 233, 233, 233, 233, 233, 8, 233, 193, 233,
|
148
|
+
47, 45, 197, 44, 8, 8, 43, 8, 8, 8,
|
149
|
+
8, 8, 8, 8, 231, 8, 42, 8, 41, 231,
|
150
|
+
230, 39, 36, 206, 231, 21, 19, 16, 230, 230,
|
151
|
+
218, 230, 230, 230, 230, 230, 230, 230, 228, 230,
|
152
|
+
219, 230, 221, 228, 222, 227, 12, 229, 11, 9,
|
153
|
+
232, 231, 7, 237, 247, 248, 250, 251, 5, 231,
|
154
|
+
231, 255, 231, 231, 231, 231, 231, 231, 231, 257,
|
155
|
+
231, 13, 231, 258, 260, 228, 13, 261, 1, 81,
|
156
|
+
267, 80, 71, 228, 228, 13, 228, 228, 228, 228,
|
157
|
+
228, 228, 228, 14, 228, 87, 228, 69, 14, 157,
|
158
|
+
157, 90, 157, 157, 157, 93, 99, 14, 13, 157,
|
159
|
+
157, 157, 157, 157, 157, 68, 13, 13, 101, 13,
|
160
|
+
13, 13, 13, 13, 13, 13, 15, 13, nil, 13,
|
161
|
+
14, 15, nil, nil, nil, nil, nil, nil, 14, 14,
|
162
|
+
15, 14, 14, 14, 14, 14, 14, 14, nil, 14,
|
163
|
+
nil, 14, 217, nil, nil, nil, nil, 217, nil, nil,
|
164
|
+
nil, nil, nil, 15, nil, nil, nil, nil, nil, nil,
|
165
|
+
nil, 15, 15, nil, 15, 15, 15, 15, 15, 15,
|
166
|
+
15, 217, 15, nil, 15, 213, nil, nil, 217, 217,
|
167
|
+
213, nil, nil, nil, nil, nil, nil, 217, 217, nil,
|
168
|
+
217, 217, 217, 217, 217, 217, 217, 263, 217, nil,
|
169
|
+
217, nil, 263, nil, nil, nil, nil, nil, nil, nil,
|
170
|
+
nil, nil, 213, nil, nil, nil, nil, nil, nil, nil,
|
171
|
+
213, 213, nil, 213, 213, 213, 213, 213, 213, 213,
|
172
|
+
209, 213, nil, 213, 263, 209, nil, nil, nil, nil,
|
173
|
+
nil, nil, 263, 263, nil, 263, 263, 263, 263, 263,
|
174
|
+
263, 263, 86, 263, nil, 263, nil, 86, nil, 209,
|
175
|
+
nil, nil, nil, nil, nil, nil, 209, 209, nil, nil,
|
176
|
+
nil, nil, 74, nil, nil, 209, 209, 74, 209, 209,
|
177
|
+
209, 209, 209, 209, 209, nil, 209, nil, 209, 86,
|
178
|
+
75, nil, nil, nil, nil, 75, nil, 86, 86, nil,
|
179
|
+
86, 86, 86, 86, 86, 86, 86, nil, 86, 74,
|
180
|
+
86, nil, nil, nil, 76, nil, nil, 74, 74, 76,
|
181
|
+
74, 74, 74, 74, 74, 74, 74, 75, 74, nil,
|
182
|
+
74, nil, 77, nil, nil, 75, 75, 77, 75, 75,
|
183
|
+
75, 75, 75, 75, 75, nil, 75, nil, 75, nil,
|
184
|
+
85, 76, nil, nil, nil, 85, nil, nil, nil, 76,
|
185
|
+
76, nil, 76, 76, 76, 76, 76, 76, 76, 77,
|
186
|
+
76, nil, 76, nil, nil, nil, nil, 77, 77, nil,
|
187
|
+
77, 77, 77, 77, 77, 77, 77, 85, 77, nil,
|
188
|
+
77, nil, nil, nil, nil, 85, 85, nil, 85, 85,
|
189
|
+
85, 85, 85, 85, 85, 82, 85, nil, 85, 58,
|
190
|
+
82, nil, 58, nil, nil, nil, 58, nil, nil, 82,
|
191
|
+
nil, nil, nil, 205, 58, nil, 58, 58, 205, 58,
|
192
|
+
58, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
193
|
+
nil, 26, 82, nil, nil, nil, 26, nil, nil, nil,
|
194
|
+
82, 82, nil, 82, 82, 82, 82, 82, 82, 82,
|
195
|
+
205, 82, nil, 82, nil, 31, nil, nil, 205, 205,
|
196
|
+
31, 205, 205, 205, 205, 205, 205, 205, 26, 205,
|
197
|
+
nil, 205, nil, 204, nil, nil, nil, nil, 204, 26,
|
198
|
+
26, 26, 26, 26, 26, 26, nil, 26, nil, 26,
|
199
|
+
nil, 203, 31, nil, nil, nil, 203, nil, nil, nil,
|
200
|
+
31, 31, nil, 31, 31, 31, 31, 31, 31, 31,
|
201
|
+
204, 31, nil, 31, nil, 202, nil, nil, 204, 204,
|
202
|
+
202, 204, 204, 204, 204, 204, 204, 204, 203, 204,
|
203
|
+
nil, 204, nil, 201, nil, nil, 203, 203, 201, 203,
|
204
|
+
203, 203, 203, 203, 203, 203, nil, 203, nil, 203,
|
205
|
+
nil, 200, 202, nil, nil, nil, 200, nil, nil, nil,
|
206
|
+
202, 202, nil, 202, 202, 202, 202, 202, 202, 202,
|
207
|
+
201, 202, nil, 202, nil, 198, nil, nil, 201, 201,
|
208
|
+
198, 201, 201, 201, 201, 201, 201, 201, 200, 201,
|
209
|
+
nil, 201, nil, 196, nil, nil, 200, 200, 196, 200,
|
210
|
+
200, 200, 200, 200, 200, 200, nil, 200, nil, 200,
|
211
|
+
nil, nil, 198, nil, nil, nil, nil, nil, nil, nil,
|
212
|
+
198, 198, nil, 198, 198, 198, 198, 198, 198, 198,
|
213
|
+
196, 198, 194, 198, nil, nil, nil, 194, 196, 196,
|
214
|
+
nil, 196, 196, 196, 196, 196, 196, 196, nil, 196,
|
215
|
+
nil, 196, nil, nil, nil, nil, nil, nil, 189, nil,
|
216
|
+
nil, 194, nil, 189, nil, nil, nil, nil, 194, 194,
|
217
|
+
nil, nil, nil, nil, nil, nil, nil, 194, 194, nil,
|
218
|
+
194, 194, 194, 194, 194, 194, 194, 189, 194, nil,
|
219
|
+
194, 183, nil, nil, 189, 189, 183, nil, nil, nil,
|
220
|
+
nil, nil, nil, 189, 189, nil, 189, 189, 189, 189,
|
221
|
+
189, 189, 189, nil, 189, 161, 189, nil, nil, nil,
|
222
|
+
161, nil, nil, nil, nil, nil, nil, nil, 183, nil,
|
223
|
+
nil, nil, nil, nil, nil, nil, 183, 183, nil, 183,
|
224
|
+
183, 183, 183, 183, 183, 183, nil, 183, 154, 183,
|
225
|
+
nil, 161, 161, 154, nil, nil, nil, nil, 154, nil,
|
226
|
+
161, 161, nil, 161, 161, 161, 161, 161, 161, 161,
|
227
|
+
144, 161, nil, 161, nil, 144, nil, 154, nil, nil,
|
228
|
+
nil, nil, nil, nil, 154, 154, nil, nil, nil, nil,
|
229
|
+
nil, nil, nil, 154, 154, nil, 154, 154, 154, 154,
|
230
|
+
154, 154, 154, 115, 154, nil, 154, 144, 115, nil,
|
231
|
+
nil, nil, nil, nil, nil, 144, 144, nil, 144, 144,
|
232
|
+
144, 144, 144, 144, 144, 100, 144, nil, 144, nil,
|
233
|
+
100, nil, 115, nil, nil, nil, nil, nil, nil, 115,
|
234
|
+
115, nil, nil, nil, nil, 70, nil, nil, 115, 115,
|
235
|
+
70, 115, 115, 115, 115, 115, 115, 115, nil, 115,
|
236
|
+
nil, 115, 100, nil, nil, nil, nil, nil, nil, nil,
|
237
|
+
100, 100, nil, 100, 100, 100, 100, 100, 100, 100,
|
238
|
+
nil, 100, 70, 100, nil, nil, nil, nil, nil, nil,
|
239
|
+
70, 70, nil, 70, 70, 70, 70, 70, 70, 70,
|
240
|
+
nil, 70, nil, 70 ]
|
257
241
|
|
258
242
|
racc_action_pointer = [
|
259
|
-
|
260
|
-
nil,
|
261
|
-
|
262
|
-
nil,
|
263
|
-
nil,
|
264
|
-
nil, nil,
|
265
|
-
nil, nil, nil, nil,
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
nil, nil, nil, nil,
|
271
|
-
nil, nil, nil, nil, nil,
|
272
|
-
|
273
|
-
nil, nil,
|
274
|
-
nil, nil,
|
275
|
-
nil,
|
243
|
+
-2, 228, nil, nil, nil, 206, nil, 189, 104, 199,
|
244
|
+
nil, 195, 154, 216, 238, 271, 156, nil, nil, 169,
|
245
|
+
-12, 121, nil, -8, 11, -12, 596, nil, nil, nil,
|
246
|
+
nil, 620, nil, nil, nil, nil, 118, nil, nil, 161,
|
247
|
+
nil, 158, 156, 146, 143, 91, nil, 96, 130, 71,
|
248
|
+
nil, nil, 16, nil, nil, 62, nil, -4, 562, -14,
|
249
|
+
nil, nil, nil, nil, 86, 83, 62, nil, 234, 205,
|
250
|
+
1010, 190, nil, nil, 427, 445, 469, 487, nil, nil,
|
251
|
+
220, 187, 560, 13, -5, 505, 407, 240, nil, 9,
|
252
|
+
190, nil, nil, 248, nil, 25, nil, nil, nil, 242,
|
253
|
+
990, 258, -30, -3, 24, nil, 31, 39, 49, 37,
|
254
|
+
nil, nil, nil, nil, 48, 968, 88, nil, nil, nil,
|
255
|
+
nil, nil, nil, nil, nil, 82, 86, 87, 88, 89,
|
256
|
+
91, nil, nil, nil, 98, nil, nil, -3, nil, nil,
|
257
|
+
nil, nil, 94, 99, 935, nil, 66, 69, nil, nil,
|
258
|
+
nil, nil, 84, 115, 913, 76, nil, 215, 114, 89,
|
259
|
+
nil, 880, nil, nil, nil, nil, nil, nil, nil, nil,
|
276
260
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
277
|
-
nil, nil, nil,
|
278
|
-
|
279
|
-
|
280
|
-
nil, nil, nil,
|
281
|
-
|
282
|
-
|
283
|
-
nil, nil, nil, nil, nil,
|
284
|
-
|
285
|
-
nil, nil,
|
261
|
+
nil, nil, nil, 856, 116, 122, nil, -3, 126, 823,
|
262
|
+
90, 123, -8, 137, 797, -6, 758, 142, 740, -25,
|
263
|
+
716, 698, 680, 656, 638, 578, 158, nil, nil, 385,
|
264
|
+
nil, nil, nil, 330, nil, nil, nil, 297, 170, 185,
|
265
|
+
nil, 149, 187, nil, nil, nil, nil, 159, 183, 187,
|
266
|
+
128, 159, 164, 86, nil, nil, nil, 163, nil, nil,
|
267
|
+
nil, nil, nil, nil, nil, nil, nil, 161, 163, 10,
|
268
|
+
164, 171, nil, nil, 31, 200, nil, 208, 216, nil,
|
269
|
+
219, 222, nil, 352, nil, nil, nil, 188, nil, nil,
|
270
|
+
nil, nil ]
|
286
271
|
|
287
272
|
racc_action_default = [
|
288
|
-
-
|
289
|
-
-4, -
|
290
|
-
-
|
291
|
-
-
|
292
|
-
-
|
293
|
-
-
|
294
|
-
-
|
295
|
-
-
|
296
|
-
-
|
297
|
-
-
|
298
|
-
-
|
299
|
-
-
|
300
|
-
-
|
301
|
-
-
|
302
|
-
-
|
303
|
-
-
|
304
|
-
-
|
305
|
-
-
|
306
|
-
-
|
307
|
-
-
|
308
|
-
-
|
309
|
-
-
|
310
|
-
-
|
311
|
-
-
|
312
|
-
-
|
313
|
-
|
314
|
-
-77, -
|
273
|
+
-164, -164, -1, -2, -3, -5, -20, -164, -164, -164,
|
274
|
+
-4, -164, -164, -164, -164, -164, -34, -35, -36, -38,
|
275
|
+
-41, -158, -116, -117, -120, -123, -164, -125, -126, -127,
|
276
|
+
-128, -164, -130, -131, -132, -134, -164, -136, -137, -164,
|
277
|
+
-139, -164, -164, -164, -164, -145, -146, -150, -164, -164,
|
278
|
+
-156, -157, -164, -161, -162, -164, 272, -164, -164, -46,
|
279
|
+
-47, -49, -50, -89, -28, -30, -32, -33, -66, -164,
|
280
|
+
-164, -164, -40, -158, -164, -164, -164, -164, -124, -133,
|
281
|
+
-164, -164, -164, -164, -164, -164, -164, -148, -149, -164,
|
282
|
+
-164, -160, -163, -6, -12, -16, -14, -15, -21, -164,
|
283
|
+
-164, -164, -164, -164, -164, -54, -56, -58, -59, -164,
|
284
|
+
-45, -27, -29, -31, -68, -164, -43, -37, -39, -118,
|
285
|
+
-119, -121, -122, -129, -135, -164, -164, -164, -164, -164,
|
286
|
+
-164, -147, -151, -153, -164, -155, -159, -164, -13, -17,
|
287
|
+
-18, -22, -164, -25, -164, -51, -164, -164, -55, -57,
|
288
|
+
-60, -44, -73, -164, -164, -67, -75, -164, -164, -92,
|
289
|
+
-94, -164, -97, -98, -99, -101, -102, -103, -104, -105,
|
290
|
+
-106, -113, -114, -115, -138, -140, -141, -142, -143, -144,
|
291
|
+
-154, -11, -23, -164, -164, -83, -52, -164, -7, -164,
|
292
|
+
-164, -164, -164, -115, -164, -164, -164, -164, -164, -164,
|
293
|
+
-164, -164, -164, -164, -164, -164, -164, -48, -88, -164,
|
294
|
+
-96, -24, -26, -164, -53, -61, -62, -164, -164, -164,
|
295
|
+
-42, -74, -69, -71, -72, -19, -100, -93, -164, -164,
|
296
|
+
-164, -164, -164, -164, -79, -80, -85, -164, -87, -107,
|
297
|
+
-108, -109, -110, -111, -112, -95, -82, -63, -164, -8,
|
298
|
+
-164, -164, -78, -84, -164, -164, -86, -164, -65, -91,
|
299
|
+
-164, -164, -70, -164, -77, -81, -64, -164, -9, -10,
|
300
|
+
-76, -90 ]
|
315
301
|
|
316
302
|
racc_goto_table = [
|
317
|
-
72, 20,
|
318
|
-
94, 207,
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
207, 118,
|
323
|
-
116, 124, 59, 20,
|
324
|
-
|
325
|
-
|
326
|
-
181,
|
327
|
-
|
328
|
-
nil,
|
303
|
+
72, 20, 184, 58, 142, 59, 20, 20, 20, 155,
|
304
|
+
94, 207, 223, 224, 98, 234, 79, 121, 122, 258,
|
305
|
+
16, 119, 120, 222, 80, 64, 65, 66, 227, 245,
|
306
|
+
210, 134, 78, 132, 133, 216, 232, 96, 236, 110,
|
307
|
+
239, 240, 241, 242, 243, 244, 2, 252, 192, 67,
|
308
|
+
207, 118, 3, 4, 5, 141, 10, 93, 220, 138,
|
309
|
+
116, 124, 59, 20, 79, 79, 79, 79, 251, 99,
|
310
|
+
253, 246, 262, 224, 117, 126, 127, 128, 129, 130,
|
311
|
+
114, 152, 207, 221, 188, 208, 214, 211, 215, 151,
|
312
|
+
181, 255, 1, 143, 264, 145, 257, 111, 112, 113,
|
313
|
+
nil, nil, nil, 270, nil, nil, nil, nil, nil, nil,
|
314
|
+
nil, 247, nil, nil, nil, nil, nil, 96, nil, nil,
|
329
315
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
330
316
|
nil, nil, nil, nil, nil, nil, nil, 185, 187, 186,
|
331
317
|
59, nil, nil, nil, nil, nil, nil, 193, nil, nil,
|
@@ -336,289 +322,295 @@ racc_goto_table = [
|
|
336
322
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
337
323
|
nil, nil, nil, nil, nil, nil, 185, nil, nil, nil,
|
338
324
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
339
|
-
nil, nil,
|
325
|
+
nil, nil, nil, nil, 80, nil, 185, nil, 259, nil,
|
340
326
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
341
|
-
nil, nil,
|
327
|
+
nil, nil, nil, nil, nil, nil, nil, 271 ]
|
342
328
|
|
343
329
|
racc_goto_check = [
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
nil,
|
330
|
+
12, 19, 20, 15, 18, 29, 19, 19, 19, 38,
|
331
|
+
9, 13, 42, 43, 16, 48, 60, 61, 61, 40,
|
332
|
+
21, 59, 59, 41, 19, 21, 21, 21, 52, 53,
|
333
|
+
54, 63, 64, 75, 76, 37, 46, 12, 46, 12,
|
334
|
+
46, 46, 46, 46, 46, 46, 2, 48, 38, 22,
|
335
|
+
13, 12, 3, 4, 5, 16, 6, 7, 8, 11,
|
336
|
+
15, 12, 29, 19, 60, 60, 60, 60, 46, 17,
|
337
|
+
46, 20, 42, 43, 23, 19, 19, 19, 19, 19,
|
338
|
+
26, 27, 13, 38, 28, 31, 35, 18, 36, 12,
|
339
|
+
9, 20, 1, 19, 46, 29, 39, 22, 22, 22,
|
340
|
+
nil, nil, nil, 46, nil, nil, nil, nil, nil, nil,
|
341
|
+
nil, 38, nil, nil, nil, nil, nil, 12, nil, nil,
|
356
342
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
357
|
-
nil, nil, nil, nil, nil, nil, nil,
|
358
|
-
|
343
|
+
nil, nil, nil, nil, nil, nil, nil, 19, 15, 29,
|
344
|
+
29, nil, nil, nil, nil, nil, nil, 19, nil, nil,
|
359
345
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
360
346
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
361
|
-
nil, nil, nil, nil, nil, nil,
|
347
|
+
nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
|
362
348
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
363
349
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
364
|
-
nil, nil, nil, nil, nil, nil,
|
350
|
+
nil, nil, nil, nil, nil, nil, 19, nil, nil, nil,
|
365
351
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
366
|
-
nil, nil,
|
352
|
+
nil, nil, nil, nil, 19, nil, 19, nil, 12, nil,
|
367
353
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
368
|
-
nil, nil,
|
354
|
+
nil, nil, nil, nil, nil, nil, nil, 12 ]
|
369
355
|
|
370
356
|
racc_goto_pointer = [
|
371
|
-
nil,
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
-
|
376
|
-
nil, -
|
377
|
-
-
|
378
|
-
nil, nil, nil, nil,
|
357
|
+
nil, 92, 46, 52, 53, 54, 51, 0, -130, -47,
|
358
|
+
nil, -36, -20, -147, nil, -9, -44, 11, -96, -7,
|
359
|
+
-142, 12, 33, 4, nil, nil, 12, -33, -68, -7,
|
360
|
+
nil, -73, nil, nil, nil, -101, -99, -152, -106, -152,
|
361
|
+
-229, -167, -178, -177, nil, nil, -160, nil, -182, nil,
|
362
|
+
nil, nil, -166, -180, -131, nil, nil, nil, nil, -53,
|
363
|
+
-10, -59, nil, -58, 6, nil, nil, nil, nil, nil,
|
364
|
+
nil, nil, nil, nil, nil, -56, -55, nil, nil ]
|
379
365
|
|
380
366
|
racc_goto_default = [
|
381
|
-
nil, nil, nil, nil, nil, 191, nil, nil, nil,
|
382
|
-
nil, 37, 156, 6, nil, nil, nil, nil, 173,
|
383
|
-
nil, nil, 18, 19, 68, nil, nil, nil, 38,
|
384
|
-
|
385
|
-
nil, nil, 29, 172, 166, 157, 167, nil, 168,
|
386
|
-
170, 159, 160, 162, 163, 164, 165, 171, 22,
|
387
|
-
24, 25, 26, 27, 28, 30, 32, 33, 34,
|
388
|
-
40, 45, 46, 49, nil, nil, 53, 54 ]
|
367
|
+
nil, nil, nil, nil, nil, 191, nil, nil, nil, nil,
|
368
|
+
95, nil, 37, 156, 6, nil, nil, nil, nil, 173,
|
369
|
+
nil, nil, nil, 18, 19, 68, nil, nil, nil, 38,
|
370
|
+
60, 235, 61, 62, 104, nil, nil, nil, nil, nil,
|
371
|
+
nil, nil, nil, 29, 172, 166, 157, 167, nil, 168,
|
372
|
+
169, 170, 159, 160, 162, 163, 164, 165, 171, 22,
|
373
|
+
23, 24, 25, 26, 27, 28, 30, 32, 33, 34,
|
374
|
+
36, 40, 45, 46, 49, nil, nil, 53, 54 ]
|
389
375
|
|
390
376
|
racc_reduce_table = [
|
391
377
|
0, 0, :racc_error,
|
392
|
-
1,
|
393
|
-
1,
|
394
|
-
1,
|
395
|
-
2,
|
396
|
-
0,
|
397
|
-
3,
|
398
|
-
|
399
|
-
|
400
|
-
|
378
|
+
1, 66, :_reduce_none,
|
379
|
+
1, 67, :_reduce_none,
|
380
|
+
1, 67, :_reduce_none,
|
381
|
+
2, 68, :_reduce_4,
|
382
|
+
0, 71, :_reduce_none,
|
383
|
+
3, 71, :_reduce_6,
|
384
|
+
0, 73, :_reduce_none,
|
385
|
+
2, 73, :_reduce_8,
|
386
|
+
4, 73, :_reduce_9,
|
387
|
+
4, 73, :_reduce_10,
|
388
|
+
3, 72, :_reduce_11,
|
401
389
|
1, 72, :_reduce_none,
|
402
|
-
|
403
|
-
|
404
|
-
1,
|
405
|
-
|
406
|
-
|
407
|
-
1,
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
390
|
+
2, 74, :_reduce_13,
|
391
|
+
1, 75, :_reduce_none,
|
392
|
+
1, 75, :_reduce_15,
|
393
|
+
0, 76, :_reduce_16,
|
394
|
+
1, 76, :_reduce_17,
|
395
|
+
1, 76, :_reduce_18,
|
396
|
+
3, 78, :_reduce_19,
|
397
|
+
1, 70, :_reduce_none,
|
398
|
+
4, 69, :_reduce_21,
|
399
|
+
5, 69, :_reduce_22,
|
400
|
+
3, 82, :_reduce_23,
|
401
|
+
3, 83, :_reduce_24,
|
402
|
+
1, 83, :_reduce_none,
|
403
|
+
4, 81, :_reduce_26,
|
404
|
+
4, 79, :_reduce_27,
|
405
|
+
3, 79, :_reduce_28,
|
406
|
+
4, 79, :_reduce_29,
|
407
|
+
3, 79, :_reduce_30,
|
408
|
+
4, 79, :_reduce_31,
|
409
|
+
3, 79, :_reduce_32,
|
410
|
+
3, 79, :_reduce_33,
|
411
|
+
2, 79, :_reduce_34,
|
412
|
+
1, 86, :_reduce_35,
|
413
|
+
1, 86, :_reduce_36,
|
414
|
+
3, 88, :_reduce_37,
|
415
|
+
1, 88, :_reduce_none,
|
416
|
+
3, 89, :_reduce_39,
|
417
|
+
2, 89, :_reduce_40,
|
418
|
+
1, 89, :_reduce_none,
|
419
|
+
5, 87, :_reduce_42,
|
420
|
+
2, 90, :_reduce_43,
|
421
|
+
3, 80, :_reduce_44,
|
422
|
+
2, 80, :_reduce_45,
|
412
423
|
1, 80, :_reduce_none,
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
3,
|
418
|
-
4,
|
419
|
-
|
420
|
-
|
421
|
-
2,
|
422
|
-
1,
|
423
|
-
|
424
|
-
|
425
|
-
1,
|
426
|
-
|
427
|
-
|
428
|
-
1,
|
429
|
-
|
430
|
-
|
431
|
-
3, 77, :_reduce_40,
|
432
|
-
2, 77, :_reduce_41,
|
433
|
-
1, 77, :_reduce_none,
|
434
|
-
1, 77, :_reduce_none,
|
435
|
-
1, 93, :_reduce_none,
|
436
|
-
1, 92, :_reduce_none,
|
437
|
-
1, 92, :_reduce_none,
|
438
|
-
3, 94, :_reduce_47,
|
439
|
-
4, 94, :_reduce_48,
|
440
|
-
5, 95, :_reduce_49,
|
441
|
-
1, 96, :_reduce_50,
|
442
|
-
2, 96, :_reduce_51,
|
443
|
-
1, 96, :_reduce_52,
|
444
|
-
2, 96, :_reduce_53,
|
445
|
-
1, 96, :_reduce_54,
|
446
|
-
1, 96, :_reduce_55,
|
447
|
-
2, 96, :_reduce_56,
|
448
|
-
1, 97, :_reduce_none,
|
449
|
-
1, 97, :_reduce_none,
|
450
|
-
2, 98, :_reduce_59,
|
451
|
-
4, 99, :_reduce_60,
|
452
|
-
1, 101, :_reduce_none,
|
453
|
-
0, 88, :_reduce_none,
|
454
|
-
2, 88, :_reduce_63,
|
455
|
-
0, 89, :_reduce_none,
|
456
|
-
3, 89, :_reduce_65,
|
457
|
-
3, 103, :_reduce_66,
|
458
|
-
1, 103, :_reduce_none,
|
424
|
+
1, 80, :_reduce_none,
|
425
|
+
1, 96, :_reduce_none,
|
426
|
+
1, 95, :_reduce_none,
|
427
|
+
1, 95, :_reduce_none,
|
428
|
+
3, 97, :_reduce_51,
|
429
|
+
4, 97, :_reduce_52,
|
430
|
+
5, 98, :_reduce_53,
|
431
|
+
1, 99, :_reduce_54,
|
432
|
+
2, 99, :_reduce_55,
|
433
|
+
1, 99, :_reduce_56,
|
434
|
+
2, 99, :_reduce_57,
|
435
|
+
1, 99, :_reduce_58,
|
436
|
+
1, 99, :_reduce_59,
|
437
|
+
2, 99, :_reduce_60,
|
438
|
+
1, 100, :_reduce_none,
|
439
|
+
1, 100, :_reduce_none,
|
440
|
+
2, 101, :_reduce_63,
|
441
|
+
4, 102, :_reduce_64,
|
459
442
|
1, 104, :_reduce_none,
|
460
|
-
0,
|
461
|
-
2,
|
443
|
+
0, 91, :_reduce_none,
|
444
|
+
2, 91, :_reduce_67,
|
445
|
+
0, 92, :_reduce_none,
|
446
|
+
3, 92, :_reduce_69,
|
447
|
+
3, 106, :_reduce_70,
|
462
448
|
1, 106, :_reduce_none,
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
3,
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
1, 116, :_reduce_none,
|
449
|
+
1, 107, :_reduce_none,
|
450
|
+
0, 93, :_reduce_none,
|
451
|
+
2, 93, :_reduce_74,
|
452
|
+
1, 109, :_reduce_none,
|
453
|
+
6, 110, :_reduce_76,
|
454
|
+
5, 110, :_reduce_77,
|
455
|
+
4, 112, :_reduce_78,
|
456
|
+
3, 112, :_reduce_79,
|
457
|
+
1, 113, :_reduce_none,
|
458
|
+
3, 113, :_reduce_81,
|
459
|
+
3, 85, :_reduce_82,
|
460
|
+
1, 85, :_reduce_none,
|
461
|
+
4, 114, :_reduce_84,
|
462
|
+
3, 114, :_reduce_85,
|
463
|
+
4, 115, :_reduce_86,
|
464
|
+
3, 115, :_reduce_87,
|
465
|
+
2, 116, :_reduce_88,
|
466
|
+
1, 94, :_reduce_89,
|
467
|
+
3, 105, :_reduce_90,
|
468
|
+
1, 105, :_reduce_none,
|
469
|
+
1, 103, :_reduce_none,
|
470
|
+
3, 103, :_reduce_93,
|
486
471
|
1, 117, :_reduce_none,
|
487
|
-
3, 117, :
|
488
|
-
|
489
|
-
1, 118, :_reduce_none,
|
490
|
-
1, 118, :_reduce_none,
|
472
|
+
3, 117, :_reduce_95,
|
473
|
+
2, 118, :_reduce_96,
|
491
474
|
1, 118, :_reduce_none,
|
492
|
-
1,
|
493
|
-
1, 118, :_reduce_none,
|
494
|
-
3, 119, :_reduce_103,
|
495
|
-
3, 119, :_reduce_104,
|
496
|
-
3, 119, :_reduce_105,
|
497
|
-
3, 119, :_reduce_106,
|
498
|
-
3, 119, :_reduce_107,
|
499
|
-
3, 119, :_reduce_108,
|
500
|
-
1, 108, :_reduce_none,
|
501
|
-
1, 108, :_reduce_none,
|
475
|
+
1, 119, :_reduce_none,
|
502
476
|
1, 120, :_reduce_none,
|
503
|
-
|
504
|
-
1, 81, :_reduce_none,
|
505
|
-
3, 121, :_reduce_114,
|
506
|
-
3, 121, :_reduce_115,
|
477
|
+
3, 120, :_reduce_100,
|
507
478
|
1, 121, :_reduce_none,
|
508
|
-
|
509
|
-
|
479
|
+
1, 121, :_reduce_none,
|
480
|
+
1, 121, :_reduce_none,
|
481
|
+
1, 121, :_reduce_none,
|
482
|
+
1, 121, :_reduce_none,
|
483
|
+
1, 121, :_reduce_none,
|
484
|
+
3, 122, :_reduce_107,
|
485
|
+
3, 122, :_reduce_108,
|
486
|
+
3, 122, :_reduce_109,
|
487
|
+
3, 122, :_reduce_110,
|
488
|
+
3, 122, :_reduce_111,
|
489
|
+
3, 122, :_reduce_112,
|
490
|
+
1, 111, :_reduce_none,
|
491
|
+
1, 111, :_reduce_none,
|
510
492
|
1, 123, :_reduce_none,
|
511
|
-
|
493
|
+
1, 84, :_reduce_none,
|
494
|
+
1, 84, :_reduce_none,
|
495
|
+
3, 124, :_reduce_118,
|
496
|
+
3, 124, :_reduce_119,
|
512
497
|
1, 124, :_reduce_none,
|
498
|
+
3, 126, :_reduce_121,
|
499
|
+
3, 126, :_reduce_122,
|
513
500
|
1, 126, :_reduce_none,
|
514
|
-
|
515
|
-
1, 126, :_reduce_none,
|
516
|
-
3, 126, :_reduce_125,
|
517
|
-
1, 127, :_reduce_none,
|
501
|
+
2, 127, :_reduce_124,
|
518
502
|
1, 127, :_reduce_none,
|
519
503
|
1, 129, :_reduce_none,
|
520
504
|
1, 129, :_reduce_none,
|
521
|
-
1,
|
522
|
-
3,
|
523
|
-
1,
|
505
|
+
1, 129, :_reduce_none,
|
506
|
+
3, 129, :_reduce_129,
|
507
|
+
1, 130, :_reduce_none,
|
508
|
+
1, 130, :_reduce_none,
|
524
509
|
1, 132, :_reduce_none,
|
525
|
-
|
526
|
-
1,
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
4,
|
531
|
-
4, 133, :_reduce_140,
|
532
|
-
1, 131, :_reduce_none,
|
510
|
+
1, 132, :_reduce_none,
|
511
|
+
1, 133, :_reduce_134,
|
512
|
+
3, 108, :_reduce_135,
|
513
|
+
1, 108, :_reduce_none,
|
514
|
+
1, 135, :_reduce_none,
|
515
|
+
4, 131, :_reduce_138,
|
533
516
|
1, 131, :_reduce_none,
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
1,
|
540
|
-
1,
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
1,
|
545
|
-
|
546
|
-
3, 122, :_reduce_155,
|
547
|
-
2, 122, :_reduce_156,
|
548
|
-
1, 122, :_reduce_none,
|
517
|
+
4, 136, :_reduce_140,
|
518
|
+
4, 136, :_reduce_141,
|
519
|
+
4, 136, :_reduce_142,
|
520
|
+
4, 136, :_reduce_143,
|
521
|
+
4, 136, :_reduce_144,
|
522
|
+
1, 134, :_reduce_none,
|
523
|
+
1, 134, :_reduce_none,
|
524
|
+
3, 137, :_reduce_147,
|
525
|
+
2, 137, :_reduce_148,
|
526
|
+
2, 137, :_reduce_149,
|
527
|
+
1, 137, :_reduce_150,
|
528
|
+
3, 138, :_reduce_151,
|
549
529
|
1, 139, :_reduce_none,
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
530
|
+
1, 140, :_reduce_none,
|
531
|
+
2, 141, :_reduce_154,
|
532
|
+
1, 141, :_reduce_155,
|
533
|
+
1, 128, :_reduce_156,
|
534
|
+
1, 128, :_reduce_157,
|
535
|
+
1, 77, :_reduce_158,
|
536
|
+
3, 125, :_reduce_159,
|
537
|
+
2, 125, :_reduce_160,
|
538
|
+
1, 125, :_reduce_none,
|
539
|
+
1, 142, :_reduce_none,
|
540
|
+
2, 143, :_reduce_163 ]
|
541
|
+
|
542
|
+
racc_reduce_n = 164
|
543
|
+
|
544
|
+
racc_shift_n = 272
|
555
545
|
|
556
546
|
racc_token_table = {
|
557
547
|
false => 0,
|
558
548
|
:error => 1,
|
559
549
|
:ORDER => 2,
|
560
550
|
:BY => 3,
|
561
|
-
:
|
551
|
+
:LIMIT => 4,
|
562
552
|
:unsigned_integer => 5,
|
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
|
-
:
|
602
|
-
:
|
603
|
-
:
|
604
|
-
:
|
605
|
-
:
|
606
|
-
:
|
607
|
-
:
|
608
|
-
:
|
609
|
-
:
|
610
|
-
:
|
611
|
-
:
|
612
|
-
:
|
613
|
-
:
|
614
|
-
:
|
615
|
-
:
|
616
|
-
:
|
617
|
-
:
|
618
|
-
:
|
619
|
-
:
|
620
|
-
|
621
|
-
|
553
|
+
:OFFSET => 6,
|
554
|
+
:comma => 7,
|
555
|
+
:ASC => 8,
|
556
|
+
:DESC => 9,
|
557
|
+
:left_paren => 10,
|
558
|
+
:right_paren => 11,
|
559
|
+
:INSERT => 12,
|
560
|
+
:INTO => 13,
|
561
|
+
:VALUES => 14,
|
562
|
+
:SELECT => 15,
|
563
|
+
:DISTINCTROW => 16,
|
564
|
+
:DISTINCT => 17,
|
565
|
+
:ALL => 18,
|
566
|
+
:asterisk => 19,
|
567
|
+
:AS => 20,
|
568
|
+
:FROM => 21,
|
569
|
+
:CROSS => 22,
|
570
|
+
:JOIN => 23,
|
571
|
+
:INNER => 24,
|
572
|
+
:LEFT => 25,
|
573
|
+
:OUTER => 26,
|
574
|
+
:RIGHT => 27,
|
575
|
+
:FULL => 28,
|
576
|
+
:ON => 29,
|
577
|
+
:USING => 30,
|
578
|
+
:WHERE => 31,
|
579
|
+
:GROUP => 32,
|
580
|
+
:HAVING => 33,
|
581
|
+
:NOT => 34,
|
582
|
+
:BETWEEN => 35,
|
583
|
+
:AND => 36,
|
584
|
+
:IN => 37,
|
585
|
+
:LIKE => 38,
|
586
|
+
:IS => 39,
|
587
|
+
:NULL => 40,
|
588
|
+
:EXISTS => 41,
|
589
|
+
:identifier => 42,
|
590
|
+
:OR => 43,
|
591
|
+
:equals_operator => 44,
|
592
|
+
:not_equals_operator => 45,
|
593
|
+
:less_than_operator => 46,
|
594
|
+
:greater_than_operator => 47,
|
595
|
+
:less_than_or_equals_operator => 48,
|
596
|
+
:greater_than_or_equals_operator => 49,
|
597
|
+
:plus_sign => 50,
|
598
|
+
:minus_sign => 51,
|
599
|
+
:solidus => 52,
|
600
|
+
:CURRENT_USER => 53,
|
601
|
+
:period => 54,
|
602
|
+
:COUNT => 55,
|
603
|
+
:AVG => 56,
|
604
|
+
:MAX => 57,
|
605
|
+
:MIN => 58,
|
606
|
+
:SUM => 59,
|
607
|
+
:E => 60,
|
608
|
+
:quote => 61,
|
609
|
+
:character_string_literal => 62,
|
610
|
+
:DATE => 63,
|
611
|
+
:date_string => 64 }
|
612
|
+
|
613
|
+
racc_nt_base = 65
|
622
614
|
|
623
615
|
racc_use_result_var = true
|
624
616
|
|
@@ -643,8 +635,10 @@ Racc_token_to_s_table = [
|
|
643
635
|
"error",
|
644
636
|
"ORDER",
|
645
637
|
"BY",
|
646
|
-
"
|
638
|
+
"LIMIT",
|
647
639
|
"unsigned_integer",
|
640
|
+
"OFFSET",
|
641
|
+
"comma",
|
648
642
|
"ASC",
|
649
643
|
"DESC",
|
650
644
|
"left_paren",
|
@@ -710,6 +704,7 @@ Racc_token_to_s_table = [
|
|
710
704
|
"query_expression",
|
711
705
|
"order_by_clause",
|
712
706
|
"sort_specification_list",
|
707
|
+
"limit_clause",
|
713
708
|
"sort_specification",
|
714
709
|
"sort_key",
|
715
710
|
"ordering_specification",
|
@@ -809,782 +804,805 @@ module_eval(<<'.,.,', 'parser.racc', 18)
|
|
809
804
|
end
|
810
805
|
.,.,
|
811
806
|
|
812
|
-
|
813
|
-
|
807
|
+
# reduce 7 omitted
|
808
|
+
|
809
|
+
module_eval(<<'.,.,', 'parser.racc', 22)
|
810
|
+
def _reduce_8(val, _values, result)
|
811
|
+
result = SQLParser::Statement::LimitClause.new(val[1], nil)
|
812
|
+
result
|
813
|
+
end
|
814
|
+
.,.,
|
815
|
+
|
816
|
+
module_eval(<<'.,.,', 'parser.racc', 23)
|
817
|
+
def _reduce_9(val, _values, result)
|
818
|
+
result = SQLParser::Statement::LimitClause.new(val[1], val[3])
|
819
|
+
result
|
820
|
+
end
|
821
|
+
.,.,
|
822
|
+
|
823
|
+
module_eval(<<'.,.,', 'parser.racc', 24)
|
824
|
+
def _reduce_10(val, _values, result)
|
825
|
+
result = SQLParser::Statement::LimitClause.new(val[3], val[1])
|
826
|
+
result
|
827
|
+
end
|
828
|
+
.,.,
|
829
|
+
|
830
|
+
module_eval(<<'.,.,', 'parser.racc', 27)
|
831
|
+
def _reduce_11(val, _values, result)
|
814
832
|
result = Array(val[0]) + Array(val[2])
|
815
833
|
result
|
816
834
|
end
|
817
835
|
.,.,
|
818
836
|
|
819
|
-
# reduce
|
837
|
+
# reduce 12 omitted
|
820
838
|
|
821
|
-
module_eval(<<'.,.,', 'parser.racc',
|
822
|
-
def
|
839
|
+
module_eval(<<'.,.,', 'parser.racc', 31)
|
840
|
+
def _reduce_13(val, _values, result)
|
823
841
|
result = val[1].new(val[0])
|
824
842
|
result
|
825
843
|
end
|
826
844
|
.,.,
|
827
845
|
|
828
|
-
# reduce
|
846
|
+
# reduce 14 omitted
|
829
847
|
|
830
|
-
module_eval(<<'.,.,', 'parser.racc',
|
831
|
-
def
|
848
|
+
module_eval(<<'.,.,', 'parser.racc', 35)
|
849
|
+
def _reduce_15(val, _values, result)
|
832
850
|
result = SQLParser::Statement::Integer.new(val[0])
|
833
851
|
result
|
834
852
|
end
|
835
853
|
.,.,
|
836
854
|
|
837
|
-
module_eval(<<'.,.,', 'parser.racc',
|
838
|
-
def
|
855
|
+
module_eval(<<'.,.,', 'parser.racc', 38)
|
856
|
+
def _reduce_16(val, _values, result)
|
839
857
|
result = SQLParser::Statement::Ascending
|
840
858
|
result
|
841
859
|
end
|
842
860
|
.,.,
|
843
861
|
|
844
|
-
module_eval(<<'.,.,', 'parser.racc',
|
845
|
-
def
|
862
|
+
module_eval(<<'.,.,', 'parser.racc', 39)
|
863
|
+
def _reduce_17(val, _values, result)
|
846
864
|
result = SQLParser::Statement::Ascending
|
847
865
|
result
|
848
866
|
end
|
849
867
|
.,.,
|
850
868
|
|
851
|
-
module_eval(<<'.,.,', 'parser.racc',
|
852
|
-
def
|
869
|
+
module_eval(<<'.,.,', 'parser.racc', 40)
|
870
|
+
def _reduce_18(val, _values, result)
|
853
871
|
result = SQLParser::Statement::Descending
|
854
872
|
result
|
855
873
|
end
|
856
874
|
.,.,
|
857
875
|
|
858
|
-
module_eval(<<'.,.,', 'parser.racc',
|
859
|
-
def
|
876
|
+
module_eval(<<'.,.,', 'parser.racc', 45)
|
877
|
+
def _reduce_19(val, _values, result)
|
860
878
|
result = SQLParser::Statement::Subquery.new(val[1])
|
861
879
|
result
|
862
880
|
end
|
863
881
|
.,.,
|
864
882
|
|
865
|
-
# reduce
|
883
|
+
# reduce 20 omitted
|
866
884
|
|
867
|
-
module_eval(<<'.,.,', 'parser.racc',
|
868
|
-
def
|
885
|
+
module_eval(<<'.,.,', 'parser.racc', 51)
|
886
|
+
def _reduce_21(val, _values, result)
|
869
887
|
result = SQLParser::Statement::Insert.new(val[2], nil, val[3])
|
870
888
|
result
|
871
889
|
end
|
872
890
|
.,.,
|
873
891
|
|
874
|
-
module_eval(<<'.,.,', 'parser.racc',
|
875
|
-
def
|
892
|
+
module_eval(<<'.,.,', 'parser.racc', 52)
|
893
|
+
def _reduce_22(val, _values, result)
|
876
894
|
result = SQLParser::Statement::Insert.new(val[2], val[3], val[4])
|
877
895
|
result
|
878
896
|
end
|
879
897
|
.,.,
|
880
898
|
|
881
|
-
module_eval(<<'.,.,', 'parser.racc',
|
882
|
-
def
|
899
|
+
module_eval(<<'.,.,', 'parser.racc', 55)
|
900
|
+
def _reduce_23(val, _values, result)
|
883
901
|
result = SQLParser::Statement::InColumnList.new(val[1])
|
884
902
|
result
|
885
903
|
end
|
886
904
|
.,.,
|
887
905
|
|
888
|
-
module_eval(<<'.,.,', 'parser.racc',
|
889
|
-
def
|
906
|
+
module_eval(<<'.,.,', 'parser.racc', 58)
|
907
|
+
def _reduce_24(val, _values, result)
|
890
908
|
result = Array(val[0]) + Array(val[2])
|
891
909
|
result
|
892
910
|
end
|
893
911
|
.,.,
|
894
912
|
|
895
|
-
# reduce
|
913
|
+
# reduce 25 omitted
|
896
914
|
|
897
|
-
module_eval(<<'.,.,', 'parser.racc',
|
898
|
-
def
|
915
|
+
module_eval(<<'.,.,', 'parser.racc', 62)
|
916
|
+
def _reduce_26(val, _values, result)
|
899
917
|
result = SQLParser::Statement::InValueList.new(val[2])
|
900
918
|
result
|
901
919
|
end
|
902
920
|
.,.,
|
903
921
|
|
904
|
-
module_eval(<<'.,.,', 'parser.racc',
|
905
|
-
def
|
922
|
+
module_eval(<<'.,.,', 'parser.racc', 65)
|
923
|
+
def _reduce_27(val, _values, result)
|
906
924
|
result = SQLParser::Statement::Select.new(val[2], val[3], "DISTINCTROW")
|
907
925
|
result
|
908
926
|
end
|
909
927
|
.,.,
|
910
928
|
|
911
|
-
module_eval(<<'.,.,', 'parser.racc',
|
912
|
-
def
|
929
|
+
module_eval(<<'.,.,', 'parser.racc', 66)
|
930
|
+
def _reduce_28(val, _values, result)
|
913
931
|
result = SQLParser::Statement::Select.new(val[2], nil, "DISTINCTROW")
|
914
932
|
result
|
915
933
|
end
|
916
934
|
.,.,
|
917
935
|
|
918
|
-
module_eval(<<'.,.,', 'parser.racc',
|
919
|
-
def
|
936
|
+
module_eval(<<'.,.,', 'parser.racc', 67)
|
937
|
+
def _reduce_29(val, _values, result)
|
920
938
|
result = SQLParser::Statement::Select.new(val[2], val[3], "DISTINCT")
|
921
939
|
result
|
922
940
|
end
|
923
941
|
.,.,
|
924
942
|
|
925
|
-
module_eval(<<'.,.,', 'parser.racc',
|
926
|
-
def
|
943
|
+
module_eval(<<'.,.,', 'parser.racc', 68)
|
944
|
+
def _reduce_30(val, _values, result)
|
927
945
|
result = SQLParser::Statement::Select.new(val[2], nil, "DISTINCT")
|
928
946
|
result
|
929
947
|
end
|
930
948
|
.,.,
|
931
949
|
|
932
|
-
module_eval(<<'.,.,', 'parser.racc',
|
933
|
-
def
|
950
|
+
module_eval(<<'.,.,', 'parser.racc', 69)
|
951
|
+
def _reduce_31(val, _values, result)
|
934
952
|
result = SQLParser::Statement::Select.new(val[2], val[3], "ALL")
|
935
953
|
result
|
936
954
|
end
|
937
955
|
.,.,
|
938
956
|
|
939
|
-
module_eval(<<'.,.,', 'parser.racc',
|
940
|
-
def
|
957
|
+
module_eval(<<'.,.,', 'parser.racc', 70)
|
958
|
+
def _reduce_32(val, _values, result)
|
941
959
|
result = SQLParser::Statement::Select.new(val[2], nil, "ALL")
|
942
960
|
result
|
943
961
|
end
|
944
962
|
.,.,
|
945
963
|
|
946
|
-
module_eval(<<'.,.,', 'parser.racc',
|
947
|
-
def
|
964
|
+
module_eval(<<'.,.,', 'parser.racc', 71)
|
965
|
+
def _reduce_33(val, _values, result)
|
948
966
|
result = SQLParser::Statement::Select.new(val[1], val[2])
|
949
967
|
result
|
950
968
|
end
|
951
969
|
.,.,
|
952
970
|
|
953
|
-
module_eval(<<'.,.,', 'parser.racc',
|
954
|
-
def
|
971
|
+
module_eval(<<'.,.,', 'parser.racc', 72)
|
972
|
+
def _reduce_34(val, _values, result)
|
955
973
|
result = SQLParser::Statement::Select.new(val[1])
|
956
974
|
result
|
957
975
|
end
|
958
976
|
.,.,
|
959
977
|
|
960
|
-
module_eval(<<'.,.,', 'parser.racc',
|
961
|
-
def
|
978
|
+
module_eval(<<'.,.,', 'parser.racc', 75)
|
979
|
+
def _reduce_35(val, _values, result)
|
962
980
|
result = SQLParser::Statement::All.new
|
963
981
|
result
|
964
982
|
end
|
965
983
|
.,.,
|
966
984
|
|
967
|
-
module_eval(<<'.,.,', 'parser.racc',
|
968
|
-
def
|
985
|
+
module_eval(<<'.,.,', 'parser.racc', 76)
|
986
|
+
def _reduce_36(val, _values, result)
|
969
987
|
result = SQLParser::Statement::SelectList.new(val[0])
|
970
988
|
result
|
971
989
|
end
|
972
990
|
.,.,
|
973
991
|
|
974
|
-
module_eval(<<'.,.,', 'parser.racc',
|
975
|
-
def
|
992
|
+
module_eval(<<'.,.,', 'parser.racc', 79)
|
993
|
+
def _reduce_37(val, _values, result)
|
976
994
|
result = Array(val[0]) + Array(val[2])
|
977
995
|
result
|
978
996
|
end
|
979
997
|
.,.,
|
980
998
|
|
981
|
-
# reduce
|
999
|
+
# reduce 38 omitted
|
982
1000
|
|
983
|
-
module_eval(<<'.,.,', 'parser.racc',
|
984
|
-
def
|
1001
|
+
module_eval(<<'.,.,', 'parser.racc', 83)
|
1002
|
+
def _reduce_39(val, _values, result)
|
985
1003
|
result = SQLParser::Statement::As.new(val[0], val[2])
|
986
1004
|
result
|
987
1005
|
end
|
988
1006
|
.,.,
|
989
1007
|
|
990
|
-
module_eval(<<'.,.,', 'parser.racc',
|
991
|
-
def
|
1008
|
+
module_eval(<<'.,.,', 'parser.racc', 84)
|
1009
|
+
def _reduce_40(val, _values, result)
|
992
1010
|
result = SQLParser::Statement::As.new(val[0], val[1])
|
993
1011
|
result
|
994
1012
|
end
|
995
1013
|
.,.,
|
996
1014
|
|
997
|
-
# reduce
|
1015
|
+
# reduce 41 omitted
|
998
1016
|
|
999
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1000
|
-
def
|
1001
|
-
result = SQLParser::Statement::TableExpression.new(val[0], val[1], val[2], val[3])
|
1017
|
+
module_eval(<<'.,.,', 'parser.racc', 88)
|
1018
|
+
def _reduce_42(val, _values, result)
|
1019
|
+
result = SQLParser::Statement::TableExpression.new(val[0], val[1], val[2], val[3], val[4])
|
1002
1020
|
result
|
1003
1021
|
end
|
1004
1022
|
.,.,
|
1005
1023
|
|
1006
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1007
|
-
def
|
1024
|
+
module_eval(<<'.,.,', 'parser.racc', 91)
|
1025
|
+
def _reduce_43(val, _values, result)
|
1008
1026
|
result = SQLParser::Statement::FromClause.new(val[1])
|
1009
1027
|
result
|
1010
1028
|
end
|
1011
1029
|
.,.,
|
1012
1030
|
|
1013
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1014
|
-
def
|
1031
|
+
module_eval(<<'.,.,', 'parser.racc', 94)
|
1032
|
+
def _reduce_44(val, _values, result)
|
1015
1033
|
result = SQLParser::Statement::As.new(val[0], val[2])
|
1016
1034
|
result
|
1017
1035
|
end
|
1018
1036
|
.,.,
|
1019
1037
|
|
1020
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1021
|
-
def
|
1038
|
+
module_eval(<<'.,.,', 'parser.racc', 95)
|
1039
|
+
def _reduce_45(val, _values, result)
|
1022
1040
|
result = SQLParser::Statement::As.new(val[0], val[1])
|
1023
1041
|
result
|
1024
1042
|
end
|
1025
1043
|
.,.,
|
1026
1044
|
|
1027
|
-
# reduce
|
1045
|
+
# reduce 46 omitted
|
1028
1046
|
|
1029
|
-
# reduce
|
1047
|
+
# reduce 47 omitted
|
1030
1048
|
|
1031
|
-
# reduce
|
1049
|
+
# reduce 48 omitted
|
1032
1050
|
|
1033
|
-
# reduce
|
1051
|
+
# reduce 49 omitted
|
1034
1052
|
|
1035
|
-
# reduce
|
1053
|
+
# reduce 50 omitted
|
1036
1054
|
|
1037
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1038
|
-
def
|
1055
|
+
module_eval(<<'.,.,', 'parser.racc', 107)
|
1056
|
+
def _reduce_51(val, _values, result)
|
1039
1057
|
result = SQLParser::Statement::CrossJoin.new(val[0], val[2])
|
1040
1058
|
result
|
1041
1059
|
end
|
1042
1060
|
.,.,
|
1043
1061
|
|
1044
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1045
|
-
def
|
1062
|
+
module_eval(<<'.,.,', 'parser.racc', 108)
|
1063
|
+
def _reduce_52(val, _values, result)
|
1046
1064
|
result = SQLParser::Statement::CrossJoin.new(val[0], val[3])
|
1047
1065
|
result
|
1048
1066
|
end
|
1049
1067
|
.,.,
|
1050
1068
|
|
1051
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1052
|
-
def
|
1069
|
+
module_eval(<<'.,.,', 'parser.racc', 111)
|
1070
|
+
def _reduce_53(val, _values, result)
|
1053
1071
|
result = val[1].new(val[0], val[3], val[4])
|
1054
1072
|
result
|
1055
1073
|
end
|
1056
1074
|
.,.,
|
1057
1075
|
|
1058
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1059
|
-
def
|
1076
|
+
module_eval(<<'.,.,', 'parser.racc', 114)
|
1077
|
+
def _reduce_54(val, _values, result)
|
1060
1078
|
result = SQLParser::Statement::InnerJoin
|
1061
1079
|
result
|
1062
1080
|
end
|
1063
1081
|
.,.,
|
1064
1082
|
|
1065
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1066
|
-
def
|
1083
|
+
module_eval(<<'.,.,', 'parser.racc', 115)
|
1084
|
+
def _reduce_55(val, _values, result)
|
1067
1085
|
result = SQLParser::Statement::LeftOuterJoin
|
1068
1086
|
result
|
1069
1087
|
end
|
1070
1088
|
.,.,
|
1071
1089
|
|
1072
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1073
|
-
def
|
1090
|
+
module_eval(<<'.,.,', 'parser.racc', 116)
|
1091
|
+
def _reduce_56(val, _values, result)
|
1074
1092
|
result = SQLParser::Statement::LeftJoin
|
1075
1093
|
result
|
1076
1094
|
end
|
1077
1095
|
.,.,
|
1078
1096
|
|
1079
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1080
|
-
def
|
1097
|
+
module_eval(<<'.,.,', 'parser.racc', 117)
|
1098
|
+
def _reduce_57(val, _values, result)
|
1081
1099
|
result = SQLParser::Statement::RightOuterJoin
|
1082
1100
|
result
|
1083
1101
|
end
|
1084
1102
|
.,.,
|
1085
1103
|
|
1086
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1087
|
-
def
|
1104
|
+
module_eval(<<'.,.,', 'parser.racc', 118)
|
1105
|
+
def _reduce_58(val, _values, result)
|
1088
1106
|
result = SQLParser::Statement::RightJoin
|
1089
1107
|
result
|
1090
1108
|
end
|
1091
1109
|
.,.,
|
1092
1110
|
|
1093
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1094
|
-
def
|
1111
|
+
module_eval(<<'.,.,', 'parser.racc', 119)
|
1112
|
+
def _reduce_59(val, _values, result)
|
1095
1113
|
result = SQLParser::Statement::FullJoin
|
1096
1114
|
result
|
1097
1115
|
end
|
1098
1116
|
.,.,
|
1099
1117
|
|
1100
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1101
|
-
def
|
1118
|
+
module_eval(<<'.,.,', 'parser.racc', 120)
|
1119
|
+
def _reduce_60(val, _values, result)
|
1102
1120
|
result = SQLParser::Statement::FullOuterJoin
|
1103
1121
|
result
|
1104
1122
|
end
|
1105
1123
|
.,.,
|
1106
1124
|
|
1107
|
-
# reduce
|
1125
|
+
# reduce 61 omitted
|
1108
1126
|
|
1109
|
-
# reduce
|
1127
|
+
# reduce 62 omitted
|
1110
1128
|
|
1111
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1112
|
-
def
|
1129
|
+
module_eval(<<'.,.,', 'parser.racc', 127)
|
1130
|
+
def _reduce_63(val, _values, result)
|
1113
1131
|
result = SQLParser::Statement::On.new(val[1])
|
1114
1132
|
result
|
1115
1133
|
end
|
1116
1134
|
.,.,
|
1117
1135
|
|
1118
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1119
|
-
def
|
1136
|
+
module_eval(<<'.,.,', 'parser.racc', 130)
|
1137
|
+
def _reduce_64(val, _values, result)
|
1120
1138
|
result = SQLParser::Statement::Using.new(val[2])
|
1121
1139
|
result
|
1122
1140
|
end
|
1123
1141
|
.,.,
|
1124
1142
|
|
1125
|
-
# reduce
|
1143
|
+
# reduce 65 omitted
|
1126
1144
|
|
1127
|
-
# reduce
|
1145
|
+
# reduce 66 omitted
|
1128
1146
|
|
1129
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1130
|
-
def
|
1147
|
+
module_eval(<<'.,.,', 'parser.racc', 137)
|
1148
|
+
def _reduce_67(val, _values, result)
|
1131
1149
|
result = SQLParser::Statement::WhereClause.new(val[1])
|
1132
1150
|
result
|
1133
1151
|
end
|
1134
1152
|
.,.,
|
1135
1153
|
|
1136
|
-
# reduce
|
1154
|
+
# reduce 68 omitted
|
1137
1155
|
|
1138
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1139
|
-
def
|
1156
|
+
module_eval(<<'.,.,', 'parser.racc', 141)
|
1157
|
+
def _reduce_69(val, _values, result)
|
1140
1158
|
result = SQLParser::Statement::GroupByClause.new(val[2])
|
1141
1159
|
result
|
1142
1160
|
end
|
1143
1161
|
.,.,
|
1144
1162
|
|
1145
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1146
|
-
def
|
1163
|
+
module_eval(<<'.,.,', 'parser.racc', 144)
|
1164
|
+
def _reduce_70(val, _values, result)
|
1147
1165
|
result = Array(val[0]) + Array(val[2])
|
1148
1166
|
result
|
1149
1167
|
end
|
1150
1168
|
.,.,
|
1151
1169
|
|
1152
|
-
# reduce
|
1170
|
+
# reduce 71 omitted
|
1153
1171
|
|
1154
|
-
# reduce
|
1172
|
+
# reduce 72 omitted
|
1155
1173
|
|
1156
|
-
# reduce
|
1174
|
+
# reduce 73 omitted
|
1157
1175
|
|
1158
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1159
|
-
def
|
1176
|
+
module_eval(<<'.,.,', 'parser.racc', 152)
|
1177
|
+
def _reduce_74(val, _values, result)
|
1160
1178
|
result = SQLParser::Statement::HavingClause.new(val[1])
|
1161
1179
|
result
|
1162
1180
|
end
|
1163
1181
|
.,.,
|
1164
1182
|
|
1165
|
-
# reduce
|
1183
|
+
# reduce 75 omitted
|
1166
1184
|
|
1167
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1168
|
-
def
|
1185
|
+
module_eval(<<'.,.,', 'parser.racc', 159)
|
1186
|
+
def _reduce_76(val, _values, result)
|
1169
1187
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Between.new(val[0], val[3], val[5]))
|
1170
1188
|
result
|
1171
1189
|
end
|
1172
1190
|
.,.,
|
1173
1191
|
|
1174
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1175
|
-
def
|
1192
|
+
module_eval(<<'.,.,', 'parser.racc', 160)
|
1193
|
+
def _reduce_77(val, _values, result)
|
1176
1194
|
result = SQLParser::Statement::Between.new(val[0], val[2], val[4])
|
1177
1195
|
result
|
1178
1196
|
end
|
1179
1197
|
.,.,
|
1180
1198
|
|
1181
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1182
|
-
def
|
1199
|
+
module_eval(<<'.,.,', 'parser.racc', 163)
|
1200
|
+
def _reduce_78(val, _values, result)
|
1183
1201
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::In.new(val[0], val[3]))
|
1184
1202
|
result
|
1185
1203
|
end
|
1186
1204
|
.,.,
|
1187
1205
|
|
1188
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1189
|
-
def
|
1206
|
+
module_eval(<<'.,.,', 'parser.racc', 164)
|
1207
|
+
def _reduce_79(val, _values, result)
|
1190
1208
|
result = SQLParser::Statement::In.new(val[0], val[2])
|
1191
1209
|
result
|
1192
1210
|
end
|
1193
1211
|
.,.,
|
1194
1212
|
|
1195
|
-
# reduce
|
1213
|
+
# reduce 80 omitted
|
1196
1214
|
|
1197
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1198
|
-
def
|
1215
|
+
module_eval(<<'.,.,', 'parser.racc', 168)
|
1216
|
+
def _reduce_81(val, _values, result)
|
1199
1217
|
result = SQLParser::Statement::InValueList.new(val[1])
|
1200
1218
|
result
|
1201
1219
|
end
|
1202
1220
|
.,.,
|
1203
1221
|
|
1204
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1205
|
-
def
|
1222
|
+
module_eval(<<'.,.,', 'parser.racc', 171)
|
1223
|
+
def _reduce_82(val, _values, result)
|
1206
1224
|
result = Array(val[0]) + Array(val[2])
|
1207
1225
|
result
|
1208
1226
|
end
|
1209
1227
|
.,.,
|
1210
1228
|
|
1211
|
-
# reduce
|
1229
|
+
# reduce 83 omitted
|
1212
1230
|
|
1213
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1214
|
-
def
|
1231
|
+
module_eval(<<'.,.,', 'parser.racc', 178)
|
1232
|
+
def _reduce_84(val, _values, result)
|
1215
1233
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Like.new(val[0], val[3]))
|
1216
1234
|
result
|
1217
1235
|
end
|
1218
1236
|
.,.,
|
1219
1237
|
|
1220
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1221
|
-
def
|
1238
|
+
module_eval(<<'.,.,', 'parser.racc', 179)
|
1239
|
+
def _reduce_85(val, _values, result)
|
1222
1240
|
result = SQLParser::Statement::Like.new(val[0], val[2])
|
1223
1241
|
result
|
1224
1242
|
end
|
1225
1243
|
.,.,
|
1226
1244
|
|
1227
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1228
|
-
def
|
1245
|
+
module_eval(<<'.,.,', 'parser.racc', 182)
|
1246
|
+
def _reduce_86(val, _values, result)
|
1229
1247
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new))
|
1230
1248
|
result
|
1231
1249
|
end
|
1232
1250
|
.,.,
|
1233
1251
|
|
1234
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1235
|
-
def
|
1252
|
+
module_eval(<<'.,.,', 'parser.racc', 183)
|
1253
|
+
def _reduce_87(val, _values, result)
|
1236
1254
|
result = SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new)
|
1237
1255
|
result
|
1238
1256
|
end
|
1239
1257
|
.,.,
|
1240
1258
|
|
1241
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1242
|
-
def
|
1259
|
+
module_eval(<<'.,.,', 'parser.racc', 186)
|
1260
|
+
def _reduce_88(val, _values, result)
|
1243
1261
|
result = SQLParser::Statement::Exists.new(val[1])
|
1244
1262
|
result
|
1245
1263
|
end
|
1246
1264
|
.,.,
|
1247
1265
|
|
1248
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1249
|
-
def
|
1266
|
+
module_eval(<<'.,.,', 'parser.racc', 190)
|
1267
|
+
def _reduce_89(val, _values, result)
|
1250
1268
|
result = SQLParser::Statement::Table.new(val[0])
|
1251
1269
|
result
|
1252
1270
|
end
|
1253
1271
|
.,.,
|
1254
1272
|
|
1255
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1256
|
-
def
|
1273
|
+
module_eval(<<'.,.,', 'parser.racc', 193)
|
1274
|
+
def _reduce_90(val, _values, result)
|
1257
1275
|
result = Array(val[0]) + Array(val[2])
|
1258
1276
|
result
|
1259
1277
|
end
|
1260
1278
|
.,.,
|
1261
1279
|
|
1262
|
-
# reduce
|
1280
|
+
# reduce 91 omitted
|
1263
1281
|
|
1264
|
-
# reduce
|
1282
|
+
# reduce 92 omitted
|
1265
1283
|
|
1266
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1267
|
-
def
|
1284
|
+
module_eval(<<'.,.,', 'parser.racc', 199)
|
1285
|
+
def _reduce_93(val, _values, result)
|
1268
1286
|
result = SQLParser::Statement::Or.new(val[0], val[2])
|
1269
1287
|
result
|
1270
1288
|
end
|
1271
1289
|
.,.,
|
1272
1290
|
|
1273
|
-
# reduce
|
1291
|
+
# reduce 94 omitted
|
1274
1292
|
|
1275
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1276
|
-
def
|
1293
|
+
module_eval(<<'.,.,', 'parser.racc', 203)
|
1294
|
+
def _reduce_95(val, _values, result)
|
1277
1295
|
result = SQLParser::Statement::And.new(val[0], val[2])
|
1278
1296
|
result
|
1279
1297
|
end
|
1280
1298
|
.,.,
|
1281
1299
|
|
1282
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1283
|
-
def
|
1300
|
+
module_eval(<<'.,.,', 'parser.racc', 206)
|
1301
|
+
def _reduce_96(val, _values, result)
|
1284
1302
|
result = SQLParser::Statement::Not.new(val[1])
|
1285
1303
|
result
|
1286
1304
|
end
|
1287
1305
|
.,.,
|
1288
1306
|
|
1289
|
-
# reduce
|
1307
|
+
# reduce 97 omitted
|
1290
1308
|
|
1291
|
-
# reduce
|
1309
|
+
# reduce 98 omitted
|
1292
1310
|
|
1293
|
-
# reduce
|
1311
|
+
# reduce 99 omitted
|
1294
1312
|
|
1295
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1296
|
-
def
|
1313
|
+
module_eval(<<'.,.,', 'parser.racc', 214)
|
1314
|
+
def _reduce_100(val, _values, result)
|
1297
1315
|
result = val[1]
|
1298
1316
|
result
|
1299
1317
|
end
|
1300
1318
|
.,.,
|
1301
1319
|
|
1302
|
-
# reduce
|
1320
|
+
# reduce 101 omitted
|
1303
1321
|
|
1304
|
-
# reduce
|
1322
|
+
# reduce 102 omitted
|
1305
1323
|
|
1306
|
-
# reduce
|
1324
|
+
# reduce 103 omitted
|
1307
1325
|
|
1308
|
-
# reduce
|
1326
|
+
# reduce 104 omitted
|
1309
1327
|
|
1310
|
-
# reduce
|
1328
|
+
# reduce 105 omitted
|
1311
1329
|
|
1312
|
-
# reduce
|
1330
|
+
# reduce 106 omitted
|
1313
1331
|
|
1314
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1315
|
-
def
|
1332
|
+
module_eval(<<'.,.,', 'parser.racc', 225)
|
1333
|
+
def _reduce_107(val, _values, result)
|
1316
1334
|
result = SQLParser::Statement::Equals.new(val[0], val[2])
|
1317
1335
|
result
|
1318
1336
|
end
|
1319
1337
|
.,.,
|
1320
1338
|
|
1321
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1322
|
-
def
|
1339
|
+
module_eval(<<'.,.,', 'parser.racc', 226)
|
1340
|
+
def _reduce_108(val, _values, result)
|
1323
1341
|
result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
|
1324
1342
|
result
|
1325
1343
|
end
|
1326
1344
|
.,.,
|
1327
1345
|
|
1328
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1329
|
-
def
|
1346
|
+
module_eval(<<'.,.,', 'parser.racc', 227)
|
1347
|
+
def _reduce_109(val, _values, result)
|
1330
1348
|
result = SQLParser::Statement::Less.new(val[0], val[2])
|
1331
1349
|
result
|
1332
1350
|
end
|
1333
1351
|
.,.,
|
1334
1352
|
|
1335
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1336
|
-
def
|
1353
|
+
module_eval(<<'.,.,', 'parser.racc', 228)
|
1354
|
+
def _reduce_110(val, _values, result)
|
1337
1355
|
result = SQLParser::Statement::Greater.new(val[0], val[2])
|
1338
1356
|
result
|
1339
1357
|
end
|
1340
1358
|
.,.,
|
1341
1359
|
|
1342
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1343
|
-
def
|
1360
|
+
module_eval(<<'.,.,', 'parser.racc', 229)
|
1361
|
+
def _reduce_111(val, _values, result)
|
1344
1362
|
result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
|
1345
1363
|
result
|
1346
1364
|
end
|
1347
1365
|
.,.,
|
1348
1366
|
|
1349
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1350
|
-
def
|
1367
|
+
module_eval(<<'.,.,', 'parser.racc', 230)
|
1368
|
+
def _reduce_112(val, _values, result)
|
1351
1369
|
result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
|
1352
1370
|
result
|
1353
1371
|
end
|
1354
1372
|
.,.,
|
1355
1373
|
|
1356
|
-
# reduce
|
1374
|
+
# reduce 113 omitted
|
1357
1375
|
|
1358
|
-
# reduce
|
1376
|
+
# reduce 114 omitted
|
1359
1377
|
|
1360
|
-
# reduce
|
1378
|
+
# reduce 115 omitted
|
1361
1379
|
|
1362
|
-
# reduce
|
1380
|
+
# reduce 116 omitted
|
1363
1381
|
|
1364
|
-
# reduce
|
1382
|
+
# reduce 117 omitted
|
1365
1383
|
|
1366
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1367
|
-
def
|
1384
|
+
module_eval(<<'.,.,', 'parser.racc', 244)
|
1385
|
+
def _reduce_118(val, _values, result)
|
1368
1386
|
result = SQLParser::Statement::Add.new(val[0], val[2])
|
1369
1387
|
result
|
1370
1388
|
end
|
1371
1389
|
.,.,
|
1372
1390
|
|
1373
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1374
|
-
def
|
1391
|
+
module_eval(<<'.,.,', 'parser.racc', 245)
|
1392
|
+
def _reduce_119(val, _values, result)
|
1375
1393
|
result = SQLParser::Statement::Subtract.new(val[0], val[2])
|
1376
1394
|
result
|
1377
1395
|
end
|
1378
1396
|
.,.,
|
1379
1397
|
|
1380
|
-
# reduce
|
1398
|
+
# reduce 120 omitted
|
1381
1399
|
|
1382
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1383
|
-
def
|
1400
|
+
module_eval(<<'.,.,', 'parser.racc', 249)
|
1401
|
+
def _reduce_121(val, _values, result)
|
1384
1402
|
result = SQLParser::Statement::Multiply.new(val[0], val[2])
|
1385
1403
|
result
|
1386
1404
|
end
|
1387
1405
|
.,.,
|
1388
1406
|
|
1389
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1390
|
-
def
|
1407
|
+
module_eval(<<'.,.,', 'parser.racc', 250)
|
1408
|
+
def _reduce_122(val, _values, result)
|
1391
1409
|
result = SQLParser::Statement::Divide.new(val[0], val[2])
|
1392
1410
|
result
|
1393
1411
|
end
|
1394
1412
|
.,.,
|
1395
1413
|
|
1396
|
-
# reduce
|
1414
|
+
# reduce 123 omitted
|
1397
1415
|
|
1398
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1399
|
-
def
|
1416
|
+
module_eval(<<'.,.,', 'parser.racc', 254)
|
1417
|
+
def _reduce_124(val, _values, result)
|
1400
1418
|
result = val[0].new(val[1])
|
1401
1419
|
result
|
1402
1420
|
end
|
1403
1421
|
.,.,
|
1404
1422
|
|
1405
|
-
# reduce
|
1423
|
+
# reduce 125 omitted
|
1406
1424
|
|
1407
|
-
# reduce
|
1425
|
+
# reduce 126 omitted
|
1408
1426
|
|
1409
|
-
# reduce
|
1427
|
+
# reduce 127 omitted
|
1410
1428
|
|
1411
|
-
# reduce
|
1429
|
+
# reduce 128 omitted
|
1412
1430
|
|
1413
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1414
|
-
def
|
1431
|
+
module_eval(<<'.,.,', 'parser.racc', 261)
|
1432
|
+
def _reduce_129(val, _values, result)
|
1415
1433
|
result = val[1]
|
1416
1434
|
result
|
1417
1435
|
end
|
1418
1436
|
.,.,
|
1419
1437
|
|
1420
|
-
# reduce
|
1438
|
+
# reduce 130 omitted
|
1421
1439
|
|
1422
|
-
# reduce
|
1440
|
+
# reduce 131 omitted
|
1423
1441
|
|
1424
|
-
# reduce
|
1442
|
+
# reduce 132 omitted
|
1425
1443
|
|
1426
|
-
# reduce
|
1444
|
+
# reduce 133 omitted
|
1427
1445
|
|
1428
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1429
|
-
def
|
1446
|
+
module_eval(<<'.,.,', 'parser.racc', 272)
|
1447
|
+
def _reduce_134(val, _values, result)
|
1430
1448
|
result = SQLParser::Statement::CurrentUser.new
|
1431
1449
|
result
|
1432
1450
|
end
|
1433
1451
|
.,.,
|
1434
1452
|
|
1435
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1436
|
-
def
|
1453
|
+
module_eval(<<'.,.,', 'parser.racc', 275)
|
1454
|
+
def _reduce_135(val, _values, result)
|
1437
1455
|
result = SQLParser::Statement::QualifiedColumn.new(val[0], val[2])
|
1438
1456
|
result
|
1439
1457
|
end
|
1440
1458
|
.,.,
|
1441
1459
|
|
1442
|
-
# reduce
|
1460
|
+
# reduce 136 omitted
|
1443
1461
|
|
1444
|
-
# reduce
|
1462
|
+
# reduce 137 omitted
|
1445
1463
|
|
1446
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1447
|
-
def
|
1464
|
+
module_eval(<<'.,.,', 'parser.racc', 282)
|
1465
|
+
def _reduce_138(val, _values, result)
|
1448
1466
|
result = SQLParser::Statement::Count.new(SQLParser::Statement::All.new)
|
1449
1467
|
result
|
1450
1468
|
end
|
1451
1469
|
.,.,
|
1452
1470
|
|
1453
|
-
# reduce
|
1471
|
+
# reduce 139 omitted
|
1454
1472
|
|
1455
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1456
|
-
def
|
1473
|
+
module_eval(<<'.,.,', 'parser.racc', 286)
|
1474
|
+
def _reduce_140(val, _values, result)
|
1457
1475
|
result = SQLParser::Statement::Count.new(val[2])
|
1458
1476
|
result
|
1459
1477
|
end
|
1460
1478
|
.,.,
|
1461
1479
|
|
1462
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1463
|
-
def
|
1480
|
+
module_eval(<<'.,.,', 'parser.racc', 287)
|
1481
|
+
def _reduce_141(val, _values, result)
|
1464
1482
|
result = SQLParser::Statement::Average.new(val[2])
|
1465
1483
|
result
|
1466
1484
|
end
|
1467
1485
|
.,.,
|
1468
1486
|
|
1469
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1470
|
-
def
|
1487
|
+
module_eval(<<'.,.,', 'parser.racc', 288)
|
1488
|
+
def _reduce_142(val, _values, result)
|
1471
1489
|
result = SQLParser::Statement::Maximum.new(val[2])
|
1472
1490
|
result
|
1473
1491
|
end
|
1474
1492
|
.,.,
|
1475
1493
|
|
1476
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1477
|
-
def
|
1494
|
+
module_eval(<<'.,.,', 'parser.racc', 289)
|
1495
|
+
def _reduce_143(val, _values, result)
|
1478
1496
|
result = SQLParser::Statement::Minimum.new(val[2])
|
1479
1497
|
result
|
1480
1498
|
end
|
1481
1499
|
.,.,
|
1482
1500
|
|
1483
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1484
|
-
def
|
1501
|
+
module_eval(<<'.,.,', 'parser.racc', 290)
|
1502
|
+
def _reduce_144(val, _values, result)
|
1485
1503
|
result = SQLParser::Statement::Sum.new(val[2])
|
1486
1504
|
result
|
1487
1505
|
end
|
1488
1506
|
.,.,
|
1489
1507
|
|
1490
|
-
# reduce
|
1508
|
+
# reduce 145 omitted
|
1491
1509
|
|
1492
|
-
# reduce
|
1510
|
+
# reduce 146 omitted
|
1493
1511
|
|
1494
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1495
|
-
def
|
1512
|
+
module_eval(<<'.,.,', 'parser.racc', 298)
|
1513
|
+
def _reduce_147(val, _values, result)
|
1496
1514
|
result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
|
1497
1515
|
result
|
1498
1516
|
end
|
1499
1517
|
.,.,
|
1500
1518
|
|
1501
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1502
|
-
def
|
1519
|
+
module_eval(<<'.,.,', 'parser.racc', 299)
|
1520
|
+
def _reduce_148(val, _values, result)
|
1503
1521
|
result = SQLParser::Statement::Float.new(val[0])
|
1504
1522
|
result
|
1505
1523
|
end
|
1506
1524
|
.,.,
|
1507
1525
|
|
1508
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1509
|
-
def
|
1526
|
+
module_eval(<<'.,.,', 'parser.racc', 300)
|
1527
|
+
def _reduce_149(val, _values, result)
|
1510
1528
|
result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
|
1511
1529
|
result
|
1512
1530
|
end
|
1513
1531
|
.,.,
|
1514
1532
|
|
1515
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1516
|
-
def
|
1533
|
+
module_eval(<<'.,.,', 'parser.racc', 301)
|
1534
|
+
def _reduce_150(val, _values, result)
|
1517
1535
|
result = SQLParser::Statement::Integer.new(val[0])
|
1518
1536
|
result
|
1519
1537
|
end
|
1520
1538
|
.,.,
|
1521
1539
|
|
1522
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1523
|
-
def
|
1540
|
+
module_eval(<<'.,.,', 'parser.racc', 304)
|
1541
|
+
def _reduce_151(val, _values, result)
|
1524
1542
|
result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
|
1525
1543
|
result
|
1526
1544
|
end
|
1527
1545
|
.,.,
|
1528
1546
|
|
1529
|
-
# reduce
|
1547
|
+
# reduce 152 omitted
|
1530
1548
|
|
1531
|
-
# reduce
|
1549
|
+
# reduce 153 omitted
|
1532
1550
|
|
1533
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1534
|
-
def
|
1551
|
+
module_eval(<<'.,.,', 'parser.racc', 313)
|
1552
|
+
def _reduce_154(val, _values, result)
|
1535
1553
|
result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
|
1536
1554
|
result
|
1537
1555
|
end
|
1538
1556
|
.,.,
|
1539
1557
|
|
1540
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1541
|
-
def
|
1558
|
+
module_eval(<<'.,.,', 'parser.racc', 314)
|
1559
|
+
def _reduce_155(val, _values, result)
|
1542
1560
|
result = SQLParser::Statement::Integer.new(val[0])
|
1543
1561
|
result
|
1544
1562
|
end
|
1545
1563
|
.,.,
|
1546
1564
|
|
1547
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1548
|
-
def
|
1565
|
+
module_eval(<<'.,.,', 'parser.racc', 317)
|
1566
|
+
def _reduce_156(val, _values, result)
|
1549
1567
|
result = SQLParser::Statement::UnaryPlus
|
1550
1568
|
result
|
1551
1569
|
end
|
1552
1570
|
.,.,
|
1553
1571
|
|
1554
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1555
|
-
def
|
1572
|
+
module_eval(<<'.,.,', 'parser.racc', 318)
|
1573
|
+
def _reduce_157(val, _values, result)
|
1556
1574
|
result = SQLParser::Statement::UnaryMinus
|
1557
1575
|
result
|
1558
1576
|
end
|
1559
1577
|
.,.,
|
1560
1578
|
|
1561
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1562
|
-
def
|
1579
|
+
module_eval(<<'.,.,', 'parser.racc', 322)
|
1580
|
+
def _reduce_158(val, _values, result)
|
1563
1581
|
result = SQLParser::Statement::Column.new(val[0])
|
1564
1582
|
result
|
1565
1583
|
end
|
1566
1584
|
.,.,
|
1567
1585
|
|
1568
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1569
|
-
def
|
1586
|
+
module_eval(<<'.,.,', 'parser.racc', 326)
|
1587
|
+
def _reduce_159(val, _values, result)
|
1570
1588
|
result = SQLParser::Statement::String.new(val[1])
|
1571
1589
|
result
|
1572
1590
|
end
|
1573
1591
|
.,.,
|
1574
1592
|
|
1575
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1576
|
-
def
|
1593
|
+
module_eval(<<'.,.,', 'parser.racc', 327)
|
1594
|
+
def _reduce_160(val, _values, result)
|
1577
1595
|
result = SQLParser::Statement::String.new('')
|
1578
1596
|
result
|
1579
1597
|
end
|
1580
1598
|
.,.,
|
1581
1599
|
|
1582
|
-
# reduce
|
1600
|
+
# reduce 161 omitted
|
1583
1601
|
|
1584
|
-
# reduce
|
1602
|
+
# reduce 162 omitted
|
1585
1603
|
|
1586
|
-
module_eval(<<'.,.,', 'parser.racc',
|
1587
|
-
def
|
1604
|
+
module_eval(<<'.,.,', 'parser.racc', 334)
|
1605
|
+
def _reduce_163(val, _values, result)
|
1588
1606
|
result = SQLParser::Statement::Date.new(val[1])
|
1589
1607
|
result
|
1590
1608
|
end
|