sql-parser-vlad 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -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', 346)
14
+ module_eval(<<'...end parser.racc/module_eval...', 'parser.racc', 347)
15
15
 
16
16
  def self.parse(sql)
17
17
  new.scan_str(sql)
@@ -20,383 +20,385 @@ end
20
20
  ##### State transition tables begin ###
21
21
 
22
22
  racc_action_table = [
23
- 48, 80, 59, 259, 59, 31, 109, -137, 246, 74,
24
- 8, 48, 235, 218, 247, 59, 237, 242, 238, 239,
25
- 48, 110, 263, 112, 113, 31, 114, 115, 226, 227,
26
- 103, 76, 148, 149, 66, 81, 66, 21, -137, -137,
27
- -137, -137, 48, 144, 204, 51, 52, 66, 21, 35,
28
- 49, 39, 41, 42, 43, 44, 45, 21, 53, 7,
29
- 56, 49, 8, 48, 265, 51, 52, 21, 31, 35,
30
- 49, 39, 41, 42, 43, 44, 45, 17, 53, 21,
31
- 56, 39, 41, 42, 43, 44, 45, 204, 51, 52,
32
- 76, 48, 49, 77, 78, 79, 164, 53, 272, 56,
33
- 21, 274, 53, 116, 56, 96, 95, 275, 51, 52,
34
- 269, 270, 35, 49, 39, 41, 42, 43, 44, 45,
35
- 171, 53, 276, 56, 48, 76, 277, 168, 21, 240,
36
- 278, 76, 9, 11, 12, 57, 51, 52, 58, 109,
37
- 35, 49, 39, 41, 42, 43, 44, 45, 48, 53,
38
- 72, 56, 73, 240, 110, -92, 112, 113, 85, 114,
39
- 115, 21, 86, 87, 88, 89, 90, 91, -157, 51,
40
- 52, 92, 93, 35, 49, 39, 41, 42, 43, 44,
41
- 45, 48, 53, 94, 56, 21, 240, 97, 8, 72,
42
- 72, 72, 122, 51, 52, 76, 131, 35, 49, 39,
43
- 41, 42, 43, 44, 45, 48, 53, 76, 56, 140,
44
- 240, 145, 146, 150, 108, 154, 66, 156, 21, 157,
45
- 158, 159, 160, 76, 163, 184, 51, 52, 185, 186,
46
- 35, 49, 39, 41, 42, 43, 44, 45, 48, 53,
47
- 187, 56, 21, 240, 188, 189, 190, 191, 193, 194,
48
- 51, 52, 66, 200, 35, 49, 39, 41, 42, 43,
49
- 44, 45, 48, 53, 201, 56, 204, 240, 59, 218,
50
- 221, 222, 228, 131, 242, 21, 257, 258, 204, nil,
51
- nil, nil, 103, 51, 52, nil, nil, 35, 49, 39,
52
- 41, 42, 43, 44, 45, 48, 53, nil, 56, 21,
53
- 240, nil, nil, nil, nil, nil, nil, 51, 52, nil,
54
- nil, 35, 49, 39, 41, 42, 43, 44, 45, 21,
55
- 53, nil, 56, 48, nil, nil, nil, nil, 164, nil,
56
- nil, nil, 21, 39, 41, 42, 43, 44, 45, nil,
57
- 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
58
- 44, 45, 171, 53, nil, 56, 48, nil, nil, 168,
59
- 21, 31, nil, nil, nil, nil, nil, nil, 51, 52,
60
- nil, nil, 35, 49, 39, 41, 42, 43, 44, 45,
61
- nil, 53, nil, 56, 48, nil, nil, nil, nil, 164,
62
- nil, nil, nil, 21, nil, nil, nil, nil, nil, nil,
63
- nil, 51, 52, nil, nil, 35, 49, 39, 41, 42,
64
- 43, 44, 45, 171, 53, nil, 56, 48, nil, nil,
65
- 168, 21, 31, nil, nil, nil, nil, nil, nil, 51,
66
- 52, nil, nil, 35, 49, 39, 41, 42, 43, 44,
67
- 45, 48, 53, nil, 56, nil, 31, nil, nil, nil,
68
- nil, nil, nil, nil, 21, 17, nil, nil, nil, nil,
69
- nil, nil, 51, 52, nil, nil, 35, 49, 39, 41,
70
- 42, 43, 44, 45, nil, 53, 48, 56, 21, nil,
71
- nil, 240, nil, nil, nil, nil, 51, 52, nil, nil,
72
- 35, 49, 39, 41, 42, 43, 44, 45, 48, 53,
73
- nil, 56, nil, 31, nil, nil, nil, nil, nil, 13,
74
- 14, 15, 17, 21, nil, nil, nil, nil, 48, nil,
75
- nil, 51, 52, 31, nil, 35, 49, 39, 41, 42,
76
- 43, 44, 45, nil, 53, 21, 56, nil, nil, nil,
77
- nil, nil, nil, 51, 52, nil, nil, 35, 49, 39,
78
- 41, 42, 43, 44, 45, 21, 53, nil, 56, nil,
79
- nil, nil, nil, 51, 52, nil, nil, 35, 49, 39,
80
- 41, 42, 43, 44, 45, 48, 53, nil, 56, nil,
81
- 31, 109, nil, nil, 107, 8, nil, nil, 108, nil,
82
- nil, nil, nil, nil, nil, 48, 110, nil, 112, 113,
83
- 31, 114, 115, nil, nil, nil, nil, nil, nil, 17,
84
- nil, nil, 21, nil, nil, nil, nil, 48, nil, nil,
23
+ 48, -151, 80, 247, 116, 31, 74, -138, 159, 248,
24
+ 238, 59, 239, 240, 7, 160, 236, 8, 144, 53,
25
+ 48, 56, 53, 76, 56, 31, 76, 59, 76, 59,
26
+ 96, 95, -151, -151, -151, -151, 81, 21, -138, -138,
27
+ -138, -138, 48, 66, -158, 51, 52, 241, 204, 35,
28
+ 49, 39, 41, 42, 43, 44, 45, 21, 53, 66,
29
+ 56, 66, 48, 51, 52, 51, 52, 31, 163, 35,
30
+ 49, 39, 41, 42, 43, 44, 45, 76, 53, 21,
31
+ 56, 77, 78, 79, 270, 271, 184, 51, 52, 148,
32
+ 149, 35, 49, 39, 41, 42, 43, 44, 45, 21,
33
+ 53, 185, 56, -132, 186, 187, 103, 51, 52, 188,
34
+ 189, 35, 49, 39, 41, 42, 43, 44, 45, 48,
35
+ 53, 190, 56, 191, 31, 122, 193, 194, 72, 66,
36
+ 13, 14, 15, 17, -132, -132, -132, -132, 72, 48,
37
+ 200, 201, 72, 21, 31, 204, 59, 218, 221, 8,
38
+ 222, 8, 228, 97, 94, 131, 21, 39, 41, 42,
39
+ 43, 44, 45, 93, 51, 52, 92, 243, 35, 49,
40
+ 39, 41, 42, 43, 44, 45, 21, 53, -158, 56,
41
+ 91, 90, 89, 103, 51, 52, 88, 109, 35, 49,
42
+ 39, 41, 42, 43, 44, 45, 48, 53, 87, 56,
43
+ 86, 31, 110, 85, 112, 113, 8, 114, 115, 226,
44
+ 227, 109, 258, 259, 204, 260, 48, -93, 73, 218,
45
+ 21, 31, 72, 243, 58, 264, 110, 57, 112, 113,
46
+ 266, 114, 115, 21, 39, 41, 42, 43, 44, 45,
47
+ 204, 51, 52, 76, 12, 35, 49, 39, 41, 42,
48
+ 43, 44, 45, 21, 53, 48, 56, 273, 11, 275,
49
+ 164, 51, 52, 276, 277, 35, 49, 39, 41, 42,
50
+ 43, 44, 45, 278, 53, 48, 56, 279, 109, 9,
51
+ 31, 107, 140, 76, 171, 108, 76, 145, 146, 150,
52
+ 108, 168, 21, 110, 131, 112, 113, 48, 114, 115,
53
+ 51, 52, 31, 154, 35, 49, 39, 41, 42, 43,
54
+ 44, 45, 21, 53, 66, 56, 156, 48, 157, 158,
85
55
  51, 52, 31, nil, 35, 49, 39, 41, 42, 43,
86
- 44, 45, 21, 53, nil, 56, nil, nil, nil, nil,
87
- 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
88
- 44, 45, 48, 53, 21, 56, nil, 164, nil, nil,
89
- nil, nil, 51, 52, nil, nil, 35, 49, 39, 41,
90
- 42, 43, 44, 45, 48, 53, nil, 56, nil, 240,
91
- nil, 171, nil, nil, nil, nil, nil, nil, 168, 21,
92
- nil, nil, nil, nil, 48, nil, nil, 51, 52, 31,
93
- nil, 35, 49, 39, 41, 42, 43, 44, 45, nil,
94
- 53, 21, 56, nil, nil, nil, 48, nil, nil, 51,
56
+ 44, 45, nil, 53, 21, 56, nil, nil, nil, 48,
57
+ nil, nil, 51, 52, 31, nil, 35, 49, 39, 41,
58
+ 42, 43, 44, 45, 21, 53, nil, 56, nil, 48,
59
+ nil, nil, 51, 52, 31, nil, 35, 49, 39, 41,
60
+ 42, 43, 44, 45, nil, 53, 21, 56, nil, nil,
61
+ nil, 48, nil, nil, 51, 52, 31, nil, 35, 49,
62
+ 39, 41, 42, 43, 44, 45, 21, 53, nil, 56,
63
+ nil, nil, nil, nil, 51, 52, nil, nil, 35, 49,
64
+ 39, 41, 42, 43, 44, 45, nil, 53, 21, 56,
65
+ nil, nil, nil, nil, 48, nil, 51, 52, nil, 31,
66
+ 35, 49, 39, 41, 42, 43, 44, 45, 133, 53,
67
+ nil, 56, 205, 206, 48, 207, 208, 209, nil, 31,
68
+ nil, nil, 210, 211, 212, 213, 214, 215, nil, nil,
69
+ nil, 21, nil, nil, nil, nil, 48, nil, nil, 51,
95
70
  52, 31, nil, 35, 49, 39, 41, 42, 43, 44,
96
71
  45, 21, 53, nil, 56, nil, 48, nil, nil, 51,
97
72
  52, 31, nil, 35, 49, 39, 41, 42, 43, 44,
98
- 45, nil, 53, 21, 56, nil, nil, nil, 48, nil,
99
- nil, 51, 52, 240, nil, 35, 49, 39, 41, 42,
100
- 43, 44, 45, 21, 53, nil, 56, nil, nil, nil,
73
+ 45, nil, 53, 21, 56, nil, nil, nil, nil, nil,
101
74
  nil, 51, 52, nil, nil, 35, 49, 39, 41, 42,
102
- 43, 44, 45, nil, 53, 21, 56, nil, nil, nil,
103
- nil, 48, nil, 51, 52, nil, 31, 35, 49, 39,
104
- 41, 42, 43, 44, 45, 133, 53, nil, 56, 205,
105
- 206, 48, 207, 208, 209, nil, 31, nil, nil, 210,
106
- 211, 212, 213, 214, 215, nil, nil, nil, 21, nil,
107
- nil, nil, nil, 48, nil, nil, 51, 52, 31, nil,
108
- 35, 49, 39, 41, 42, 43, 44, 45, 21, 53,
109
- nil, 56, nil, 48, nil, nil, 51, 52, 31, nil,
110
- 35, 49, 39, 41, 42, 43, 44, 45, nil, 53,
111
- 21, 56, nil, nil, nil, 48, nil, nil, 51, 52,
112
- 31, nil, 35, 49, 39, 41, 42, 43, 44, 45,
113
- 21, 53, nil, 56, nil, 48, nil, nil, 51, 52,
114
- 31, nil, 35, 49, 39, 41, 42, 43, 44, 45,
115
- nil, 53, 21, 56, nil, nil, nil, nil, nil, nil,
116
- 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
117
- 44, 45, 21, 53, nil, 56, nil, nil, nil, nil,
118
- 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
119
- 44, 45, 48, 53, nil, 56, nil, 164, nil, nil,
120
- nil, nil, 8, nil, nil, nil, nil, nil, nil, nil,
121
- nil, nil, 48, nil, nil, nil, nil, 31, nil, nil,
122
- nil, 171, nil, nil, nil, nil, nil, nil, 168, 21,
123
- nil, nil, nil, nil, 48, nil, nil, 51, 52, 31,
75
+ 43, 44, 45, 21, 53, nil, 56, nil, nil, 48,
76
+ nil, 51, 52, nil, 31, 35, 49, 39, 41, 42,
77
+ 43, 44, 45, 17, 53, nil, 56, nil, nil, 48,
78
+ nil, nil, nil, nil, 31, nil, nil, nil, nil, nil,
79
+ nil, nil, nil, 17, nil, nil, 21, nil, nil, nil,
80
+ nil, nil, nil, nil, 51, 52, nil, nil, 35, 49,
81
+ 39, 41, 42, 43, 44, 45, 21, 53, nil, 56,
82
+ nil, nil, 48, nil, 51, 52, nil, 31, 35, 49,
83
+ 39, 41, 42, 43, 44, 45, 17, 53, nil, 56,
84
+ nil, nil, 48, nil, nil, nil, nil, 241, nil, nil,
85
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 21,
86
+ nil, nil, nil, nil, 48, nil, nil, 51, 52, 241,
124
87
  nil, 35, 49, 39, 41, 42, 43, 44, 45, 21,
125
88
  53, nil, 56, nil, nil, nil, nil, 51, 52, nil,
126
89
  nil, 35, 49, 39, 41, 42, 43, 44, 45, 48,
127
- 53, 21, 56, nil, 164, nil, nil, nil, nil, nil,
128
- nil, nil, nil, 35, 49, 39, 41, 42, 43, 44,
129
- 45, 48, 53, nil, 56, nil, 31, nil, nil, nil,
90
+ 53, 21, 56, nil, 164, nil, nil, nil, nil, 51,
91
+ 52, nil, nil, 35, 49, 39, 41, 42, 43, 44,
92
+ 45, 48, 53, nil, 56, nil, 31, nil, 171, nil,
130
93
  nil, nil, nil, nil, nil, 168, 21, nil, nil, nil,
131
94
  nil, 48, nil, nil, 51, 52, 31, nil, 35, 49,
132
95
  39, 41, 42, 43, 44, 45, nil, 53, 21, 56,
133
- nil, nil, nil, nil, nil, nil, 51, 52, nil, nil,
96
+ nil, 48, nil, nil, nil, nil, 31, nil, nil, nil,
97
+ 35, 49, 39, 41, 42, 43, 44, 45, 21, 53,
98
+ nil, 56, nil, nil, nil, nil, 51, 52, nil, nil,
134
99
  35, 49, 39, 41, 42, 43, 44, 45, 21, 53,
135
100
  48, 56, nil, nil, nil, 164, 51, 52, nil, nil,
136
101
  35, 49, 39, 41, 42, 43, 44, 45, nil, 53,
137
- nil, 56, nil, nil, nil, nil, nil, nil, nil, 171,
102
+ 48, 56, nil, nil, nil, 241, nil, nil, nil, 171,
138
103
  nil, nil, nil, nil, nil, nil, 168, 21, nil, nil,
139
- nil, nil, nil, nil, nil, 51, 52, nil, nil, 35,
140
- 49, 39, 41, 42, 43, 44, 45, nil, 53, nil,
141
- 56 ]
104
+ nil, nil, 48, nil, nil, 51, 52, 241, nil, 35,
105
+ 49, 39, 41, 42, 43, 44, 45, 21, 53, nil,
106
+ 56, nil, 48, nil, nil, 51, 52, 241, nil, 35,
107
+ 49, 39, 41, 42, 43, 44, 45, nil, 53, 21,
108
+ 56, nil, nil, nil, 48, nil, nil, 51, 52, 241,
109
+ nil, 35, 49, 39, 41, 42, 43, 44, 45, 21,
110
+ 53, nil, 56, nil, 48, nil, nil, 51, 52, 241,
111
+ nil, 35, 49, 39, 41, 42, 43, 44, 45, nil,
112
+ 53, 21, 56, nil, nil, nil, 48, nil, nil, 51,
113
+ 52, 241, nil, 35, 49, 39, 41, 42, 43, 44,
114
+ 45, 21, 53, nil, 56, nil, 48, nil, nil, 51,
115
+ 52, 241, nil, 35, 49, 39, 41, 42, 43, 44,
116
+ 45, nil, 53, 21, 56, nil, nil, nil, nil, nil,
117
+ nil, 51, 52, nil, nil, 35, 49, 39, 41, 42,
118
+ 43, 44, 45, 21, 53, 48, 56, nil, nil, nil,
119
+ 164, 51, 52, nil, nil, 35, 49, 39, 41, 42,
120
+ 43, 44, 45, nil, 53, 48, 56, nil, nil, nil,
121
+ 31, nil, nil, nil, 171, nil, nil, nil, nil, nil,
122
+ nil, 168, 21, nil, nil, nil, nil, nil, nil, nil,
123
+ 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
124
+ 44, 45, 21, 53, 48, 56, nil, nil, nil, 164,
125
+ 51, 52, nil, nil, 35, 49, 39, 41, 42, 43,
126
+ 44, 45, nil, 53, 48, 56, nil, nil, nil, 31,
127
+ nil, nil, nil, 171, nil, nil, nil, nil, nil, nil,
128
+ 168, 21, nil, nil, nil, nil, nil, nil, nil, 51,
129
+ 52, nil, nil, 35, 49, 39, 41, 42, 43, 44,
130
+ 45, 21, 53, 48, 56, nil, nil, nil, 164, 51,
131
+ 52, nil, nil, 35, 49, 39, 41, 42, 43, 44,
132
+ 45, nil, 53, nil, 56, nil, nil, nil, nil, nil,
133
+ nil, 48, nil, nil, nil, nil, 164, nil, nil, 168,
134
+ 21, 8, nil, nil, nil, nil, nil, nil, 51, 52,
135
+ nil, nil, 35, 49, 39, 41, 42, 43, 44, 45,
136
+ 171, 53, nil, 56, 48, nil, nil, 168, 21, 31,
137
+ nil, nil, nil, nil, nil, nil, 51, 52, nil, nil,
138
+ 35, 49, 39, 41, 42, 43, 44, 45, nil, 53,
139
+ nil, 56, nil, nil, nil, nil, nil, nil, nil, nil,
140
+ nil, 21, nil, nil, nil, nil, nil, nil, nil, 51,
141
+ 52, nil, nil, 35, 49, 39, 41, 42, 43, 44,
142
+ 45, nil, 53, nil, 56 ]
142
143
 
