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