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