143
144
  racc_action_check = [
144
- 240, 25, 72, 231, 157, 240, 198, 23, 209, 20,
145
- 240, 201, 202, 236, 209, 12, 205, 238, 205, 205,
146
- 81, 198, 241, 198, 198, 81, 198, 198, 198, 198,
147
- 58, 20, 100, 100, 72, 25, 157, 240, 23, 23,
148
- 23, 23, 259, 94, 202, 240, 240, 12, 201, 240,
149
- 240, 240, 240, 240, 240, 240, 240, 81, 240, 0,
150
- 240, 201, 0, 14, 246, 81, 81, 58, 14, 81,
151
- 81, 81, 81, 81, 81, 81, 81, 14, 81, 259,
152
- 81, 58, 58, 58, 58, 58, 58, 256, 94, 94,
153
- 257, 204, 259, 24, 24, 24, 204, 208, 260, 208,
154
- 14, 264, 239, 61, 239, 53, 53, 266, 14, 14,
155
- 258, 258, 14, 14, 14, 14, 14, 14, 14, 14,
156
- 204, 14, 267, 14, 206, 61, 269, 204, 204, 206,
157
- 270, 276, 1, 5, 7, 9, 204, 204, 11, 123,
158
- 204, 204, 204, 204, 204, 204, 204, 204, 210, 204,
159
- 16, 204, 19, 210, 123, 21, 123, 123, 36, 123,
160
- 123, 206, 39, 41, 42, 43, 44, 45, 46, 206,
161
- 206, 48, 49, 206, 206, 206, 206, 206, 206, 206,
162
- 206, 211, 206, 50, 206, 210, 211, 56, 59, 67,
163
- 68, 69, 71, 210, 210, 74, 84, 210, 210, 210,
164
- 210, 210, 210, 210, 210, 212, 210, 85, 210, 92,
165
- 212, 95, 98, 104, 106, 108, 109, 110, 211, 111,
166
- 113, 114, 115, 116, 121, 133, 211, 211, 134, 135,
167
- 211, 211, 211, 211, 211, 211, 211, 211, 213, 211,
168
- 136, 211, 212, 213, 137, 138, 139, 143, 152, 153,
169
- 212, 212, 156, 162, 212, 212, 212, 212, 212, 212,
170
- 212, 212, 214, 212, 163, 212, 165, 214, 168, 169,
171
- 195, 196, 199, 203, 207, 213, 227, 228, 230, nil,
172
- nil, nil, 146, 213, 213, nil, nil, 213, 213, 213,
173
- 213, 213, 213, 213, 213, 215, 213, nil, 213, 214,
174
- 215, nil, nil, nil, nil, nil, nil, 214, 214, nil,
175
- nil, 214, 214, 214, 214, 214, 214, 214, 214, 146,
176
- 214, nil, 214, 218, nil, nil, nil, nil, 218, nil,
177
- nil, nil, 215, 146, 146, 146, 146, 146, 146, nil,
178
- 215, 215, nil, nil, 215, 215, 215, 215, 215, 215,
179
- 215, 215, 218, 215, nil, 215, 222, nil, nil, 218,
180
- 218, 222, nil, nil, nil, nil, nil, nil, 218, 218,
181
- nil, nil, 218, 218, 218, 218, 218, 218, 218, 218,
182
- nil, 218, nil, 218, 226, nil, nil, nil, nil, 226,
183
- nil, nil, nil, 222, nil, nil, nil, nil, nil, nil,
184
- nil, 222, 222, nil, nil, 222, 222, 222, 222, 222,
185
- 222, 222, 222, 226, 222, nil, 222, 107, nil, nil,
186
- 226, 226, 107, nil, nil, nil, nil, nil, nil, 226,
187
- 226, nil, nil, 226, 226, 226, 226, 226, 226, 226,
188
- 226, 15, 226, nil, 226, nil, 15, nil, nil, nil,
189
- nil, nil, nil, nil, 107, 15, nil, nil, nil, nil,
190
- nil, nil, 107, 107, nil, nil, 107, 107, 107, 107,
191
- 107, 107, 107, 107, nil, 107, 237, 107, 15, nil,
192
- nil, 237, nil, nil, nil, nil, 15, 15, nil, nil,
193
- 15, 15, 15, 15, 15, 15, 15, 15, 8, 15,
194
- nil, 15, nil, 8, nil, nil, nil, nil, nil, 8,
195
- 8, 8, 8, 237, nil, nil, nil, nil, 80, nil,
196
- nil, 237, 237, 80, nil, 237, 237, 237, 237, 237,
197
- 237, 237, 237, nil, 237, 8, 237, nil, nil, nil,
198
- nil, nil, nil, 8, 8, nil, nil, 8, 8, 8,
199
- 8, 8, 8, 8, 8, 80, 8, nil, 8, nil,
200
- nil, nil, nil, 80, 80, nil, nil, 80, 80, 80,
201
- 80, 80, 80, 80, 80, 242, 80, nil, 80, nil,
202
- 242, 60, nil, nil, 60, 242, nil, nil, 60, nil,
203
- nil, nil, nil, nil, nil, 13, 60, nil, 60, 60,
204
- 13, 60, 60, nil, nil, nil, nil, nil, nil, 13,
205
- nil, nil, 242, nil, nil, nil, nil, 73, nil, nil,
206
- 242, 242, 73, nil, 242, 242, 242, 242, 242, 242,
207
- 242, 242, 13, 242, nil, 242, nil, nil, nil, nil,
208
- 13, 13, nil, nil, 13, 13, 13, 13, 13, 13,
209
- 13, 13, 122, 13, 73, 13, nil, 122, nil, nil,
210
- nil, nil, 73, 73, nil, nil, 73, 73, 73, 73,
211
- 73, 73, 73, 73, 263, 73, nil, 73, nil, 263,
212
- nil, 122, nil, nil, nil, nil, nil, nil, 122, 122,
213
- nil, nil, nil, nil, 77, nil, nil, 122, 122, 77,
214
- nil, 122, 122, 122, 122, 122, 122, 122, 122, nil,
215
- 122, 263, 122, nil, nil, nil, 78, nil, nil, 263,
216
- 263, 78, nil, 263, 263, 263, 263, 263, 263, 263,
217
- 263, 77, 263, nil, 263, nil, 79, nil, nil, 77,
218
- 77, 79, nil, 77, 77, 77, 77, 77, 77, 77,
219
- 77, nil, 77, 78, 77, nil, nil, nil, 272, nil,
220
- nil, 78, 78, 272, nil, 78, 78, 78, 78, 78,
221
- 78, 78, 78, 79, 78, nil, 78, nil, nil, nil,
222
- nil, 79, 79, nil, nil, 79, 79, 79, 79, 79,
223
- 79, 79, 79, nil, 79, 272, 79, nil, nil, nil,
224
- nil, 86, nil, 272, 272, nil, 86, 272, 272, 272,
225
- 272, 272, 272, 272, 272, 86, 272, nil, 272, 167,
226
- 167, 87, 167, 167, 167, nil, 87, nil, nil, 167,
227
- 167, 167, 167, 167, 167, nil, nil, nil, 86, nil,
228
- nil, nil, nil, 154, nil, nil, 86, 86, 154, nil,
229
- 86, 86, 86, 86, 86, 86, 86, 86, 87, 86,
230
- nil, 86, nil, 88, nil, nil, 87, 87, 88, nil,
231
- 87, 87, 87, 87, 87, 87, 87, 87, nil, 87,
232
- 154, 87, nil, nil, nil, 89, nil, nil, 154, 154,
233
- 89, nil, 154, 154, 154, 154, 154, 154, 154, 154,
234
- 88, 154, nil, 154, nil, 90, nil, nil, 88, 88,
235
- 90, nil, 88, 88, 88, 88, 88, 88, 88, 88,
236
- nil, 88, 89, 88, nil, nil, nil, nil, nil, nil,
237
- 89, 89, nil, nil, 89, 89, 89, 89, 89, 89,
238
- 89, 89, 90, 89, nil, 89, nil, nil, nil, nil,
239
- 90, 90, nil, nil, 90, 90, 90, 90, 90, 90,
240
- 90, 90, 164, 90, nil, 90, nil, 164, nil, nil,
241
- nil, nil, 164, nil, nil, nil, nil, nil, nil, nil,
242
- nil, nil, 91, nil, nil, nil, nil, 91, nil, nil,
243
- nil, 164, nil, nil, nil, nil, nil, nil, 164, 164,
244
- nil, nil, nil, nil, 26, nil, nil, 164, 164, 26,
245
- nil, 164, 164, 164, 164, 164, 164, 164, 164, 91,
246
- 164, nil, 164, nil, nil, nil, nil, 91, 91, nil,
247
- nil, 91, 91, 91, 91, 91, 91, 91, 91, 171,
248
- 91, 26, 91, nil, 171, nil, nil, nil, nil, nil,
249
- nil, nil, nil, 26, 26, 26, 26, 26, 26, 26,
250
- 26, 194, 26, nil, 26, nil, 194, nil, nil, nil,
251
- nil, nil, nil, nil, nil, 171, 171, nil, nil, nil,
252
- nil, 31, nil, nil, 171, 171, 31, nil, 171, 171,
253
- 171, 171, 171, 171, 171, 171, nil, 171, 194, 171,
254
- nil, nil, nil, nil, nil, nil, 194, 194, nil, nil,
255
- 194, 194, 194, 194, 194, 194, 194, 194, 31, 194,
256
- 200, 194, nil, nil, nil, 200, 31, 31, nil, nil,
257
- 31, 31, 31, 31, 31, 31, 31, 31, nil, 31,
258
- nil, 31, nil, nil, nil, nil, nil, nil, nil, 200,
259
- nil, nil, nil, nil, nil, nil, 200, 200, nil, nil,
260
- nil, nil, nil, nil, nil, 200, 200, nil, nil, 200,
261
- 200, 200, 200, 200, 200, 200, 200, nil, 200, nil,
262
- 200 ]
145
+ 89, 233, 25, 209, 61, 89, 20, 23, 114, 209,
146
+ 205, 157, 205, 205, 0, 115, 202, 0, 94, 240,
147
+ 91, 240, 208, 116, 208, 91, 61, 72, 20, 12,
148
+ 53, 53, 233, 233, 233, 233, 25, 89, 23, 23,
149
+ 23, 23, 264, 157, 233, 89, 89, 264, 202, 89,
150
+ 89, 89, 89, 89, 89, 89, 89, 91, 89, 72,
151
+ 89, 12, 260, 94, 94, 91, 91, 260, 121, 91,
152
+ 91, 91, 91, 91, 91, 91, 91, 74, 91, 264,
153
+ 91, 24, 24, 24, 259, 259, 133, 264, 264, 100,
154
+ 100, 264, 264, 264, 264, 264, 264, 264, 264, 260,
155
+ 264, 134, 264, 234, 135, 136, 146, 260, 260, 137,
156
+ 138, 260, 260, 260, 260, 260, 260, 260, 260, 8,
157
+ 260, 139, 260, 143, 8, 71, 152, 153, 69, 156,
158
+ 8, 8, 8, 8, 234, 234, 234, 234, 68, 243,
159
+ 162, 163, 67, 146, 243, 165, 168, 169, 195, 243,
160
+ 196, 59, 199, 56, 50, 203, 8, 146, 146, 146,
161
+ 146, 146, 146, 49, 8, 8, 48, 207, 8, 8,
162
+ 8, 8, 8, 8, 8, 8, 243, 8, 46, 8,
163
+ 45, 44, 43, 58, 243, 243, 42, 198, 243, 243,
164
+ 243, 243, 243, 243, 243, 243, 241, 243, 41, 243,
165
+ 39, 241, 198, 36, 198, 198, 241, 198, 198, 198,
166
+ 198, 123, 227, 228, 230, 231, 73, 21, 19, 237,
167
+ 58, 73, 16, 239, 11, 242, 123, 9, 123, 123,
168
+ 247, 123, 123, 241, 58, 58, 58, 58, 58, 58,
169
+ 257, 241, 241, 258, 7, 241, 241, 241, 241, 241,
170
+ 241, 241, 241, 73, 241, 122, 241, 261, 5, 265,
171
+ 122, 73, 73, 267, 268, 73, 73, 73, 73, 73,
172
+ 73, 73, 73, 270, 73, 77, 73, 271, 60, 1,
173
+ 77, 60, 92, 277, 122, 60, 85, 95, 98, 104,
174
+ 106, 122, 122, 60, 84, 60, 60, 78, 60, 60,
175
+ 122, 122, 78, 108, 122, 122, 122, 122, 122, 122,
176
+ 122, 122, 77, 122, 109, 122, 110, 79, 111, 113,
177
+ 77, 77, 79, nil, 77, 77, 77, 77, 77, 77,
178
+ 77, 77, nil, 77, 78, 77, nil, nil, nil, 80,
179
+ nil, nil, 78, 78, 80, nil, 78, 78, 78, 78,
180
+ 78, 78, 78, 78, 79, 78, nil, 78, nil, 81,
181
+ nil, nil, 79, 79, 81, nil, 79, 79, 79, 79,
182
+ 79, 79, 79, 79, nil, 79, 80, 79, nil, nil,
183
+ nil, 107, nil, nil, 80, 80, 107, nil, 80, 80,
184
+ 80, 80, 80, 80, 80, 80, 81, 80, nil, 80,
185
+ nil, nil, nil, nil, 81, 81, nil, nil, 81, 81,
186
+ 81, 81, 81, 81, 81, 81, nil, 81, 107, 81,
187
+ nil, nil, nil, nil, 86, nil, 107, 107, nil, 86,
188
+ 107, 107, 107, 107, 107, 107, 107, 107, 86, 107,
189
+ nil, 107, 167, 167, 87, 167, 167, 167, nil, 87,
190
+ nil, nil, 167, 167, 167, 167, 167, 167, nil, nil,
191
+ nil, 86, nil, nil, nil, nil, 88, nil, nil, 86,
192
+ 86, 88, nil, 86, 86, 86, 86, 86, 86, 86,
193
+ 86, 87, 86, nil, 86, nil, 90, nil, nil, 87,
194
+ 87, 90, nil, 87, 87, 87, 87, 87, 87, 87,
195
+ 87, nil, 87, 88, 87, nil, nil, nil, nil, nil,
196
+ nil, 88, 88, nil, nil, 88, 88, 88, 88, 88,
197
+ 88, 88, 88, 90, 88, nil, 88, nil, nil, 13,
198
+ nil, 90, 90, nil, 13, 90, 90, 90, 90, 90,
199
+ 90, 90, 90, 13, 90, nil, 90, nil, nil, 14,
200
+ nil, nil, nil, nil, 14, nil, nil, nil, nil, nil,
201
+ nil, nil, nil, 14, nil, nil, 13, nil, nil, nil,
202
+ nil, nil, nil, nil, 13, 13, nil, nil, 13, 13,
203
+ 13, 13, 13, 13, 13, 13, 14, 13, nil, 13,
204
+ nil, nil, 15, nil, 14, 14, nil, 15, 14, 14,
205
+ 14, 14, 14, 14, 14, 14, 15, 14, nil, 14,
206
+ nil, nil, 238, nil, nil, nil, nil, 238, nil, nil,
207
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 15,
208
+ nil, nil, nil, nil, 273, nil, nil, 15, 15, 273,
209
+ nil, 15, 15, 15, 15, 15, 15, 15, 15, 238,
210
+ 15, nil, 15, nil, nil, nil, nil, 238, 238, nil,
211
+ nil, 238, 238, 238, 238, 238, 238, 238, 238, 226,
212
+ 238, 273, 238, nil, 226, nil, nil, nil, nil, 273,
213
+ 273, nil, nil, 273, 273, 273, 273, 273, 273, 273,
214
+ 273, 26, 273, nil, 273, nil, 26, nil, 226, nil,
215
+ nil, nil, nil, nil, nil, 226, 226, nil, nil, nil,
216
+ nil, 31, nil, nil, 226, 226, 31, nil, 226, 226,
217
+ 226, 226, 226, 226, 226, 226, nil, 226, 26, 226,
218
+ nil, 222, nil, nil, nil, nil, 222, nil, nil, nil,
219
+ 26, 26, 26, 26, 26, 26, 26, 26, 31, 26,
220
+ nil, 26, nil, nil, nil, nil, 31, 31, nil, nil,
221
+ 31, 31, 31, 31, 31, 31, 31, 31, 222, 31,
222
+ 218, 31, nil, nil, nil, 218, 222, 222, nil, nil,
223
+ 222, 222, 222, 222, 222, 222, 222, 222, nil, 222,
224
+ 215, 222, nil, nil, nil, 215, nil, nil, nil, 218,
225
+ nil, nil, nil, nil, nil, nil, 218, 218, nil, nil,
226
+ nil, nil, 214, nil, nil, 218, 218, 214, nil, 218,
227
+ 218, 218, 218, 218, 218, 218, 218, 215, 218, nil,
228
+ 218, nil, 213, nil, nil, 215, 215, 213, nil, 215,
229
+ 215, 215, 215, 215, 215, 215, 215, nil, 215, 214,
230
+ 215, nil, nil, nil, 212, nil, nil, 214, 214, 212,
231
+ nil, 214, 214, 214, 214, 214, 214, 214, 214, 213,
232
+ 214, nil, 214, nil, 211, nil, nil, 213, 213, 211,
233
+ nil, 213, 213, 213, 213, 213, 213, 213, 213, nil,
234
+ 213, 212, 213, nil, nil, nil, 210, nil, nil, 212,
235
+ 212, 210, nil, 212, 212, 212, 212, 212, 212, 212,
236
+ 212, 211, 212, nil, 212, nil, 206, nil, nil, 211,
237
+ 211, 206, nil, 211, 211, 211, 211, 211, 211, 211,
238
+ 211, nil, 211, 210, 211, nil, nil, nil, nil, nil,
239
+ nil, 210, 210, nil, nil, 210, 210, 210, 210, 210,
240
+ 210, 210, 210, 206, 210, 204, 210, nil, nil, nil,
241
+ 204, 206, 206, nil, nil, 206, 206, 206, 206, 206,
242
+ 206, 206, 206, nil, 206, 201, 206, nil, nil, nil,
243
+ 201, nil, nil, nil, 204, nil, nil, nil, nil, nil,
244
+ nil, 204, 204, nil, nil, nil, nil, nil, nil, nil,
245
+ 204, 204, nil, nil, 204, 204, 204, 204, 204, 204,
246
+ 204, 204, 201, 204, 200, 204, nil, nil, nil, 200,
247
+ 201, 201, nil, nil, 201, 201, 201, 201, 201, 201,
248
+ 201, 201, nil, 201, 194, 201, nil, nil, nil, 194,
249
+ nil, nil, nil, 200, nil, nil, nil, nil, nil, nil,
250
+ 200, 200, nil, nil, nil, nil, nil, nil, nil, 200,
251
+ 200, nil, nil, 200, 200, 200, 200, 200, 200, 200,
252
+ 200, 194, 200, 171, 200, nil, nil, nil, 171, 194,
253
+ 194, nil, nil, 194, 194, 194, 194, 194, 194, 194,
254
+ 194, nil, 194, nil, 194, nil, nil, nil, nil, nil,
255
+ nil, 164, nil, nil, nil, nil, 164, nil, nil, 171,
256
+ 171, 164, nil, nil, nil, nil, nil, nil, 171, 171,
257
+ nil, nil, 171, 171, 171, 171, 171, 171, 171, 171,
258
+ 164, 171, nil, 171, 154, nil, nil, 164, 164, 154,
259
+ nil, nil, nil, nil, nil, nil, 164, 164, nil, nil,
260
+ 164, 164, 164, 164, 164, 164, 164, 164, nil, 164,
261
+ nil, 164, nil, nil, nil, nil, nil, nil, nil, nil,
262
+ nil, 154, nil, nil, nil, nil, nil, nil, nil, 154,
263
+ 154, nil, nil, 154, 154, 154, 154, 154, 154, 154,
264
+ 154, nil, 154, nil, 154 ]
263
265
 
