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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75f041d77f950fb458f43d3e7489eb2b3098f9ac780cb09c70a1bde601327fed
4
- data.tar.gz: d4dbd3abd54f43cb992f5d726e3b390b1fda1e14feed4a7f4905bd9018da37a1
3
+ metadata.gz: 540f69a45bf1f60b6b8a0952a8ac102a2ae0a759ef55c76d42ac20591c56b529
4
+ data.tar.gz: 5c58c4fc66694ed5a28c60c639317de9df4b93fe3f9d26c65cbf6da57995586b
5
5
  SHA512:
6
- metadata.gz: 9f1198e58fcde7c0b509e69c6605cafbfc963aaf396f9d9582f78f2a41c4fdeb70ab4185b13c7931356c120ada5400789c467df8f8cf6c90804180560b59e66d
7
- data.tar.gz: 40f615ac67cc626027677628dc67685ff3ae4638e7c138a48374dfb0aa4ca6afc2b8b2a21e01eee93213ae55319cf0c0cbcf5694731681855830eb29a5bad7d5
6
+ metadata.gz: f1de8f46b0ec1bc72d7949096fc4c28ade69f7a5ea0d232927a2f4c40625d5b778a9e3b10dc7376339a08c03ae472860a130b449bd5fb7d12eba4cb8774f4eec
7
+ data.tar.gz: a14d6f20d8651c6b9682d701472cac829cde41fbd8542518f465cd62fc83f6c327b6640e033fc42081f8f78032f859d9df1884fb40e326ce011b780271ae538f
@@ -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', 335)
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, 224, 97, 154, 144, 97, 235, 102, 8, 76,
24
- 109, 63, 236, 146, 135, 147, 71, 226, 47, 227,
25
- 228, 31, 148, 103, 149, 105, 106, 161, 107, 108,
26
- 217, 218, 73, 194, 158, 21, 47, 73, 73, 31,
27
- 73, 150, 77, 50, 51, 73, 35, 48, 39, 41,
28
- 42, 43, 44, 21, 52, 153, 55, 50, 51, 115,
29
- 7, 50, 51, 8, 35, 48, 39, 41, 42, 43,
30
- 44, 21, 52, 47, 55, 73, 31, 102, -129, 50,
31
- 51, 8, 35, 48, 39, 41, 42, 43, 44, 174,
32
- 52, 47, 55, 103, 31, 105, 106, 175, 107, 108,
33
- 13, 14, 15, 17, 91, 90, 139, 140, 21, -129,
34
- -129, -129, 74, 75, 176, 177, 50, 51, 178, 35,
35
- 48, 39, 41, 42, 43, 44, 21, 52, 47, 55,
36
- 179, 31, 180, 69, 50, 51, 8, 35, 48, 39,
37
- 41, 42, 43, 44, 182, 52, 47, 55, 183, 229,
38
- 69, 63, 63, 189, 190, 69, 194, 206, 209, 92,
39
- 212, 213, 89, 21, 47, 21, 223, 229, 88, 123,
40
- 87, 50, 51, -148, 35, 48, 39, 41, 42, 43,
41
- 44, 21, 52, 231, 55, 86, 85, 84, 83, 50,
42
- 51, 82, 35, 48, 39, 41, 42, 43, 44, 21,
43
- 52, 81, 55, 8, -85, 70, 69, 50, 51, 246,
44
- 35, 48, 39, 41, 42, 43, 44, 102, 52, 47,
45
- 55, 100, 31, 194, 247, 101, 209, 63, 231, 57,
46
- 56, 17, 251, 103, 12, 105, 106, 47, 107, 108,
47
- 31, 253, 194, 73, 21, 258, 11, 260, 261, 17,
48
- 262, 9, 123, 73, 21, 131, 73, 136, 137, 101,
49
- 63, nil, 50, 51, nil, 35, 48, 39, 41, 42,
50
- 43, 44, 21, 52, 47, 55, nil, 154, nil, nil,
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
- nil, 52, 47, 55, nil, 31, nil, nil, nil, nil,
53
- nil, 161, nil, nil, 17, nil, nil, nil, 158, 21,
54
- 47, nil, nil, 31, nil, nil, nil, 50, 51, nil,
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, 47, 50, 51, 229, 35, 48,
57
- 39, 41, 42, 43, 44, 21, 52, nil, 55, nil,
58
- nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
59
- 42, 43, 44, nil, 52, 47, 55, nil, 154, 21,
60
- nil, nil, nil, nil, nil, nil, nil, 50, 51, nil,
61
- 35, 48, 39, 41, 42, 43, 44, nil, 52, nil,
62
- 55, 47, 161, nil, 31, nil, nil, nil, nil, 158,
63
- 21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
64
- nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
65
- 47, 55, nil, 31, nil, nil, 21, nil, nil, nil,
66
- nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
67
- 41, 42, 43, 44, nil, 52, 47, 55, nil, 31,
68
- nil, nil, nil, nil, nil, 21, nil, nil, nil, nil,
69
- nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
70
- 42, 43, 44, nil, 52, 47, 55, nil, 31, nil,
71
- nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
72
- 51, nil, 35, 48, 39, 41, 42, 43, 44, nil,
73
- 52, 47, 55, nil, 31, nil, nil, nil, nil, nil,
74
- 21, nil, nil, nil, nil, nil, nil, nil, 50, 51,
75
- nil, 35, 48, 39, 41, 42, 43, 44, nil, 52,
76
- 47, 55, nil, 31, nil, nil, 21, nil, nil, nil,
77
- nil, nil, nil, nil, 50, 51, nil, 35, 48, 39,
78
- 41, 42, 43, 44, nil, 52, 47, 55, nil, 31,
79
- nil, nil, nil, nil, nil, 21, nil, nil, nil, nil,
80
- nil, nil, nil, 50, 51, nil, 35, 48, 39, 41,
81
- 42, 43, 44, nil, 52, 47, 55, nil, 229, nil,
82
- nil, 21, nil, nil, nil, nil, nil, nil, nil, 50,
83
- 51, nil, 35, 48, 39, 41, 42, 43, 44, nil,
84
- 52, 47, 55, nil, 31, nil, nil, nil, nil, nil,
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
- nil, 52, 47, 55, nil, 154, nil, nil, 21, nil,
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, 31, nil, nil, nil, nil, 158, 21, nil, 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
- 161, 52, 47, 55, nil, 31, nil, 158, 21, nil,
132
- nil, nil, nil, nil, nil, nil, 50, 51, nil, 35,
133
- 48, 39, 41, 42, 43, 44, nil, 52, nil, 55,
134
- nil, nil, nil, nil, nil, nil, nil, 21, nil, nil,
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, nil, 52, nil, 55, 195,
137
- 196, nil, 197, 198, 199, nil, nil, nil, nil, 200,
138
- 201, 202, 203, 204, 205 ]
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
- 154, 192, 57, 154, 101, 137, 199, 187, 154, 25,
142
- 59, 102, 199, 103, 89, 104, 20, 195, 83, 195,
143
- 195, 83, 106, 187, 107, 187, 187, 154, 187, 187,
144
- 187, 187, 59, 192, 154, 154, 84, 57, 20, 84,
145
- 137, 108, 25, 154, 154, 109, 154, 154, 154, 154,
146
- 154, 154, 154, 83, 154, 114, 154, 89, 89, 68,
147
- 0, 83, 83, 0, 83, 83, 83, 83, 83, 83,
148
- 83, 84, 83, 231, 83, 262, 231, 116, 23, 84,
149
- 84, 231, 84, 84, 84, 84, 84, 84, 84, 125,
150
- 84, 8, 84, 116, 8, 116, 116, 126, 116, 116,
151
- 8, 8, 8, 8, 52, 52, 95, 95, 231, 23,
152
- 23, 23, 24, 24, 127, 128, 231, 231, 129, 231,
153
- 231, 231, 231, 231, 231, 231, 8, 231, 229, 231,
154
- 130, 229, 134, 66, 8, 8, 229, 8, 8, 8,
155
- 8, 8, 8, 8, 142, 8, 228, 8, 143, 228,
156
- 65, 146, 147, 152, 153, 64, 155, 158, 159, 55,
157
- 184, 185, 49, 229, 226, 190, 191, 226, 48, 193,
158
- 47, 229, 229, 45, 229, 229, 229, 229, 229, 229,
159
- 229, 228, 229, 197, 229, 44, 43, 42, 41, 228,
160
- 228, 39, 228, 228, 228, 228, 228, 228, 228, 226,
161
- 228, 36, 228, 206, 21, 19, 16, 226, 226, 218,
162
- 226, 226, 226, 226, 226, 226, 226, 58, 226, 13,
163
- 226, 58, 13, 219, 220, 58, 225, 12, 227, 11,
164
- 9, 13, 230, 58, 7, 58, 58, 14, 58, 58,
165
- 14, 235, 245, 246, 247, 248, 5, 252, 254, 14,
166
- 255, 1, 80, 81, 13, 87, 71, 90, 93, 99,
167
- 69, nil, 13, 13, nil, 13, 13, 13, 13, 13,
168
- 13, 13, 14, 13, 217, 13, nil, 217, nil, nil,
169
- 14, 14, nil, 14, 14, 14, 14, 14, 14, 14,
170
- nil, 14, 15, 14, nil, 15, nil, nil, nil, nil,
171
- nil, 217, nil, nil, 15, nil, nil, nil, 217, 217,
172
- 213, nil, nil, 213, nil, nil, nil, 217, 217, nil,
173
- 217, 217, 217, 217, 217, 217, 217, 15, 217, nil,
174
- 217, nil, nil, nil, 258, 15, 15, 258, 15, 15,
175
- 15, 15, 15, 15, 15, 213, 15, nil, 15, nil,
176
- nil, nil, nil, 213, 213, nil, 213, 213, 213, 213,
177
- 213, 213, 213, nil, 213, 209, 213, nil, 209, 258,
178
- nil, nil, nil, nil, nil, nil, nil, 258, 258, nil,
179
- 258, 258, 258, 258, 258, 258, 258, nil, 258, nil,
180
- 258, 70, 209, nil, 70, nil, nil, nil, nil, 209,
181
- 209, nil, nil, nil, nil, nil, nil, nil, 209, 209,
182
- nil, 209, 209, 209, 209, 209, 209, 209, nil, 209,
183
- 74, 209, nil, 74, nil, nil, 70, nil, nil, nil,
184
- nil, nil, nil, nil, 70, 70, nil, 70, 70, 70,
185
- 70, 70, 70, 70, nil, 70, 75, 70, nil, 75,
186
- nil, nil, nil, nil, nil, 74, nil, nil, nil, nil,
187
- nil, nil, nil, 74, 74, nil, 74, 74, 74, 74,
188
- 74, 74, 74, nil, 74, 76, 74, nil, 76, nil,
189
- nil, 75, nil, nil, nil, nil, nil, nil, nil, 75,
190
- 75, nil, 75, 75, 75, 75, 75, 75, 75, nil,
191
- 75, 77, 75, nil, 77, nil, nil, nil, nil, nil,
192
- 76, nil, nil, nil, nil, nil, nil, nil, 76, 76,
193
- nil, 76, 76, 76, 76, 76, 76, 76, nil, 76,
194
- 86, 76, nil, 86, nil, nil, 77, nil, nil, nil,
195
- nil, nil, nil, nil, 77, 77, nil, 77, 77, 77,
196
- 77, 77, 77, 77, nil, 77, 85, 77, nil, 85,
197
- nil, nil, nil, nil, nil, 86, nil, nil, nil, nil,
198
- nil, nil, nil, 86, 86, nil, 86, 86, 86, 86,
199
- 86, 86, 86, nil, 86, 205, 86, nil, 205, nil,
200
- nil, 85, nil, nil, nil, nil, nil, nil, nil, 85,
201
- 85, nil, 85, 85, 85, 85, 85, 85, 85, nil,
202
- 85, 26, 85, nil, 26, nil, nil, nil, nil, nil,
203
- 205, nil, nil, nil, nil, nil, nil, nil, 205, 205,
204
- nil, 205, 205, 205, 205, 205, 205, 205, nil, 205,
205
- 31, 205, nil, 31, nil, nil, 26, nil, nil, nil,
206
- nil, nil, nil, nil, nil, nil, nil, 26, 26, 26,
207
- 26, 26, 26, 26, nil, 26, 204, 26, nil, 204,
208
- nil, nil, nil, nil, nil, 31, nil, nil, nil, nil,
209
- nil, nil, nil, 31, 31, nil, 31, 31, 31, 31,
210
- 31, 31, 31, nil, 31, 203, 31, nil, 203, nil,
211
- nil, 204, nil, nil, nil, nil, nil, nil, nil, 204,
212
- 204, nil, 204, 204, 204, 204, 204, 204, 204, nil,
213
- 204, 202, 204, nil, 202, nil, nil, nil, nil, nil,
214
- 203, nil, nil, nil, nil, nil, nil, nil, 203, 203,
215
- nil, 203, 203, 203, 203, 203, 203, 203, nil, 203,
216
- 201, 203, nil, 201, nil, nil, 202, nil, nil, nil,
217
- nil, nil, nil, nil, 202, 202, nil, 202, 202, 202,
218
- 202, 202, 202, 202, nil, 202, 200, 202, nil, 200,
219
- nil, nil, nil, nil, nil, 201, nil, nil, nil, nil,
220
- nil, nil, nil, 201, 201, nil, 201, 201, 201, 201,
221
- 201, 201, 201, nil, 201, 198, 201, nil, 198, nil,
222
- nil, 200, nil, nil, nil, nil, nil, nil, nil, 200,
223
- 200, nil, 200, 200, 200, 200, 200, 200, 200, nil,
224
- 200, 196, 200, nil, 196, nil, nil, nil, nil, nil,
225
- 198, nil, nil, nil, nil, nil, nil, nil, 198, 198,
226
- nil, 198, 198, 198, 198, 198, 198, 198, nil, 198,
227
- nil, 198, 194, nil, nil, 194, 196, nil, nil, nil,
228
- nil, nil, nil, nil, 196, 196, nil, 196, 196, 196,
229
- 196, 196, 196, 196, nil, 196, nil, 196, 189, 194,
230
- nil, 189, nil, nil, nil, nil, 194, 194, nil, nil,
231
- nil, nil, nil, nil, nil, 194, 194, nil, 194, 194,
232
- 194, 194, 194, 194, 194, 189, 194, 183, 194, nil,
233
- 183, nil, 189, 189, nil, nil, nil, nil, nil, nil,
234
- nil, 189, 189, nil, 189, 189, 189, 189, 189, 189,
235
- 189, nil, 189, 251, 189, nil, 251, nil, nil, nil,
236
- nil, nil, 183, nil, nil, nil, nil, nil, nil, nil,
237
- 183, 183, nil, 183, 183, 183, 183, 183, 183, 183,
238
- nil, 183, 161, 183, nil, 161, nil, nil, 251, nil,
239
- nil, nil, nil, nil, nil, nil, 251, 251, nil, 251,
240
- 251, 251, 251, 251, 251, 251, nil, 251, 82, 251,
241
- nil, 82, nil, nil, nil, nil, 161, 161, nil, nil,
242
- 82, nil, nil, nil, nil, 161, 161, nil, 161, 161,
243
- 161, 161, 161, 161, 161, nil, 161, 144, 161, nil,
244
- 144, nil, nil, 82, nil, nil, nil, nil, nil, nil,
245
- nil, 82, 82, nil, 82, 82, 82, 82, 82, 82,
246
- 82, nil, 82, 115, 82, nil, 115, nil, nil, nil,
247
- nil, nil, 144, nil, nil, nil, nil, nil, nil, nil,
248
- 144, 144, nil, 144, 144, 144, 144, 144, 144, 144,
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
- 50, 251, nil, nil, nil, 244, nil, 223, 86, 230,
260
- nil, 226, 187, 214, 232, 287, 187, nil, nil, 201,
261
- -2, 152, nil, 61, 64, -8, 606, nil, nil, nil,
262
- nil, 635, nil, nil, nil, nil, 149, nil, nil, 183,
263
- nil, 180, 179, 178, 177, 115, nil, 118, 163, 104,
264
- nil, nil, 45, nil, nil, 97, nil, -3, 213, -8,
265
- nil, nil, nil, nil, 136, 131, 114, nil, 30, 220,
266
- 386, 216, nil, nil, 415, 441, 470, 496, nil, nil,
267
- 243, 213, 993, 13, 31, 551, 525, 250, nil, 9,
268
- 198, nil, nil, 254, nil, 100, nil, nil, nil, 247,
269
- 1077, -4, -29, -8, -6, nil, -2, 0, 17, 5,
270
- nil, nil, nil, nil, 25, 1048, 73, nil, nil, nil,
271
- nil, nil, nil, nil, nil, 80, 88, 105, 106, 109,
272
- 121, nil, nil, nil, 127, nil, nil, 0, nil, nil,
273
- nil, nil, 135, 144, 1022, nil, 111, 112, nil, nil,
274
- nil, nil, 122, 151, -5, 115, nil, 1107, 149, 124,
275
- nil, 967, nil, nil, nil, nil, nil, nil, nil, 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, 912, 151, 157, nil, 3, nil, 883,
278
- 125, 157, -8, 160, 857, -16, 826, 175, 800, -26,
279
- 771, 745, 716, 690, 661, 580, 190, nil, nil, 360,
280
- nil, nil, nil, 305, nil, nil, nil, 269, 201, 182,
281
- 220, nil, nil, nil, nil, 192, 159, 220, 141, 123,
282
- 198, 68, nil, nil, nil, 203, nil, nil, nil, nil,
283
- nil, nil, nil, nil, nil, 201, 203, 204, 211, nil,
284
- nil, 938, 238, nil, 239, 246, nil, nil, 329, nil,
285
- nil, nil, 35, 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
- -160, -160, -1, -2, -3, -5, -16, -160, -160, -160,
289
- -4, -160, -160, -160, -160, -160, -30, -31, -32, -34,
290
- -37, -154, -112, -113, -116, -119, -160, -121, -122, -123,
291
- -124, -160, -126, -127, -128, -130, -160, -132, -133, -160,
292
- -135, -160, -160, -160, -160, -141, -142, -146, -160, -160,
293
- -152, -153, -160, -157, -158, -160, 265, -160, -160, -42,
294
- -43, -45, -46, -85, -24, -26, -28, -29, -62, -160,
295
- -160, -160, -36, -154, -160, -160, -160, -160, -120, -129,
296
- -160, -160, -160, -160, -160, -160, -160, -144, -145, -160,
297
- -160, -156, -159, -6, -8, -12, -10, -11, -17, -160,
298
- -160, -160, -160, -160, -160, -50, -52, -54, -55, -160,
299
- -41, -23, -25, -27, -64, -160, -39, -33, -35, -114,
300
- -115, -117, -118, -125, -131, -160, -160, -160, -160, -160,
301
- -160, -143, -147, -149, -160, -151, -155, -160, -9, -13,
302
- -14, -18, -160, -21, -160, -47, -160, -160, -51, -53,
303
- -56, -40, -69, -160, -160, -63, -71, -160, -160, -88,
304
- -90, -160, -93, -94, -95, -97, -98, -99, -100, -101,
305
- -102, -109, -110, -111, -134, -136, -137, -138, -139, -140,
306
- -150, -7, -19, -160, -160, -79, -48, -160, -38, -160,
307
- -160, -160, -160, -111, -160, -160, -160, -160, -160, -160,
308
- -160, -160, -160, -160, -160, -160, -160, -44, -84, -160,
309
- -92, -20, -22, -160, -49, -57, -58, -160, -160, -70,
310
- -65, -67, -68, -15, -96, -89, -160, -160, -160, -160,
311
- -160, -160, -75, -76, -81, -160, -83, -103, -104, -105,
312
- -106, -107, -108, -91, -78, -59, -160, -160, -160, -74,
313
- -80, -160, -160, -82, -160, -61, -87, -66, -160, -73,
314
- -77, -60, -160, -72, -86 ]
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, 142, 58, 184, 59, 20, 20, 20, 155,
318
- 94, 207, 230, 222, 234, 221, 237, 238, 239, 240,
319
- 241, 242, 232, 98, 80, 16, 121, 122, 119, 120,
320
- 64, 65, 66, 114, 152, 188, 93, 96, 67, 110,
321
- 208, 214, 248, 215, 250, 216, 10, 254, 192, 79,
322
- 207, 118, 249, 255, 220, 5, 4, 3, 1, 225,
323
- 116, 124, 59, 20, 141, 243, 210, 259, 2, 134,
324
- 222, 78, 257, 244, 263, 126, 127, 128, 129, 130,
325
- 207, 132, 99, 219, 133, 211, 111, 112, 113, 151,
326
- 181, 252, 138, 143, 117, 145, nil, 79, 79, 79,
327
- 79, nil, nil, nil, nil, nil, nil, nil, nil, nil,
328
- nil, 245, nil, nil, nil, nil, nil, 96, nil, 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, 80, nil, 185, nil, 256, nil, 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, 264 ]
327
+ nil, nil, nil, nil, nil, nil, nil, 271 ]
342
328
 
