gherkin 2.3.4-universal-dotnet → 2.3.5-universal-dotnet

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