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