264
266
  racc_action_pointer = [
265
- 47, 132, nil, nil, nil, 131, nil, 121, 493, 135,
266
- nil, 135, 5, 590, 58, 436, 129, nil, nil, 145,
267
- -11, 100, nil, -12, 43, -18, 999, nil, nil, nil,
268
- nil, 1076, nil, nil, nil, nil, 103, nil, nil, 152,
269
- nil, 153, 154, 155, 156, 157, 106, nil, 116, 167,
270
- 121, nil, nil, 42, nil, nil, 121, nil, 25, 173,
271
- 574, 83, nil, nil, nil, nil, nil, 168, 169, 170,
272
- nil, 161, -8, 612, 153, nil, nil, 689, 711, 731,
273
- 513, 15, nil, nil, 185, 165, 796, 816, 858, 880,
274
- 900, 977, 204, nil, 38, 148, nil, nil, 205, nil,
275
- 24, nil, nil, nil, 202, nil, 200, 412, 205, 174,
276
- 194, 196, nil, 194, 195, 196, 181, nil, nil, nil,
277
- nil, 192, 647, 132, nil, nil, nil, nil, nil, nil,
278
- nil, nil, nil, 214, 217, 218, 229, 233, 234, 235,
279
- nil, nil, nil, 242, nil, nil, 277, nil, nil, nil,
280
- nil, nil, 237, 242, 838, nil, 210, -6, nil, nil,
281
- nil, nil, 220, 261, 957, 223, nil, 785, 258, 233,
282
- nil, 1034, nil, nil, nil, nil, nil, nil, nil, nil,
267
+ 2, 279, nil, nil, nil, 256, nil, 231, 114, 227,
268
+ nil, 221, 19, 524, 544, 587, 201, nil, nil, 211,
269
+ -14, 162, nil, -12, 31, -17, 686, nil, nil, nil,
270
+ nil, 706, nil, nil, nil, nil, 148, nil, nil, 190,
271
+ nil, 188, 176, 172, 171, 170, 116, nil, 111, 158,
272
+ 92, nil, nil, -33, nil, nil, 87, nil, 178, 136,
273
+ 271, -16, nil, nil, nil, nil, nil, 121, 117, 107,
274
+ nil, 94, 17, 211, 35, nil, nil, 270, 292, 312,
275
+ 334, 354, nil, nil, 283, 244, 419, 439, 461, -5,
276
+ 481, 15, 277, nil, 13, 224, nil, nil, 281, nil,
277
+ 81, nil, nil, nil, 278, nil, 276, 376, 293, 272,
278
+ 293, 295, nil, 293, -18, -11, -19, nil, nil, nil,
279
+ nil, 36, 250, 204, nil, nil, nil, nil, nil, nil,
280
+ nil, nil, nil, 75, 90, 93, 94, 98, 99, 110,
281
+ nil, nil, nil, 118, nil, nil, 101, nil, nil, nil,
282
+ nil, nil, 115, 120, 1129, nil, 87, 1, nil, nil,
283
+ nil, nil, 107, 138, 1096, 102, nil, 408, 136, 111,
284
+ nil, 1068, nil, nil, nil, nil, nil, nil, nil, nil,
283
285
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
284
- nil, nil, nil, nil, 1056, 259, 264, nil, -1, 268,
285
- 1115, 6, 1, 262, 86, -19, 119, 264, 34, -26,
286
- 143, 176, 200, 233, 257, 290, nil, nil, 318, nil,
287
- nil, nil, 351, nil, nil, nil, 379, 266, 272, nil,
288
- 235, -4, nil, nil, nil, nil, -23, 471, 7, 39,
289
- -5, -14, 570, nil, nil, nil, 24, nil, nil, nil,
290
- nil, nil, nil, nil, nil, nil, 44, 48, 104, 37,
291
- 62, nil, nil, 669, 90, nil, 96, 115, nil, 121,
292
- 125, nil, 753, nil, nil, nil, 89, nil, nil, nil,
293
- nil ]
286
+ nil, nil, nil, nil, 1029, 137, 143, nil, 180, 148,
287
+ 1009, 970, 5, 144, 950, -25, 911, 157, -41, -31,
288
+ 891, 869, 849, 827, 807, 785, nil, nil, 765, nil,
289
+ nil, nil, 726, nil, nil, nil, 664, 202, 208, nil,
290
+ 171, 208, nil, -18, 84, nil, nil, 183, 607, 213,
291
+ -44, 191, 189, 134, nil, nil, nil, 190, nil, nil,
292
+ nil, nil, nil, nil, nil, nil, nil, 197, 201, 78,
293
+ 57, 221, nil, nil, 37, 248, nil, 252, 257, nil,
294
+ 268, 272, nil, 629, nil, nil, nil, 241, nil, nil,
295
+ nil, nil ]
294
296
 