343
329
  racc_goto_check = [
344
- 11, 18, 17, 14, 19, 28, 18, 18, 18, 37,
345
- 8, 12, 45, 42, 45, 41, 45, 45, 45, 45,
346
- 45, 45, 47, 15, 18, 20, 60, 60, 58, 58,
347
- 20, 20, 20, 25, 26, 27, 7, 11, 21, 11,
348
- 30, 34, 45, 35, 45, 36, 6, 38, 37, 59,
349
- 12, 11, 47, 39, 40, 5, 4, 3, 1, 51,
350
- 14, 11, 28, 18, 15, 52, 53, 45, 2, 62,
351
- 42, 63, 41, 19, 45, 18, 18, 18, 18, 18,
352
- 12, 74, 16, 37, 75, 17, 21, 21, 21, 11,
353
- 8, 19, 10, 18, 22, 28, nil, 59, 59, 59,
354
- 59, nil, nil, nil, nil, nil, nil, nil, nil, nil,
355
- nil, 37, nil, nil, nil, nil, nil, 11, nil, 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, 18, 14, 28,
358
- 28, nil, nil, nil, nil, nil, nil, 18, nil, nil,
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, 18, 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, 18, 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, 18, nil, 18, nil, 11, nil, 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, 11 ]
354
+ nil, nil, nil, nil, nil, nil, nil, 12 ]
369
355
 
