gherkin 2.3.4-x86-mswin32 → 2.3.5-x86-mswin32

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