295
297
  racc_action_default = [
296
- -169, -169, -1, -2, -3, -5, -21, -169, -169, -169,
297
- -4, -169, -169, -169, -169, -169, -35, -36, -37, -39,
298
- -42, -163, -119, -120, -124, -127, -169, -129, -130, -131,
299
- -132, -169, -134, -135, -136, -138, -169, -140, -141, -169,
300
- -143, -169, -169, -169, -169, -169, -150, -151, -155, -169,
301
- -169, -161, -162, -169, -166, -167, -169, 281, -169, -169,
302
- -169, -47, -48, -49, -51, -52, -92, -29, -31, -33,
303
- -34, -68, -169, -169, -169, -41, -163, -169, -169, -169,
304
- -169, -169, -128, -137, -169, -169, -169, -169, -169, -169,
305
- -169, -169, -153, -154, -169, -169, -165, -168, -6, -12,
306
- -17, -14, -15, -16, -169, -22, -169, -169, -169, -169,
307
- -169, -169, -56, -58, -60, -61, -169, -46, -28, -30,
308
- -32, -70, -169, -44, -38, -40, -121, -122, -123, -125,
309
- -126, -133, -139, -169, -169, -169, -169, -169, -169, -169,
310
- -152, -156, -158, -169, -160, -164, -169, -13, -18, -19,
311
- -20, -23, -169, -26, -169, -53, -169, -169, -57, -59,
312
- -62, -45, -76, -169, -169, -69, -78, -169, -169, -95,
313
- -97, -169, -100, -101, -102, -104, -105, -106, -107, -108,
314
- -109, -116, -117, -118, -142, -144, -145, -146, -147, -148,
315
- -149, -159, -11, -24, -169, -169, -86, -54, -169, -7,
316
- -169, -169, -169, -118, -169, -169, -169, -169, -169, -169,
317
- -169, -169, -169, -169, -169, -169, -50, -91, -169, -99,
318
- -25, -27, -169, -55, -63, -64, -169, -169, -169, -43,
319
- -77, -71, -73, -74, -75, -103, -96, -169, -169, -169,
320
- -169, -169, -169, -82, -83, -88, -169, -90, -110, -111,
321
- -112, -113, -114, -115, -98, -85, -65, -169, -8, -169,
322
- -169, -81, -87, -169, -169, -89, -169, -67, -94, -169,
323
- -169, -72, -169, -80, -84, -66, -169, -9, -10, -79,
324
- -93 ]
298
+ -170, -170, -1, -2, -3, -5, -21, -170, -170, -170,
299
+ -4, -170, -170, -170, -170, -170, -35, -36, -37, -39,
300
+ -42, -164, -120, -121, -125, -128, -170, -130, -131, -132,
301
+ -133, -170, -135, -136, -137, -139, -170, -141, -142, -170,
302
+ -144, -170, -170, -170, -170, -170, -151, -152, -156, -170,
303
+ -170, -162, -163, -170, -167, -168, -170, 282, -170, -170,
304
+ -170, -47, -48, -49, -51, -52, -93, -29, -31, -33,
305
+ -34, -68, -170, -170, -170, -41, -164, -170, -170, -170,
306
+ -170, -170, -129, -138, -170, -170, -170, -170, -170, -170,
307
+ -170, -170, -154, -155, -170, -170, -166, -169, -6, -12,
308
+ -17, -14, -15, -16, -170, -22, -170, -170, -170, -170,
309
+ -170, -170, -56, -58, -60, -61, -170, -46, -28, -30,
310
+ -32, -70, -170, -44, -38, -40, -122, -123, -124, -126,
311
+ -127, -134, -140, -170, -170, -170, -170, -170, -170, -170,
312
+ -153, -157, -159, -170, -161, -165, -170, -13, -18, -19,
313
+ -20, -23, -170, -26, -170, -53, -170, -170, -57, -59,
314
+ -62, -45, -77, -170, -170, -69, -79, -170, -170, -96,
315
+ -98, -170, -101, -102, -103, -105, -106, -107, -108, -109,
316
+ -110, -117, -118, -119, -143, -145, -146, -147, -148, -149,
317
+ -150, -160, -11, -24, -170, -170, -87, -54, -170, -7,
318
+ -170, -170, -170, -119, -170, -170, -170, -170, -170, -170,
319
+ -170, -170, -170, -170, -170, -170, -50, -92, -170, -100,
320
+ -25, -27, -170, -55, -63, -64, -170, -170, -170, -43,
321
+ -78, -71, -73, -74, -75, -76, -104, -97, -170, -170,
322
+ -170, -170, -170, -170, -83, -84, -89, -170, -91, -111,
323
+ -112, -113, -114, -115, -116, -99, -86, -65, -170, -8,
324
+ -170, -170, -82, -88, -170, -170, -90, -170, -67, -95,
325
+ -170, -170, -72, -170, -81, -85, -66, -170, -9, -10,
326
+ -80, -94 ]
325
327
 