370
356
  racc_goto_pointer = [
371
- nil, 58, 68, 57, 56, 55, 41, -21, -47, nil,
372
- -3, -20, -147, nil, -9, -35, 24, -98, -7, -140,
373
- 17, 22, 24, nil, nil, -35, -80, -117, -7, nil,
374
- -118, nil, nil, nil, -146, -144, -142, -106, -199, -193,
375
- -136, -175, -177, nil, nil, -184, nil, -175, nil, nil,
376
- nil, -135, -144, -95, nil, nil, nil, nil, -46, 23,
377
- -50, nil, -20, 45, nil, nil, nil, nil, nil, nil,
378
- nil, nil, nil, nil, -8, -5, 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, 95,
382
- nil, 37, 156, 6, nil, nil, nil, nil, 173, nil,
383
- nil, nil, 18, 19, 68, nil, nil, nil, 38, 60,
384
- 233, 61, 62, 104, nil, nil, nil, nil, nil, nil,
385
- nil, nil, 29, 172, 166, 157, 167, nil, 168, 169,
386
- 170, 159, 160, 162, 163, 164, 165, 171, 22, 23,
387
- 24, 25, 26, 27, 28, 30, 32, 33, 34, 36,
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, 64, :_reduce_none,
393
- 1, 65, :_reduce_none,
394
- 1, 65, :_reduce_none,
395
- 2, 66, :_reduce_4,
396
- 0, 69, :_reduce_none,
397
- 3, 69, :_reduce_6,
398
- 3, 70, :_reduce_7,
399
- 1, 70, :_reduce_none,
400
- 2, 71, :_reduce_9,
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
- 1, 72, :_reduce_11,
403
- 0, 73, :_reduce_12,
404
- 1, 73, :_reduce_13,
405
- 1, 73, :_reduce_14,
406
- 3, 75, :_reduce_15,
407
- 1, 68, :_reduce_none,
408
- 4, 67, :_reduce_17,
409
- 5, 67, :_reduce_18,
410
- 3, 79, :_reduce_19,
411
- 3, 80, :_reduce_20,
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
- 4, 78, :_reduce_22,
414
- 4, 76, :_reduce_23,
415
- 3, 76, :_reduce_24,
416
- 4, 76, :_reduce_25,
417
- 3, 76, :_reduce_26,
418
- 4, 76, :_reduce_27,
419
- 3, 76, :_reduce_28,
420
- 3, 76, :_reduce_29,
421
- 2, 76, :_reduce_30,
422
- 1, 83, :_reduce_31,
423
- 1, 83, :_reduce_32,
424
- 3, 85, :_reduce_33,
425
- 1, 85, :_reduce_none,
426
- 3, 86, :_reduce_35,
427
- 2, 86, :_reduce_36,
428
- 1, 86, :_reduce_none,
429
- 4, 84, :_reduce_38,
430
- 2, 87, :_reduce_39,
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, 90, :_reduce_none,
461
- 2, 90, :_reduce_70,
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
- 6, 107, :_reduce_72,
464
- 5, 107, :_reduce_73,
465
- 4, 109, :_reduce_74,
466
- 3, 109, :_reduce_75,
467
- 1, 110, :_reduce_none,
468
- 3, 110, :_reduce_77,
469
- 3, 82, :_reduce_78,
470
- 1, 82, :_reduce_none,
471
- 4, 111, :_reduce_80,
472
- 3, 111, :_reduce_81,
473
- 4, 112, :_reduce_82,
474
- 3, 112, :_reduce_83,
475
- 2, 113, :_reduce_84,
476
- 1, 91, :_reduce_85,
477
- 3, 102, :_reduce_86,
478
- 1, 102, :_reduce_none,
479
- 1, 100, :_reduce_none,
480
- 3, 100, :_reduce_89,
481
- 1, 114, :_reduce_none,
482
- 3, 114, :_reduce_91,
483
- 2, 115, :_reduce_92,
484
- 1, 115, :_reduce_none,
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, :_reduce_96,
488
- 1, 118, :_reduce_none,
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, 118, :_reduce_none,
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
- 1, 81, :_reduce_none,
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
- 3, 123, :_reduce_117,
509
- 3, 123, :_reduce_118,
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
- 2, 124, :_reduce_120,
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
- 1, 126, :_reduce_none,
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, 130, :_reduce_130,
522
- 3, 105, :_reduce_131,
523
- 1, 105, :_reduce_none,
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
- 4, 128, :_reduce_134,
526
- 1, 128, :_reduce_none,
527
- 4, 133, :_reduce_136,
528
- 4, 133, :_reduce_137,
529
- 4, 133, :_reduce_138,
530
- 4, 133, :_reduce_139,
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
- 3, 134, :_reduce_143,
535
- 2, 134, :_reduce_144,
536
- 2, 134, :_reduce_145,
537
- 1, 134, :_reduce_146,
538
- 3, 135, :_reduce_147,
539
- 1, 136, :_reduce_none,
540
- 1, 137, :_reduce_none,
541
- 2, 138, :_reduce_150,
542
- 1, 138, :_reduce_151,
543
- 1, 125, :_reduce_152,
544
- 1, 125, :_reduce_153,
545
- 1, 74, :_reduce_154,
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
- 2, 140, :_reduce_159 ]
551
-
552
- racc_reduce_n = 160
553
-
554
- racc_shift_n = 265
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
- :comma => 4,
551
+ :LIMIT => 4,
562
552
  :unsigned_integer => 5,
