ruby-next-parser 3.0.0.2 → 3.0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parser/ruby-next/AST_FORMAT.md +26 -0
- data/lib/parser/ruby-next/builder.rb +4 -0
- data/lib/parser/ruby-next/version.rb +1 -1
- data/lib/parser/rubynext.rb +212 -204
- data/lib/parser/rubynext.y +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c89e13bc6231d7cbe79ff2b04605e14fe1a69288f6302d6e8250732cd9a8a79
|
4
|
+
data.tar.gz: 2880e42ecd33794556b35c3071aabf8b0c6f899e6ad4a5f55f3fa24d67c4f1d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39534e5ea44e43a9c8233ffab1aecff8d95b46d99d263fee1332a1f853ec49ba508984c64f10636481fa84b619ca7162fe3ad41db5e8edb2bf926484ea4c36b3
|
7
|
+
data.tar.gz: 7953b9793999737f20eeff230f1d389dfca8e9613347e12a17a6a63723e368d75b6f842c096e96fe61f377543bebeb137a328a24ad307dc954b1385119c6f7ed
|
@@ -36,3 +36,29 @@ Format:
|
|
36
36
|
~~~~~~ expression (spair)
|
37
37
|
~~~~~~~~ expression (hash)
|
38
38
|
~~~
|
39
|
+
|
40
|
+
### Kwargs
|
41
|
+
|
42
|
+
#### Implicit kwarg
|
43
|
+
|
44
|
+
Format:
|
45
|
+
|
46
|
+
~~~
|
47
|
+
(hash (ipair (send nil :x)))
|
48
|
+
"foo x:"
|
49
|
+
~~ expression
|
50
|
+
~~~
|
51
|
+
|
52
|
+
~~~
|
53
|
+
(hash (ipair (lvar :foo)))
|
54
|
+
"foo(foo:)"
|
55
|
+
~~~~ expression
|
56
|
+
~~~
|
57
|
+
|
58
|
+
If `emit_kwargs` compatibility flag is enabled:
|
59
|
+
|
60
|
+
~~~
|
61
|
+
(kwargs (ipair (send nil :x)))
|
62
|
+
"foo x:"
|
63
|
+
~~ expression
|
64
|
+
~~~
|
@@ -15,6 +15,10 @@ module Parser
|
|
15
15
|
n(:ipair, [ var ], var.loc)
|
16
16
|
end
|
17
17
|
|
18
|
+
def ipair_keyword(var)
|
19
|
+
n(:ipair, [ var ], var.loc)
|
20
|
+
end
|
21
|
+
|
18
22
|
def check_reserved_for_numparam(name, loc)
|
19
23
|
# We don't want to raise SyntaxError, 'cause we want to use _x vars for older Rubies.
|
20
24
|
# The exception should be raised by Ruby itself for versions supporting numbered parameters
|
data/lib/parser/rubynext.rb
CHANGED
@@ -34,11 +34,11 @@ module Parser
|
|
34
34
|
|
35
35
|
clist = [
|
36
36
|
'-597,-112,299,218,219,-113,-120,-597,-597,-597,1087,620,-597,-597,-597',
|
37
|
-
'661,-597,874,874,663,-611,229,218,219,-597,-
|
38
|
-
'364,-119,-
|
37
|
+
'661,-597,874,874,663,-611,229,218,219,-597,-719,-597,-597,-597,218,219',
|
38
|
+
'364,-119,-719,-98,-115,-597,-597,620,-597,-597,-597,-597,-597,620,620',
|
39
39
|
'620,-84,620,874,230,-117,-112,584,-113,581,580,579,299,582,3,230,230',
|
40
40
|
'-499,969,230,-597,-597,-597,-597,-597,-597,-597,-597,-597,-597,-597',
|
41
|
-
'-597,-597,-597,-112,660,-597,-597,-597,662,-597,-597,-
|
41
|
+
'-597,-597,-597,-112,660,-597,-597,-597,662,-597,-597,-731,298,-597,-114',
|
42
42
|
'1088,-597,-597,1128,-597,230,-597,924,-597,627,-597,-597,-120,-597,-597',
|
43
43
|
'-597,-597,-597,-103,-597,-600,-597,-104,-111,230,299,-119,-600,-600',
|
44
44
|
'-600,294,230,-600,-600,-600,-597,-600,123,-597,-597,-597,-597,122,-597',
|
@@ -47,34 +47,34 @@ clist = [
|
|
47
47
|
'958,123,122,122,122,-112,122,-113,968,809,-112,119,-113,-600,-600,-600',
|
48
48
|
'-600,-600,-600,-600,-600,-600,-600,-600,-600,-600,-600,101,102,-600',
|
49
49
|
'-600,-600,-118,-600,-600,-105,924,-600,132,298,-600,-600,-116,-600,215',
|
50
|
-
'-600,814,-600,-106,-600,-600,-
|
51
|
-
'-314,-600,-612,-120,364,218,219,-314,-314,-314,216,-
|
50
|
+
'-600,814,-600,-106,-600,-600,-719,-600,-600,-600,-600,-600,-120,-600',
|
51
|
+
'-314,-600,-612,-120,364,218,219,-314,-314,-314,216,-706,-119,-314,-314',
|
52
52
|
'-600,-314,-119,-600,-600,-600,-600,123,-600,-314,-600,217,122,230,-106',
|
53
53
|
'-600,-600,-106,123,-600,-108,-314,-314,122,-314,-314,-314,-314,-314',
|
54
|
-
'-115,-106,103,104,-
|
55
|
-
'122,299,-
|
54
|
+
'-115,-106,103,104,-706,-115,-707,-117,-116,-114,123,483,-117,-116,-114',
|
55
|
+
'122,299,-731,-113,227,-118,220,-314,-314,-314,-314,-314,-314,-314,-314',
|
56
56
|
'-314,-314,-314,-314,-314,-314,123,288,-314,-314,-314,122,687,-314,101',
|
57
57
|
'102,-314,-118,-107,-314,-107,349,-118,648,-314,123,-314,-108,-314,-314',
|
58
|
-
'122,-314,-314,-314,-314,-314,225,-314,-
|
59
|
-
'-
|
60
|
-
'792,-314,-
|
61
|
-
'-
|
62
|
-
'123,-597,103,104,350,122,648,840,-597,-109,-119,226,648,230,-
|
63
|
-
'-
|
64
|
-
'-
|
65
|
-
'-
|
66
|
-
'-
|
67
|
-
'-
|
68
|
-
'-
|
69
|
-
'-600,229,650,649,-111,223,-607,-
|
70
|
-
'-103,-
|
58
|
+
'122,-314,-314,-314,-314,-314,225,-314,-710,-314,557,-120,791,292,633',
|
59
|
+
'-710,-710,-710,634,-120,294,-710,-710,-314,-710,-707,-314,-314,225,-109',
|
60
|
+
'792,-314,-710,-710,1082,292,-105,-108,-314,-314,-108,-703,-118,298,-710',
|
61
|
+
'-710,627,-710,-710,-710,-710,-710,1081,-108,814,-706,-107,650,649,648',
|
62
|
+
'123,-597,103,104,350,122,648,840,-597,-109,-119,226,648,230,-710,-710',
|
63
|
+
'-710,-710,-710,-710,-710,-710,-710,-710,-710,-710,-710,-710,218,219',
|
64
|
+
'-710,-710,-710,226,688,-710,-107,430,-710,-107,-600,-710,-105,648,123',
|
65
|
+
'-703,-710,-600,-710,122,-710,-710,-107,-710,-710,-710,-710,-710,482',
|
66
|
+
'-710,-710,-710,227,650,649,646,-597,484,-703,-695,650,649,646,-611,648',
|
67
|
+
'-710,650,649,-710,-710,748,-107,-105,-710,648,-105,-695,1141,-710,-695',
|
68
|
+
'-710,-710,869,1141,-116,-710,-710,-710,-105,485,-710,-710,-710,225,-710',
|
69
|
+
'-600,229,650,649,-111,223,-607,-710,-710,-710,-710,-710,842,-607,221',
|
70
|
+
'-103,-703,-120,87,-710,-710,515,-710,-710,-710,-710,-710,-612,-112,527',
|
71
71
|
'88,529,-350,650,649,646,648,633,531,-350,89,899,648,650,649,651,132',
|
72
|
-
'-115,-350,-
|
73
|
-
'-
|
74
|
-
'-
|
75
|
-
'-
|
76
|
-
'225,650,649,655,648,-
|
77
|
-
'-
|
72
|
+
'-115,-350,-710,-710,-710,-710,-710,-710,-710,-710,-710,-710,-710,-710',
|
73
|
+
'-710,-710,226,224,-710,-710,-710,-597,871,-710,-607,-83,-710,-104,-597',
|
74
|
+
'-710,-710,648,-710,-703,-710,230,-710,-597,-710,-710,-113,-710,-710',
|
75
|
+
'-710,-710,-710,542,-710,-710,-710,-350,-350,543,650,649,653,-703,-606',
|
76
|
+
'225,650,649,655,648,-710,-606,480,-710,-710,-710,-710,-608,-710,550',
|
77
|
+
'-710,481,427,-314,-608,-710,-710,429,428,-116,-314,-314,-314,-597,-597',
|
78
78
|
'-314,-314,-314,-609,-314,218,219,650,649,659,-609,-605,-314,303,-314',
|
79
79
|
'-314,-314,870,-605,-609,894,895,633,682,-314,-314,899,-314,-314,-314',
|
80
80
|
'-314,-314,557,230,-606,226,224,-610,650,649,664,-602,364,611,-610,-603',
|
@@ -89,26 +89,26 @@ clist = [
|
|
89
89
|
'547,-314,-314,-314,-314,-314,-314,-314,-314,-314,-314,-314,-314,-314',
|
90
90
|
'-314,614,990,-314,-314,-314,615,687,-314,-114,-114,-314,592,593,-314',
|
91
91
|
'-305,531,611,627,-314,613,-314,-305,-314,-314,1008,-314,-314,-314,-314',
|
92
|
-
'-314,-305,-314,-
|
93
|
-
'924,-
|
94
|
-
'252,640,1008,-314,-314,230,665,-118,1178,-
|
95
|
-
'-
|
96
|
-
'593,249,252,294,692,251,250,481,-
|
97
|
-
'-
|
98
|
-
'252,-
|
99
|
-
'-
|
100
|
-
'579,225,582,736,600,599,230,-
|
101
|
-
'-98,673,751,230,563,762,-
|
102
|
-
'224,230,71,72,771,226,224,75,-
|
92
|
+
'-314,-305,-314,-710,-314,226,224,1126,1127,419,-710,-710,-710,589,953',
|
93
|
+
'924,-710,-710,-314,-710,593,-314,-314,592,-314,631,-314,-710,-710,632',
|
94
|
+
'252,640,1008,-314,-314,230,665,-118,1178,-710,-710,668,-710,-710,-710',
|
95
|
+
'-710,-710,669,-287,671,-305,-305,225,672,676,230,600,599,680,559,681',
|
96
|
+
'593,249,252,294,692,251,250,481,-710,-710,-710,-710,-710,-710,-710,-710',
|
97
|
+
'-710,-710,-710,-710,-710,-710,252,589,-710,-710,-710,252,688,-710,225',
|
98
|
+
'252,-710,592,249,-710,225,630,251,250,-710,252,-710,636,-710,-710,628',
|
99
|
+
'-710,-710,-710,-710,-710,638,-710,-710,-710,226,224,1137,230,581,580',
|
100
|
+
'579,225,582,736,600,599,230,-710,675,593,-710,-710,230,-710,230,-710',
|
101
|
+
'-98,673,751,230,563,762,-710,-710,768,769,-116,7,77,78,24,11,65,226',
|
102
|
+
'224,230,71,72,771,226,224,75,-704,73,74,76,33,34,79,80,126,127,128,129',
|
103
103
|
'130,81,31,30,111,110,112,113,230,252,21,774,226,224,777,778,10,51,9',
|
104
104
|
'12,115,114,116,105,64,107,106,108,780,109,117,118,782,101,102,47,48',
|
105
|
-
'46,793,-
|
105
|
+
'46,793,-710,-600,249,794,796,798,251,250,-600,247,248,799,230,-704,801',
|
106
106
|
'805,810,-600,43,811,815,36,839,843,66,67,-315,844,68,-288,38,857,515',
|
107
|
-
'-315,50,515,-
|
108
|
-
'91,-
|
109
|
-
'82,911,89,103,104,913,529,531,44,45,321,77,78,24,11,65,762,230,-
|
107
|
+
'-315,50,515,-704,230,874,875,834,835,-315,22,836,117,118,898,99,87,90',
|
108
|
+
'91,-710,92,94,93,95,874,901,-710,903,88,98,288,-706,909,-600,-600,-710',
|
109
|
+
'82,911,89,103,104,913,529,531,44,45,321,77,78,24,11,65,762,230,-710',
|
110
110
|
'71,72,294,-315,-315,75,294,73,74,76,33,34,79,80,244,762,252,924,945',
|
111
|
-
'81,31,30,111,110,112,113,946,230,21,-
|
111
|
+
'81,31,30,111,110,112,113,946,230,21,-710,-710,924,955,956,10,51,323',
|
112
112
|
'12,115,114,116,105,64,107,106,108,230,109,117,118,230,101,102,47,48',
|
113
113
|
'46,252,256,257,258,259,269,270,264,265,260,261,-315,245,246,966,230',
|
114
114
|
'262,263,-315,43,-289,243,325,230,977,66,67,-315,722,68,230,38,249,230',
|
@@ -119,7 +119,7 @@ clist = [
|
|
119
119
|
'130,81,31,30,111,110,112,113,1055,1057,21,226,224,1066,1067,677,10,51',
|
120
120
|
'9,12,115,114,116,105,64,107,106,108,1072,109,117,118,1073,101,102,47',
|
121
121
|
'48,46,252,256,257,258,259,269,270,264,265,260,261,-314,245,246,1074',
|
122
|
-
'-290,262,263,-314,43,230,230,36,-
|
122
|
+
'-290,262,263,-314,43,230,230,36,-707,230,66,67,-314,1078,68,230,38,249',
|
123
123
|
'230,255,50,251,250,230,247,248,268,267,253,22,254,874,1086,230,99,87',
|
124
124
|
'90,91,225,92,94,93,95,1095,777,1161,1098,88,98,1101,266,1103,-260,1105',
|
125
125
|
'1159,82,230,89,103,104,1107,-314,-314,44,45,321,77,78,24,11,65,1122',
|
@@ -127,9 +127,9 @@ clist = [
|
|
127
127
|
'129,130,81,31,30,111,110,112,113,1157,1162,21,226,224,1163,1047,677',
|
128
128
|
'10,51,323,12,115,114,116,105,64,107,106,108,1047,109,117,118,1047,101',
|
129
129
|
'102,47,48,46,252,256,257,258,259,269,270,264,265,260,261,-314,245,246',
|
130
|
-
'1175,1176,262,263,-314,43,1180,777,36,-
|
130
|
+
'1175,1176,262,263,-314,43,1180,777,36,-707,1184,66,67,-314,1186,68,1188',
|
131
131
|
'38,249,1190,255,50,251,250,1190,247,248,268,267,253,22,254,768,1123',
|
132
|
-
'1204,99,87,90,91,225,92,94,93,95,1180,-
|
132
|
+
'1204,99,87,90,91,225,92,94,93,95,1180,-707,1156,-706,88,98,230,266,1047',
|
133
133
|
'1216,1190,638,82,1190,89,103,104,1190,-314,-314,44,45,321,77,78,24,11',
|
134
134
|
'65,1180,1190,,71,72,,,,75,,73,74,76,33,34,79,80,126,127,128,129,130',
|
135
135
|
'81,31,30,111,110,112,113,,,21,226,224,,,921,10,51,323,12,115,114,116',
|
@@ -189,56 +189,56 @@ clist = [
|
|
189
189
|
',89,103,104,,788,,44,45,321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76',
|
190
190
|
'33,34,79,80,,,,,,81,31,30,111,110,112,113,,,21,,,,,,10,51,323,12,115',
|
191
191
|
'114,116,105,64,107,106,108,,109,117,118,,101,102,47,48,46,252,256,257',
|
192
|
-
'258,259,269,270,264,265,260,261,,-
|
192
|
+
'258,259,269,270,264,265,260,261,,-732,-732,,,262,263,,43,,,36,,,66,67',
|
193
193
|
',252,68,,38,249,,255,50,251,250,,247,248,268,267,253,22,254,,,,99,87',
|
194
194
|
'90,91,,92,94,93,95,,,249,,88,98,251,250,,247,248,,82,,89,103,104,,,',
|
195
195
|
'44,45,321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81',
|
196
196
|
'31,30,111,110,112,113,,,21,,,,,,10,51,323,12,115,114,116,105,64,107',
|
197
197
|
'106,108,,109,117,118,,101,102,47,48,46,252,256,257,258,259,269,270,264',
|
198
|
-
'265,260,261,,-
|
198
|
+
'265,260,261,,-732,-732,,,262,263,,43,,,36,,,66,67,,,68,,38,249,,255',
|
199
199
|
'50,251,250,,247,248,268,267,253,22,254,,,,99,87,90,91,,92,94,93,95,',
|
200
200
|
',,,88,98,,,,,,,82,,89,103,104,,,,44,45,321,77,78,24,11,65,,,,71,72,',
|
201
201
|
',,75,,73,74,76,33,34,79,80,,,,,,81,31,30,111,110,112,113,,,21,,,,,,10',
|
202
202
|
'51,323,12,115,114,116,105,64,107,106,108,,109,117,118,,101,102,47,48',
|
203
|
-
'46,252,256,257,258,259,269,270,264,265,260,261,,-
|
203
|
+
'46,252,256,257,258,259,269,270,264,265,260,261,,-732,-732,,,262,263',
|
204
204
|
',43,,,36,,,66,67,,,68,,38,249,,255,50,251,250,,247,248,268,267,253,22',
|
205
205
|
'254,,,,99,87,90,91,,92,94,93,95,,,,,88,98,,,,,,,82,,89,103,104,,,,44',
|
206
206
|
'45,321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31',
|
207
207
|
'30,111,110,112,113,,,21,,,,,,10,51,323,12,115,114,116,105,64,107,106',
|
208
208
|
'108,,109,117,118,,101,102,47,48,46,252,256,257,258,259,269,270,264,265',
|
209
|
-
'260,261,,-
|
209
|
+
'260,261,,-732,-732,,,262,263,,43,,,36,,,66,67,,,68,,38,249,,255,50,251',
|
210
210
|
'250,,247,248,268,267,253,22,254,,,,99,87,90,91,,92,94,93,95,,,,,88,98',
|
211
211
|
',,,,,,82,,89,103,104,,,,44,45,321,77,78,24,11,65,,,,71,72,,,,75,,73',
|
212
212
|
'74,76,33,34,79,80,,,,,,81,31,30,111,110,112,113,,584,21,581,580,579',
|
213
213
|
',582,10,51,323,12,115,114,116,105,64,107,106,108,,109,117,118,,101,102',
|
214
|
-
'47,48,46,252,-
|
214
|
+
'47,48,46,252,-732,-732,-732,-732,269,270,,784,-732,-732,,,,,,262,263',
|
215
215
|
',43,,,36,,,66,67,,,68,,38,249,,255,50,251,250,,247,248,268,267,253,22',
|
216
216
|
'254,,,,99,87,90,91,,92,94,93,95,,,,,88,98,,,,,,,82,,89,103,104,,,,44',
|
217
217
|
'45,321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31',
|
218
218
|
'30,111,110,112,113,,584,21,581,580,579,,582,10,51,323,12,115,114,116',
|
219
|
-
'105,64,107,106,108,,109,117,118,,101,102,47,48,46,252,-
|
220
|
-
'-
|
219
|
+
'105,64,107,106,108,,109,117,118,,101,102,47,48,46,252,-732,-732,-732',
|
220
|
+
'-732,269,270,,784,-732,-732,,,,,,262,263,,43,,,36,,,66,67,,,68,,38,249',
|
221
221
|
',255,50,251,250,,247,248,268,267,253,22,254,,,,99,87,90,91,,92,94,93',
|
222
222
|
'95,,,,,88,98,,,,,,,82,,89,103,104,,,,44,45,321,77,78,24,11,65,,,,71',
|
223
223
|
'72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31,30,111,110,112,113,,,21,,',
|
224
224
|
',,,10,51,323,12,115,114,116,105,64,107,106,108,,109,117,118,,101,102',
|
225
|
-
'47,48,46,252,-
|
225
|
+
'47,48,46,252,-732,-732,-732,-732,269,270,,,-732,-732,,,,,,262,263,,43',
|
226
226
|
',,36,,,66,67,,,68,,38,249,,255,50,251,250,,247,248,268,267,253,22,254',
|
227
227
|
',,,99,87,90,91,,92,94,93,95,,,,,88,98,,,,,,,82,,89,103,104,,,,44,45',
|
228
228
|
'321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31,30',
|
229
229
|
'111,110,112,113,,,21,,,,,,10,51,323,12,115,114,116,105,64,107,106,108',
|
230
|
-
',109,117,118,,101,102,47,48,46,252,-
|
231
|
-
'-
|
230
|
+
',109,117,118,,101,102,47,48,46,252,-732,-732,-732,-732,269,270,,,-732',
|
231
|
+
'-732,,,,,,262,263,,43,,,36,,,66,67,,,68,,38,249,,255,50,251,250,,247',
|
232
232
|
'248,268,267,253,22,254,,,,99,87,90,91,,92,94,93,95,,,,,88,98,,,,,,,82',
|
233
233
|
',89,103,104,,,,44,45,321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33',
|
234
234
|
'34,79,80,,,,,,81,31,30,111,110,112,113,,,21,,,,,,10,51,323,12,115,114',
|
235
|
-
'116,105,64,107,106,108,,109,117,118,,101,102,47,48,46,252,-
|
236
|
-
'-
|
235
|
+
'116,105,64,107,106,108,,109,117,118,,101,102,47,48,46,252,-732,-732',
|
236
|
+
'-732,-732,269,270,,,-732,-732,,,,,,262,263,,43,,,36,,,66,67,,,68,,38',
|
237
237
|
'249,,255,50,251,250,,247,248,268,267,253,22,254,,,,99,87,90,91,,92,94',
|
238
238
|
'93,95,,,,,88,98,,,,,,,82,,89,103,104,,,,44,45,321,77,78,24,11,65,,,',
|
239
239
|
'71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31,30,111,110,112,113,,,21',
|
240
240
|
',,,,,10,51,323,12,115,114,116,105,64,107,106,108,,109,117,118,,101,102',
|
241
|
-
'47,48,46,252,-
|
241
|
+
'47,48,46,252,-732,-732,-732,-732,269,270,,,-732,-732,,,,,,262,263,,43',
|
242
242
|
',,36,,,66,67,,,68,,38,249,,255,50,251,250,,247,248,268,267,253,22,254',
|
243
243
|
',,,99,87,90,91,,92,94,93,95,,,,,88,98,,,,,,,82,,89,103,104,,,,44,45',
|
244
244
|
'321,77,78,24,11,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81,31,30',
|
@@ -571,20 +571,20 @@ clist = [
|
|
571
571
|
',,,,,,,,,,,,,,,,,,,,-270,-270,-270,-270,-270,-270,-270,-270,-270,-270',
|
572
572
|
'-270,-270,-270,-270,,,-270,-270,-270,,,-270,,294,-270,,,-270,-270,,-270',
|
573
573
|
',-270,,-270,,-270,-270,,-270,-270,-270,-270,-270,,-270,-270,-270,584',
|
574
|
-
',581,580,579,589,582,,,,,,,-270,,592,-270,-270,-
|
575
|
-
'-
|
576
|
-
'-
|
577
|
-
',,,,,,,,,,,-
|
578
|
-
'-710,-710,,,-710,-710,-710,,,-710,,,-710,,,-710,-710,,-710,,-710,,-710',
|
579
|
-
',-710,-710,,-710,-710,-710,-710,-710,,-710,-710,-710,,,,,,,,,,,,,,-710',
|
580
|
-
',,-710,-710,-710,-710,,-710,,-710,-711,,,,-710,-710,,-711,-711,-711',
|
581
|
-
',,-711,-711,-711,,-711,,,,,,,,-711,-711,-711,-711,-711,,,,111,110,112',
|
582
|
-
'113,-711,-711,,-711,-711,-711,-711,-711,,,,,115,114,116,,,,,,,,,,,101',
|
583
|
-
'102,,,346,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711',
|
574
|
+
',581,580,579,589,582,,,,,,,-270,,592,-270,-270,-711,-270,,-270,,,,-711',
|
575
|
+
'-711,-711,-270,-270,-711,-711,-711,,-711,,,587,,,,,-711,-711,-711,-711',
|
576
|
+
'-711,,600,599,,,,593,-711,-711,,-711,-711,-711,-711,-711,,,,,,,,,,,',
|
577
|
+
',,,,,,,,,,,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711,-711',
|
584
578
|
'-711,-711,,,-711,-711,-711,,,-711,,,-711,,,-711,-711,,-711,,-711,,-711',
|
585
|
-
',-711,-711,,-711,-711,-711,-711,-711,,-711,-711,-711
|
586
|
-
'
|
587
|
-
',-
|
579
|
+
',-711,-711,,-711,-711,-711,-711,-711,,-711,-711,-711,,,,,,,,,,,,,,-711',
|
580
|
+
',,-711,-711,-711,-711,,-711,,-711,-712,,,,-711,-711,,-712,-712,-712',
|
581
|
+
',,-712,-712,-712,,-712,,,,,,,,-712,-712,-712,-712,-712,,,,111,110,112',
|
582
|
+
'113,-712,-712,,-712,-712,-712,-712,-712,,,,,115,114,116,,,,,,,,,,,101',
|
583
|
+
'102,,,346,-712,-712,-712,-712,-712,-712,-712,-712,-712,-712,-712,-712',
|
584
|
+
'-712,-712,,,-712,-712,-712,,,-712,,,-712,,,-712,-712,,-712,,-712,,-712',
|
585
|
+
',-712,-712,,-712,-712,-712,-712,-712,,-712,-712,-712,,99,87,90,91,,92',
|
586
|
+
'94,93,95,,,,-712,88,98,-712,-712,-712,-712,,-712,82,-712,89,103,104',
|
587
|
+
',-712,-712,77,78,24,,65,,,,71,72,,,,75,,73,74,76,33,34,79,80,,,,,,81',
|
588
588
|
'31,30,111,110,112,113,,,242,,,,,,,51,,,115,114,116,105,64,107,106,108',
|
589
589
|
'315,109,117,118,,101,102,47,48,46,,,,,,,,,,,,,,,,,,,,235,,,241,,,66',
|
590
590
|
'67,,,68,,312,,310,,50,,,316,,,,,,240,,,,,99,313,90,91,,92,94,93,95,',
|
@@ -2206,20 +2206,20 @@ racc_action_pointer = [
|
|
2206
2206
|
nil, 1441, nil ]
|
2207
2207
|
|
2208
2208
|
racc_action_default = [
|
2209
|
-
-1, -
|
2210
|
-
-
|
2211
|
-
-48, -
|
2209
|
+
-1, -732, -4, -732, -2, -717, -5, -732, -8, -732,
|
2210
|
+
-732, -732, -732, -31, -732, -732, -36, -732, -732, -305,
|
2211
|
+
-48, -719, -732, -57, -732, -65, -66, -67, -71, -282,
|
2212
2212
|
-282, -282, -318, -345, -346, -83, -13, -87, -95, -97,
|
2213
|
-
-
|
2214
|
-
-
|
2215
|
-
-301, -302, -303, -304, -
|
2216
|
-
-328, -
|
2213
|
+
-732, -609, -610, -732, -732, -732, -732, -732, -732, -235,
|
2214
|
+
-732, -719, -624, -624, -253, -296, -297, -298, -299, -300,
|
2215
|
+
-301, -302, -303, -304, -705, -307, -311, -731, -690, -326,
|
2216
|
+
-328, -732, -732, -59, -59, -717, -732, -732, -732, -347,
|
2217
2217
|
-348, -351, -408, -549, -550, -551, -552, -573, -555, -556,
|
2218
2218
|
-575, -577, -560, -565, -569, -571, -587, -588, -589, -573,
|
2219
|
-
-591, -593, -594, -595, -596, -
|
2219
|
+
-591, -593, -594, -595, -596, -703, -598, -599, -704, -601,
|
2220
2220
|
-602, -603, -604, -605, -606, -607, -608, -613, -614, 1223,
|
2221
|
-
-3, -
|
2222
|
-
-
|
2221
|
+
-3, -718, -727, -728, -729, -7, -732, -732, -732, -732,
|
2222
|
+
-732, -9, -4, -19, -732, -126, -127, -128, -129, -130,
|
2223
2223
|
-131, -132, -136, -137, -138, -139, -140, -141, -142, -143,
|
2224
2224
|
-144, -145, -146, -147, -148, -149, -150, -151, -152, -153,
|
2225
2225
|
-154, -155, -156, -157, -158, -159, -160, -161, -162, -163,
|
@@ -2227,107 +2227,107 @@ racc_action_default = [
|
|
2227
2227
|
-174, -175, -176, -177, -178, -179, -180, -181, -182, -183,
|
2228
2228
|
-184, -185, -186, -187, -188, -189, -190, -191, -192, -193,
|
2229
2229
|
-194, -195, -196, -197, -198, -199, -200, -201, -202, -203,
|
2230
|
-
-204, -205, -206, -24, -133, -13, -
|
2231
|
-
-
|
2232
|
-
-
|
2233
|
-
-
|
2234
|
-
-
|
2235
|
-
-
|
2236
|
-
-257, -
|
2237
|
-
-184, -189, -196, -199, -609, -610, -688, -
|
2238
|
-
-
|
2239
|
-
-78, -429, -79, -
|
2240
|
-
-
|
2241
|
-
-14, -
|
2242
|
-
-13, -103, -104, -
|
2243
|
-
-624, -624, -345, -346, -350, -430, -
|
2244
|
-
-315, -
|
2245
|
-
-
|
2246
|
-
-
|
2247
|
-
-
|
2248
|
-
-
|
2249
|
-
-122, -
|
2250
|
-
-
|
2251
|
-
-25, -26, -27, -28, -29, -
|
2252
|
-
-134, -
|
2253
|
-
-37, -
|
2254
|
-
-38, -208, -265, -
|
2255
|
-
-427, -
|
2256
|
-
-349, -
|
2257
|
-
-
|
2230
|
+
-204, -205, -206, -24, -133, -13, -732, -732, -732, -732,
|
2231
|
+
-732, -272, -732, -732, -732, -715, -716, -732, -732, -719,
|
2232
|
+
-720, -52, -732, -609, -610, -732, -305, -732, -732, -241,
|
2233
|
+
-732, -13, -732, -53, -55, -218, -219, -732, -732, -732,
|
2234
|
+
-732, -732, -732, -732, -732, -732, -732, -732, -732, -732,
|
2235
|
+
-732, -732, -732, -732, -732, -732, -732, -254, -255, -256,
|
2236
|
+
-257, -732, -61, -62, -732, -126, -127, -166, -167, -168,
|
2237
|
+
-184, -189, -196, -199, -609, -610, -688, -732, -417, -419,
|
2238
|
+
-732, -713, -714, -72, -272, -732, -325, -423, -432, -434,
|
2239
|
+
-78, -429, -79, -719, -80, -260, -277, -286, -286, -281,
|
2240
|
+
-732, -287, -732, -573, -696, -700, -732, -81, -82, -717,
|
2241
|
+
-14, -732, -17, -732, -85, -13, -719, -732, -88, -91,
|
2242
|
+
-13, -103, -104, -732, -732, -111, -318, -321, -719, -732,
|
2243
|
+
-624, -624, -345, -346, -350, -430, -732, -93, -732, -99,
|
2244
|
+
-315, -732, -220, -221, -592, -229, -230, -732, -242, -732,
|
2245
|
+
-732, -13, -623, -619, -646, -646, -732, -13, -13, -309,
|
2246
|
+
-719, -261, -724, -724, -732, -732, -597, -724, -692, -694,
|
2247
|
+
-732, -327, -58, -732, -732, -732, -13, -13, -717, -732,
|
2248
|
+
-718, -609, -610, -732, -732, -305, -732, -361, -362, -121,
|
2249
|
+
-122, -732, -124, -732, -305, -617, -732, -341, -646, -553,
|
2250
|
+
-732, -732, -732, -732, -732, -732, -732, -732, -6, -730,
|
2251
|
+
-25, -26, -27, -28, -29, -732, -732, -21, -22, -23,
|
2252
|
+
-134, -732, -32, -35, -292, -732, -732, -291, -33, -732,
|
2253
|
+
-37, -732, -305, -45, -47, -207, -265, -287, -49, -50,
|
2254
|
+
-38, -208, -265, -719, -273, -286, -286, -706, -707, -282,
|
2255
|
+
-427, -708, -709, -707, -706, -282, -426, -428, -708, -709,
|
2256
|
+
-349, -706, -707, -44, -215, -51, -719, -324, -732, -732,
|
2257
|
+
-732, -272, -315, -732, -732, -732, -732, -732, -216, -217,
|
2258
2258
|
-222, -223, -224, -225, -226, -227, -231, -232, -233, -234,
|
2259
|
-
-236, -237, -238, -239, -240, -243, -244, -245, -246, -
|
2260
|
-
-258, -63, -
|
2261
|
-
-
|
2262
|
-
-284, -
|
2263
|
-
-
|
2264
|
-
-110, -
|
2265
|
-
-
|
2266
|
-
-631, -
|
2267
|
-
-649, -650, -651, -652, -653, -654, -655, -
|
2259
|
+
-236, -237, -238, -239, -240, -243, -244, -245, -246, -719,
|
2260
|
+
-258, -63, -719, -438, -282, -69, -73, -647, -719, -286,
|
2261
|
+
-719, -283, -436, -438, -719, -320, -278, -732, -279, -732,
|
2262
|
+
-284, -732, -288, -732, -699, -702, -12, -718, -16, -18,
|
2263
|
+
-719, -84, -313, -100, -89, -732, -719, -272, -732, -732,
|
2264
|
+
-110, -732, -623, -592, -732, -96, -101, -732, -732, -732,
|
2265
|
+
-732, -259, -247, -732, -732, -541, -732, -374, -375, -719,
|
2266
|
+
-631, -719, -687, -687, -629, -631, -631, -645, -647, -648,
|
2267
|
+
-649, -650, -651, -652, -653, -654, -655, -732, -657, -659,
|
2268
2268
|
-661, -666, -668, -669, -672, -677, -679, -680, -682, -683,
|
2269
|
-
-684, -
|
2270
|
-
-
|
2271
|
-
-353, -13, -
|
2272
|
-
-
|
2273
|
-
-615, -
|
2274
|
-
-581, -557, -576, -
|
2275
|
-
-567, -
|
2276
|
-
-295, -
|
2277
|
-
-274, -276, -
|
2278
|
-
-425, -323, -
|
2279
|
-
-460, -462, -465, -522, -
|
2280
|
-
-
|
2281
|
-
-533, -534, -535, -
|
2282
|
-
-
|
2283
|
-
-
|
2284
|
-
-86, -
|
2285
|
-
-
|
2286
|
-
-620, -
|
2287
|
-
-
|
2288
|
-
-660, -670, -671, -681, -685, -625, -
|
2289
|
-
-310, -312, -
|
2290
|
-
-331, -332, -
|
2291
|
-
-
|
2292
|
-
-
|
2293
|
-
-561, -563, -566, -570, -572, -135, -34, -293, -
|
2294
|
-
-
|
2295
|
-
-210, -41, -211, -75, -42, -213, -43, -212, -77, -
|
2296
|
-
-
|
2297
|
-
-
|
2298
|
-
-
|
2299
|
-
-537, -
|
2300
|
-
-399, -
|
2301
|
-
-322, -
|
2269
|
+
-684, -732, -732, -631, -732, -732, -732, -719, -732, -262,
|
2270
|
+
-726, -725, -264, -726, -316, -317, -691, -726, -13, -352,
|
2271
|
+
-353, -13, -732, -732, -732, -732, -732, -732, -272, -732,
|
2272
|
+
-732, -315, -59, -121, -122, -123, -732, -732, -272, -337,
|
2273
|
+
-615, -732, -13, -409, -646, -412, -554, -574, -579, -732,
|
2274
|
+
-581, -557, -576, -732, -578, -559, -732, -562, -732, -564,
|
2275
|
+
-567, -732, -568, -732, -590, -10, -20, -732, -30, -732,
|
2276
|
+
-295, -732, -732, -272, -732, -732, -732, -732, -431, -732,
|
2277
|
+
-274, -276, -732, -732, -74, -271, -424, -732, -732, -76,
|
2278
|
+
-425, -323, -721, -706, -707, -706, -707, -719, -54, -458,
|
2279
|
+
-460, -462, -465, -522, -719, -477, -480, -515, -520, -521,
|
2280
|
+
-732, -732, -525, -526, -527, -528, -529, -530, -531, -532,
|
2281
|
+
-533, -534, -535, -732, -732, -539, -56, -732, -732, -689,
|
2282
|
+
-732, -439, -68, -420, -436, -267, -274, -269, -732, -398,
|
2283
|
+
-732, -319, -286, -285, -289, -732, -697, -698, -732, -15,
|
2284
|
+
-86, -732, -92, -98, -719, -706, -707, -270, -710, -109,
|
2285
|
+
-732, -94, -732, -214, -228, -719, -249, -731, -731, -343,
|
2286
|
+
-620, -732, -638, -622, -732, -627, -628, -732, -732, -641,
|
2287
|
+
-732, -643, -732, -363, -732, -365, -367, -370, -373, -719,
|
2288
|
+
-660, -670, -671, -681, -685, -625, -732, -251, -344, -308,
|
2289
|
+
-310, -312, -724, -693, -731, -354, -731, -60, -355, -356,
|
2290
|
+
-331, -332, -732, -732, -444, -334, -732, -719, -706, -707,
|
2291
|
+
-710, -314, -13, -121, -122, -125, -719, -13, -732, -339,
|
2292
|
+
-732, -732, -719, -580, -583, -584, -585, -586, -13, -558,
|
2293
|
+
-561, -563, -566, -570, -572, -135, -34, -293, -732, -719,
|
2294
|
+
-706, -707, -707, -706, -46, -266, -732, -722, -286, -40,
|
2295
|
+
-210, -41, -211, -75, -42, -213, -43, -212, -77, -732,
|
2296
|
+
-732, -732, -732, -431, -732, -732, -463, -464, -732, -732,
|
2297
|
+
-732, -482, -719, -719, -476, -483, -489, -732, -492, -496,
|
2298
|
+
-732, -479, -732, -732, -518, -519, -523, -524, -536, -122,
|
2299
|
+
-537, -732, -64, -418, -398, -422, -421, -732, -719, -433,
|
2300
|
+
-399, -719, -13, -435, -280, -290, -701, -90, -431, -102,
|
2301
|
+
-322, -732, -731, -359, -13, -542, -731, -543, -544, -719,
|
2302
2302
|
-630, -631, -631, -658, -687, -667, -672, -686, -631, -631,
|
2303
|
-
-678, -631, -655, -673, -
|
2304
|
-
-263, -
|
2305
|
-
-431, -
|
2306
|
-
-402, -
|
2307
|
-
-461, -469, -473, -
|
2308
|
-
-508, -573, -511, -513, -514, -
|
2309
|
-
-475, -499, -484, -487, -490, -
|
2310
|
-
-
|
2311
|
-
-381, -381, -381, -397, -
|
2312
|
-
-437, -250, -11, -13, -548, -360, -
|
2313
|
-
-
|
2314
|
-
-364, -366, -368, -371, -252, -329, -
|
2315
|
-
-452, -455, -456, -457, -289, -
|
2316
|
-
-13, -13, -
|
2317
|
-
-
|
2318
|
-
-497, -478, -
|
2319
|
-
-390, -
|
2320
|
-
-547, -13, -609, -610, -
|
2321
|
-
-631, -631, -
|
2322
|
-
-442, -443, -340, -
|
2323
|
-
-505, -509, -
|
2324
|
-
-381, -381, -676, -381, -401, -674, -
|
2325
|
-
-
|
2326
|
-
-13, -450, -451, -454, -492, -414, -416, -403, -
|
2327
|
-
-
|
2328
|
-
-
|
2329
|
-
-314, -631, -358, -
|
2330
|
-
-431, -633, -446, -447, -448, -493, -
|
2303
|
+
-678, -631, -655, -673, -719, -732, -732, -372, -656, -732,
|
2304
|
+
-263, -732, -357, -732, -732, -333, -335, -732, -732, -13,
|
2305
|
+
-431, -732, -431, -732, -732, -13, -342, -410, -413, -415,
|
2306
|
+
-402, -732, -732, -294, -431, -39, -209, -275, -732, -459,
|
2307
|
+
-461, -469, -473, -719, -719, -719, -501, -503, -504, -507,
|
2308
|
+
-508, -573, -511, -513, -514, -719, -719, -719, -538, -474,
|
2309
|
+
-475, -499, -484, -487, -490, -732, -495, -719, -573, -723,
|
2310
|
+
-719, -516, -517, -248, -13, -70, -268, -687, -687, -379,
|
2311
|
+
-381, -381, -381, -397, -732, -719, -655, -663, -664, -675,
|
2312
|
+
-437, -250, -11, -13, -548, -360, -732, -732, -546, -621,
|
2313
|
+
-732, -634, -732, -636, -626, -732, -639, -732, -642, -644,
|
2314
|
+
-364, -366, -368, -371, -252, -329, -732, -330, -732, -449,
|
2315
|
+
-452, -455, -456, -457, -289, -731, -336, -338, -616, -732,
|
2316
|
+
-13, -13, -732, -411, -582, -466, -467, -468, -502, -506,
|
2317
|
+
-732, -510, -512, -470, -471, -472, -491, -485, -732, -493,
|
2318
|
+
-497, -478, -732, -481, -440, -732, -377, -378, -382, -388,
|
2319
|
+
-390, -732, -393, -732, -395, -400, -732, -732, -662, -732,
|
2320
|
+
-547, -13, -609, -610, -732, -732, -305, -545, -631, -631,
|
2321
|
+
-631, -631, -732, -732, -13, -445, -732, -732, -453, -441,
|
2322
|
+
-442, -443, -340, -732, -732, -719, -404, -406, -407, -500,
|
2323
|
+
-505, -509, -732, -488, -732, -687, -665, -380, -381, -381,
|
2324
|
+
-381, -381, -676, -381, -401, -674, -732, -315, -541, -272,
|
2325
|
+
-732, -732, -315, -732, -632, -635, -637, -640, -369, -731,
|
2326
|
+
-13, -450, -451, -454, -492, -414, -416, -403, -732, -486,
|
2327
|
+
-732, -494, -498, -376, -732, -385, -732, -387, -732, -391,
|
2328
|
+
-732, -394, -396, -314, -710, -540, -719, -706, -707, -710,
|
2329
|
+
-314, -631, -358, -731, -732, -405, -381, -381, -381, -381,
|
2330
|
+
-431, -633, -446, -447, -448, -493, -732, -383, -386, -389,
|
2331
2331
|
-392, -381, -384 ]
|
2332
2332
|
|
2333
2333
|
clist = [
|
@@ -3351,8 +3351,9 @@ racc_reduce_table = [
|
|
3351
3351
|
3, 236, :_reduce_697,
|
3352
3352
|
3, 380, :_reduce_698,
|
3353
3353
|
2, 380, :_reduce_699,
|
3354
|
-
|
3355
|
-
|
3354
|
+
1, 380, :_reduce_700,
|
3355
|
+
4, 380, :_reduce_701,
|
3356
|
+
2, 380, :_reduce_702,
|
3356
3357
|
1, 207, :_reduce_none,
|
3357
3358
|
1, 207, :_reduce_none,
|
3358
3359
|
1, 207, :_reduce_none,
|
@@ -3365,25 +3366,25 @@ racc_reduce_table = [
|
|
3365
3366
|
1, 304, :_reduce_none,
|
3366
3367
|
1, 196, :_reduce_none,
|
3367
3368
|
1, 196, :_reduce_none,
|
3368
|
-
1, 181, :_reduce_714,
|
3369
3369
|
1, 181, :_reduce_715,
|
3370
|
+
1, 181, :_reduce_716,
|
3370
3371
|
0, 153, :_reduce_none,
|
3371
3372
|
1, 153, :_reduce_none,
|
3372
3373
|
0, 183, :_reduce_none,
|
3373
3374
|
1, 183, :_reduce_none,
|
3374
|
-
2, 212, :
|
3375
|
-
2, 180, :
|
3376
|
-
2, 328, :
|
3375
|
+
2, 212, :_reduce_721,
|
3376
|
+
2, 180, :_reduce_722,
|
3377
|
+
2, 328, :_reduce_723,
|
3377
3378
|
0, 235, :_reduce_none,
|
3378
3379
|
1, 235, :_reduce_none,
|
3379
3380
|
1, 235, :_reduce_none,
|
3380
|
-
1, 262, :
|
3381
|
+
1, 262, :_reduce_727,
|
3381
3382
|
1, 262, :_reduce_none,
|
3382
3383
|
1, 155, :_reduce_none,
|
3383
3384
|
2, 155, :_reduce_none,
|
3384
|
-
0, 233, :
|
3385
|
+
0, 233, :_reduce_731 ]
|
3385
3386
|
|
3386
|
-
racc_reduce_n =
|
3387
|
+
racc_reduce_n = 732
|
3387
3388
|
|
3388
3389
|
racc_shift_n = 1223
|
3389
3390
|
|
@@ -8027,18 +8028,23 @@ def _reduce_699(val, _values, result)
|
|
8027
8028
|
end
|
8028
8029
|
|
8029
8030
|
def _reduce_700(val, _values, result)
|
8030
|
-
|
8031
|
+
lvar = @builder.accessible(@builder.ident(val[0]))
|
8032
|
+
result = @builder.ipair_keyword(lvar)
|
8031
8033
|
|
8032
8034
|
result
|
8033
8035
|
end
|
8034
8036
|
|
8035
8037
|
def _reduce_701(val, _values, result)
|
8036
|
-
result = @builder.
|
8038
|
+
result = @builder.pair_quoted(val[0], val[1], val[2], val[3])
|
8037
8039
|
|
8038
8040
|
result
|
8039
8041
|
end
|
8040
8042
|
|
8041
|
-
|
8043
|
+
def _reduce_702(val, _values, result)
|
8044
|
+
result = @builder.kwsplat(val[0], val[1])
|
8045
|
+
|
8046
|
+
result
|
8047
|
+
end
|
8042
8048
|
|
8043
8049
|
# reduce 703 omitted
|
8044
8050
|
|
@@ -8062,63 +8068,65 @@ end
|
|
8062
8068
|
|
8063
8069
|
# reduce 713 omitted
|
8064
8070
|
|
8065
|
-
|
8071
|
+
# reduce 714 omitted
|
8072
|
+
|
8073
|
+
def _reduce_715(val, _values, result)
|
8066
8074
|
result = [:dot, val[0][1]]
|
8067
8075
|
|
8068
8076
|
result
|
8069
8077
|
end
|
8070
8078
|
|
8071
|
-
def
|
8079
|
+
def _reduce_716(val, _values, result)
|
8072
8080
|
result = [:anddot, val[0][1]]
|
8073
8081
|
|
8074
8082
|
result
|
8075
8083
|
end
|
8076
8084
|
|
8077
|
-
# reduce 716 omitted
|
8078
|
-
|
8079
8085
|
# reduce 717 omitted
|
8080
8086
|
|
8081
8087
|
# reduce 718 omitted
|
8082
8088
|
|
8083
8089
|
# reduce 719 omitted
|
8084
8090
|
|
8085
|
-
|
8091
|
+
# reduce 720 omitted
|
8092
|
+
|
8093
|
+
def _reduce_721(val, _values, result)
|
8086
8094
|
result = val[1]
|
8087
8095
|
|
8088
8096
|
result
|
8089
8097
|
end
|
8090
8098
|
|
8091
|
-
def
|
8099
|
+
def _reduce_722(val, _values, result)
|
8092
8100
|
result = val[1]
|
8093
8101
|
|
8094
8102
|
result
|
8095
8103
|
end
|
8096
8104
|
|
8097
|
-
def
|
8105
|
+
def _reduce_723(val, _values, result)
|
8098
8106
|
result = val[1]
|
8099
8107
|
|
8100
8108
|
result
|
8101
8109
|
end
|
8102
8110
|
|
8103
|
-
# reduce 723 omitted
|
8104
|
-
|
8105
8111
|
# reduce 724 omitted
|
8106
8112
|
|
8107
8113
|
# reduce 725 omitted
|
8108
8114
|
|
8109
|
-
|
8115
|
+
# reduce 726 omitted
|
8116
|
+
|
8117
|
+
def _reduce_727(val, _values, result)
|
8110
8118
|
yyerrok
|
8111
8119
|
|
8112
8120
|
result
|
8113
8121
|
end
|
8114
8122
|
|
8115
|
-
# reduce 727 omitted
|
8116
|
-
|
8117
8123
|
# reduce 728 omitted
|
8118
8124
|
|
8119
8125
|
# reduce 729 omitted
|
8120
8126
|
|
8121
|
-
|
8127
|
+
# reduce 730 omitted
|
8128
|
+
|
8129
|
+
def _reduce_731(val, _values, result)
|
8122
8130
|
result = nil
|
8123
8131
|
|
8124
8132
|
result
|
data/lib/parser/rubynext.y
CHANGED
@@ -3025,6 +3025,11 @@ f_opt_paren_args: f_paren_args
|
|
3025
3025
|
{
|
3026
3026
|
result = @builder.pair_keyword(val[0], val[1])
|
3027
3027
|
}
|
3028
|
+
| tLABEL
|
3029
|
+
{
|
3030
|
+
lvar = @builder.accessible(@builder.ident(val[0]))
|
3031
|
+
result = @builder.ipair_keyword(lvar)
|
3032
|
+
}
|
3028
3033
|
| tSTRING_BEG string_contents tLABEL_END arg_value
|
3029
3034
|
{
|
3030
3035
|
result = @builder.pair_quoted(val[0], val[1], val[2], val[3])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-next-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|