326
328
  racc_goto_table = [
327
- 75, 20, 101, 62, 83, 102, 20, 20, 20, 60,
328
- 165, 61, 152, 99, 232, 233, 105, 195, 243, 236,
329
- 16, 129, 130, 70, 84, 67, 68, 69, 254, 241,
330
- 126, 127, 128, 248, 249, 250, 251, 252, 253, 219,
331
- 143, 117, 82, 141, 1, 142, 2, 3, 4, 261,
332
- 5, 10, 202, 98, 125, 83, 83, 83, 83, 83,
333
- 260, 229, 151, 62, 147, 132, 20, 106, 124, 123,
334
- 121, 61, 271, 233, 118, 119, 120, 162, 199, 134,
335
- 135, 136, 137, 138, 139, 255, 273, 217, 230, 223,
336
- 101, 224, 225, 102, 266, 279, 161, 267, 231, 220,
337
- 153, 192, nil, nil, nil, 264, nil, nil, 155, nil,
338
- nil, nil, nil, nil, 256, nil, nil, nil, nil, nil,
339
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
340
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
341
- nil, nil, nil, nil, nil, 234, nil, 196, 62, nil,
342
- nil, nil, nil, nil, 198, 197, 61, 203, nil, 216,
329
+ 75, 20, 101, 126, 127, 128, 20, 20, 20, 83,
330
+ 62, 60, 152, 165, 61, 102, 99, 195, 233, 232,
331
+ 244, 105, 16, 237, 84, 129, 130, 67, 68, 69,
332
+ 255, 219, 143, 82, 141, 70, 1, 142, 2, 3,
333
+ 242, 117, 4, 5, 249, 250, 251, 252, 253, 254,
334
+ 10, 98, 262, 229, 125, 202, 147, 106, 124, 121,
335
+ 83, 83, 83, 83, 83, 132, 20, 151, 162, 199,
336
+ 62, 123, 261, 217, 61, 223, 224, 233, 272, 134,
337
+ 135, 136, 137, 138, 139, 256, 118, 119, 120, 225,
338
+ 101, 230, 267, 268, 231, nil, 161, nil, 274, 220,
339
+ 153, nil, nil, 102, 192, nil, 265, 280, nil, nil,
340
+ nil, 155, nil, nil, nil, nil, nil, 257, nil, nil,
341
+ nil, nil, nil, nil, nil, nil, nil, 235, nil, nil,
343
342
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
343
+ nil, nil, nil, nil, nil, 234, nil, 196, nil, nil,
344
+ nil, nil, nil, nil, nil, 62, 198, 203, 197, 61,
345
+ nil, nil, nil, nil, nil, nil, 216, nil, nil, nil,
344
346
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
345
- nil, nil, nil, nil, nil, nil, 245, 153, nil, nil,
346
- nil, nil, nil, nil, nil, nil, nil, nil, 216, nil,
347
- nil, nil, nil, 234, nil, nil, nil, nil, nil, nil,
348
- nil, nil, nil, nil, nil, 196, nil, 262, nil, nil,
349
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 216,
350
- nil, nil, nil, 84, nil, 196, nil, 268, nil, nil,
351
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
352
- nil, nil, nil, nil, nil, nil, 280 ]
347
+ nil, nil, nil, nil, 83, nil, 235, 153, nil, nil,
348
+ nil, 246, nil, nil, nil, nil, nil, nil, nil, nil,
349
+ nil, nil, nil, nil, 234, 216, nil, nil, nil, nil,
350
+ nil, nil, nil, nil, nil, 196, nil, nil, nil, nil,
351
+ nil, nil, nil, 263, nil, nil, nil, nil, nil, nil,
352
+ nil, nil, nil, nil, 84, nil, 196, 216, 269, nil,
353
+ nil, nil, nil, 83, nil, nil, nil, nil, nil, nil,
354
+ nil, nil, nil, nil, nil, nil, nil, 281 ]
353
355
 
354
356
  racc_goto_check = [
355
- 26, 20, 12, 14, 52, 13, 20, 20, 20, 16,
356
- 40, 31, 19, 9, 44, 45, 17, 21, 50, 55,
357
- 22, 63, 63, 23, 20, 22, 22, 22, 56, 48,
358
- 62, 62, 62, 48, 48, 48, 48, 48, 48, 57,
359
- 65, 26, 66, 75, 1, 76, 2, 3, 4, 50,
360
- 5, 6, 40, 7, 26, 52, 52, 52, 52, 52,
361
- 48, 8, 17, 14, 11, 26, 20, 18, 24, 16,
362
- 28, 31, 44, 45, 23, 23, 23, 29, 30, 20,
363
- 20, 20, 20, 20, 20, 21, 48, 33, 40, 37,
364
- 12, 38, 39, 13, 41, 48, 26, 42, 43, 19,
365
- 20, 9, nil, nil, nil, 21, nil, nil, 31, nil,
366
- nil, nil, nil, nil, 40, nil, nil, nil, nil, nil,
367
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
357
+ 26, 20, 12, 46, 46, 46, 20, 20, 20, 53,
358
+ 14, 16, 19, 40, 31, 13, 9, 21, 45, 44,
359
+ 51, 17, 22, 56, 20, 63, 63, 22, 22, 22,
360
+ 57, 58, 65, 66, 75, 23, 1, 76, 2, 3,
361
+ 49, 26, 4, 5, 49, 49, 49, 49, 49, 49,
362
+ 6, 7, 51, 8, 26, 40, 11, 18, 24, 28,
363
+ 53, 53, 53, 53, 53, 26, 20, 17, 29, 30,
364
+ 14, 16, 49, 33, 31, 37, 38, 45, 44, 20,
365
+ 20, 20, 20, 20, 20, 21, 23, 23, 23, 39,
366
+ 12, 40, 41, 42, 43, nil, 26, nil, 49, 19,
367
+ 20, nil, nil, 13, 9, nil, 21, 49, nil, nil,
368
+ nil, 31, nil, nil, nil, nil, nil, 40, nil, nil,
369
+ nil, nil, nil, nil, nil, nil, nil, 46, nil, nil,
368
370
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
369
- nil, nil, nil, nil, nil, 12, nil, 20, 14, nil,
370
- nil, nil, nil, nil, 16, 31, 31, 20, nil, 14,
371
+ nil, nil, nil, nil, nil, 12, nil, 20, nil, nil,
372
+ nil, nil, nil, nil, nil, 14, 16, 20, 31, 31,
373
+ nil, nil, nil, nil, nil, nil, 14, nil, nil, nil,
371
374
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
372
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
373
- nil, nil, nil, nil, nil, nil, 52, 20, nil, nil,
374
- nil, nil, nil, nil, nil, nil, nil, nil, 14, nil,
375
- nil, nil, nil, 12, nil, nil, nil, nil, nil, nil,
376
- nil, nil, nil, nil, nil, 20, nil, 52, nil, nil,
377
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 14,
378
- nil, nil, nil, 20, nil, 20, nil, 26, nil, nil,
379
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
380
- nil, nil, nil, nil, nil, nil, 26 ]
375
+ nil, nil, nil, nil, 53, nil, 46, 20, nil, nil,
376
+ nil, 53, nil, nil, nil, nil, nil, nil, nil, nil,
377
+ nil, nil, nil, nil, 12, 14, nil, nil, nil, nil,
378
+ nil, nil, nil, nil, nil, 20, nil, nil, nil, nil,
379
+ nil, nil, nil, 53, nil, nil, nil, nil, nil, nil,
380
+ nil, nil, nil, nil, 20, nil, 20, 14, 26, nil,
381
+ nil, nil, nil, 53, nil, nil, nil, nil, nil, nil,
382
+ nil, nil, nil, nil, nil, nil, nil, 26 ]
381
383
 
382
384
  racc_goto_pointer = [
383
- nil, 44, 46, 47, 48, 50, 46, -5, -138, -45,
384
- nil, -36, -56, -53, -9, nil, -3, -44, 7, -95,
385
- -7, -137, 12, 7, -5, nil, -20, nil, -1, -44,
386
- -84, -1, nil, -81, nil, nil, nil, -109, -107, -106,
387
- -112, -163, -160, -103, -187, -186, nil, nil, -177, nil,
388
- -189, nil, -22, nil, nil, -185, -190, -132, nil, nil,
389
- nil, nil, -47, -59, nil, -54, 16, nil, nil, nil,
390
- nil, nil, nil, nil, nil, -51, -49, nil, nil ]
385
+ nil, 36, 38, 39, 42, 43, 45, -7, -146, -42,
386
+ nil, -44, -56, -43, -2, nil, -1, -39, -3, -95,
387
+ -7, -137, 14, 19, -15, nil, -20, nil, -12, -53,
388
+ -93, 2, nil, -95, nil, nil, nil, -123, -122, -109,
389
+ -109, -166, -165, -107, -182, -183, -74, nil, nil, -166,
390
+ nil, -187, nil, -17, nil, nil, -181, -188, -140, nil,
391
+ nil, nil, nil, -55, nil, -62, 7, nil, nil, nil,
392
+ nil, nil, nil, nil, nil, -60, -57, nil, nil ]
391
393
 