563
- :ASC => 6,
564
- :DESC => 7,
565
- :left_paren => 8,
566
- :right_paren => 9,
567
- :INSERT => 10,
568
- :INTO => 11,
569
- :VALUES => 12,
570
- :SELECT => 13,
571
- :DISTINCTROW => 14,
572
- :DISTINCT => 15,
573
- :ALL => 16,
574
- :asterisk => 17,
575
- :AS => 18,
576
- :FROM => 19,
577
- :CROSS => 20,
578
- :JOIN => 21,
579
- :INNER => 22,
580
- :LEFT => 23,
581
- :OUTER => 24,
582
- :RIGHT => 25,
583
- :FULL => 26,
584
- :ON => 27,
585
- :USING => 28,
586
- :WHERE => 29,
587
- :GROUP => 30,
588
- :HAVING => 31,
589
- :NOT => 32,
590
- :BETWEEN => 33,
591
- :AND => 34,
592
- :IN => 35,
593
- :LIKE => 36,
594
- :IS => 37,
595
- :NULL => 38,
596
- :EXISTS => 39,
597
- :identifier => 40,
598
- :OR => 41,
599
- :equals_operator => 42,
600
- :not_equals_operator => 43,
601
- :less_than_operator => 44,
602
- :greater_than_operator => 45,
603
- :less_than_or_equals_operator => 46,
604
- :greater_than_or_equals_operator => 47,
605
- :plus_sign => 48,
606
- :minus_sign => 49,
607
- :solidus => 50,
608
- :CURRENT_USER => 51,
609
- :period => 52,
610
- :COUNT => 53,
611
- :AVG => 54,
612
- :MAX => 55,
613
- :MIN => 56,
614
- :SUM => 57,
615
- :E => 58,
616
- :quote => 59,
617
- :character_string_literal => 60,
618
- :DATE => 61,
619
- :date_string => 62 }
620
-
621
- racc_nt_base = 63
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
- "comma",
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
- module_eval(<<'.,.,', 'parser.racc', 21)
813
- def _reduce_7(val, _values, result)
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 8 omitted
837
+ # reduce 12 omitted
820
838
 
