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