392
394
  racc_goto_default = [
393
395
  nil, nil, nil, nil, nil, 104, nil, nil, nil, nil,
394
396
  100, nil, 29, 30, 166, 6, nil, nil, nil, nil,
395
397
  183, nil, nil, nil, 18, 19, 37, 71, nil, nil,
396
- nil, 38, 63, 244, 64, 65, 111, nil, nil, nil,
397
- nil, nil, nil, nil, nil, 46, 182, 176, 167, 177,
398
- nil, 178, 23, 179, 180, 169, 170, 172, 173, 174,
399
- 175, 181, 22, 24, 25, 26, 27, 28, 32, 33,
398
+ nil, 38, 63, 245, 64, 65, 111, nil, nil, nil,
399
+ nil, nil, nil, nil, nil, 46, 22, 182, 176, 167,
400
+ 177, nil, 178, 23, 179, 180, 169, 170, 172, 173,
401
+ 174, 175, 181, 24, 25, 26, 27, 28, 32, 33,
400
402
  34, 36, 40, 47, 50, nil, nil, 54, 55 ]
401
403
 
402
404
  racc_reduce_table = [
@@ -476,103 +478,104 @@ racc_reduce_table = [
476
478
  1, 110, :_reduce_none,
477
479
  1, 111, :_reduce_none,
478
480
  1, 111, :_reduce_none,
481
+ 1, 111, :_reduce_none,
479
482
  0, 97, :_reduce_none,
480
- 2, 97, :_reduce_77,
481
- 1, 113, :_reduce_none,
482
- 6, 114, :_reduce_79,
483
- 5, 114, :_reduce_80,
484
- 4, 116, :_reduce_81,
485
- 3, 116, :_reduce_82,
486
- 1, 117, :_reduce_none,
487
- 3, 117, :_reduce_84,
488
- 3, 88, :_reduce_85,
483
+ 2, 97, :_reduce_78,
484
+ 1, 114, :_reduce_none,
485
+ 6, 115, :_reduce_80,
486
+ 5, 115, :_reduce_81,
487
+ 4, 117, :_reduce_82,
488
+ 3, 117, :_reduce_83,
489
+ 1, 118, :_reduce_none,
490
+ 3, 118, :_reduce_85,
491
+ 3, 88, :_reduce_86,
489
492
  1, 88, :_reduce_none,
490
- 4, 118, :_reduce_87,
491
- 3, 118, :_reduce_88,
492
- 4, 120, :_reduce_89,
493
- 3, 120, :_reduce_90,
494
- 2, 121, :_reduce_91,
495
- 1, 98, :_reduce_92,
496
- 3, 109, :_reduce_93,
493
+ 4, 119, :_reduce_88,
494
+ 3, 119, :_reduce_89,
495
+ 4, 121, :_reduce_90,
496
+ 3, 121, :_reduce_91,
497
+ 2, 122, :_reduce_92,
498
+ 1, 98, :_reduce_93,
499
+ 3, 109, :_reduce_94,
497
500
  1, 109, :_reduce_none,
498
501
  1, 107, :_reduce_none,
499
- 3, 107, :_reduce_96,
500
- 1, 122, :_reduce_none,
501
- 3, 122, :_reduce_98,
502
- 2, 123, :_reduce_99,
502
+ 3, 107, :_reduce_97,
503
503
  1, 123, :_reduce_none,
504
+ 3, 123, :_reduce_99,
505
+ 2, 124, :_reduce_100,
504
506
  1, 124, :_reduce_none,
505
507
  1, 125, :_reduce_none,
506
- 3, 125, :_reduce_103,
507
- 1, 126, :_reduce_none,
508
- 1, 126, :_reduce_none,
509
508
  1, 126, :_reduce_none,
510
- 1, 126, :_reduce_none,
511
- 1, 126, :_reduce_none,
512
- 1, 126, :_reduce_none,
513
- 3, 127, :_reduce_110,
514
- 3, 127, :_reduce_111,
515
- 3, 127, :_reduce_112,
516
- 3, 127, :_reduce_113,
517
- 3, 127, :_reduce_114,
518
- 3, 127, :_reduce_115,
519
- 1, 115, :_reduce_none,
520
- 1, 115, :_reduce_none,
521
- 1, 128, :_reduce_none,
509
+ 3, 126, :_reduce_104,
510
+ 1, 127, :_reduce_none,
511
+ 1, 127, :_reduce_none,
512
+ 1, 127, :_reduce_none,
513
+ 1, 127, :_reduce_none,
514
+ 1, 127, :_reduce_none,
515
+ 1, 127, :_reduce_none,
516
+ 3, 128, :_reduce_111,
517
+ 3, 128, :_reduce_112,
518
+ 3, 128, :_reduce_113,
519
+ 3, 128, :_reduce_114,
520
+ 3, 128, :_reduce_115,
521
+ 3, 128, :_reduce_116,
522
+ 1, 116, :_reduce_none,
523
+ 1, 116, :_reduce_none,
524
+ 1, 129, :_reduce_none,
522
525
  1, 87, :_reduce_none,
523
526
  1, 87, :_reduce_none,
524
- 3, 129, :_reduce_121,
525
- 3, 129, :_reduce_122,
526
- 3, 129, :_reduce_123,
527
- 1, 129, :_reduce_none,
528
- 3, 130, :_reduce_125,
527
+ 3, 113, :_reduce_122,
528
+ 3, 113, :_reduce_123,
529
+ 3, 113, :_reduce_124,
530
+ 1, 113, :_reduce_none,
529
531
  3, 130, :_reduce_126,
532
+ 3, 130, :_reduce_127,
530
533
  1, 130, :_reduce_none,
531
- 2, 131, :_reduce_128,
534
+ 2, 131, :_reduce_129,
532
535
  1, 131, :_reduce_none,
533
536
  1, 133, :_reduce_none,
534
537
  1, 133, :_reduce_none,
535
538
  1, 133, :_reduce_none,
536
- 3, 133, :_reduce_133,
539
+ 3, 133, :_reduce_134,
537
540
  1, 134, :_reduce_none,
538
541
  1, 134, :_reduce_none,
539
542
  1, 135, :_reduce_none,
540
543
  1, 135, :_reduce_none,
541
- 1, 136, :_reduce_138,
542
- 3, 79, :_reduce_139,
544
+ 1, 136, :_reduce_139,
545
+ 3, 79, :_reduce_140,
543
546
  1, 79, :_reduce_none,
544
547
  1, 138, :_reduce_none,
545
- 4, 80, :_reduce_142,
548
+ 4, 80, :_reduce_143,
546
549
  1, 80, :_reduce_none,
547
- 4, 139, :_reduce_144,
548
550
  4, 139, :_reduce_145,
549
551
  4, 139, :_reduce_146,
550
552
  4, 139, :_reduce_147,
551
553
  4, 139, :_reduce_148,
552
554
  4, 139, :_reduce_149,
555
+ 4, 139, :_reduce_150,
553
556
  1, 137, :_reduce_none,
554
557
  1, 137, :_reduce_none,
555
- 3, 112, :_reduce_152,
556
- 2, 112, :_reduce_153,
558
+ 3, 112, :_reduce_153,
557
559
  2, 112, :_reduce_154,
558
- 1, 112, :_reduce_155,
559
- 3, 140, :_reduce_156,
560
+ 2, 112, :_reduce_155,
561
+ 1, 112, :_reduce_156,
562
+ 3, 140, :_reduce_157,
560
563
  1, 141, :_reduce_none,
561
564
  1, 142, :_reduce_none,
562
- 2, 143, :_reduce_159,
563
- 1, 143, :_reduce_160,
564
- 1, 132, :_reduce_161,
565
+ 2, 143, :_reduce_160,
566
+ 1, 143, :_reduce_161,
565
567
  1, 132, :_reduce_162,
566
- 1, 93, :_reduce_163,
567
- 3, 119, :_reduce_164,
568
- 2, 119, :_reduce_165,
569
- 1, 119, :_reduce_none,
568
+ 1, 132, :_reduce_163,
569
+ 1, 93, :_reduce_164,
570
+ 3, 120, :_reduce_165,
571
+ 2, 120, :_reduce_166,
572
+ 1, 120, :_reduce_none,
570
573
  1, 144, :_reduce_none,
571
- 2, 145, :_reduce_168 ]
574
+ 2, 145, :_reduce_169 ]
572
575
 
573
- racc_reduce_n = 169
576
+ racc_reduce_n = 170
574
577
 
575
- racc_shift_n = 281
578
+ racc_shift_n = 282
576
579
 