821
- module_eval(<<'.,.,', 'parser.racc', 25)
822
- def _reduce_9(val, _values, result)
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 10 omitted
846
+ # reduce 14 omitted
829
847
 
830
- module_eval(<<'.,.,', 'parser.racc', 29)
831
- def _reduce_11(val, _values, result)
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', 32)
838
- def _reduce_12(val, _values, result)
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', 33)
845
- def _reduce_13(val, _values, result)
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', 34)
852
- def _reduce_14(val, _values, result)
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', 39)
859
- def _reduce_15(val, _values, result)
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 16 omitted
883
+ # reduce 20 omitted
866
884
 
867
- module_eval(<<'.,.,', 'parser.racc', 45)
868
- def _reduce_17(val, _values, result)
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', 46)
875
- def _reduce_18(val, _values, result)
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', 49)
882
- def _reduce_19(val, _values, result)
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', 52)
889
- def _reduce_20(val, _values, result)
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 21 omitted
913
+ # reduce 25 omitted
896
914
 
897
- module_eval(<<'.,.,', 'parser.racc', 56)
898
- def _reduce_22(val, _values, result)
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', 59)
905
- def _reduce_23(val, _values, result)
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', 60)
912
- def _reduce_24(val, _values, result)
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', 61)
919
- def _reduce_25(val, _values, result)
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', 62)
926
- def _reduce_26(val, _values, result)
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', 63)
933
- def _reduce_27(val, _values, result)
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', 64)
940
- def _reduce_28(val, _values, result)
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', 65)
947
- def _reduce_29(val, _values, result)
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', 66)
954
- def _reduce_30(val, _values, result)
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', 69)
961
- def _reduce_31(val, _values, result)
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', 70)
968
- def _reduce_32(val, _values, result)
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', 73)
975
- def _reduce_33(val, _values, result)
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 34 omitted
999
+ # reduce 38 omitted
982
1000
 
