gherkin 2.3.4-java → 2.3.5-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/VERSION +1 -1
- data/gherkin.gemspec +9 -9
- data/js/lib/gherkin/lexer/i18n/ar.js +1094 -0
- data/js/lib/gherkin/lexer/i18n/bg.js +1308 -0
- data/js/lib/gherkin/lexer/i18n/ca.js +1236 -0
- data/js/lib/gherkin/lexer/i18n/cs.js +1090 -0
- data/js/lib/gherkin/lexer/i18n/cy_gb.js +958 -0
- data/js/lib/gherkin/lexer/i18n/da.js +974 -0
- data/js/lib/gherkin/lexer/i18n/de.js +1082 -0
- data/js/lib/gherkin/lexer/i18n/en.js +965 -0
- data/js/lib/gherkin/lexer/i18n/en_au.js +902 -0
- data/js/lib/gherkin/lexer/i18n/en_lol.js +859 -0
- data/js/lib/gherkin/lexer/i18n/en_pirate.js +1136 -0
- data/js/lib/gherkin/lexer/i18n/en_scouse.js +1289 -0
- data/js/lib/gherkin/lexer/i18n/en_tx.js +942 -0
- data/js/lib/gherkin/lexer/i18n/eo.js +916 -0
- data/js/lib/gherkin/lexer/i18n/es.js +1049 -0
- data/js/lib/gherkin/lexer/i18n/et.js +915 -0
- data/js/lib/gherkin/lexer/i18n/fi.js +894 -0
- data/js/lib/gherkin/lexer/i18n/fr.js +1116 -0
- data/js/lib/gherkin/lexer/i18n/he.js +1044 -0
- data/js/lib/gherkin/lexer/i18n/hr.js +994 -0
- data/js/lib/gherkin/lexer/i18n/hu.js +1043 -0
- data/js/lib/gherkin/lexer/i18n/id.js +884 -0
- data/js/lib/gherkin/lexer/i18n/it.js +1007 -0
- data/js/lib/gherkin/lexer/i18n/ja.js +1344 -0
- data/js/lib/gherkin/lexer/i18n/ko.js +1028 -0
- data/js/lib/gherkin/lexer/i18n/lt.js +972 -0
- data/js/lib/gherkin/lexer/i18n/lu.js +1057 -0
- data/js/lib/gherkin/lexer/i18n/lv.js +1092 -0
- data/js/lib/gherkin/lexer/i18n/nl.js +1036 -0
- data/js/lib/gherkin/lexer/i18n/no.js +986 -0
- data/js/lib/gherkin/lexer/i18n/pl.js +1140 -0
- data/js/lib/gherkin/lexer/i18n/pt.js +1000 -0
- data/js/lib/gherkin/lexer/i18n/ro.js +1089 -0
- data/js/lib/gherkin/lexer/i18n/ru.js +1560 -0
- data/js/lib/gherkin/lexer/i18n/sk.js +972 -0
- data/js/lib/gherkin/lexer/i18n/sr_cyrl.js +1728 -0
- data/js/lib/gherkin/lexer/i18n/sr_latn.js +1220 -0
- data/js/lib/gherkin/lexer/i18n/sv.js +997 -0
- data/js/lib/gherkin/lexer/i18n/tr.js +1014 -0
- data/js/lib/gherkin/lexer/i18n/uk.js +1572 -0
- data/js/lib/gherkin/lexer/i18n/uz.js +1302 -0
- data/js/lib/gherkin/lexer/i18n/vi.js +1124 -0
- data/js/lib/gherkin/lexer/i18n/zh_cn.js +902 -0
- data/js/lib/gherkin/lexer/i18n/zh_tw.js +940 -0
- data/ragel/lexer.rb.rl.erb +9 -17
- metadata +65 -21
@@ -0,0 +1,1140 @@
|
|
1
|
+
|
2
|
+
/* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
3
|
+
;(function() {
|
4
|
+
|
5
|
+
|
6
|
+
/* line 107 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
/* line 11 "js/lib/gherkin/lexer/i18n/pl.js" */
|
11
|
+
const _lexer_actions = [
|
12
|
+
0, 1, 0, 1, 1, 1, 2, 1,
|
13
|
+
3, 1, 4, 1, 5, 1, 6, 1,
|
14
|
+
7, 1, 8, 1, 9, 1, 10, 1,
|
15
|
+
11, 1, 14, 1, 15, 1, 16, 1,
|
16
|
+
17, 1, 18, 1, 19, 1, 20, 1,
|
17
|
+
21, 2, 2, 16, 2, 11, 0, 2,
|
18
|
+
12, 13, 2, 15, 0, 2, 15, 1,
|
19
|
+
2, 15, 14, 2, 15, 17, 2, 16,
|
20
|
+
4, 2, 16, 5, 2, 16, 6, 2,
|
21
|
+
16, 7, 2, 16, 8, 2, 16, 14,
|
22
|
+
2, 18, 19, 2, 20, 0, 2, 20,
|
23
|
+
1, 2, 20, 14, 2, 20, 17, 3,
|
24
|
+
3, 12, 13, 3, 9, 12, 13, 3,
|
25
|
+
10, 12, 13, 3, 11, 12, 13, 3,
|
26
|
+
12, 13, 16, 3, 15, 12, 13, 4,
|
27
|
+
2, 12, 13, 16, 4, 15, 0, 12,
|
28
|
+
13
|
29
|
+
];
|
30
|
+
|
31
|
+
const _lexer_key_offsets = [
|
32
|
+
0, 0, 20, 39, 40, 41, 45, 50,
|
33
|
+
55, 60, 65, 69, 73, 75, 76, 77,
|
34
|
+
78, 79, 80, 81, 82, 83, 84, 85,
|
35
|
+
86, 87, 88, 89, 90, 91, 92, 94,
|
36
|
+
99, 106, 111, 112, 113, 114, 115, 117,
|
37
|
+
118, 119, 120, 121, 122, 123, 124, 125,
|
38
|
+
126, 127, 128, 129, 130, 131, 132, 133,
|
39
|
+
134, 135, 136, 137, 138, 139, 140, 147,
|
40
|
+
149, 151, 153, 155, 157, 159, 161, 163,
|
41
|
+
165, 167, 169, 171, 173, 175, 194, 196,
|
42
|
+
197, 198, 199, 200, 201, 202, 203, 204,
|
43
|
+
205, 206, 207, 223, 225, 227, 229, 231,
|
44
|
+
233, 235, 237, 239, 241, 243, 245, 247,
|
45
|
+
249, 251, 253, 255, 257, 259, 261, 264,
|
46
|
+
266, 268, 270, 272, 274, 276, 278, 280,
|
47
|
+
282, 284, 286, 289, 291, 293, 295, 297,
|
48
|
+
299, 301, 303, 305, 307, 309, 311, 313,
|
49
|
+
315, 317, 319, 321, 323, 325, 327, 329,
|
50
|
+
331, 333, 335, 337, 339, 341, 344, 346,
|
51
|
+
348, 350, 352, 354, 356, 358, 360, 362,
|
52
|
+
364, 366, 368, 370, 372, 374, 376, 379,
|
53
|
+
381, 383, 385, 387, 389, 391, 393, 395,
|
54
|
+
397, 399, 401, 402, 403, 404, 405, 406,
|
55
|
+
407, 408, 409, 410, 411, 412, 413, 414,
|
56
|
+
415, 416, 417, 418, 419, 420, 421, 437,
|
57
|
+
439, 441, 443, 445, 447, 449, 451, 453,
|
58
|
+
455, 457, 459, 461, 463, 465, 467, 469,
|
59
|
+
471, 473, 475, 478, 480, 482, 484, 486,
|
60
|
+
488, 490, 492, 494, 496, 498, 500, 502,
|
61
|
+
504, 506, 508, 510, 512, 514, 516, 518,
|
62
|
+
520, 523, 525, 527, 529, 531, 533, 535,
|
63
|
+
537, 539, 541, 543, 545, 547, 549, 551,
|
64
|
+
553, 555, 557, 559, 561, 563, 565, 567,
|
65
|
+
568, 569, 570, 571, 572, 573, 574, 575,
|
66
|
+
576, 577, 578, 579, 580, 581, 582, 593,
|
67
|
+
595, 597, 599, 601, 603, 605, 607, 609,
|
68
|
+
611, 613, 615, 617, 619, 621, 623, 625,
|
69
|
+
627, 629, 631, 633, 635, 637, 639, 641,
|
70
|
+
644, 646, 648, 650, 652, 654, 656, 658,
|
71
|
+
660, 662, 664, 666, 668, 670, 672, 674,
|
72
|
+
676, 678, 680, 682, 684, 686, 688, 690,
|
73
|
+
692, 694, 696, 698, 700, 702, 704, 706,
|
74
|
+
708, 710, 712, 714, 716, 718, 720, 722,
|
75
|
+
724, 726, 728, 730, 732, 734, 736, 738,
|
76
|
+
739, 740, 741, 742, 744, 745, 746, 747,
|
77
|
+
748, 749, 750, 751, 752, 753, 754, 755,
|
78
|
+
771, 773, 775, 777, 779, 781, 783, 785,
|
79
|
+
787, 789, 791, 793, 795, 797, 799, 801,
|
80
|
+
803, 805, 807, 809, 812, 814, 816, 818,
|
81
|
+
820, 822, 824, 826, 828, 830, 832, 834,
|
82
|
+
837, 839, 841, 843, 845, 847, 849, 851,
|
83
|
+
853, 855, 857, 859, 861, 863, 865, 867,
|
84
|
+
869, 871, 873, 875, 877, 879, 881, 883,
|
85
|
+
885, 887, 889, 892, 894, 896, 898, 900,
|
86
|
+
902, 904, 906, 908, 910, 912, 914, 916,
|
87
|
+
918, 920, 922, 924, 926, 928, 930, 932,
|
88
|
+
934, 935, 936, 937, 938, 942, 948, 951,
|
89
|
+
953, 959, 978, 979, 980
|
90
|
+
];
|
91
|
+
|
92
|
+
const _lexer_trans_keys = [
|
93
|
+
10, 32, 34, 35, 37, 42, 64, 65,
|
94
|
+
73, 74, 77, 79, 80, 83, 87, 90,
|
95
|
+
124, 239, 9, 13, 10, 32, 34, 35,
|
96
|
+
37, 42, 64, 65, 73, 74, 77, 79,
|
97
|
+
80, 83, 87, 90, 124, 9, 13, 34,
|
98
|
+
34, 10, 32, 9, 13, 10, 32, 34,
|
99
|
+
9, 13, 10, 32, 34, 9, 13, 10,
|
100
|
+
32, 34, 9, 13, 10, 32, 34, 9,
|
101
|
+
13, 10, 32, 9, 13, 10, 32, 9,
|
102
|
+
13, 10, 13, 10, 95, 70, 69, 65,
|
103
|
+
84, 85, 82, 69, 95, 69, 78, 68,
|
104
|
+
95, 37, 32, 10, 10, 13, 13, 32,
|
105
|
+
64, 9, 10, 9, 10, 13, 32, 64,
|
106
|
+
11, 12, 10, 32, 64, 9, 13, 108,
|
107
|
+
101, 101, -59, -101, -68, 108, 105, 101,
|
108
|
+
97, 106, -60, -123, 99, 114, 97, 122,
|
109
|
+
114, 122, 121, 107, -59, -126, 97, 100,
|
110
|
+
121, 58, 10, 10, 10, 32, 35, 87,
|
111
|
+
124, 9, 13, -59, 10, -126, 10, 10,
|
112
|
+
97, -59, 10, -101, 10, 10, 99, 10,
|
113
|
+
105, 10, 119, 10, 111, -59, 10, -101,
|
114
|
+
10, -60, 10, -121, 10, 10, 58, 10,
|
115
|
+
32, 34, 35, 37, 42, 64, 65, 73,
|
116
|
+
74, 77, 79, 80, 83, 87, 90, 124,
|
117
|
+
9, 13, 99, 122, 101, 110, 97, 114,
|
118
|
+
105, 117, 115, 122, 58, 10, 10, 10,
|
119
|
+
32, 35, 37, 42, 64, 65, 73, 74,
|
120
|
+
77, 79, 83, 87, 90, 9, 13, 10,
|
121
|
+
95, 10, 70, 10, 69, 10, 65, 10,
|
122
|
+
84, 10, 85, 10, 82, 10, 69, 10,
|
123
|
+
95, 10, 69, 10, 78, 10, 68, 10,
|
124
|
+
95, 10, 37, 10, 32, 10, 108, 10,
|
125
|
+
101, 10, 101, -59, 10, -101, -68, 10,
|
126
|
+
10, 108, 10, 105, 10, 101, 10, 97,
|
127
|
+
10, 106, -60, 10, -123, 10, 10, 99,
|
128
|
+
10, 114, 10, 97, 10, 122, 10, 99,
|
129
|
+
122, 10, 101, 10, 110, 10, 97, 10,
|
130
|
+
114, 10, 105, 10, 117, 10, 115, 10,
|
131
|
+
122, 10, 58, 10, 97, 10, 98, 10,
|
132
|
+
108, 10, 111, 10, 110, 10, 32, 10,
|
133
|
+
115, 10, 99, 10, 101, 10, 110, 10,
|
134
|
+
97, 10, 114, 10, 105, 10, 117, 10,
|
135
|
+
115, 10, 122, 10, 97, -59, 10, 116,
|
136
|
+
-126, 10, 10, 97, -59, 10, -101, 10,
|
137
|
+
10, 99, 10, 105, 10, 119, 10, 111,
|
138
|
+
-59, 10, -101, 10, -60, 10, -121, 10,
|
139
|
+
10, 101, 10, 100, 10, 121, 10, 97,
|
140
|
+
-59, 10, 107, -126, 10, 10, 111, -59,
|
141
|
+
10, -68, 10, 10, 101, 10, 110, 10,
|
142
|
+
105, -59, 10, -126, 10, 10, 97, 10,
|
143
|
+
100, 97, 98, 108, 111, 110, 32, 115,
|
144
|
+
99, 101, 110, 97, 114, 105, 117, 115,
|
145
|
+
122, 97, 58, 10, 10, 10, 32, 35,
|
146
|
+
37, 42, 64, 65, 73, 74, 77, 79,
|
147
|
+
83, 87, 90, 9, 13, 10, 95, 10,
|
148
|
+
70, 10, 69, 10, 65, 10, 84, 10,
|
149
|
+
85, 10, 82, 10, 69, 10, 95, 10,
|
150
|
+
69, 10, 78, 10, 68, 10, 95, 10,
|
151
|
+
37, 10, 32, 10, 108, 10, 101, 10,
|
152
|
+
101, -59, 10, -101, -68, 10, 10, 108,
|
153
|
+
10, 105, 10, 101, 10, 97, 10, 106,
|
154
|
+
-60, 10, -123, 10, 10, 99, 10, 114,
|
155
|
+
10, 97, 10, 122, 10, 99, 10, 101,
|
156
|
+
10, 110, 10, 97, 10, 114, 10, 105,
|
157
|
+
10, 117, 10, 115, 10, 122, 10, 58,
|
158
|
+
-59, 10, 116, -126, 10, 10, 97, -59,
|
159
|
+
10, -101, 10, 10, 99, 10, 105, 10,
|
160
|
+
119, 10, 111, -59, 10, -101, 10, -60,
|
161
|
+
10, -121, 10, 10, 101, 10, 100, 10,
|
162
|
+
121, 10, 97, 10, 107, -59, 10, -126,
|
163
|
+
10, 10, 97, 10, 100, -59, 116, -126,
|
164
|
+
97, -59, -101, 99, 105, 119, 111, -59,
|
165
|
+
-101, -60, -121, 58, 10, 10, 10, 32,
|
166
|
+
35, 37, 64, 80, 83, 87, 90, 9,
|
167
|
+
13, 10, 95, 10, 70, 10, 69, 10,
|
168
|
+
65, 10, 84, 10, 85, 10, 82, 10,
|
169
|
+
69, 10, 95, 10, 69, 10, 78, 10,
|
170
|
+
68, 10, 95, 10, 37, 10, 114, 10,
|
171
|
+
122, 10, 121, 10, 107, -59, 10, -126,
|
172
|
+
10, 10, 97, 10, 100, 10, 121, 10,
|
173
|
+
58, 10, 99, 122, 10, 101, 10, 110,
|
174
|
+
10, 97, 10, 114, 10, 105, 10, 117,
|
175
|
+
10, 115, 10, 122, 10, 97, 10, 98,
|
176
|
+
10, 108, 10, 111, 10, 110, 10, 32,
|
177
|
+
10, 115, 10, 99, 10, 101, 10, 110,
|
178
|
+
10, 97, 10, 114, 10, 105, 10, 117,
|
179
|
+
10, 115, 10, 122, 10, 97, -59, 10,
|
180
|
+
-126, 10, 10, 97, -59, 10, -101, 10,
|
181
|
+
10, 99, 10, 105, 10, 119, 10, 111,
|
182
|
+
-59, 10, -101, 10, -60, 10, -121, 10,
|
183
|
+
10, 97, -59, 10, -126, 10, 10, 111,
|
184
|
+
-59, 10, -68, 10, 10, 101, 10, 110,
|
185
|
+
10, 105, 101, 100, 121, 97, -59, 107,
|
186
|
+
-126, 111, -59, -68, 101, 110, 105, 97,
|
187
|
+
58, 10, 10, 10, 32, 35, 37, 42,
|
188
|
+
64, 65, 73, 74, 77, 79, 83, 87,
|
189
|
+
90, 9, 13, 10, 95, 10, 70, 10,
|
190
|
+
69, 10, 65, 10, 84, 10, 85, 10,
|
191
|
+
82, 10, 69, 10, 95, 10, 69, 10,
|
192
|
+
78, 10, 68, 10, 95, 10, 37, 10,
|
193
|
+
32, 10, 108, 10, 101, 10, 101, -59,
|
194
|
+
10, -101, -68, 10, 10, 108, 10, 105,
|
195
|
+
10, 101, 10, 97, 10, 106, -60, 10,
|
196
|
+
-123, 10, 10, 99, 10, 114, 10, 97,
|
197
|
+
10, 122, 10, 99, 122, 10, 101, 10,
|
198
|
+
110, 10, 97, 10, 114, 10, 105, 10,
|
199
|
+
117, 10, 115, 10, 122, 10, 58, 10,
|
200
|
+
97, 10, 98, 10, 108, 10, 111, 10,
|
201
|
+
110, 10, 32, 10, 115, 10, 99, 10,
|
202
|
+
101, 10, 110, 10, 97, 10, 114, 10,
|
203
|
+
105, 10, 117, 10, 115, 10, 122, 10,
|
204
|
+
97, -59, 10, 116, -126, 10, 10, 97,
|
205
|
+
-59, 10, -101, 10, 10, 99, 10, 105,
|
206
|
+
10, 119, 10, 111, -59, 10, -101, 10,
|
207
|
+
-60, 10, -121, 10, 10, 101, 10, 100,
|
208
|
+
10, 121, 10, 97, 10, 107, -59, 10,
|
209
|
+
-126, 10, 10, 97, 10, 100, -59, -126,
|
210
|
+
97, 100, 32, 124, 9, 13, 10, 32,
|
211
|
+
92, 124, 9, 13, 10, 92, 124, 10,
|
212
|
+
92, 10, 32, 92, 124, 9, 13, 10,
|
213
|
+
32, 34, 35, 37, 42, 64, 65, 73,
|
214
|
+
74, 77, 79, 80, 83, 87, 90, 124,
|
215
|
+
9, 13, 187, 191, 0
|
216
|
+
];
|
217
|
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 0, 0, 0, 0, 0, 0, 0,
|
317
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
318
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
319
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
320
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
321
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
322
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
323
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
324
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
325
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
326
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
327
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
328
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
329
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
330
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
331
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
332
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
333
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
334
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
335
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
336
|
+
0, 0, 0, 0, 1, 1, 0, 0,
|
337
|
+
1, 1, 0, 0, 0
|
338
|
+
];
|
339
|
+
|
340
|
+
const _lexer_index_offsets = [
|
341
|
+
0, 0, 20, 39, 41, 43, 47, 52,
|
342
|
+
57, 62, 67, 71, 75, 78, 80, 82,
|
343
|
+
84, 86, 88, 90, 92, 94, 96, 98,
|
344
|
+
100, 102, 104, 106, 108, 110, 112, 115,
|
345
|
+
120, 127, 132, 134, 136, 138, 140, 143,
|
346
|
+
145, 147, 149, 151, 153, 155, 157, 159,
|
347
|
+
161, 163, 165, 167, 169, 171, 173, 175,
|
348
|
+
177, 179, 181, 183, 185, 187, 189, 196,
|
349
|
+
199, 202, 205, 208, 211, 214, 217, 220,
|
350
|
+
223, 226, 229, 232, 235, 238, 257, 260,
|
351
|
+
262, 264, 266, 268, 270, 272, 274, 276,
|
352
|
+
278, 280, 282, 298, 301, 304, 307, 310,
|
353
|
+
313, 316, 319, 322, 325, 328, 331, 334,
|
354
|
+
337, 340, 343, 346, 349, 352, 355, 359,
|
355
|
+
362, 365, 368, 371, 374, 377, 380, 383,
|
356
|
+
386, 389, 392, 396, 399, 402, 405, 408,
|
357
|
+
411, 414, 417, 420, 423, 426, 429, 432,
|
358
|
+
435, 438, 441, 444, 447, 450, 453, 456,
|
359
|
+
459, 462, 465, 468, 471, 474, 478, 481,
|
360
|
+
484, 487, 490, 493, 496, 499, 502, 505,
|
361
|
+
508, 511, 514, 517, 520, 523, 526, 530,
|
362
|
+
533, 536, 539, 542, 545, 548, 551, 554,
|
363
|
+
557, 560, 563, 565, 567, 569, 571, 573,
|
364
|
+
575, 577, 579, 581, 583, 585, 587, 589,
|
365
|
+
591, 593, 595, 597, 599, 601, 603, 619,
|
366
|
+
622, 625, 628, 631, 634, 637, 640, 643,
|
367
|
+
646, 649, 652, 655, 658, 661, 664, 667,
|
368
|
+
670, 673, 676, 680, 683, 686, 689, 692,
|
369
|
+
695, 698, 701, 704, 707, 710, 713, 716,
|
370
|
+
719, 722, 725, 728, 731, 734, 737, 740,
|
371
|
+
743, 747, 750, 753, 756, 759, 762, 765,
|
372
|
+
768, 771, 774, 777, 780, 783, 786, 789,
|
373
|
+
792, 795, 798, 801, 804, 807, 810, 813,
|
374
|
+
815, 817, 819, 821, 823, 825, 827, 829,
|
375
|
+
831, 833, 835, 837, 839, 841, 843, 854,
|
376
|
+
857, 860, 863, 866, 869, 872, 875, 878,
|
377
|
+
881, 884, 887, 890, 893, 896, 899, 902,
|
378
|
+
905, 908, 911, 914, 917, 920, 923, 926,
|
379
|
+
930, 933, 936, 939, 942, 945, 948, 951,
|
380
|
+
954, 957, 960, 963, 966, 969, 972, 975,
|
381
|
+
978, 981, 984, 987, 990, 993, 996, 999,
|
382
|
+
1002, 1005, 1008, 1011, 1014, 1017, 1020, 1023,
|
383
|
+
1026, 1029, 1032, 1035, 1038, 1041, 1044, 1047,
|
384
|
+
1050, 1053, 1056, 1059, 1062, 1065, 1068, 1071,
|
385
|
+
1073, 1075, 1077, 1079, 1082, 1084, 1086, 1088,
|
386
|
+
1090, 1092, 1094, 1096, 1098, 1100, 1102, 1104,
|
387
|
+
1120, 1123, 1126, 1129, 1132, 1135, 1138, 1141,
|
388
|
+
1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165,
|
389
|
+
1168, 1171, 1174, 1177, 1181, 1184, 1187, 1190,
|
390
|
+
1193, 1196, 1199, 1202, 1205, 1208, 1211, 1214,
|
391
|
+
1218, 1221, 1224, 1227, 1230, 1233, 1236, 1239,
|
392
|
+
1242, 1245, 1248, 1251, 1254, 1257, 1260, 1263,
|
393
|
+
1266, 1269, 1272, 1275, 1278, 1281, 1284, 1287,
|
394
|
+
1290, 1293, 1296, 1300, 1303, 1306, 1309, 1312,
|
395
|
+
1315, 1318, 1321, 1324, 1327, 1330, 1333, 1336,
|
396
|
+
1339, 1342, 1345, 1348, 1351, 1354, 1357, 1360,
|
397
|
+
1363, 1365, 1367, 1369, 1371, 1375, 1381, 1385,
|
398
|
+
1388, 1394, 1413, 1415, 1417
|
399
|
+
];
|
400
|
+
|
401
|
+
const _lexer_indicies = [
|
402
|
+
2, 1, 3, 4, 5, 6, 7, 8,
|
403
|
+
6, 9, 10, 11, 12, 13, 14, 15,
|
404
|
+
16, 17, 1, 0, 2, 1, 3, 4,
|
405
|
+
5, 6, 7, 8, 6, 9, 10, 11,
|
406
|
+
12, 13, 14, 15, 16, 1, 0, 18,
|
407
|
+
0, 19, 0, 20, 19, 19, 0, 23,
|
408
|
+
22, 24, 22, 21, 27, 26, 28, 26,
|
409
|
+
25, 27, 26, 29, 26, 25, 27, 26,
|
410
|
+
30, 26, 25, 32, 31, 31, 0, 2,
|
411
|
+
33, 33, 0, 35, 36, 34, 2, 0,
|
412
|
+
37, 0, 38, 0, 39, 0, 40, 0,
|
413
|
+
41, 0, 42, 0, 43, 0, 44, 0,
|
414
|
+
45, 0, 46, 0, 47, 0, 48, 0,
|
415
|
+
49, 0, 50, 0, 51, 0, 0, 52,
|
416
|
+
54, 55, 53, 0, 0, 0, 0, 56,
|
417
|
+
57, 58, 57, 57, 60, 59, 56, 2,
|
418
|
+
61, 7, 61, 0, 62, 0, 63, 0,
|
419
|
+
64, 0, 65, 0, 66, 67, 0, 68,
|
420
|
+
0, 63, 0, 66, 0, 69, 0, 70,
|
421
|
+
0, 71, 0, 72, 0, 63, 0, 73,
|
422
|
+
0, 74, 0, 63, 0, 75, 0, 76,
|
423
|
+
0, 77, 0, 78, 0, 79, 0, 80,
|
424
|
+
0, 81, 0, 82, 0, 83, 0, 84,
|
425
|
+
0, 86, 85, 88, 87, 88, 89, 90,
|
426
|
+
91, 90, 89, 87, 92, 88, 87, 93,
|
427
|
+
88, 87, 88, 94, 87, 95, 88, 87,
|
428
|
+
96, 88, 87, 88, 97, 87, 88, 98,
|
429
|
+
87, 88, 99, 87, 88, 100, 87, 101,
|
430
|
+
88, 87, 102, 88, 87, 103, 88, 87,
|
431
|
+
104, 88, 87, 88, 105, 87, 107, 106,
|
432
|
+
108, 109, 110, 111, 112, 113, 111, 114,
|
433
|
+
115, 116, 117, 118, 119, 120, 121, 106,
|
434
|
+
0, 122, 123, 0, 124, 0, 125, 0,
|
435
|
+
126, 0, 127, 0, 128, 0, 129, 0,
|
436
|
+
130, 0, 131, 0, 132, 0, 134, 133,
|
437
|
+
136, 135, 136, 137, 138, 139, 140, 138,
|
438
|
+
141, 140, 142, 143, 144, 145, 146, 147,
|
439
|
+
137, 135, 136, 148, 135, 136, 149, 135,
|
440
|
+
136, 150, 135, 136, 151, 135, 136, 152,
|
441
|
+
135, 136, 153, 135, 136, 154, 135, 136,
|
442
|
+
155, 135, 136, 156, 135, 136, 157, 135,
|
443
|
+
136, 158, 135, 136, 159, 135, 136, 160,
|
444
|
+
135, 136, 161, 135, 136, 162, 135, 136,
|
445
|
+
163, 135, 136, 164, 135, 136, 165, 135,
|
446
|
+
166, 136, 135, 167, 168, 136, 135, 136,
|
447
|
+
169, 135, 136, 164, 135, 136, 167, 135,
|
448
|
+
136, 170, 135, 136, 171, 135, 172, 136,
|
449
|
+
135, 173, 136, 135, 136, 164, 135, 136,
|
450
|
+
174, 135, 136, 175, 135, 136, 164, 135,
|
451
|
+
136, 176, 177, 135, 136, 178, 135, 136,
|
452
|
+
179, 135, 136, 180, 135, 136, 181, 135,
|
453
|
+
136, 182, 135, 136, 183, 135, 136, 184,
|
454
|
+
135, 136, 185, 135, 136, 162, 135, 136,
|
455
|
+
186, 135, 136, 187, 135, 136, 188, 135,
|
456
|
+
136, 189, 135, 136, 190, 135, 136, 191,
|
457
|
+
135, 136, 192, 135, 136, 193, 135, 136,
|
458
|
+
194, 135, 136, 195, 135, 136, 196, 135,
|
459
|
+
136, 197, 135, 136, 198, 135, 136, 199,
|
460
|
+
135, 136, 200, 135, 136, 201, 135, 136,
|
461
|
+
185, 135, 202, 136, 203, 135, 204, 136,
|
462
|
+
135, 136, 205, 135, 206, 136, 135, 207,
|
463
|
+
136, 135, 136, 208, 135, 136, 209, 135,
|
464
|
+
136, 210, 135, 136, 211, 135, 212, 136,
|
465
|
+
135, 213, 136, 135, 214, 136, 135, 185,
|
466
|
+
136, 135, 136, 215, 135, 136, 216, 135,
|
467
|
+
136, 164, 135, 136, 217, 135, 218, 136,
|
468
|
+
219, 135, 220, 136, 135, 136, 221, 135,
|
469
|
+
222, 136, 135, 223, 136, 135, 136, 224,
|
470
|
+
135, 136, 225, 135, 136, 201, 135, 226,
|
471
|
+
136, 135, 227, 136, 135, 136, 228, 135,
|
472
|
+
136, 229, 135, 230, 0, 231, 0, 232,
|
473
|
+
0, 233, 0, 234, 0, 235, 0, 236,
|
474
|
+
0, 237, 0, 238, 0, 239, 0, 240,
|
475
|
+
0, 241, 0, 242, 0, 243, 0, 244,
|
476
|
+
0, 245, 0, 246, 0, 247, 0, 249,
|
477
|
+
248, 251, 250, 251, 252, 253, 254, 255,
|
478
|
+
253, 256, 255, 257, 258, 259, 260, 261,
|
479
|
+
262, 252, 250, 251, 263, 250, 251, 264,
|
480
|
+
250, 251, 265, 250, 251, 266, 250, 251,
|
481
|
+
267, 250, 251, 268, 250, 251, 269, 250,
|
482
|
+
251, 270, 250, 251, 271, 250, 251, 272,
|
483
|
+
250, 251, 273, 250, 251, 274, 250, 251,
|
484
|
+
275, 250, 251, 276, 250, 251, 277, 250,
|
485
|
+
251, 278, 250, 251, 279, 250, 251, 280,
|
486
|
+
250, 281, 251, 250, 282, 283, 251, 250,
|
487
|
+
251, 284, 250, 251, 279, 250, 251, 282,
|
488
|
+
250, 251, 285, 250, 251, 286, 250, 287,
|
489
|
+
251, 250, 288, 251, 250, 251, 279, 250,
|
490
|
+
251, 289, 250, 251, 290, 250, 251, 279,
|
491
|
+
250, 251, 291, 250, 251, 292, 250, 251,
|
492
|
+
293, 250, 251, 294, 250, 251, 295, 250,
|
493
|
+
251, 296, 250, 251, 297, 250, 251, 298,
|
494
|
+
250, 251, 299, 250, 251, 277, 250, 300,
|
495
|
+
251, 301, 250, 302, 251, 250, 251, 303,
|
496
|
+
250, 304, 251, 250, 305, 251, 250, 251,
|
497
|
+
306, 250, 251, 307, 250, 251, 308, 250,
|
498
|
+
251, 309, 250, 310, 251, 250, 311, 251,
|
499
|
+
250, 312, 251, 250, 299, 251, 250, 251,
|
500
|
+
313, 250, 251, 314, 250, 251, 279, 250,
|
501
|
+
251, 315, 250, 251, 316, 250, 317, 251,
|
502
|
+
250, 318, 251, 250, 251, 319, 250, 251,
|
503
|
+
320, 250, 321, 322, 0, 323, 0, 324,
|
504
|
+
0, 325, 0, 326, 0, 327, 0, 328,
|
505
|
+
0, 329, 0, 330, 0, 331, 0, 332,
|
506
|
+
0, 333, 0, 334, 0, 335, 0, 337,
|
507
|
+
336, 339, 338, 339, 340, 341, 342, 341,
|
508
|
+
343, 344, 345, 346, 340, 338, 339, 347,
|
509
|
+
338, 339, 348, 338, 339, 349, 338, 339,
|
510
|
+
350, 338, 339, 351, 338, 339, 352, 338,
|
511
|
+
339, 353, 338, 339, 354, 338, 339, 355,
|
512
|
+
338, 339, 356, 338, 339, 357, 338, 339,
|
513
|
+
358, 338, 339, 359, 338, 339, 360, 338,
|
514
|
+
339, 361, 338, 339, 362, 338, 339, 363,
|
515
|
+
338, 339, 364, 338, 365, 339, 338, 366,
|
516
|
+
339, 338, 339, 367, 338, 339, 368, 338,
|
517
|
+
339, 369, 338, 339, 370, 338, 339, 371,
|
518
|
+
372, 338, 339, 373, 338, 339, 374, 338,
|
519
|
+
339, 375, 338, 339, 376, 338, 339, 377,
|
520
|
+
338, 339, 378, 338, 339, 379, 338, 339,
|
521
|
+
369, 338, 339, 380, 338, 339, 381, 338,
|
522
|
+
339, 382, 338, 339, 383, 338, 339, 384,
|
523
|
+
338, 339, 385, 338, 339, 386, 338, 339,
|
524
|
+
387, 338, 339, 388, 338, 339, 389, 338,
|
525
|
+
339, 390, 338, 339, 391, 338, 339, 392,
|
526
|
+
338, 339, 393, 338, 339, 394, 338, 339,
|
527
|
+
395, 338, 339, 369, 338, 396, 339, 338,
|
528
|
+
397, 339, 338, 339, 398, 338, 399, 339,
|
529
|
+
338, 400, 339, 338, 339, 401, 338, 339,
|
530
|
+
402, 338, 339, 403, 338, 339, 404, 338,
|
531
|
+
405, 339, 338, 406, 339, 338, 407, 339,
|
532
|
+
338, 369, 339, 338, 339, 408, 338, 409,
|
533
|
+
339, 338, 410, 339, 338, 339, 411, 338,
|
534
|
+
412, 339, 338, 413, 339, 338, 339, 414,
|
535
|
+
338, 339, 415, 338, 339, 395, 338, 416,
|
536
|
+
0, 417, 0, 63, 0, 418, 0, 419,
|
537
|
+
420, 0, 421, 0, 422, 0, 423, 0,
|
538
|
+
424, 0, 425, 0, 426, 0, 427, 0,
|
539
|
+
428, 0, 429, 0, 431, 430, 433, 432,
|
540
|
+
433, 434, 435, 436, 437, 435, 438, 437,
|
541
|
+
439, 440, 441, 442, 443, 444, 434, 432,
|
542
|
+
433, 445, 432, 433, 446, 432, 433, 447,
|
543
|
+
432, 433, 448, 432, 433, 449, 432, 433,
|
544
|
+
450, 432, 433, 451, 432, 433, 452, 432,
|
545
|
+
433, 453, 432, 433, 454, 432, 433, 455,
|
546
|
+
432, 433, 456, 432, 433, 457, 432, 433,
|
547
|
+
458, 432, 433, 459, 432, 433, 460, 432,
|
548
|
+
433, 461, 432, 433, 462, 432, 463, 433,
|
549
|
+
432, 464, 465, 433, 432, 433, 466, 432,
|
550
|
+
433, 461, 432, 433, 464, 432, 433, 467,
|
551
|
+
432, 433, 468, 432, 469, 433, 432, 470,
|
552
|
+
433, 432, 433, 461, 432, 433, 471, 432,
|
553
|
+
433, 472, 432, 433, 461, 432, 433, 473,
|
554
|
+
474, 432, 433, 475, 432, 433, 476, 432,
|
555
|
+
433, 477, 432, 433, 478, 432, 433, 479,
|
556
|
+
432, 433, 480, 432, 433, 481, 432, 433,
|
557
|
+
482, 432, 433, 459, 432, 433, 483, 432,
|
558
|
+
433, 484, 432, 433, 485, 432, 433, 486,
|
559
|
+
432, 433, 487, 432, 433, 488, 432, 433,
|
560
|
+
489, 432, 433, 490, 432, 433, 491, 432,
|
561
|
+
433, 492, 432, 433, 493, 432, 433, 494,
|
562
|
+
432, 433, 495, 432, 433, 496, 432, 433,
|
563
|
+
497, 432, 433, 498, 432, 433, 482, 432,
|
564
|
+
499, 433, 500, 432, 501, 433, 432, 433,
|
565
|
+
502, 432, 503, 433, 432, 504, 433, 432,
|
566
|
+
433, 505, 432, 433, 506, 432, 433, 507,
|
567
|
+
432, 433, 508, 432, 509, 433, 432, 510,
|
568
|
+
433, 432, 511, 433, 432, 482, 433, 432,
|
569
|
+
433, 512, 432, 433, 513, 432, 433, 461,
|
570
|
+
432, 433, 514, 432, 433, 515, 432, 516,
|
571
|
+
433, 432, 517, 433, 432, 433, 518, 432,
|
572
|
+
433, 519, 432, 520, 0, 521, 0, 522,
|
573
|
+
0, 523, 0, 524, 525, 524, 0, 528,
|
574
|
+
527, 529, 530, 527, 526, 0, 532, 533,
|
575
|
+
531, 0, 532, 531, 528, 534, 532, 533,
|
576
|
+
534, 531, 528, 535, 536, 537, 538, 539,
|
577
|
+
540, 541, 539, 542, 543, 544, 545, 546,
|
578
|
+
547, 548, 549, 535, 0, 550, 0, 1,
|
579
|
+
0, 551, 0
|
580
|
+
];
|
581
|
+
|
582
|
+
const _lexer_trans_targs = [
|
583
|
+
0, 2, 2, 3, 12, 14, 28, 31,
|
584
|
+
34, 36, 42, 47, 50, 78, 262, 354,
|
585
|
+
452, 458, 4, 5, 6, 7, 7, 7,
|
586
|
+
8, 7, 7, 7, 8, 9, 10, 11,
|
587
|
+
2, 11, 12, 2, 13, 15, 16, 17,
|
588
|
+
18, 19, 20, 21, 22, 23, 24, 25,
|
589
|
+
26, 27, 460, 29, 30, 30, 2, 13,
|
590
|
+
32, 33, 2, 32, 31, 33, 35, 28,
|
591
|
+
37, 38, 39, 41, 40, 43, 44, 45,
|
592
|
+
46, 48, 49, 51, 52, 53, 54, 55,
|
593
|
+
56, 57, 58, 59, 60, 61, 62, 61,
|
594
|
+
62, 62, 2, 63, 64, 65, 66, 67,
|
595
|
+
68, 69, 70, 71, 72, 73, 74, 75,
|
596
|
+
76, 77, 2, 2, 3, 12, 14, 28,
|
597
|
+
31, 34, 36, 42, 47, 50, 78, 262,
|
598
|
+
354, 452, 79, 178, 80, 81, 82, 83,
|
599
|
+
84, 85, 86, 87, 88, 89, 90, 89,
|
600
|
+
90, 90, 2, 91, 105, 106, 108, 114,
|
601
|
+
119, 122, 149, 165, 92, 93, 94, 95,
|
602
|
+
96, 97, 98, 99, 100, 101, 102, 103,
|
603
|
+
104, 2, 77, 107, 105, 109, 110, 111,
|
604
|
+
113, 112, 115, 116, 117, 118, 120, 121,
|
605
|
+
123, 132, 124, 125, 126, 127, 128, 129,
|
606
|
+
130, 131, 133, 134, 135, 136, 137, 138,
|
607
|
+
139, 140, 141, 142, 143, 144, 145, 146,
|
608
|
+
147, 148, 150, 162, 151, 152, 153, 154,
|
609
|
+
155, 156, 157, 158, 159, 160, 161, 163,
|
610
|
+
164, 166, 167, 174, 168, 169, 170, 171,
|
611
|
+
172, 173, 175, 176, 177, 114, 179, 180,
|
612
|
+
181, 182, 183, 184, 185, 186, 187, 188,
|
613
|
+
189, 190, 191, 192, 193, 194, 195, 196,
|
614
|
+
197, 198, 197, 198, 198, 2, 199, 213,
|
615
|
+
214, 216, 222, 227, 230, 240, 256, 200,
|
616
|
+
201, 202, 203, 204, 205, 206, 207, 208,
|
617
|
+
209, 210, 211, 212, 2, 77, 215, 213,
|
618
|
+
217, 218, 219, 221, 220, 223, 224, 225,
|
619
|
+
226, 228, 229, 231, 232, 233, 234, 235,
|
620
|
+
236, 237, 238, 239, 241, 253, 242, 243,
|
621
|
+
244, 245, 246, 247, 248, 249, 250, 251,
|
622
|
+
252, 254, 255, 257, 258, 259, 260, 261,
|
623
|
+
222, 263, 351, 264, 265, 266, 267, 268,
|
624
|
+
269, 270, 271, 272, 273, 274, 275, 276,
|
625
|
+
277, 278, 277, 278, 278, 2, 279, 293,
|
626
|
+
303, 329, 342, 280, 281, 282, 283, 284,
|
627
|
+
285, 286, 287, 288, 289, 290, 291, 292,
|
628
|
+
2, 294, 295, 296, 297, 298, 299, 300,
|
629
|
+
301, 302, 77, 304, 312, 305, 306, 307,
|
630
|
+
308, 309, 310, 311, 313, 314, 315, 316,
|
631
|
+
317, 318, 319, 320, 321, 322, 323, 324,
|
632
|
+
325, 326, 327, 328, 330, 331, 332, 333,
|
633
|
+
334, 335, 336, 337, 338, 339, 340, 341,
|
634
|
+
343, 344, 345, 346, 347, 348, 349, 350,
|
635
|
+
352, 353, 355, 356, 448, 357, 358, 359,
|
636
|
+
360, 361, 362, 363, 364, 365, 366, 367,
|
637
|
+
366, 367, 367, 2, 368, 382, 383, 385,
|
638
|
+
391, 396, 399, 426, 442, 369, 370, 371,
|
639
|
+
372, 373, 374, 375, 376, 377, 378, 379,
|
640
|
+
380, 381, 2, 77, 384, 382, 386, 387,
|
641
|
+
388, 390, 389, 392, 393, 394, 395, 397,
|
642
|
+
398, 400, 409, 401, 402, 403, 404, 405,
|
643
|
+
406, 407, 408, 410, 411, 412, 413, 414,
|
644
|
+
415, 416, 417, 418, 419, 420, 421, 422,
|
645
|
+
423, 424, 425, 427, 439, 428, 429, 430,
|
646
|
+
431, 432, 433, 434, 435, 436, 437, 438,
|
647
|
+
440, 441, 443, 444, 445, 446, 447, 391,
|
648
|
+
449, 450, 451, 42, 452, 453, 454, 456,
|
649
|
+
457, 455, 453, 454, 455, 453, 456, 457,
|
650
|
+
3, 12, 14, 28, 31, 34, 36, 42,
|
651
|
+
47, 50, 78, 262, 354, 452, 459, 0
|
652
|
+
];
|
653
|
+
|
654
|
+
const _lexer_trans_actions = [
|
655
|
+
39, 0, 47, 3, 1, 0, 25, 1,
|
656
|
+
25, 25, 25, 25, 25, 25, 25, 25,
|
657
|
+
31, 0, 0, 0, 47, 5, 41, 119,
|
658
|
+
41, 0, 29, 111, 29, 29, 0, 7,
|
659
|
+
95, 0, 0, 103, 21, 0, 0, 0,
|
660
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
661
|
+
0, 0, 0, 0, 50, 0, 99, 19,
|
662
|
+
0, 23, 107, 23, 44, 0, 0, 0,
|
663
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
664
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
665
|
+
0, 0, 0, 0, 0, 50, 124, 0,
|
666
|
+
47, 0, 74, 77, 0, 0, 0, 0,
|
667
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
668
|
+
0, 17, 27, 115, 53, 50, 27, 56,
|
669
|
+
50, 56, 56, 56, 56, 56, 56, 56,
|
670
|
+
56, 59, 0, 0, 0, 0, 0, 0,
|
671
|
+
0, 0, 0, 0, 0, 50, 124, 0,
|
672
|
+
47, 0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, 0, 0, 0, 0, 0, 0,
|
705
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
706
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
707
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
708
|
+
0, 0, 0, 0, 0, 0, 50, 124,
|
709
|
+
0, 47, 0, 65, 29, 77, 77, 77,
|
710
|
+
77, 77, 77, 77, 77, 0, 0, 0,
|
711
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
712
|
+
0, 0, 11, 11, 0, 0, 0, 0,
|
713
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
714
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
715
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
716
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
717
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
718
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
719
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
720
|
+
0, 0, 0, 0, 0, 0, 33, 33,
|
721
|
+
47, 33, 80, 0, 0, 35, 0, 0,
|
722
|
+
86, 83, 37, 89, 83, 89, 89, 89,
|
723
|
+
89, 89, 89, 89, 89, 92, 0, 0
|
724
|
+
];
|
725
|
+
|
726
|
+
const _lexer_eof_actions = [
|
727
|
+
0, 39, 39, 39, 39, 39, 39, 39,
|
728
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
729
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
730
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
731
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
732
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
733
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
734
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
735
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
736
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
737
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
738
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
739
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
740
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
741
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
742
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
743
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
744
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
745
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
746
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
747
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
748
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
749
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
750
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
751
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
752
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
753
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
754
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
755
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
756
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
757
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
758
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
759
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
760
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
761
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
762
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
763
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
764
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
765
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
766
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
767
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
768
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
769
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
770
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
771
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
772
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
773
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
774
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
775
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
776
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
777
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
778
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
779
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
780
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
781
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
782
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
783
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
784
|
+
39, 39, 39, 39, 39
|
785
|
+
];
|
786
|
+
|
787
|
+
const lexer_start = 1;
|
788
|
+
const lexer_first_final = 460;
|
789
|
+
const lexer_error = 0;
|
790
|
+
|
791
|
+
const lexer_en_main = 1;
|
792
|
+
|
793
|
+
|
794
|
+
/* line 110 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
795
|
+
|
796
|
+
/* line 111 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
797
|
+
|
798
|
+
/* line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
799
|
+
|
800
|
+
var Lexer = function(listeners) {
|
801
|
+
// check that we have an 'on' method (for registering event listeners - Node has that)
|
802
|
+
// If not, make a trivial implementation that can register one listener. -Enough for testing.
|
803
|
+
|
804
|
+
if(!this.on) {
|
805
|
+
this._listeners = {};
|
806
|
+
|
807
|
+
this.on = function(event, cb) {
|
808
|
+
this._listeners[event] = cb;
|
809
|
+
};
|
810
|
+
|
811
|
+
this.emit = function() {
|
812
|
+
var event = arguments[0];
|
813
|
+
var args = [];
|
814
|
+
for(var i = 1; i < arguments.length; i++) {
|
815
|
+
args.push(arguments[i]);
|
816
|
+
}
|
817
|
+
var cb = this._listeners[event];
|
818
|
+
cb.apply(listeners, args);
|
819
|
+
};
|
820
|
+
}
|
821
|
+
|
822
|
+
var events = ['feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'py_string', 'row', 'end'];
|
823
|
+
for(e in events) {
|
824
|
+
var event = events[e];
|
825
|
+
var listener = listeners[event];
|
826
|
+
// if(!listener) {
|
827
|
+
// throw "No listener for " + event;
|
828
|
+
// }
|
829
|
+
this.on(event, listener);
|
830
|
+
}
|
831
|
+
|
832
|
+
|
833
|
+
/* line 834 "js/lib/gherkin/lexer/i18n/pl.js" */
|
834
|
+
{
|
835
|
+
this.cs = lexer_start;
|
836
|
+
} /* JSCodeGen::writeInit */
|
837
|
+
|
838
|
+
/* line 146 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
839
|
+
};
|
840
|
+
|
841
|
+
if(typeof require == 'function') {
|
842
|
+
require('sys').inherits(Lexer, require('events').EventEmitter);
|
843
|
+
}
|
844
|
+
|
845
|
+
Lexer.prototype.scan = function(data) {
|
846
|
+
var p = 0;
|
847
|
+
var pe = data.length;
|
848
|
+
var eof = 0;
|
849
|
+
|
850
|
+
|
851
|
+
/* line 852 "js/lib/gherkin/lexer/i18n/pl.js" */
|
852
|
+
{
|
853
|
+
var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
|
854
|
+
var _goto_level, _resume, _eof_trans, _again, _test_eof;
|
855
|
+
var _out;
|
856
|
+
_klen = _trans = _keys = _acts = _nacts = null;
|
857
|
+
_goto_level = 0;
|
858
|
+
_resume = 10;
|
859
|
+
_eof_trans = 15;
|
860
|
+
_again = 20;
|
861
|
+
_test_eof = 30;
|
862
|
+
_out = 40;
|
863
|
+
while (true) {
|
864
|
+
_trigger_goto = false;
|
865
|
+
if (_goto_level <= 0) {
|
866
|
+
if (p == pe) {
|
867
|
+
_goto_level = _test_eof;
|
868
|
+
continue;
|
869
|
+
}
|
870
|
+
if ( this.cs == 0) {
|
871
|
+
_goto_level = _out;
|
872
|
+
continue;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
if (_goto_level <= _resume) {
|
876
|
+
_keys = _lexer_key_offsets[ this.cs];
|
877
|
+
_trans = _lexer_index_offsets[ this.cs];
|
878
|
+
_klen = _lexer_single_lengths[ this.cs];
|
879
|
+
_break_match = false;
|
880
|
+
|
881
|
+
do {
|
882
|
+
if (_klen > 0) {
|
883
|
+
_lower = _keys;
|
884
|
+
_upper = _keys + _klen - 1;
|
885
|
+
|
886
|
+
while (true) {
|
887
|
+
if (_upper < _lower) { break; }
|
888
|
+
_mid = _lower + ( (_upper - _lower) >> 1 );
|
889
|
+
|
890
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
891
|
+
_upper = _mid - 1;
|
892
|
+
} else if ( data[p] > _lexer_trans_keys[_mid]) {
|
893
|
+
_lower = _mid + 1;
|
894
|
+
} else {
|
895
|
+
_trans += (_mid - _keys);
|
896
|
+
_break_match = true;
|
897
|
+
break;
|
898
|
+
};
|
899
|
+
} /* while */
|
900
|
+
if (_break_match) { break; }
|
901
|
+
_keys += _klen;
|
902
|
+
_trans += _klen;
|
903
|
+
}
|
904
|
+
_klen = _lexer_range_lengths[ this.cs];
|
905
|
+
if (_klen > 0) {
|
906
|
+
_lower = _keys;
|
907
|
+
_upper = _keys + (_klen << 1) - 2;
|
908
|
+
while (true) {
|
909
|
+
if (_upper < _lower) { break; }
|
910
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
|
911
|
+
if ( data[p] < _lexer_trans_keys[_mid]) {
|
912
|
+
_upper = _mid - 2;
|
913
|
+
} else if ( data[p] > _lexer_trans_keys[_mid+1]) {
|
914
|
+
_lower = _mid + 2;
|
915
|
+
} else {
|
916
|
+
_trans += ((_mid - _keys) >> 1);
|
917
|
+
_break_match = true;
|
918
|
+
break;
|
919
|
+
}
|
920
|
+
} /* while */
|
921
|
+
if (_break_match) { break; }
|
922
|
+
_trans += _klen
|
923
|
+
}
|
924
|
+
} while (false);
|
925
|
+
_trans = _lexer_indicies[_trans];
|
926
|
+
this.cs = _lexer_trans_targs[_trans];
|
927
|
+
if (_lexer_trans_actions[_trans] != 0) {
|
928
|
+
_acts = _lexer_trans_actions[_trans];
|
929
|
+
_nacts = _lexer_actions[_acts];
|
930
|
+
_acts += 1;
|
931
|
+
while (_nacts > 0) {
|
932
|
+
_nacts -= 1;
|
933
|
+
_acts += 1;
|
934
|
+
switch (_lexer_actions[_acts - 1]) {
|
935
|
+
case 0:
|
936
|
+
/* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
937
|
+
|
938
|
+
this.content_start = p;
|
939
|
+
this.current_line = this.line_number;
|
940
|
+
this.start_col = p - this.last_newline - (this.keyword+':').length;
|
941
|
+
break;
|
942
|
+
case 1:
|
943
|
+
/* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
944
|
+
|
945
|
+
this.current_line = this.line_number;
|
946
|
+
this.start_col = p - this.last_newline;
|
947
|
+
break;
|
948
|
+
case 2:
|
949
|
+
/* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
950
|
+
|
951
|
+
this.content_start = p;
|
952
|
+
break;
|
953
|
+
case 3:
|
954
|
+
/* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
955
|
+
|
956
|
+
var con = this.unindent(
|
957
|
+
this.start_col,
|
958
|
+
this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*\Z/, '') // TODO .replace(/\"\"\"/mg, '"""')
|
959
|
+
);
|
960
|
+
this.emit('py_string', con, this.current_line);
|
961
|
+
break;
|
962
|
+
case 4:
|
963
|
+
/* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
964
|
+
|
965
|
+
p = this.store_keyword_content('feature', data, p, eof);
|
966
|
+
break;
|
967
|
+
case 5:
|
968
|
+
/* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
969
|
+
|
970
|
+
p = this.store_keyword_content('background', data, p, eof);
|
971
|
+
break;
|
972
|
+
case 6:
|
973
|
+
/* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
974
|
+
|
975
|
+
p = this.store_keyword_content('scenario', data, p, eof);
|
976
|
+
break;
|
977
|
+
case 7:
|
978
|
+
/* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
979
|
+
|
980
|
+
p = this.store_keyword_content('scenario_outline', data, p, eof);
|
981
|
+
break;
|
982
|
+
case 8:
|
983
|
+
/* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
984
|
+
|
985
|
+
p = this.store_keyword_content('examples', data, p, eof);
|
986
|
+
break;
|
987
|
+
case 9:
|
988
|
+
/* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
989
|
+
|
990
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
991
|
+
this.emit('step', this.keyword, con, this.current_line);
|
992
|
+
break;
|
993
|
+
case 10:
|
994
|
+
/* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
995
|
+
|
996
|
+
console.log('TODO: store_comment_content');
|
997
|
+
break;
|
998
|
+
case 11:
|
999
|
+
/* line 58 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1000
|
+
|
1001
|
+
console.log('TODO: store_tag_content');
|
1002
|
+
break;
|
1003
|
+
case 12:
|
1004
|
+
/* line 62 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1005
|
+
|
1006
|
+
this.line_number++;
|
1007
|
+
break;
|
1008
|
+
case 13:
|
1009
|
+
/* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1010
|
+
|
1011
|
+
this.last_newline = p + 1;
|
1012
|
+
break;
|
1013
|
+
case 14:
|
1014
|
+
/* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1015
|
+
|
1016
|
+
this.keyword_start = this.keyword_start || p;
|
1017
|
+
break;
|
1018
|
+
case 15:
|
1019
|
+
/* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1020
|
+
|
1021
|
+
this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
|
1022
|
+
this.keyword_start = null;
|
1023
|
+
break;
|
1024
|
+
case 16:
|
1025
|
+
/* line 79 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1026
|
+
|
1027
|
+
this.next_keyword_start = p;
|
1028
|
+
break;
|
1029
|
+
case 17:
|
1030
|
+
/* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1031
|
+
|
1032
|
+
p = p - 1;
|
1033
|
+
current_row = [];
|
1034
|
+
this.current_line = this.line_number;
|
1035
|
+
break;
|
1036
|
+
case 18:
|
1037
|
+
/* line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1038
|
+
|
1039
|
+
this.content_start = p;
|
1040
|
+
break;
|
1041
|
+
case 19:
|
1042
|
+
/* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1043
|
+
|
1044
|
+
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
|
1045
|
+
current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
|
1046
|
+
break;
|
1047
|
+
case 20:
|
1048
|
+
/* line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1049
|
+
|
1050
|
+
this.emit('row', current_row, this.current_line);
|
1051
|
+
break;
|
1052
|
+
case 21:
|
1053
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1054
|
+
|
1055
|
+
console.log('TODO: end_feature');
|
1056
|
+
break;
|
1057
|
+
/* line 1058 "js/lib/gherkin/lexer/i18n/pl.js" */
|
1058
|
+
} /* action switch */
|
1059
|
+
}
|
1060
|
+
}
|
1061
|
+
if (_trigger_goto) {
|
1062
|
+
continue;
|
1063
|
+
}
|
1064
|
+
}
|
1065
|
+
if (_goto_level <= _again) {
|
1066
|
+
if ( this.cs == 0) {
|
1067
|
+
_goto_level = _out;
|
1068
|
+
continue;
|
1069
|
+
}
|
1070
|
+
p += 1;
|
1071
|
+
if (p != pe) {
|
1072
|
+
_goto_level = _resume;
|
1073
|
+
continue;
|
1074
|
+
}
|
1075
|
+
}
|
1076
|
+
if (_goto_level <= _test_eof) {
|
1077
|
+
if (p == eof) {
|
1078
|
+
__acts = _lexer_eof_actions[ this.cs];
|
1079
|
+
__nacts = _lexer_actions[__acts];
|
1080
|
+
__acts += 1;
|
1081
|
+
while (__nacts > 0) {
|
1082
|
+
__nacts -= 1;
|
1083
|
+
__acts += 1;
|
1084
|
+
switch (_lexer_actions[__acts - 1]) {
|
1085
|
+
case 21:
|
1086
|
+
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1087
|
+
|
1088
|
+
console.log('TODO: end_feature');
|
1089
|
+
break;
|
1090
|
+
/* line 1091 "js/lib/gherkin/lexer/i18n/pl.js" */
|
1091
|
+
} /* eof action switch */
|
1092
|
+
}
|
1093
|
+
if (_trigger_goto) {
|
1094
|
+
continue;
|
1095
|
+
}
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
if (_goto_level <= _out) {
|
1099
|
+
break;
|
1100
|
+
}
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/* line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/pl.js.rl" */
|
1105
|
+
};
|
1106
|
+
|
1107
|
+
Lexer.prototype.bytesToString = function(bytes) {
|
1108
|
+
if(typeof bytes.write == 'function') {
|
1109
|
+
// Node.js
|
1110
|
+
return bytes.toString('utf-8');
|
1111
|
+
} else {
|
1112
|
+
var result = "";
|
1113
|
+
for(var b in bytes) {
|
1114
|
+
result += String.fromCharCode(bytes[b]);
|
1115
|
+
}
|
1116
|
+
return result;
|
1117
|
+
}
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
Lexer.prototype.unindent = function(startcol, text) {
|
1121
|
+
startcol = startcol || 0;
|
1122
|
+
return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
|
1123
|
+
};
|
1124
|
+
|
1125
|
+
Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
|
1126
|
+
var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
|
1127
|
+
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).trimRight();
|
1128
|
+
var content_lines = content.split("\n")
|
1129
|
+
var name = content_lines.shift() || "";
|
1130
|
+
name = name.trim();
|
1131
|
+
var description = content_lines.join("\n");
|
1132
|
+
this.emit(event, this.keyword, name, description, this.current_line);
|
1133
|
+
var nks = this.next_keyword_start;
|
1134
|
+
this.next_keyword_start = null;
|
1135
|
+
return nks ? nks - 1 : p;
|
1136
|
+
};
|
1137
|
+
|
1138
|
+
exports.Lexer = Lexer;
|
1139
|
+
|
1140
|
+
})();
|