577
580
  racc_token_table = {
578
581
  false => 0,
@@ -777,6 +780,7 @@ Racc_token_to_s_table = [
777
780
  "grouping_column_reference_list",
778
781
  "grouping_column_reference",
779
782
  "exact_numeric_literal",
783
+ "numeric_value_expression",
780
784
  "row_subquery",
781
785
  "between_predicate",
782
786
  "row_value_constructor",
@@ -793,7 +797,6 @@ Racc_token_to_s_table = [
793
797
  "predicate",
794
798
  "comparison_predicate",
795
799
  "row_value_constructor_element",
796
- "numeric_value_expression",
797
800
  "term",
798
801
  "factor",
799
802
  "sign",
@@ -1214,152 +1217,152 @@ module_eval(<<'.,.,', 'parser.racc', 146)
1214
1217
 
1215
1218
  # reduce 76 omitted
1216
1219
 
1217
- module_eval(<<'.,.,', 'parser.racc', 155)
1218
- def _reduce_77(val, _values, result)
1220
+ # reduce 77 omitted
1221
+
1222
+ module_eval(<<'.,.,', 'parser.racc', 156)
1223
+ def _reduce_78(val, _values, result)
1219
1224
  result = SQLParser::Statement::HavingClause.new(val[1])
1220
1225
  result
1221
1226
  end
1222
1227
  .,.,
1223
1228
 
1224
- # reduce 78 omitted
1229
+ # reduce 79 omitted
1225
1230
 
1226
- module_eval(<<'.,.,', 'parser.racc', 162)
1227
- def _reduce_79(val, _values, result)
1231
+ module_eval(<<'.,.,', 'parser.racc', 163)
1232
+ def _reduce_80(val, _values, result)
1228
1233
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Between.new(val[0], val[3], val[5]))
1229
1234
  result
1230
1235
  end
1231
1236
  .,.,
1232
1237
 
1233
- module_eval(<<'.,.,', 'parser.racc', 163)
1234
- def _reduce_80(val, _values, result)
1238
+ module_eval(<<'.,.,', 'parser.racc', 164)
1239
+ def _reduce_81(val, _values, result)
1235
1240
  result = SQLParser::Statement::Between.new(val[0], val[2], val[4])
1236
1241
  result
1237
1242
  end
1238
1243
  .,.,
1239
1244
 
1240
- module_eval(<<'.,.,', 'parser.racc', 166)
1241
- def _reduce_81(val, _values, result)
1245
+ module_eval(<<'.,.,', 'parser.racc', 167)
1246
+ def _reduce_82(val, _values, result)
1242
1247
  result = SQLParser::Statement::Not.new(SQLParser::Statement::In.new(val[0], val[3]))
1243
1248
  result
1244
1249
  end
1245
1250
  .,.,
1246
1251
 
1247
- module_eval(<<'.,.,', 'parser.racc', 167)
1248
- def _reduce_82(val, _values, result)
1252
+ module_eval(<<'.,.,', 'parser.racc', 168)
1253
+ def _reduce_83(val, _values, result)
1249
1254
  result = SQLParser::Statement::In.new(val[0], val[2])
1250
1255
  result
1251
1256
  end
1252
1257
  .,.,
1253
1258
 
1254
- # reduce 83 omitted
1259
+ # reduce 84 omitted
1255
1260
 
1256
- module_eval(<<'.,.,', 'parser.racc', 171)
1257
- def _reduce_84(val, _values, result)
1261
+ module_eval(<<'.,.,', 'parser.racc', 172)
1262
+ def _reduce_85(val, _values, result)
1258
1263
  result = SQLParser::Statement::InValueList.new(val[1])
1259
1264
  result
1260
1265
  end
1261
1266
  .,.,
1262
1267
 
1263
- module_eval(<<'.,.,', 'parser.racc', 174)
1264
- def _reduce_85(val, _values, result)
1268
+ module_eval(<<'.,.,', 'parser.racc', 175)
1269
+ def _reduce_86(val, _values, result)
1265
1270
  result = Array(val[0]) + Array(val[2])
1266
1271
  result
1267
1272
  end
1268
1273
  .,.,
1269
1274
 
1270
- # reduce 86 omitted
1275
+ # reduce 87 omitted
1271
1276
 
1272
- module_eval(<<'.,.,', 'parser.racc', 181)
1273
- def _reduce_87(val, _values, result)
1277
+ module_eval(<<'.,.,', 'parser.racc', 182)
1278
+ def _reduce_88(val, _values, result)
1274
1279
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Like.new(val[0], val[3]))
1275
1280
  result
1276
1281
  end
1277
1282
  .,.,
1278
1283
 
1279
- module_eval(<<'.,.,', 'parser.racc', 182)
1280
- def _reduce_88(val, _values, result)
1284
+ module_eval(<<'.,.,', 'parser.racc', 183)
1285
+ def _reduce_89(val, _values, result)
1281
1286
  result = SQLParser::Statement::Like.new(val[0], val[2])
1282
1287
  result
1283
1288
  end
1284
1289
  .,.,
1285
1290
 
1286
- module_eval(<<'.,.,', 'parser.racc', 185)
1287
- def _reduce_89(val, _values, result)
1291
+ module_eval(<<'.,.,', 'parser.racc', 186)
1292
+ def _reduce_90(val, _values, result)
1288
1293
  result = SQLParser::Statement::Not.new(SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new))
1289
1294
  result
1290
1295
  end
1291
1296
  .,.,
1292
1297
 
1293
- module_eval(<<'.,.,', 'parser.racc', 186)
1294
- def _reduce_90(val, _values, result)
1298
+ module_eval(<<'.,.,', 'parser.racc', 187)
1299
+ def _reduce_91(val, _values, result)
1295
1300
  result = SQLParser::Statement::Is.new(val[0], SQLParser::Statement::Null.new)
1296
1301
  result
1297
1302
  end
1298
1303
  .,.,
1299
1304
 
1300
- module_eval(<<'.,.,', 'parser.racc', 189)
1301
- def _reduce_91(val, _values, result)
1305
+ module_eval(<<'.,.,', 'parser.racc', 190)
1306
+ def _reduce_92(val, _values, result)
1302
1307
  result = SQLParser::Statement::Exists.new(val[1])
1303
1308
  result
1304
1309
  end
1305
1310
  .,.,
1306
1311
 
1307
- module_eval(<<'.,.,', 'parser.racc', 193)
1308
- def _reduce_92(val, _values, result)
1312
+ module_eval(<<'.,.,', 'parser.racc', 194)
1313
+ def _reduce_93(val, _values, result)
1309
1314
  result = SQLParser::Statement::Table.new(val[0])
1310
1315
  result
1311
1316
  end
1312
1317
  .,.,
1313
1318
 
1314
- module_eval(<<'.,.,', 'parser.racc', 196)
1315
- def _reduce_93(val, _values, result)
1319
+ module_eval(<<'.,.,', 'parser.racc', 197)
1320
+ def _reduce_94(val, _values, result)
1316
1321
  result = Array(val[0]) + Array(val[2])
1317
1322
  result
1318
1323
  end
1319
1324
  .,.,
1320
1325
 
1321
- # reduce 94 omitted
1322
-
1323
1326
  # reduce 95 omitted
1324
1327
 
1325
- module_eval(<<'.,.,', 'parser.racc', 202)
1326
- def _reduce_96(val, _values, result)
1328
+ # reduce 96 omitted
1329
+
1330
+ module_eval(<<'.,.,', 'parser.racc', 203)
1331
+ def _reduce_97(val, _values, result)
1327
1332
  result = SQLParser::Statement::Or.new(val[0], val[2])
1328
1333
  result
1329
1334
  end
1330
1335
  .,.,
1331
1336
 
1332
- # reduce 97 omitted
1337
+ # reduce 98 omitted
1333
1338
 
1334
- module_eval(<<'.,.,', 'parser.racc', 206)
1335
- def _reduce_98(val, _values, result)
1339
+ module_eval(<<'.,.,', 'parser.racc', 207)
1340
+ def _reduce_99(val, _values, result)
1336
1341
  result = SQLParser::Statement::And.new(val[0], val[2])
1337
1342
  result
1338
1343
  end
1339
1344
  .,.,
1340
1345
 
1341
- module_eval(<<'.,.,', 'parser.racc', 209)
1342
- def _reduce_99(val, _values, result)
1346
+ module_eval(<<'.,.,', 'parser.racc', 210)
1347
+ def _reduce_100(val, _values, result)
1343
1348
  result = SQLParser::Statement::Not.new(val[1])
1344
1349
  result
1345
1350
  end
1346
1351
  .,.,
1347
1352
 
1348
- # reduce 100 omitted
1349
-
1350
1353
  # reduce 101 omitted
1351
1354
 
1352
1355
  # reduce 102 omitted
1353
1356
 
1354
- module_eval(<<'.,.,', 'parser.racc', 217)
1355
- def _reduce_103(val, _values, result)
1357
+ # reduce 103 omitted
1358
+
1359
+ module_eval(<<'.,.,', 'parser.racc', 218)
1360
+ def _reduce_104(val, _values, result)
1356
1361
  result = val[1]
1357
1362
  result
1358
1363
  end
1359
1364
  .,.,
1360
1365
 
1361
- # reduce 104 omitted
1362
-
1363
1366
  # reduce 105 omitted
1364
1367
 
1365
1368
  # reduce 106 omitted
@@ -1370,49 +1373,49 @@ module_eval(<<'.,.,', 'parser.racc', 217)
1370
1373
 
1371
1374
  # reduce 109 omitted
1372
1375
 
1373
- module_eval(<<'.,.,', 'parser.racc', 228)
1374
- def _reduce_110(val, _values, result)
1375
- result = SQLParser::Statement::Equals.new(val[0], val[2])
1376
- result
1377
- end
1378
- .,.,
1376
+ # reduce 110 omitted
1379
1377
 
1380
1378
  module_eval(<<'.,.,', 'parser.racc', 229)
1381
1379
  def _reduce_111(val, _values, result)
1382
- result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
1380
+ result = SQLParser::Statement::Equals.new(val[0], val[2])
1383
1381
  result
1384
1382
  end
1385
1383
  .,.,
1386
1384
 
1387
1385
  module_eval(<<'.,.,', 'parser.racc', 230)
1388
1386
  def _reduce_112(val, _values, result)
1389
- result = SQLParser::Statement::Less.new(val[0], val[2])
1387
+ result = SQLParser::Statement::Not.new(SQLParser::Statement::Equals.new(val[0], val[2]))
1390
1388
  result
1391
1389
  end
1392
1390
  .,.,
1393
1391
 
1394
1392
  module_eval(<<'.,.,', 'parser.racc', 231)
1395
1393
  def _reduce_113(val, _values, result)
1396
- result = SQLParser::Statement::Greater.new(val[0], val[2])
1394
+ result = SQLParser::Statement::Less.new(val[0], val[2])
1397
1395
  result
1398
1396
  end
1399
1397
  .,.,
1400
1398
 
1401
1399
  module_eval(<<'.,.,', 'parser.racc', 232)
1402
1400
  def _reduce_114(val, _values, result)
1403
- result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
1401
+ result = SQLParser::Statement::Greater.new(val[0], val[2])
1404
1402
  result
1405
1403
  end
1406
1404
  .,.,
1407
1405
 
1408
1406
  module_eval(<<'.,.,', 'parser.racc', 233)
1409
1407
  def _reduce_115(val, _values, result)
1410
- result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
1408
+ result = SQLParser::Statement::LessOrEquals.new(val[0], val[2])
1411
1409
  result
1412
1410
  end
1413
1411
  .,.,
1414
1412
 
1415
- # reduce 116 omitted
1413
+ module_eval(<<'.,.,', 'parser.racc', 234)
1414
+ def _reduce_116(val, _values, result)
1415
+ result = SQLParser::Statement::GreaterOrEquals.new(val[0], val[2])
1416
+ result
1417
+ end
1418
+ .,.,
1416
1419
 
1417
1420
  # reduce 117 omitted
1418
1421
 
@@ -1422,242 +1425,244 @@ module_eval(<<'.,.,', 'parser.racc', 233)
1422
1425
 
1423
1426
  # reduce 120 omitted
1424
1427
 
1425
- module_eval(<<'.,.,', 'parser.racc', 247)
1426
- def _reduce_121(val, _values, result)
1428
+ # reduce 121 omitted
1429
+
1430
+ module_eval(<<'.,.,', 'parser.racc', 248)
1431
+ def _reduce_122(val, _values, result)
1427
1432
  result = SQLParser::Statement::Add.new(val[0], val[2])
1428
1433
  result
1429
1434
  end
1430
1435
  .,.,
1431
1436
 
1432
- module_eval(<<'.,.,', 'parser.racc', 248)
1433
- def _reduce_122(val, _values, result)
1437
+ module_eval(<<'.,.,', 'parser.racc', 249)
1438
+ def _reduce_123(val, _values, result)
1434
1439
  result = SQLParser::Statement::Subtract.new(val[0], val[2])
1435
1440
  result
1436
1441
  end
1437
1442
  .,.,
1438
1443
 
1439
- module_eval(<<'.,.,', 'parser.racc', 249)
1440
- def _reduce_123(val, _values, result)
1444
+ module_eval(<<'.,.,', 'parser.racc', 250)
1445
+ def _reduce_124(val, _values, result)
1441
1446
  result = SQLParser::Statement::Modulo.new(val[0], val[2])
1442
1447
  result
1443
1448
  end
1444
1449
  .,.,
1445
1450
 
1446
- # reduce 124 omitted
1451
+ # reduce 125 omitted
1447
1452
 
1448
- module_eval(<<'.,.,', 'parser.racc', 253)
1449
- def _reduce_125(val, _values, result)
1453
+ module_eval(<<'.,.,', 'parser.racc', 254)
1454
+ def _reduce_126(val, _values, result)
1450
1455
  result = SQLParser::Statement::Multiply.new(val[0], val[2])