983
- module_eval(<<'.,.,', 'parser.racc', 77)
984
- def _reduce_35(val, _values, result)
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', 78)
991
- def _reduce_36(val, _values, result)
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 37 omitted
1015
+ # reduce 41 omitted
998
1016
 
999
- module_eval(<<'.,.,', 'parser.racc', 82)
1000
- def _reduce_38(val, _values, result)
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', 85)
1007
- def _reduce_39(val, _values, result)
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', 88)
1014
- def _reduce_40(val, _values, result)
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', 89)
1021
- def _reduce_41(val, _values, result)
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 42 omitted
1045
+ # reduce 46 omitted
1028
1046
 
1029
- # reduce 43 omitted
1047
+ # reduce 47 omitted
1030
1048
 
1031
- # reduce 44 omitted
1049
+ # reduce 48 omitted
1032
1050
 
1033
- # reduce 45 omitted
1051
+ # reduce 49 omitted
1034
1052
 
1035
- # reduce 46 omitted
1053
+ # reduce 50 omitted
1036
1054
 
1037
- module_eval(<<'.,.,', 'parser.racc', 101)
1038
- def _reduce_47(val, _values, result)
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', 102)
1045
- def _reduce_48(val, _values, result)
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', 105)
1052
- def _reduce_49(val, _values, result)
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', 108)
1059
- def _reduce_50(val, _values, result)
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', 109)
1066
- def _reduce_51(val, _values, result)
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', 110)
1073
- def _reduce_52(val, _values, result)
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', 111)
1080
- def _reduce_53(val, _values, result)
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', 112)
1087
- def _reduce_54(val, _values, result)
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', 113)
1094
- def _reduce_55(val, _values, result)
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', 114)
1101
- def _reduce_56(val, _values, result)
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 57 omitted
1125
+ # reduce 61 omitted
1108
1126
 
