gherkin
Version:
A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
1,060 lines (995 loc) • 33.8 kB
JavaScript
/* line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
;(function() {
/* line 117 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
/* line 11 "js/lib/gherkin/lexer/nl.js" */
const _lexer_actions = [
0, 1, 0, 1, 1, 1, 2, 1,
3, 1, 4, 1, 5, 1, 6, 1,
7, 1, 8, 1, 9, 1, 10, 1,
11, 1, 14, 1, 15, 1, 16, 1,
17, 1, 18, 1, 19, 1, 20, 1,
21, 2, 2, 16, 2, 11, 0, 2,
12, 13, 2, 15, 0, 2, 15, 1,
2, 15, 14, 2, 15, 17, 2, 16,
4, 2, 16, 5, 2, 16, 6, 2,
16, 7, 2, 16, 8, 2, 16, 14,
2, 18, 19, 2, 20, 0, 2, 20,
1, 2, 20, 14, 2, 20, 17, 3,
3, 12, 13, 3, 9, 12, 13, 3,
10, 12, 13, 3, 11, 12, 13, 3,
12, 13, 16, 3, 15, 12, 13, 4,
2, 12, 13, 16, 4, 15, 0, 12,
13
];
const _lexer_key_offsets = [
0, 0, 19, 37, 38, 39, 43, 48,
53, 58, 63, 67, 71, 73, 74, 75,
76, 77, 78, 79, 80, 81, 82, 83,
84, 85, 86, 87, 88, 89, 90, 92,
97, 104, 109, 112, 113, 114, 115, 116,
117, 118, 119, 120, 121, 122, 123, 124,
125, 126, 127, 128, 129, 130, 145, 147,
149, 151, 153, 155, 157, 159, 161, 163,
165, 167, 169, 171, 173, 175, 193, 194,
195, 196, 197, 198, 199, 200, 201, 202,
203, 204, 205, 206, 207, 208, 209, 210,
211, 212, 223, 225, 227, 229, 231, 233,
235, 237, 239, 241, 243, 245, 247, 249,
251, 254, 256, 258, 260, 262, 264, 266,
268, 270, 272, 274, 276, 278, 280, 282,
284, 286, 288, 290, 292, 294, 296, 298,
300, 302, 304, 306, 308, 310, 312, 314,
316, 318, 320, 322, 324, 326, 328, 330,
332, 334, 336, 338, 340, 342, 344, 346,
348, 350, 352, 353, 354, 355, 356, 357,
358, 359, 360, 362, 363, 364, 365, 366,
367, 368, 369, 370, 371, 386, 388, 390,
392, 394, 396, 398, 400, 402, 404, 406,
408, 410, 412, 414, 416, 420, 422, 424,
426, 428, 430, 432, 434, 436, 438, 440,
442, 444, 446, 448, 450, 452, 454, 456,
458, 460, 462, 464, 466, 468, 470, 472,
474, 476, 478, 480, 482, 484, 486, 488,
490, 492, 494, 496, 498, 500, 502, 504,
506, 508, 510, 512, 514, 516, 518, 520,
523, 525, 527, 528, 529, 530, 531, 532,
533, 534, 535, 536, 537, 538, 539, 540,
541, 542, 549, 551, 553, 555, 557, 559,
561, 563, 565, 567, 569, 571, 573, 575,
577, 579, 583, 589, 592, 594, 600, 618,
620, 622, 624, 626, 628, 630, 632, 634,
636, 638, 640, 642, 644, 646, 648, 650,
652, 654, 656, 658, 660, 662, 664, 666,
668, 670, 672, 675, 677, 679, 681, 683,
685, 687, 689, 691, 692, 693, 694, 695,
696, 697, 698, 699, 700, 701, 702, 703,
718, 720, 722, 724, 726, 728, 730, 732,
734, 736, 738, 740, 742, 744, 746, 748,
751, 753, 755, 757, 759, 761, 763, 765,
767, 769, 771, 773, 775, 777, 779, 781,
783, 785, 787, 789, 791, 793, 795, 797,
799, 801, 803, 805, 807, 809, 811, 813,
815, 817, 819, 821, 823, 825, 827, 829,
831, 833, 836, 838, 840, 841, 842, 843
];
const _lexer_trans_keys = [
10, 32, 34, 35, 37, 42, 64, 65,
68, 69, 70, 71, 77, 83, 86, 124,
239, 9, 13, 10, 32, 34, 35, 37,
42, 64, 65, 68, 69, 70, 71, 77,
83, 86, 124, 9, 13, 34, 34, 10,
32, 9, 13, 10, 32, 34, 9, 13,
10, 32, 34, 9, 13, 10, 32, 34,
9, 13, 10, 32, 34, 9, 13, 10,
32, 9, 13, 10, 32, 9, 13, 10,
13, 10, 95, 70, 69, 65, 84, 85,
82, 69, 95, 69, 78, 68, 95, 37,
32, 10, 10, 13, 13, 32, 64, 9,
10, 9, 10, 13, 32, 64, 11, 12,
10, 32, 64, 9, 13, 98, 99, 108,
115, 116, 114, 97, 99, 116, 32, 83,
99, 101, 110, 97, 114, 105, 111, 58,
10, 10, 10, 32, 35, 37, 42, 64,
65, 68, 69, 70, 71, 77, 83, 9,
13, 10, 95, 10, 70, 10, 69, 10,
65, 10, 84, 10, 85, 10, 82, 10,
69, 10, 95, 10, 69, 10, 78, 10,
68, 10, 95, 10, 37, 10, 32, 10,
32, 34, 35, 37, 42, 64, 65, 68,
69, 70, 71, 77, 83, 86, 124, 9,
13, 97, 110, 117, 110, 99, 116, 105,
111, 110, 97, 108, 105, 116, 101, 105,
116, 58, 10, 10, 10, 32, 35, 37,
64, 65, 70, 83, 86, 9, 13, 10,
95, 10, 70, 10, 69, 10, 65, 10,
84, 10, 85, 10, 82, 10, 69, 10,
95, 10, 69, 10, 78, 10, 68, 10,
95, 10, 37, 10, 98, 99, 10, 115,
10, 116, 10, 114, 10, 97, 10, 99,
10, 116, 10, 32, 10, 83, 10, 99,
10, 101, 10, 110, 10, 97, 10, 114,
10, 105, 10, 111, 10, 58, 10, 104,
10, 116, 10, 101, 10, 114, 10, 103,
10, 114, 10, 111, 10, 110, 10, 100,
10, 117, 10, 110, 10, 99, 10, 116,
10, 105, 10, 111, 10, 110, 10, 97,
10, 108, 10, 105, 10, 116, 10, 101,
10, 105, 10, 116, 10, 111, 10, 111,
10, 114, 10, 98, 10, 101, 10, 101,
10, 108, 10, 100, 10, 101, 10, 110,
101, 103, 101, 118, 101, 97, 97, 114,
99, 116, 101, 110, 97, 114, 105, 111,
58, 10, 10, 10, 32, 35, 37, 42,
64, 65, 68, 69, 70, 71, 77, 83,
9, 13, 10, 95, 10, 70, 10, 69,
10, 65, 10, 84, 10, 85, 10, 82,
10, 69, 10, 95, 10, 69, 10, 78,
10, 68, 10, 95, 10, 37, 10, 32,
10, 98, 99, 108, 10, 115, 10, 116,
10, 114, 10, 97, 10, 99, 10, 116,
10, 32, 10, 83, 10, 99, 10, 101,
10, 110, 10, 97, 10, 114, 10, 105,
10, 111, 10, 58, 10, 104, 10, 116,
10, 101, 10, 114, 10, 103, 10, 114,
10, 111, 10, 110, 10, 100, 10, 115,
10, 97, 10, 110, 10, 117, 10, 110,
10, 99, 10, 116, 10, 105, 10, 111,
10, 110, 10, 97, 10, 108, 10, 105,
10, 116, 10, 101, 10, 105, 10, 116,
10, 101, 10, 103, 10, 101, 10, 118,
10, 101, 10, 97, 10, 97, 10, 114,
10, 99, 116, 10, 101, 10, 108, 101,
108, 111, 111, 114, 98, 101, 101, 108,
100, 101, 110, 58, 10, 10, 10, 32,
35, 70, 124, 9, 13, 10, 117, 10,
110, 10, 99, 10, 116, 10, 105, 10,
111, 10, 110, 10, 97, 10, 108, 10,
105, 10, 116, 10, 101, 10, 105, 10,
116, 10, 58, 32, 124, 9, 13, 10,
32, 92, 124, 9, 13, 10, 92, 124,
10, 92, 10, 32, 92, 124, 9, 13,
10, 32, 34, 35, 37, 42, 64, 65,
68, 69, 70, 71, 77, 83, 86, 124,
9, 13, 10, 108, 10, 115, 10, 97,
10, 110, 10, 117, 10, 110, 10, 99,
10, 116, 10, 105, 10, 111, 10, 110,
10, 97, 10, 108, 10, 105, 10, 116,
10, 101, 10, 105, 10, 116, 10, 58,
10, 101, 10, 103, 10, 101, 10, 118,
10, 101, 10, 97, 10, 97, 10, 114,
10, 99, 116, 10, 101, 10, 110, 10,
97, 10, 114, 10, 105, 10, 111, 10,
101, 10, 108, 104, 116, 101, 114, 103,
114, 111, 110, 100, 58, 10, 10, 10,
32, 35, 37, 42, 64, 65, 68, 69,
70, 71, 77, 83, 9, 13, 10, 95,
10, 70, 10, 69, 10, 65, 10, 84,
10, 85, 10, 82, 10, 69, 10, 95,
10, 69, 10, 78, 10, 68, 10, 95,
10, 37, 10, 32, 10, 98, 108, 10,
115, 10, 116, 10, 114, 10, 97, 10,
99, 10, 116, 10, 32, 10, 83, 10,
99, 10, 101, 10, 110, 10, 97, 10,
114, 10, 105, 10, 111, 10, 58, 10,
115, 10, 97, 10, 110, 10, 117, 10,
110, 10, 99, 10, 116, 10, 105, 10,
111, 10, 110, 10, 97, 10, 108, 10,
105, 10, 116, 10, 101, 10, 105, 10,
116, 10, 101, 10, 103, 10, 101, 10,
118, 10, 101, 10, 97, 10, 97, 10,
114, 10, 99, 116, 10, 101, 10, 108,
115, 187, 191, 0
];
const _lexer_single_lengths = [
0, 17, 16, 1, 1, 2, 3, 3,
3, 3, 2, 2, 2, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 2, 3,
5, 3, 3, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 13, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 16, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 9, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
3, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 13, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 4, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 3,
2, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 5, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 4, 3, 2, 4, 16, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 3, 2, 2, 2, 2, 2,
2, 2, 2, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 13,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 3,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2,
2, 3, 2, 2, 1, 1, 1, 0
];
const _lexer_range_lengths = [
0, 1, 1, 0, 0, 1, 1, 1,
1, 1, 1, 1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1,
1, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 0, 0, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0
];
const _lexer_index_offsets = [
0, 0, 19, 37, 39, 41, 45, 50,
55, 60, 65, 69, 73, 76, 78, 80,
82, 84, 86, 88, 90, 92, 94, 96,
98, 100, 102, 104, 106, 108, 110, 113,
118, 125, 130, 134, 136, 138, 140, 142,
144, 146, 148, 150, 152, 154, 156, 158,
160, 162, 164, 166, 168, 170, 185, 188,
191, 194, 197, 200, 203, 206, 209, 212,
215, 218, 221, 224, 227, 230, 248, 250,
252, 254, 256, 258, 260, 262, 264, 266,
268, 270, 272, 274, 276, 278, 280, 282,
284, 286, 297, 300, 303, 306, 309, 312,
315, 318, 321, 324, 327, 330, 333, 336,
339, 343, 346, 349, 352, 355, 358, 361,
364, 367, 370, 373, 376, 379, 382, 385,
388, 391, 394, 397, 400, 403, 406, 409,
412, 415, 418, 421, 424, 427, 430, 433,
436, 439, 442, 445, 448, 451, 454, 457,
460, 463, 466, 469, 472, 475, 478, 481,
484, 487, 490, 492, 494, 496, 498, 500,
502, 504, 506, 509, 511, 513, 515, 517,
519, 521, 523, 525, 527, 542, 545, 548,
551, 554, 557, 560, 563, 566, 569, 572,
575, 578, 581, 584, 587, 592, 595, 598,
601, 604, 607, 610, 613, 616, 619, 622,
625, 628, 631, 634, 637, 640, 643, 646,
649, 652, 655, 658, 661, 664, 667, 670,
673, 676, 679, 682, 685, 688, 691, 694,
697, 700, 703, 706, 709, 712, 715, 718,
721, 724, 727, 730, 733, 736, 739, 742,
746, 749, 752, 754, 756, 758, 760, 762,
764, 766, 768, 770, 772, 774, 776, 778,
780, 782, 789, 792, 795, 798, 801, 804,
807, 810, 813, 816, 819, 822, 825, 828,
831, 834, 838, 844, 848, 851, 857, 875,
878, 881, 884, 887, 890, 893, 896, 899,
902, 905, 908, 911, 914, 917, 920, 923,
926, 929, 932, 935, 938, 941, 944, 947,
950, 953, 956, 960, 963, 966, 969, 972,
975, 978, 981, 984, 986, 988, 990, 992,
994, 996, 998, 1000, 1002, 1004, 1006, 1008,
1023, 1026, 1029, 1032, 1035, 1038, 1041, 1044,
1047, 1050, 1053, 1056, 1059, 1062, 1065, 1068,
1072, 1075, 1078, 1081, 1084, 1087, 1090, 1093,
1096, 1099, 1102, 1105, 1108, 1111, 1114, 1117,
1120, 1123, 1126, 1129, 1132, 1135, 1138, 1141,
1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165,
1168, 1171, 1174, 1177, 1180, 1183, 1186, 1189,
1192, 1195, 1199, 1202, 1205, 1207, 1209, 1211
];
const _lexer_indicies = [
2, 1, 3, 4, 5, 6, 7, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 1, 0, 2, 1, 3, 4, 5,
6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 1, 0, 18, 0, 19,
0, 20, 19, 19, 0, 23, 22, 24,
22, 21, 27, 26, 28, 26, 25, 27,
26, 29, 26, 25, 27, 26, 30, 26,
25, 32, 31, 31, 0, 2, 33, 33,
0, 35, 36, 34, 2, 0, 37, 0,
38, 0, 39, 0, 40, 0, 41, 0,
42, 0, 43, 0, 44, 0, 45, 0,
46, 0, 47, 0, 48, 0, 49, 0,
50, 0, 51, 0, 0, 52, 54, 55,
53, 0, 0, 0, 0, 56, 57, 58,
57, 57, 60, 59, 56, 2, 61, 7,
61, 0, 62, 63, 64, 0, 65, 0,
66, 0, 67, 0, 68, 0, 69, 0,
70, 0, 71, 0, 72, 0, 73, 0,
74, 0, 75, 0, 76, 0, 77, 0,
78, 0, 79, 0, 80, 0, 82, 81,
84, 83, 84, 85, 86, 87, 88, 86,
89, 90, 91, 92, 93, 94, 95, 85,
83, 84, 96, 83, 84, 97, 83, 84,
98, 83, 84, 99, 83, 84, 100, 83,
84, 101, 83, 84, 102, 83, 84, 103,
83, 84, 104, 83, 84, 105, 83, 84,
106, 83, 84, 107, 83, 84, 108, 83,
84, 109, 83, 84, 110, 83, 112, 111,
113, 114, 115, 116, 117, 118, 119, 120,
121, 122, 123, 124, 125, 126, 111, 0,
127, 0, 128, 0, 129, 0, 130, 0,
131, 0, 132, 0, 133, 0, 134, 0,
135, 0, 136, 0, 137, 0, 138, 0,
139, 0, 140, 0, 141, 0, 142, 0,
143, 0, 145, 144, 147, 146, 147, 148,
149, 150, 149, 151, 152, 153, 154, 148,
146, 147, 155, 146, 147, 156, 146, 147,
157, 146, 147, 158, 146, 147, 159, 146,
147, 160, 146, 147, 161, 146, 147, 162,
146, 147, 163, 146, 147, 164, 146, 147,
165, 146, 147, 166, 146, 147, 167, 146,
147, 168, 146, 147, 169, 170, 146, 147,
171, 146, 147, 172, 146, 147, 173, 146,
147, 174, 146, 147, 175, 146, 147, 176,
146, 147, 177, 146, 147, 178, 146, 147,
179, 146, 147, 180, 146, 147, 181, 146,
147, 182, 146, 147, 183, 146, 147, 184,
146, 147, 185, 146, 147, 186, 146, 147,
187, 146, 147, 188, 146, 147, 189, 146,
147, 190, 146, 147, 191, 146, 147, 192,
146, 147, 193, 146, 147, 194, 146, 147,
185, 146, 147, 195, 146, 147, 196, 146,
147, 197, 146, 147, 198, 146, 147, 199,
146, 147, 200, 146, 147, 201, 146, 147,
202, 146, 147, 203, 146, 147, 204, 146,
147, 205, 146, 147, 206, 146, 147, 207,
146, 147, 185, 146, 147, 208, 146, 147,
209, 146, 147, 210, 146, 147, 211, 146,
147, 212, 146, 147, 213, 146, 147, 214,
146, 147, 215, 146, 147, 216, 146, 147,
185, 146, 217, 0, 218, 0, 219, 0,
220, 0, 127, 0, 221, 0, 222, 0,
128, 0, 223, 224, 0, 225, 0, 226,
0, 227, 0, 228, 0, 229, 0, 230,
0, 231, 0, 233, 232, 235, 234, 235,
236, 237, 238, 239, 237, 240, 241, 242,
243, 244, 245, 246, 236, 234, 235, 247,
234, 235, 248, 234, 235, 249, 234, 235,
250, 234, 235, 251, 234, 235, 252, 234,
235, 253, 234, 235, 254, 234, 235, 255,
234, 235, 256, 234, 235, 257, 234, 235,
258, 234, 235, 259, 234, 235, 260, 234,
235, 261, 234, 235, 262, 263, 264, 234,
235, 265, 234, 235, 266, 234, 235, 267,
234, 235, 268, 234, 235, 269, 234, 235,
270, 234, 235, 271, 234, 235, 272, 234,
235, 273, 234, 235, 274, 234, 235, 275,
234, 235, 276, 234, 235, 277, 234, 235,
278, 234, 235, 279, 234, 235, 261, 234,
235, 280, 234, 235, 281, 234, 235, 282,
234, 235, 283, 234, 235, 284, 234, 235,
285, 234, 235, 286, 234, 235, 287, 234,
235, 279, 234, 235, 288, 234, 235, 289,
234, 235, 288, 234, 235, 290, 234, 235,
291, 234, 235, 292, 234, 235, 293, 234,
235, 294, 234, 235, 295, 234, 235, 296,
234, 235, 297, 234, 235, 298, 234, 235,
299, 234, 235, 300, 234, 235, 301, 234,
235, 302, 234, 235, 279, 234, 235, 303,
234, 235, 304, 234, 235, 305, 234, 235,
306, 234, 235, 289, 234, 235, 307, 234,
235, 308, 234, 235, 288, 234, 235, 273,
309, 234, 235, 310, 234, 235, 288, 234,
311, 0, 128, 0, 312, 0, 313, 0,
314, 0, 315, 0, 316, 0, 317, 0,
318, 0, 319, 0, 320, 0, 321, 0,
322, 0, 324, 323, 326, 325, 326, 327,
328, 329, 328, 327, 325, 326, 330, 325,
326, 331, 325, 326, 332, 325, 326, 333,
325, 326, 334, 325, 326, 335, 325, 326,
336, 325, 326, 337, 325, 326, 338, 325,
326, 339, 325, 326, 340, 325, 326, 341,
325, 326, 342, 325, 326, 343, 325, 326,
344, 325, 345, 346, 345, 0, 349, 348,
350, 351, 348, 347, 0, 353, 354, 352,
0, 353, 352, 349, 355, 353, 354, 355,
352, 349, 356, 357, 358, 359, 360, 361,
362, 363, 364, 365, 366, 367, 368, 369,
370, 356, 0, 84, 371, 83, 84, 372,
83, 84, 373, 83, 84, 372, 83, 84,
374, 83, 84, 375, 83, 84, 376, 83,
84, 377, 83, 84, 378, 83, 84, 379,
83, 84, 380, 83, 84, 381, 83, 84,
382, 83, 84, 383, 83, 84, 384, 83,
84, 385, 83, 84, 386, 83, 84, 387,
83, 84, 110, 83, 84, 388, 83, 84,
389, 83, 84, 390, 83, 84, 391, 83,
84, 373, 83, 84, 392, 83, 84, 393,
83, 84, 372, 83, 84, 394, 395, 83,
84, 396, 83, 84, 397, 83, 84, 398,
83, 84, 399, 83, 84, 400, 83, 84,
387, 83, 84, 401, 83, 84, 372, 83,
402, 0, 403, 0, 404, 0, 405, 0,
406, 0, 407, 0, 408, 0, 409, 0,
410, 0, 411, 0, 413, 412, 415, 414,
415, 416, 417, 418, 419, 417, 420, 421,
422, 423, 424, 425, 426, 416, 414, 415,
427, 414, 415, 428, 414, 415, 429, 414,
415, 430, 414, 415, 431, 414, 415, 432,
414, 415, 433, 414, 415, 434, 414, 415,
435, 414, 415, 436, 414, 415, 437, 414,
415, 438, 414, 415, 439, 414, 415, 440,
414, 415, 441, 414, 415, 442, 443, 414,
415, 444, 414, 415, 445, 414, 415, 446,
414, 415, 447, 414, 415, 448, 414, 415,
449, 414, 415, 450, 414, 415, 451, 414,
415, 452, 414, 415, 453, 414, 415, 454,
414, 415, 455, 414, 415, 456, 414, 415,
457, 414, 415, 458, 414, 415, 441, 414,
415, 459, 414, 415, 460, 414, 415, 459,
414, 415, 461, 414, 415, 462, 414, 415,
463, 414, 415, 464, 414, 415, 465, 414,
415, 466, 414, 415, 467, 414, 415, 468,
414, 415, 469, 414, 415, 470, 414, 415,
471, 414, 415, 472, 414, 415, 473, 414,
415, 458, 414, 415, 474, 414, 415, 475,
414, 415, 476, 414, 415, 477, 414, 415,
460, 414, 415, 478, 414, 415, 479, 414,
415, 459, 414, 415, 452, 480, 414, 415,
481, 414, 415, 459, 414, 128, 0, 482,
0, 1, 0, 483, 0
];
const _lexer_trans_targs = [
0, 2, 2, 3, 12, 14, 28, 31,
34, 70, 71, 72, 154, 159, 162, 244,
273, 389, 4, 5, 6, 7, 7, 7,
8, 7, 7, 7, 8, 9, 10, 11,
2, 11, 12, 2, 13, 15, 16, 17,
18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 391, 29, 30, 30, 2, 13,
32, 33, 2, 32, 31, 33, 35, 315,
388, 36, 37, 38, 39, 40, 41, 42,
43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 52, 53, 53, 2, 54,
68, 279, 281, 282, 283, 298, 303, 306,
55, 56, 57, 58, 59, 60, 61, 62,
63, 64, 65, 66, 67, 2, 69, 2,
2, 3, 12, 14, 28, 31, 34, 70,
71, 72, 154, 159, 162, 244, 273, 71,
28, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87,
88, 89, 88, 89, 89, 2, 90, 104,
130, 113, 144, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103,
2, 105, 121, 106, 107, 108, 109, 110,
111, 112, 113, 114, 115, 116, 117, 118,
119, 120, 69, 122, 123, 124, 125, 126,
127, 128, 129, 131, 132, 133, 134, 135,
136, 137, 138, 139, 140, 141, 142, 143,
145, 146, 147, 148, 149, 150, 151, 152,
153, 155, 156, 157, 158, 160, 161, 163,
242, 164, 165, 166, 167, 168, 169, 170,
171, 172, 171, 172, 172, 2, 173, 187,
188, 215, 216, 217, 231, 236, 239, 174,
175, 176, 177, 178, 179, 180, 181, 182,
183, 184, 185, 186, 2, 69, 189, 205,
214, 190, 191, 192, 193, 194, 195, 196,
197, 198, 199, 200, 201, 202, 203, 204,
206, 207, 208, 209, 210, 211, 212, 213,
187, 216, 218, 219, 220, 221, 222, 223,
224, 225, 226, 227, 228, 229, 230, 232,
233, 234, 235, 237, 238, 240, 241, 243,
245, 246, 247, 248, 249, 250, 251, 252,
253, 254, 255, 256, 257, 256, 257, 257,
2, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 268, 269, 270, 271, 272,
69, 273, 274, 275, 277, 278, 276, 274,
275, 276, 274, 277, 278, 3, 12, 14,
28, 31, 34, 70, 71, 72, 154, 159,
162, 244, 273, 280, 68, 282, 284, 285,
286, 287, 288, 289, 290, 291, 292, 293,
294, 295, 296, 297, 299, 300, 301, 302,
304, 305, 307, 313, 308, 309, 310, 311,
312, 314, 316, 317, 318, 319, 320, 321,
322, 323, 324, 325, 326, 327, 326, 327,
327, 2, 328, 342, 343, 361, 362, 363,
377, 382, 385, 329, 330, 331, 332, 333,
334, 335, 336, 337, 338, 339, 340, 341,
2, 69, 344, 360, 345, 346, 347, 348,
349, 350, 351, 352, 353, 354, 355, 356,
357, 358, 359, 342, 362, 364, 365, 366,
367, 368, 369, 370, 371, 372, 373, 374,
375, 376, 378, 379, 380, 381, 383, 384,
386, 387, 390, 0
];
const _lexer_trans_actions = [
39, 0, 47, 3, 1, 0, 25, 1,
25, 25, 25, 25, 25, 25, 25, 25,
31, 0, 0, 0, 47, 5, 41, 119,
41, 0, 29, 111, 29, 29, 0, 7,
95, 0, 0, 103, 21, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 50, 0, 99, 19,
0, 23, 107, 23, 44, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 50, 124, 0, 47, 0, 71, 29,
77, 77, 77, 77, 77, 77, 77, 77,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 15, 15, 27,
115, 53, 50, 27, 56, 50, 56, 56,
56, 56, 56, 56, 56, 56, 59, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
50, 124, 0, 47, 0, 62, 29, 77,
77, 77, 77, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
9, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 9, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
50, 124, 0, 47, 0, 68, 29, 77,
77, 77, 77, 77, 77, 77, 77, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 13, 13, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 50, 124, 0, 47, 0,
74, 77, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
17, 0, 0, 33, 33, 47, 33, 80,
0, 0, 35, 0, 0, 86, 83, 37,
89, 83, 89, 89, 89, 89, 89, 89,
89, 89, 92, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 50, 124, 0, 47,
0, 65, 29, 77, 77, 77, 77, 77,
77, 77, 77, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
11, 11, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0
];
const _lexer_eof_actions = [
0, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39,
39, 39, 39, 39, 39, 39, 39, 39
];
const lexer_start = 1;
const lexer_first_final = 391;
const lexer_error = 0;
const lexer_en_main = 1;
/* line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
/* line 121 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
/* line 122 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var Lexer = function(listener) {
// Check that listener has the required functions
var events = ['comment', 'tag', 'feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'doc_string', 'row', 'eof'];
for(e in events) {
var event = events[e];
if(typeof listener[event] != 'function') {
"Error. No " + event + " function exists on " + JSON.stringify(listener);
}
}
this.listener = listener;
};
Lexer.prototype.scan = function(data) {
var ending = "\n%_FEATURE_END_%";
if(typeof data == 'string') {
data = this.stringToBytes(data + ending);
} else if(typeof Buffer != 'undefined' && Buffer.isBuffer(data)) {
// Node.js
var buf = new Buffer(data.length + ending.length);
data.copy(buf, 0, 0);
new Buffer(ending).copy(buf, data.length, 0);
data = buf;
}
var eof = pe = data.length;
var p = 0;
this.line_number = 1;
this.last_newline = 0;
/* line 727 "js/lib/gherkin/lexer/nl.js" */
{
this.cs = lexer_start;
} /* JSCodeGen::writeInit */
/* line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
/* line 734 "js/lib/gherkin/lexer/nl.js" */
{
var _klen, _trans, _keys, _ps, _widec, _acts, _nacts;
var _goto_level, _resume, _eof_trans, _again, _test_eof;
var _out;
_klen = _trans = _keys = _acts = _nacts = null;
_goto_level = 0;
_resume = 10;
_eof_trans = 15;
_again = 20;
_test_eof = 30;
_out = 40;
while (true) {
_trigger_goto = false;
if (_goto_level <= 0) {
if (p == pe) {
_goto_level = _test_eof;
continue;
}
if ( this.cs == 0) {
_goto_level = _out;
continue;
}
}
if (_goto_level <= _resume) {
_keys = _lexer_key_offsets[ this.cs];
_trans = _lexer_index_offsets[ this.cs];
_klen = _lexer_single_lengths[ this.cs];
_break_match = false;
do {
if (_klen > 0) {
_lower = _keys;
_upper = _keys + _klen - 1;
while (true) {
if (_upper < _lower) { break; }
_mid = _lower + ( (_upper - _lower) >> 1 );
if ( data[p] < _lexer_trans_keys[_mid]) {
_upper = _mid - 1;
} else if ( data[p] > _lexer_trans_keys[_mid]) {
_lower = _mid + 1;
} else {
_trans += (_mid - _keys);
_break_match = true;
break;
};
} /* while */
if (_break_match) { break; }
_keys += _klen;
_trans += _klen;
}
_klen = _lexer_range_lengths[ this.cs];
if (_klen > 0) {
_lower = _keys;
_upper = _keys + (_klen << 1) - 2;
while (true) {
if (_upper < _lower) { break; }
_mid = _lower + (((_upper-_lower) >> 1) & ~1);
if ( data[p] < _lexer_trans_keys[_mid]) {
_upper = _mid - 2;
} else if ( data[p] > _lexer_trans_keys[_mid+1]) {
_lower = _mid + 2;
} else {
_trans += ((_mid - _keys) >> 1);
_break_match = true;
break;
}
} /* while */
if (_break_match) { break; }
_trans += _klen
}
} while (false);
_trans = _lexer_indicies[_trans];
this.cs = _lexer_trans_targs[_trans];
if (_lexer_trans_actions[_trans] != 0) {
_acts = _lexer_trans_actions[_trans];
_nacts = _lexer_actions[_acts];
_acts += 1;
while (_nacts > 0) {
_nacts -= 1;
_acts += 1;
switch (_lexer_actions[_acts - 1]) {
case 0:
/* line 6 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.content_start = p;
this.current_line = this.line_number;
this.start_col = p - this.last_newline - (this.keyword+':').length;
break;
case 1:
/* line 12 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.current_line = this.line_number;
this.start_col = p - this.last_newline;
break;
case 2:
/* line 17 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.content_start = p;
break;
case 3:
/* line 21 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var con = this.unindent(
this.start_col,
this.bytesToString(data.slice(this.content_start, this.next_keyword_start-1)).replace(/(\r?\n)?([\t ])*$/, '').replace(/\\\"\\\"\\\"/mg, '"""')
);
this.listener.doc_string(con, this.current_line);
break;
case 4:
/* line 29 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = this.store_keyword_content('feature', data, p, eof);
break;
case 5:
/* line 33 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = this.store_keyword_content('background', data, p, eof);
break;
case 6:
/* line 37 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = this.store_keyword_content('scenario', data, p, eof);
break;
case 7:
/* line 41 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = this.store_keyword_content('scenario_outline', data, p, eof);
break;
case 8:
/* line 45 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = this.store_keyword_content('examples', data, p, eof);
break;
case 9:
/* line 49 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
this.listener.step(this.keyword, con, this.current_line);
break;
case 10:
/* line 54 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
this.listener.comment(con, this.line_number);
this.keyword_start = null;
break;
case 11:
/* line 60 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
this.listener.tag(con, this.line_number);
this.keyword_start = null;
break;
case 12:
/* line 66 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.line_number++;
break;
case 13:
/* line 70 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.last_newline = p + 1;
break;
case 14:
/* line 74 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.keyword_start = this.keyword_start || p;
break;
case 15:
/* line 78 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.keyword = this.bytesToString(data.slice(this.keyword_start, p)).replace(/:$/, '');
this.keyword_start = null;
break;
case 16:
/* line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.next_keyword_start = p;
break;
case 17:
/* line 87 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
p = p - 1;
current_row = [];
this.current_line = this.line_number;
break;
case 18:
/* line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.content_start = p;
break;
case 19:
/* line 97 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
var con = this.bytesToString(data.slice(this.content_start, p)).trim();
current_row.push(con.replace(/\\\|/, "|").replace(/\\n/, "\n").replace(/\\\\/, "\\"));
break;
case 20:
/* line 102 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
this.listener.row(current_row, this.current_line);
break;
case 21:
/* line 106 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
if(this.cs < lexer_first_final) {
var content = this.current_line_content(data, p);
throw "Lexing error on line " + this.line_number + ": '" + content + "'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.";
} else {
this.listener.eof();
}
break;
/* line 950 "js/lib/gherkin/lexer/nl.js" */
} /* action switch */
}
}
if (_trigger_goto) {
continue;
}
}
if (_goto_level <= _again) {
if ( this.cs == 0) {
_goto_level = _out;
continue;
}
p += 1;
if (p != pe) {
_goto_level = _resume;
continue;
}
}
if (_goto_level <= _test_eof) {
if (p == eof) {
__acts = _lexer_eof_actions[ this.cs];
__nacts = _lexer_actions[__acts];
__acts += 1;
while (__nacts > 0) {
__nacts -= 1;
__acts += 1;
switch (_lexer_actions[__acts - 1]) {
case 21:
/* line 106 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
if(this.cs < lexer_first_final) {
var content = this.current_line_content(data, p);
throw "Lexing error on line " + this.line_number + ": '" + content + "'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.";
} else {
this.listener.eof();
}
break;
/* line 989 "js/lib/gherkin/lexer/nl.js" */
} /* eof action switch */
}
if (_trigger_goto) {
continue;
}
}
}
if (_goto_level <= _out) {
break;
}
}
}
/* line 154 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.js.rl" */
};
Lexer.prototype.bytesToString = function(bytes) {
if(typeof bytes.write == 'function') {
// Node.js
return bytes.toString('utf-8');
} else {
var result = "";
for(var b in bytes) {
result += String.fromCharCode(bytes[b]);
}
return result;
}
};
Lexer.prototype.stringToBytes = function(string) {
var bytes = [];
for(var i = 0; i < string.length; i++) {
bytes[i] = string.charCodeAt(i);
}
return bytes;
};
Lexer.prototype.unindent = function(startcol, text) {
startcol = startcol || 0;
return text.replace(new RegExp('^[\t ]{0,' + startcol + '}', 'gm'), '');
};
Lexer.prototype.store_keyword_content = function(event, data, p, eof) {
var end_point = (!this.next_keyword_start || (p == eof)) ? p : this.next_keyword_start;
var content = this.unindent(this.start_col + 2, this.bytesToString(data.slice(this.content_start, end_point))).replace(/\s+$/,"");
var content_lines = content.split("\n")
var name = content_lines.shift() || "";
name = name.trim();
var description = content_lines.join("\n");
this.listener[event](this.keyword, name, description, this.current_line);
var nks = this.next_keyword_start;
this.next_keyword_start = null;
return nks ? nks - 1 : p;
};
Lexer.prototype.current_line_content = function(data, p) {
var rest = data.slice(this.last_newline, -1);
var end = rest.indexOf(10) || -1;
return this.bytesToString(rest.slice(0, end)).trim();
};
// Node.js export
if(typeof exports !== 'undefined') {
exports.Lexer = Lexer;
}
// Require.js export
if (typeof define !== 'undefined' && define.amd) {
define('gherkin/lexer/nl', [], function() {return Lexer});
}
})();