1451
1456
  result
1452
1457
  end
1453
1458
  .,.,
1454
1459
 
1455
- module_eval(<<'.,.,', 'parser.racc', 254)
1456
- def _reduce_126(val, _values, result)
1460
+ module_eval(<<'.,.,', 'parser.racc', 255)
1461
+ def _reduce_127(val, _values, result)
1457
1462
  result = SQLParser::Statement::Divide.new(val[0], val[2])
1458
1463
  result
1459
1464
  end
1460
1465
  .,.,
1461
1466
 
1462
- # reduce 127 omitted
1467
+ # reduce 128 omitted
1463
1468
 
1464
- module_eval(<<'.,.,', 'parser.racc', 258)
1465
- def _reduce_128(val, _values, result)
1469
+ module_eval(<<'.,.,', 'parser.racc', 259)
1470
+ def _reduce_129(val, _values, result)
1466
1471
  result = val[0].new(val[1])
1467
1472
  result
1468
1473
  end
1469
1474
  .,.,
1470
1475
 
1471
- # reduce 129 omitted
1472
-
1473
1476
  # reduce 130 omitted
1474
1477
 
1475
1478
  # reduce 131 omitted
1476
1479
 
1477
1480
  # reduce 132 omitted
1478
1481
 
1479
- module_eval(<<'.,.,', 'parser.racc', 265)
1480
- def _reduce_133(val, _values, result)
1482
+ # reduce 133 omitted
1483
+
1484
+ module_eval(<<'.,.,', 'parser.racc', 266)
1485
+ def _reduce_134(val, _values, result)
1481
1486
  result = val[1]
1482
1487
  result
1483
1488
  end
1484
1489
  .,.,
1485
1490
 
1486
- # reduce 134 omitted
1487
-
1488
1491
  # reduce 135 omitted
1489
1492
 
1490
1493
  # reduce 136 omitted
1491
1494
 
1492
1495
  # reduce 137 omitted
1493
1496
 
1494
- module_eval(<<'.,.,', 'parser.racc', 276)
1495
- def _reduce_138(val, _values, result)
1497
+ # reduce 138 omitted
1498
+
1499
+ module_eval(<<'.,.,', 'parser.racc', 277)
1500
+ def _reduce_139(val, _values, result)
1496
1501
  result = SQLParser::Statement::CurrentUser.new
1497
1502
  result
1498
1503
  end
1499
1504
  .,.,
1500
1505
 
1501
- module_eval(<<'.,.,', 'parser.racc', 279)
1502
- def _reduce_139(val, _values, result)
1506
+ module_eval(<<'.,.,', 'parser.racc', 280)
1507
+ def _reduce_140(val, _values, result)
1503
1508
  result = SQLParser::Statement::QualifiedColumn.new(val[0], val[2])
1504
1509
  result
1505
1510
  end
1506
1511
  .,.,
1507
1512
 
1508
- # reduce 140 omitted
1509
-
1510
1513
  # reduce 141 omitted
1511
1514
 
1512
- module_eval(<<'.,.,', 'parser.racc', 286)
1513
- def _reduce_142(val, _values, result)
1515
+ # reduce 142 omitted
1516
+
1517
+ module_eval(<<'.,.,', 'parser.racc', 287)
1518
+ def _reduce_143(val, _values, result)
1514
1519
  result = SQLParser::Statement::Count.new(SQLParser::Statement::All.new)
1515
1520
  result
1516
1521
  end
1517
1522
  .,.,
1518
1523
 
1519
- # reduce 143 omitted
1520
-
1521
- module_eval(<<'.,.,', 'parser.racc', 290)
1522
- def _reduce_144(val, _values, result)
1523
- result = SQLParser::Statement::Count.new(val[2])
1524
- result
1525
- end
1526
- .,.,
1524
+ # reduce 144 omitted
1527
1525
 
1528
1526
  module_eval(<<'.,.,', 'parser.racc', 291)
1529
1527
  def _reduce_145(val, _values, result)
1530
- result = SQLParser::Statement::Length.new(val[2])
1528
+ result = SQLParser::Statement::Count.new(val[2])
1531
1529
  result
1532
1530
  end
1533
1531
  .,.,
1534
1532
 
1535
1533
  module_eval(<<'.,.,', 'parser.racc', 292)
1536
1534
  def _reduce_146(val, _values, result)
1537
- result = SQLParser::Statement::Average.new(val[2])
1535
+ result = SQLParser::Statement::Length.new(val[2])
1538
1536
  result
1539
1537
  end
1540
1538
  .,.,
1541
1539
 
1542
1540
  module_eval(<<'.,.,', 'parser.racc', 293)
1543
1541
  def _reduce_147(val, _values, result)
1544
- result = SQLParser::Statement::Maximum.new(val[2])
1542
+ result = SQLParser::Statement::Average.new(val[2])
1545
1543
  result
1546
1544
  end
1547
1545
  .,.,
1548
1546
 
1549
1547
  module_eval(<<'.,.,', 'parser.racc', 294)
1550
1548
  def _reduce_148(val, _values, result)
1551
- result = SQLParser::Statement::Minimum.new(val[2])
1549
+ result = SQLParser::Statement::Maximum.new(val[2])
1552
1550
  result
1553
1551
  end
1554
1552
  .,.,
1555
1553
 
1556
1554
  module_eval(<<'.,.,', 'parser.racc', 295)
1557
1555
  def _reduce_149(val, _values, result)
1558
- result = SQLParser::Statement::Sum.new(val[2])
1556
+ result = SQLParser::Statement::Minimum.new(val[2])
1559
1557
  result
1560
1558
  end
1561
1559
  .,.,
1562
1560
 
1563
- # reduce 150 omitted
1564
-
1565
- # reduce 151 omitted
1566
-
1567
- module_eval(<<'.,.,', 'parser.racc', 303)
1568
- def _reduce_152(val, _values, result)
1569
- result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
1561
+ module_eval(<<'.,.,', 'parser.racc', 296)
1562
+ def _reduce_150(val, _values, result)
1563
+ result = SQLParser::Statement::Sum.new(val[2])
1570
1564
  result
1571
1565
  end
1572
1566
  .,.,
1573
1567
 
1568
+ # reduce 151 omitted
1569
+
1570
+ # reduce 152 omitted
1571
+
1574
1572
  module_eval(<<'.,.,', 'parser.racc', 304)
1575
1573
  def _reduce_153(val, _values, result)
1576
- result = SQLParser::Statement::Float.new(val[0])
1574
+ result = SQLParser::Statement::Float.new("#{val[0]}.#{val[2]}".to_f)
1577
1575
  result
1578
1576
  end
1579
1577
  .,.,
1580
1578
 
1581
1579
  module_eval(<<'.,.,', 'parser.racc', 305)
1582
1580
  def _reduce_154(val, _values, result)
1583
- result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
1581
+ result = SQLParser::Statement::Float.new(val[0])
1584
1582
  result
1585
1583
  end
1586
1584
  .,.,
1587
1585
 
1588
1586
  module_eval(<<'.,.,', 'parser.racc', 306)
1589
1587
  def _reduce_155(val, _values, result)
1590
- result = SQLParser::Statement::Integer.new(val[0])
1588
+ result = SQLParser::Statement::Float.new("0.#{val[1]}".to_f)
1591
1589
  result
1592
1590
  end
1593
1591
  .,.,
1594
1592
 
1595
- module_eval(<<'.,.,', 'parser.racc', 309)
1593
+ module_eval(<<'.,.,', 'parser.racc', 307)
1596
1594
  def _reduce_156(val, _values, result)
1597
- result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
1595
+ result = SQLParser::Statement::Integer.new(val[0])
1598
1596
  result
1599
1597
  end
1600
1598
  .,.,
1601
1599
 
1602
- # reduce 157 omitted
1603
-
1604
- # reduce 158 omitted
1605
-
1606
- module_eval(<<'.,.,', 'parser.racc', 318)
1607
- def _reduce_159(val, _values, result)
1608
- result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
1600
+ module_eval(<<'.,.,', 'parser.racc', 310)
1601
+ def _reduce_157(val, _values, result)
1602
+ result = SQLParser::Statement::ApproximateFloat.new(val[0], val[2])
1609
1603
  result
1610
1604
  end
1611
1605
  .,.,
1612
1606
 
1607
+ # reduce 158 omitted
1608
+
1609
+ # reduce 159 omitted
1610
+
1613
1611
  module_eval(<<'.,.,', 'parser.racc', 319)
1614
1612
  def _reduce_160(val, _values, result)
1615
- result = SQLParser::Statement::Integer.new(val[0])
1613
+ result = val[0].new(SQLParser::Statement::Integer.new(val[1]))
1616
1614
  result
1617
1615
  end
1618
1616
  .,.,
1619
1617
 
1620
- module_eval(<<'.,.,', 'parser.racc', 322)
1618
+ module_eval(<<'.,.,', 'parser.racc', 320)
1621
1619
  def _reduce_161(val, _values, result)
1622
- result = SQLParser::Statement::UnaryPlus
1620
+ result = SQLParser::Statement::Integer.new(val[0])
1623
1621
  result
1624
1622
  end
1625
1623
  .,.,
1626
1624
 
1627
1625
  module_eval(<<'.,.,', 'parser.racc', 323)
1628
1626
  def _reduce_162(val, _values, result)
1629
- result = SQLParser::Statement::UnaryMinus
1627
+ result = SQLParser::Statement::UnaryPlus
1630
1628
  result
1631
1629
  end
1632
1630
  .,.,
1633
1631
 
1634
- module_eval(<<'.,.,', 'parser.racc', 327)
1632
+ module_eval(<<'.,.,', 'parser.racc', 324)
1635
1633
  def _reduce_163(val, _values, result)
1636
- result = SQLParser::Statement::Column.new(val[0])
1634
+ result = SQLParser::Statement::UnaryMinus
1637
1635
  result
1638
1636
  end
1639
1637
  .,.,
1640
1638
 
1641
- module_eval(<<'.,.,', 'parser.racc', 331)
1639
+ module_eval(<<'.,.,', 'parser.racc', 328)
1642
1640
  def _reduce_164(val, _values, result)
1643
- result = SQLParser::Statement::String.new(val[1])
1641
+ result = SQLParser::Statement::Column.new(val[0])
1644
1642
  result
1645
1643
  end
1646
1644
  .,.,
1647
1645
 
1648
1646
  module_eval(<<'.,.,', 'parser.racc', 332)
1649
1647
  def _reduce_165(val, _values, result)
1650
- result = SQLParser::Statement::String.new('')
1648
+ result = SQLParser::Statement::String.new(val[1])
1651
1649
  result
1652
1650
  end
1653
1651
  .,.,
1654
1652
 
1655
- # reduce 166 omitted
1653
+ module_eval(<<'.,.,', 'parser.racc', 333)
1654
+ def _reduce_166(val, _values, result)
1655
+ result = SQLParser::Statement::String.new('')
1656
+ result
1657
+ end
1658
+ .,.,
1656
1659
 
1657
1660
  # reduce 167 omitted
1658
1661
 
1659
- module_eval(<<'.,.,', 'parser.racc', 339)
1660
- def _reduce_168(val, _values, result)
1662
+ # reduce 168 omitted
1663
+
1664
+ module_eval(<<'.,.,', 'parser.racc', 340)
1665
+ def _reduce_169(val, _values, result)
1661
1666
  result = SQLParser::Statement::Date.new(val[1])
1662
1667
  result
1663
1668
  end