1109
- # reduce 58 omitted
1127
+ # reduce 62 omitted
1110
1128
 
1111
- module_eval(<<'.,.,', 'parser.racc', 121)
1112
- def _reduce_59(val, _values, result)
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', 124)
1119
- def _reduce_60(val, _values, result)
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 61 omitted
1143
+ # reduce 65 omitted
1126
1144
 
1127
- # reduce 62 omitted
1145
+ # reduce 66 omitted
1128
1146
 
1129
- module_eval(<<'.,.,', 'parser.racc', 131)
1130
- def _reduce_63(val, _values, result)
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 64 omitted
1154
+ # reduce 68 omitted
1137
1155
 
1138
- module_eval(<<'.,.,', 'parser.racc', 135)
1139
- def _reduce_65(val, _values, result)
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', 138)
1146
- def _reduce_66(val, _values, result)
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 67 omitted
1170
+ # reduce 71 omitted
1153
1171
 
1154
- # reduce 68 omitted
1172
+ # reduce 72 omitted
1155
1173
 
1156
- # reduce 69 omitted
1174
+ # reduce 73 omitted
1157
1175
 
1158
- module_eval(<<'.,.,', 'parser.racc', 146)
1159
- def _reduce_70(val, _values, result)
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 71 omitted
1183
+ # reduce 75 omitted
1166
1184
 
1167
- module_eval(<<'.,.,', 'parser.racc', 153)
1168
- def _reduce_72(val, _values, result)
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', 154)
1175
- def _reduce_73(val, _values, result)
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', 157)
1182
- def _reduce_74(val, _values, result)
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', 158)
1189
- def _reduce_75(val, _values, result)
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 76 omitted
1213
+ # reduce 80 omitted
1196
1214
 
1197
- module_eval(<<'.,.,', 'parser.racc', 162)
1198
- def _reduce_77(val, _values, result)
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', 165)
1205
- def _reduce_78(val, _values, result)
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 79 omitted
1229
+ # reduce 83 omitted
1212
1230
 
1213
- module_eval(<<'.,.,', 'parser.racc', 172)
1214
- def _reduce_80(val, _values, result)
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', 173)
1221
- def _reduce_81(val, _values, result)
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', 176)
1228
- def _reduce_82(val, _values, result)
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', 177)
1235
- def _reduce_83(val, _values, result)
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', 180)
1242
- def _reduce_84(val, _values, result)
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', 184)
1249
- def _reduce_85(val, _values, result)
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', 187)
1256
- def _reduce_86(val, _values, result)
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 87 omitted
1280
+ # reduce 91 omitted
1263
1281
 
1264
- # reduce 88 omitted
1282
+ # reduce 92 omitted
1265
1283
 
1266
- module_eval(<<'.,.,', 'parser.racc', 193)
1267
- def _reduce_89(val, _values, result)
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 90 omitted
1291
+ # reduce 94 omitted
1274
1292
 
1275
- module_eval(<<'.,.,', 'parser.racc', 197)
1276
- def _reduce_91(val, _values, result)
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', 200)
1283
- def _reduce_92(val, _values, result)
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 93 omitted
1307
+ # reduce 97 omitted
1290
1308
 
1291
- # reduce 94 omitted
1309
+ # reduce 98 omitted
1292
1310
 
1293
- # reduce 95 omitted
1311
+ # reduce 99 omitted
1294
1312
 
1295
- module_eval(<<'.,.,', 'parser.racc', 208)
1296
- def _reduce_96(val, _values, result)
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 97 omitted
1320
+ # reduce 101 omitted
1303
1321
 
1304
- # reduce 98 omitted
1322
+ # reduce 102 omitted
1305
1323
 
1306
- # reduce 99 omitted
1324
+ # reduce 103 omitted
1307
1325
 
1308
- # reduce 100 omitted
1326
+ # reduce 104 omitted
1309
1327
 
1310
- # reduce 101 omitted
1328
+ # reduce 105 omitted
1311
1329
 
1312
- # reduce 102 omitted
1330
+ # reduce 106 omitted
1313
1331
 
1314
- module_eval(<<'.,.,', 'parser.racc', 219)
1315
- def _reduce_103(val, _values, result)
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', 220)
1322
- def _reduce_104(val, _values, result)
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', 221)
1329
- def _reduce_105(val, _values, result)
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', 222)
1336
- def _reduce_106(val, _values, result)
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', 223)
1343
- def _reduce_107(val, _values, result)
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', 224)
1350
- def _reduce_108(val, _values, result)
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 109 omitted
1374
+ # reduce 113 omitted
1357
1375
 
1358
- # reduce 110 omitted
1376
+ # reduce 114 omitted
1359
1377
 
1360
- # reduce 111 omitted
1378
+ # reduce 115 omitted
1361
1379
 
1362
- # reduce 112 omitted
1380
+ # reduce 116 omitted
1363
1381
 
1364
- # reduce 113 omitted
1382
+ # reduce 117 omitted
1365
1383
 
1366
- module_eval(<<'.,.,', 'parser.racc', 238)
1367
- def _reduce_114(val, _values, result)
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', 239)
1374
- def _reduce_115(val, _values, result)
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 116 omitted
1398
+ # reduce 120 omitted
1381
1399
 
1382
- module_eval(<<'.,.,', 'parser.racc', 243)
1383
- def _reduce_117(val, _values, result)
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', 244)
1390
- def _reduce_118(val, _values, result)
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 119 omitted
1414
+ # reduce 123 omitted
1397
1415
 
1398
- module_eval(<<'.,.,', 'parser.racc', 248)
1399
- def _reduce_120(val, _values, result)
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 121 omitted
1423
+ # reduce 125 omitted
1406
1424
 
1407
- # reduce 122 omitted
1425
+ # reduce 126 omitted
1408
1426
 
1409
- # reduce 123 omitted
1427
+ # reduce 127 omitted
1410
1428
 
1411
- # reduce 124 omitted
1429
+ # reduce 128 omitted
1412
1430
 
1413
- module_eval(<<'.,.,', 'parser.racc', 255)
1414
- def _reduce_125(val, _values, result)
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 126 omitted
1438
+ # reduce 130 omitted
1421
1439
 
1422
- # reduce 127 omitted
1440
+ # reduce 131 omitted
1423
1441
 
1424
- # reduce 128 omitted
1442
+ # reduce 132 omitted
1425
1443
 
1426
- # reduce 129 omitted
1444
+ # reduce 133 omitted
1427
1445
 
1428
- module_eval(<<'.,.,', 'parser.racc', 266)
1429
- def _reduce_130(val, _values, result)
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', 269)
1436
- def _reduce_131(val, _values, result)
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 132 omitted
1460
+ # reduce 136 omitted
1443
1461
 
1444
- # reduce 133 omitted
1462
+ # reduce 137 omitted
1445
1463
 
1446
- module_eval(<<'.,.,', 'parser.racc', 276)
1447
- def _reduce_134(val, _values, result)
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 135 omitted
1471
+ # reduce 139 omitted
1454
1472
 
1455
- module_eval(<<'.,.,', 'parser.racc', 280)
1456
- def _reduce_136(val, _values, result)
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', 281)
1463
- def _reduce_137(val, _values, result)
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', 282)
1470
- def _reduce_138(val, _values, result)
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', 283)
1477
- def _reduce_139(val, _values, result)
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', 284)
1484
- def _reduce_140(val, _values, result)
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 141 omitted
1508
+ # reduce 145 omitted
1491
1509
 
1492
- # reduce 142 omitted
1510
+ # reduce 146 omitted
1493
1511
 
1494
- module_eval(<<'.,.,', 'parser.racc', 292)
1495
- def _reduce_143(val, _values, result)
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', 293)
1502
- def _reduce_144(val, _values, result)
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', 294)
1509
- def _reduce_145(val, _values, result)
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', 295)
1516
- def _reduce_146(val, _values, result)
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', 298)
1523
- def _reduce_147(val, _values, result)
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 148 omitted
1547
+ # reduce 152 omitted
1530
1548
 
1531
- # reduce 149 omitted
1549
+ # reduce 153 omitted
1532
1550
 
1533
- module_eval(<<'.,.,', 'parser.racc', 307)
1534
- def _reduce_150(val, _values, result)
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', 308)
1541
- def _reduce_151(val, _values, result)
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', 311)
1548
- def _reduce_152(val, _values, result)
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', 312)
1555
- def _reduce_153(val, _values, result)
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', 316)
1562
- def _reduce_154(val, _values, result)
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', 320)
1569
- def _reduce_155(val, _values, result)
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', 321)
1576
- def _reduce_156(val, _values, result)
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 157 omitted
1600
+ # reduce 161 omitted
1583
1601
 
1584
- # reduce 158 omitted
1602
+ # reduce 162 omitted
1585
1603
 
1586
- module_eval(<<'.,.,', 'parser.racc', 328)
1587
- def _reduce_159(val, _values, result)
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