gherkin 2.4.18 → 2.4.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/Gemfile.lock +6 -7
  2. data/History.md +9 -0
  3. data/README.md +2 -2
  4. data/ext/gherkin_lexer_ar/extconf.rb +6 -0
  5. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +1428 -0
  6. data/ext/gherkin_lexer_bg/extconf.rb +6 -0
  7. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +1654 -0
  8. data/ext/gherkin_lexer_ca/extconf.rb +6 -0
  9. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +1580 -0
  10. data/ext/gherkin_lexer_cs/extconf.rb +6 -0
  11. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +1426 -0
  12. data/ext/gherkin_lexer_cy_gb/extconf.rb +6 -0
  13. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +1281 -0
  14. data/ext/gherkin_lexer_da/extconf.rb +6 -0
  15. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +1297 -0
  16. data/ext/gherkin_lexer_de/extconf.rb +6 -0
  17. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +1414 -0
  18. data/ext/gherkin_lexer_en/extconf.rb +6 -0
  19. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +1264 -0
  20. data/ext/gherkin_lexer_en_au/extconf.rb +6 -0
  21. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +1225 -0
  22. data/ext/gherkin_lexer_en_lol/extconf.rb +6 -0
  23. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +1174 -0
  24. data/ext/gherkin_lexer_en_pirate/extconf.rb +6 -0
  25. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +1470 -0
  26. data/ext/gherkin_lexer_en_scouse/extconf.rb +6 -0
  27. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +1631 -0
  28. data/ext/gherkin_lexer_en_tx/extconf.rb +6 -0
  29. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +1264 -0
  30. data/ext/gherkin_lexer_eo/extconf.rb +6 -0
  31. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +1240 -0
  32. data/ext/gherkin_lexer_es/extconf.rb +6 -0
  33. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +1379 -0
  34. data/ext/gherkin_lexer_et/extconf.rb +6 -0
  35. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +1235 -0
  36. data/ext/gherkin_lexer_fi/extconf.rb +6 -0
  37. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +1214 -0
  38. data/ext/gherkin_lexer_fr/extconf.rb +6 -0
  39. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +1450 -0
  40. data/ext/gherkin_lexer_he/extconf.rb +6 -0
  41. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +1373 -0
  42. data/ext/gherkin_lexer_hr/extconf.rb +6 -0
  43. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +1322 -0
  44. data/ext/gherkin_lexer_hu/extconf.rb +6 -0
  45. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +1373 -0
  46. data/ext/gherkin_lexer_id/extconf.rb +6 -0
  47. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +1207 -0
  48. data/ext/gherkin_lexer_is/extconf.rb +6 -0
  49. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +1375 -0
  50. data/ext/gherkin_lexer_it/extconf.rb +6 -0
  51. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +1331 -0
  52. data/ext/gherkin_lexer_ja/extconf.rb +6 -0
  53. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +1698 -0
  54. data/ext/gherkin_lexer_ko/extconf.rb +6 -0
  55. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +1359 -0
  56. data/ext/gherkin_lexer_lt/extconf.rb +6 -0
  57. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +1294 -0
  58. data/ext/gherkin_lexer_lu/extconf.rb +6 -0
  59. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +1388 -0
  60. data/ext/gherkin_lexer_lv/extconf.rb +6 -0
  61. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +1424 -0
  62. data/ext/gherkin_lexer_nl/extconf.rb +6 -0
  63. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +1367 -0
  64. data/ext/gherkin_lexer_no/extconf.rb +6 -0
  65. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +1310 -0
  66. data/ext/gherkin_lexer_pl/extconf.rb +6 -0
  67. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +1476 -0
  68. data/ext/gherkin_lexer_pt/extconf.rb +6 -0
  69. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +1326 -0
  70. data/ext/gherkin_lexer_ro/extconf.rb +6 -0
  71. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +1424 -0
  72. data/ext/gherkin_lexer_ru/extconf.rb +6 -0
  73. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2056 -0
  74. data/ext/gherkin_lexer_sk/extconf.rb +6 -0
  75. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +1297 -0
  76. data/ext/gherkin_lexer_sr_cyrl/extconf.rb +6 -0
  77. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2111 -0
  78. data/ext/gherkin_lexer_sr_latn/extconf.rb +6 -0
  79. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +1566 -0
  80. data/ext/gherkin_lexer_sv/extconf.rb +6 -0
  81. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +1323 -0
  82. data/ext/gherkin_lexer_tr/extconf.rb +6 -0
  83. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +1346 -0
  84. data/ext/gherkin_lexer_uk/extconf.rb +6 -0
  85. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +1940 -0
  86. data/ext/gherkin_lexer_uz/extconf.rb +6 -0
  87. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +1650 -0
  88. data/ext/gherkin_lexer_vi/extconf.rb +6 -0
  89. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +1457 -0
  90. data/ext/gherkin_lexer_zh_cn/extconf.rb +6 -0
  91. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +1222 -0
  92. data/ext/gherkin_lexer_zh_tw/extconf.rb +6 -0
  93. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +1264 -0
  94. data/gherkin.gemspec +9 -3
  95. data/lib/gherkin/formatter/filter_formatter.rb +6 -1
  96. data/lib/gherkin/rb_lexer/ar.rb +1162 -0
  97. data/lib/gherkin/rb_lexer/bg.rb +1374 -0
  98. data/lib/gherkin/rb_lexer/ca.rb +1304 -0
  99. data/lib/gherkin/rb_lexer/cs.rb +1156 -0
  100. data/lib/gherkin/rb_lexer/cy_gb.rb +1026 -0
  101. data/lib/gherkin/rb_lexer/da.rb +1040 -0
  102. data/lib/gherkin/rb_lexer/de.rb +1150 -0
  103. data/lib/gherkin/rb_lexer/en.rb +1008 -0
  104. data/lib/gherkin/rb_lexer/en_au.rb +972 -0
  105. data/lib/gherkin/rb_lexer/en_lol.rb +927 -0
  106. data/lib/gherkin/rb_lexer/en_pirate.rb +1204 -0
  107. data/lib/gherkin/rb_lexer/en_scouse.rb +1355 -0
  108. data/lib/gherkin/rb_lexer/en_tx.rb +1010 -0
  109. data/lib/gherkin/rb_lexer/eo.rb +989 -0
  110. data/lib/gherkin/rb_lexer/es.rb +1116 -0
  111. data/lib/gherkin/rb_lexer/et.rb +982 -0
  112. data/lib/gherkin/rb_lexer/fi.rb +963 -0
  113. data/lib/gherkin/rb_lexer/fr.rb +1184 -0
  114. data/lib/gherkin/rb_lexer/he.rb +1110 -0
  115. data/lib/gherkin/rb_lexer/hr.rb +1060 -0
  116. data/lib/gherkin/rb_lexer/hu.rb +1111 -0
  117. data/lib/gherkin/rb_lexer/id.rb +957 -0
  118. data/lib/gherkin/rb_lexer/is.rb +1114 -0
  119. data/lib/gherkin/rb_lexer/it.rb +1075 -0
  120. data/lib/gherkin/rb_lexer/ja.rb +1412 -0
  121. data/lib/gherkin/rb_lexer/ko.rb +1096 -0
  122. data/lib/gherkin/rb_lexer/lt.rb +1038 -0
  123. data/lib/gherkin/rb_lexer/lu.rb +1126 -0
  124. data/lib/gherkin/rb_lexer/lv.rb +1158 -0
  125. data/lib/gherkin/rb_lexer/nl.rb +1109 -0
  126. data/lib/gherkin/rb_lexer/no.rb +1052 -0
  127. data/lib/gherkin/rb_lexer/pl.rb +1208 -0
  128. data/lib/gherkin/rb_lexer/pt.rb +1066 -0
  129. data/lib/gherkin/rb_lexer/ro.rb +1155 -0
  130. data/lib/gherkin/rb_lexer/ru.rb +1747 -0
  131. data/lib/gherkin/rb_lexer/sk.rb +1040 -0
  132. data/lib/gherkin/rb_lexer/sr_cyrl.rb +1797 -0
  133. data/lib/gherkin/rb_lexer/sr_latn.rb +1288 -0
  134. data/lib/gherkin/rb_lexer/sv.rb +1064 -0
  135. data/lib/gherkin/rb_lexer/tr.rb +1086 -0
  136. data/lib/gherkin/rb_lexer/uk.rb +1640 -0
  137. data/lib/gherkin/rb_lexer/uz.rb +1370 -0
  138. data/lib/gherkin/rb_lexer/vi.rb +1190 -0
  139. data/lib/gherkin/rb_lexer/zh_cn.rb +968 -0
  140. data/lib/gherkin/rb_lexer/zh_tw.rb +1006 -0
  141. data/spec/gherkin/fixtures/examples_with_only_header.feature +14 -0
  142. data/spec/gherkin/formatter/filter_formatter_spec.rb +21 -0
  143. data/tasks/gems.rake +9 -1
  144. metadata +30 -39
  145. data/.gitignore +0 -13
  146. data/ikvm/.gitignore +0 -3
  147. data/java/.gitignore +0 -5
  148. data/java/src/main/java/gherkin/lexer/i18n/.gitignore +0 -1
  149. data/java/src/main/resources/gherkin/.gitignore +0 -1
  150. data/js/.gitignore +0 -1
  151. data/js/lib/gherkin/lexer/.gitignore +0 -1
  152. data/lib/.gitignore +0 -4
  153. data/lib/gherkin/rb_lexer/.gitignore +0 -1
  154. data/ragel/i18n/.gitignore +0 -1
  155. data/tasks/bench/generated/.gitignore +0 -1
@@ -0,0 +1,1109 @@
1
+
2
+ # line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
3
+ require 'gherkin/lexer/i18n_lexer'
4
+
5
+ module Gherkin
6
+ module RbLexer
7
+ class Nl #:nodoc:
8
+
9
+ # line 123 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
10
+
11
+
12
+ def initialize(listener)
13
+ @listener = listener
14
+
15
+ # line 16 "lib/gherkin/rb_lexer/nl.rb"
16
+ class << self
17
+ attr_accessor :_lexer_actions
18
+ private :_lexer_actions, :_lexer_actions=
19
+ end
20
+ self._lexer_actions = [
21
+ 0, 1, 0, 1, 1, 1, 2, 1,
22
+ 3, 1, 4, 1, 5, 1, 6, 1,
23
+ 7, 1, 8, 1, 9, 1, 10, 1,
24
+ 11, 1, 12, 1, 13, 1, 16, 1,
25
+ 17, 1, 18, 1, 19, 1, 20, 1,
26
+ 21, 1, 22, 1, 23, 2, 2, 18,
27
+ 2, 3, 4, 2, 13, 0, 2, 14,
28
+ 15, 2, 17, 0, 2, 17, 1, 2,
29
+ 17, 16, 2, 17, 19, 2, 18, 6,
30
+ 2, 18, 7, 2, 18, 8, 2, 18,
31
+ 9, 2, 18, 10, 2, 18, 16, 2,
32
+ 20, 21, 2, 22, 0, 2, 22, 1,
33
+ 2, 22, 16, 2, 22, 19, 3, 4,
34
+ 14, 15, 3, 5, 14, 15, 3, 11,
35
+ 14, 15, 3, 12, 14, 15, 3, 13,
36
+ 14, 15, 3, 14, 15, 18, 3, 17,
37
+ 14, 15, 4, 2, 14, 15, 18, 4,
38
+ 3, 4, 14, 15, 4, 17, 0, 14,
39
+ 15
40
+ ]
41
+
42
+ class << self
43
+ attr_accessor :_lexer_key_offsets
44
+ private :_lexer_key_offsets, :_lexer_key_offsets=
45
+ end
46
+ self._lexer_key_offsets = [
47
+ 0, 0, 19, 20, 21, 39, 40, 41,
48
+ 43, 45, 50, 55, 60, 65, 69, 73,
49
+ 75, 76, 77, 78, 79, 80, 81, 82,
50
+ 83, 84, 85, 86, 87, 88, 89, 90,
51
+ 91, 92, 94, 99, 106, 111, 114, 115,
52
+ 116, 117, 118, 119, 120, 121, 122, 123,
53
+ 124, 125, 126, 127, 128, 129, 130, 131,
54
+ 132, 147, 149, 151, 153, 155, 157, 159,
55
+ 161, 163, 165, 167, 169, 171, 173, 175,
56
+ 177, 195, 196, 197, 198, 199, 200, 201,
57
+ 202, 203, 204, 205, 206, 207, 208, 209,
58
+ 210, 211, 212, 213, 214, 225, 227, 229,
59
+ 231, 233, 235, 237, 239, 241, 243, 245,
60
+ 247, 249, 251, 253, 256, 258, 260, 262,
61
+ 264, 266, 268, 270, 272, 274, 276, 278,
62
+ 280, 282, 284, 286, 288, 290, 292, 294,
63
+ 296, 298, 300, 302, 304, 306, 308, 310,
64
+ 312, 314, 316, 318, 320, 322, 324, 326,
65
+ 328, 330, 332, 334, 336, 338, 340, 342,
66
+ 344, 346, 348, 350, 352, 354, 355, 356,
67
+ 357, 358, 359, 360, 361, 362, 364, 365,
68
+ 366, 367, 368, 369, 370, 371, 372, 373,
69
+ 388, 390, 392, 394, 396, 398, 400, 402,
70
+ 404, 406, 408, 410, 412, 414, 416, 418,
71
+ 422, 424, 426, 428, 430, 432, 434, 436,
72
+ 438, 440, 442, 444, 446, 448, 450, 452,
73
+ 454, 456, 458, 460, 462, 464, 466, 468,
74
+ 470, 472, 474, 476, 478, 480, 482, 484,
75
+ 486, 488, 490, 492, 494, 496, 498, 500,
76
+ 502, 504, 506, 508, 510, 512, 514, 516,
77
+ 518, 520, 522, 525, 527, 529, 530, 531,
78
+ 532, 533, 534, 535, 536, 537, 538, 539,
79
+ 540, 541, 542, 543, 544, 551, 553, 555,
80
+ 557, 559, 561, 563, 565, 567, 569, 571,
81
+ 573, 575, 577, 579, 581, 585, 591, 594,
82
+ 596, 602, 620, 622, 624, 626, 628, 630,
83
+ 632, 634, 636, 638, 640, 642, 644, 646,
84
+ 648, 650, 652, 654, 656, 658, 660, 662,
85
+ 664, 666, 668, 670, 672, 674, 677, 679,
86
+ 681, 683, 685, 687, 689, 691, 693, 694,
87
+ 695, 696, 697, 698, 699, 700, 701, 702,
88
+ 703, 704, 705, 720, 722, 724, 726, 728,
89
+ 730, 732, 734, 736, 738, 740, 742, 744,
90
+ 746, 748, 750, 753, 755, 757, 759, 761,
91
+ 763, 765, 767, 769, 771, 773, 775, 777,
92
+ 779, 781, 783, 785, 787, 789, 791, 793,
93
+ 795, 797, 799, 801, 803, 805, 807, 809,
94
+ 811, 813, 815, 817, 819, 821, 823, 825,
95
+ 827, 829, 831, 833, 835, 838, 840, 842,
96
+ 843
97
+ ]
98
+
99
+ class << self
100
+ attr_accessor :_lexer_trans_keys
101
+ private :_lexer_trans_keys, :_lexer_trans_keys=
102
+ end
103
+ self._lexer_trans_keys = [
104
+ -17, 10, 32, 34, 35, 37, 42, 64,
105
+ 65, 68, 69, 70, 71, 77, 83, 86,
106
+ 124, 9, 13, -69, -65, 10, 32, 34,
107
+ 35, 37, 42, 64, 65, 68, 69, 70,
108
+ 71, 77, 83, 86, 124, 9, 13, 34,
109
+ 34, 10, 13, 10, 13, 10, 32, 34,
110
+ 9, 13, 10, 32, 34, 9, 13, 10,
111
+ 32, 34, 9, 13, 10, 32, 34, 9,
112
+ 13, 10, 32, 9, 13, 10, 32, 9,
113
+ 13, 10, 13, 10, 95, 70, 69, 65,
114
+ 84, 85, 82, 69, 95, 69, 78, 68,
115
+ 95, 37, 32, 10, 10, 13, 13, 32,
116
+ 64, 9, 10, 9, 10, 13, 32, 64,
117
+ 11, 12, 10, 32, 64, 9, 13, 98,
118
+ 99, 108, 115, 116, 114, 97, 99, 116,
119
+ 32, 83, 99, 101, 110, 97, 114, 105,
120
+ 111, 58, 10, 10, 10, 32, 35, 37,
121
+ 42, 64, 65, 68, 69, 70, 71, 77,
122
+ 83, 9, 13, 10, 95, 10, 70, 10,
123
+ 69, 10, 65, 10, 84, 10, 85, 10,
124
+ 82, 10, 69, 10, 95, 10, 69, 10,
125
+ 78, 10, 68, 10, 95, 10, 37, 10,
126
+ 32, 10, 32, 34, 35, 37, 42, 64,
127
+ 65, 68, 69, 70, 71, 77, 83, 86,
128
+ 124, 9, 13, 97, 110, 117, 110, 99,
129
+ 116, 105, 111, 110, 97, 108, 105, 116,
130
+ 101, 105, 116, 58, 10, 10, 10, 32,
131
+ 35, 37, 64, 65, 70, 83, 86, 9,
132
+ 13, 10, 95, 10, 70, 10, 69, 10,
133
+ 65, 10, 84, 10, 85, 10, 82, 10,
134
+ 69, 10, 95, 10, 69, 10, 78, 10,
135
+ 68, 10, 95, 10, 37, 10, 98, 99,
136
+ 10, 115, 10, 116, 10, 114, 10, 97,
137
+ 10, 99, 10, 116, 10, 32, 10, 83,
138
+ 10, 99, 10, 101, 10, 110, 10, 97,
139
+ 10, 114, 10, 105, 10, 111, 10, 58,
140
+ 10, 104, 10, 116, 10, 101, 10, 114,
141
+ 10, 103, 10, 114, 10, 111, 10, 110,
142
+ 10, 100, 10, 117, 10, 110, 10, 99,
143
+ 10, 116, 10, 105, 10, 111, 10, 110,
144
+ 10, 97, 10, 108, 10, 105, 10, 116,
145
+ 10, 101, 10, 105, 10, 116, 10, 111,
146
+ 10, 111, 10, 114, 10, 98, 10, 101,
147
+ 10, 101, 10, 108, 10, 100, 10, 101,
148
+ 10, 110, 101, 103, 101, 118, 101, 97,
149
+ 97, 114, 99, 116, 101, 110, 97, 114,
150
+ 105, 111, 58, 10, 10, 10, 32, 35,
151
+ 37, 42, 64, 65, 68, 69, 70, 71,
152
+ 77, 83, 9, 13, 10, 95, 10, 70,
153
+ 10, 69, 10, 65, 10, 84, 10, 85,
154
+ 10, 82, 10, 69, 10, 95, 10, 69,
155
+ 10, 78, 10, 68, 10, 95, 10, 37,
156
+ 10, 32, 10, 98, 99, 108, 10, 115,
157
+ 10, 116, 10, 114, 10, 97, 10, 99,
158
+ 10, 116, 10, 32, 10, 83, 10, 99,
159
+ 10, 101, 10, 110, 10, 97, 10, 114,
160
+ 10, 105, 10, 111, 10, 58, 10, 104,
161
+ 10, 116, 10, 101, 10, 114, 10, 103,
162
+ 10, 114, 10, 111, 10, 110, 10, 100,
163
+ 10, 115, 10, 97, 10, 110, 10, 117,
164
+ 10, 110, 10, 99, 10, 116, 10, 105,
165
+ 10, 111, 10, 110, 10, 97, 10, 108,
166
+ 10, 105, 10, 116, 10, 101, 10, 105,
167
+ 10, 116, 10, 101, 10, 103, 10, 101,
168
+ 10, 118, 10, 101, 10, 97, 10, 97,
169
+ 10, 114, 10, 99, 116, 10, 101, 10,
170
+ 108, 101, 108, 111, 111, 114, 98, 101,
171
+ 101, 108, 100, 101, 110, 58, 10, 10,
172
+ 10, 32, 35, 70, 124, 9, 13, 10,
173
+ 117, 10, 110, 10, 99, 10, 116, 10,
174
+ 105, 10, 111, 10, 110, 10, 97, 10,
175
+ 108, 10, 105, 10, 116, 10, 101, 10,
176
+ 105, 10, 116, 10, 58, 32, 124, 9,
177
+ 13, 10, 32, 92, 124, 9, 13, 10,
178
+ 92, 124, 10, 92, 10, 32, 92, 124,
179
+ 9, 13, 10, 32, 34, 35, 37, 42,
180
+ 64, 65, 68, 69, 70, 71, 77, 83,
181
+ 86, 124, 9, 13, 10, 108, 10, 115,
182
+ 10, 97, 10, 110, 10, 117, 10, 110,
183
+ 10, 99, 10, 116, 10, 105, 10, 111,
184
+ 10, 110, 10, 97, 10, 108, 10, 105,
185
+ 10, 116, 10, 101, 10, 105, 10, 116,
186
+ 10, 58, 10, 101, 10, 103, 10, 101,
187
+ 10, 118, 10, 101, 10, 97, 10, 97,
188
+ 10, 114, 10, 99, 116, 10, 101, 10,
189
+ 110, 10, 97, 10, 114, 10, 105, 10,
190
+ 111, 10, 101, 10, 108, 104, 116, 101,
191
+ 114, 103, 114, 111, 110, 100, 58, 10,
192
+ 10, 10, 32, 35, 37, 42, 64, 65,
193
+ 68, 69, 70, 71, 77, 83, 9, 13,
194
+ 10, 95, 10, 70, 10, 69, 10, 65,
195
+ 10, 84, 10, 85, 10, 82, 10, 69,
196
+ 10, 95, 10, 69, 10, 78, 10, 68,
197
+ 10, 95, 10, 37, 10, 32, 10, 98,
198
+ 108, 10, 115, 10, 116, 10, 114, 10,
199
+ 97, 10, 99, 10, 116, 10, 32, 10,
200
+ 83, 10, 99, 10, 101, 10, 110, 10,
201
+ 97, 10, 114, 10, 105, 10, 111, 10,
202
+ 58, 10, 115, 10, 97, 10, 110, 10,
203
+ 117, 10, 110, 10, 99, 10, 116, 10,
204
+ 105, 10, 111, 10, 110, 10, 97, 10,
205
+ 108, 10, 105, 10, 116, 10, 101, 10,
206
+ 105, 10, 116, 10, 101, 10, 103, 10,
207
+ 101, 10, 118, 10, 101, 10, 97, 10,
208
+ 97, 10, 114, 10, 99, 116, 10, 101,
209
+ 10, 108, 115, 0
210
+ ]
211
+
212
+ class << self
213
+ attr_accessor :_lexer_single_lengths
214
+ private :_lexer_single_lengths, :_lexer_single_lengths=
215
+ end
216
+ self._lexer_single_lengths = [
217
+ 0, 17, 1, 1, 16, 1, 1, 2,
218
+ 2, 3, 3, 3, 3, 2, 2, 2,
219
+ 1, 1, 1, 1, 1, 1, 1, 1,
220
+ 1, 1, 1, 1, 1, 1, 1, 1,
221
+ 1, 2, 3, 5, 3, 3, 1, 1,
222
+ 1, 1, 1, 1, 1, 1, 1, 1,
223
+ 1, 1, 1, 1, 1, 1, 1, 1,
224
+ 13, 2, 2, 2, 2, 2, 2, 2,
225
+ 2, 2, 2, 2, 2, 2, 2, 2,
226
+ 16, 1, 1, 1, 1, 1, 1, 1,
227
+ 1, 1, 1, 1, 1, 1, 1, 1,
228
+ 1, 1, 1, 1, 9, 2, 2, 2,
229
+ 2, 2, 2, 2, 2, 2, 2, 2,
230
+ 2, 2, 2, 3, 2, 2, 2, 2,
231
+ 2, 2, 2, 2, 2, 2, 2, 2,
232
+ 2, 2, 2, 2, 2, 2, 2, 2,
233
+ 2, 2, 2, 2, 2, 2, 2, 2,
234
+ 2, 2, 2, 2, 2, 2, 2, 2,
235
+ 2, 2, 2, 2, 2, 2, 2, 2,
236
+ 2, 2, 2, 2, 2, 1, 1, 1,
237
+ 1, 1, 1, 1, 1, 2, 1, 1,
238
+ 1, 1, 1, 1, 1, 1, 1, 13,
239
+ 2, 2, 2, 2, 2, 2, 2, 2,
240
+ 2, 2, 2, 2, 2, 2, 2, 4,
241
+ 2, 2, 2, 2, 2, 2, 2, 2,
242
+ 2, 2, 2, 2, 2, 2, 2, 2,
243
+ 2, 2, 2, 2, 2, 2, 2, 2,
244
+ 2, 2, 2, 2, 2, 2, 2, 2,
245
+ 2, 2, 2, 2, 2, 2, 2, 2,
246
+ 2, 2, 2, 2, 2, 2, 2, 2,
247
+ 2, 2, 3, 2, 2, 1, 1, 1,
248
+ 1, 1, 1, 1, 1, 1, 1, 1,
249
+ 1, 1, 1, 1, 5, 2, 2, 2,
250
+ 2, 2, 2, 2, 2, 2, 2, 2,
251
+ 2, 2, 2, 2, 2, 4, 3, 2,
252
+ 4, 16, 2, 2, 2, 2, 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, 3, 2, 2,
256
+ 2, 2, 2, 2, 2, 2, 1, 1,
257
+ 1, 1, 1, 1, 1, 1, 1, 1,
258
+ 1, 1, 13, 2, 2, 2, 2, 2,
259
+ 2, 2, 2, 2, 2, 2, 2, 2,
260
+ 2, 2, 3, 2, 2, 2, 2, 2,
261
+ 2, 2, 2, 2, 2, 2, 2, 2,
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, 3, 2, 2, 1,
266
+ 0
267
+ ]
268
+
269
+ class << self
270
+ attr_accessor :_lexer_range_lengths
271
+ private :_lexer_range_lengths, :_lexer_range_lengths=
272
+ end
273
+ self._lexer_range_lengths = [
274
+ 0, 1, 0, 0, 1, 0, 0, 0,
275
+ 0, 1, 1, 1, 1, 1, 1, 0,
276
+ 0, 0, 0, 0, 0, 0, 0, 0,
277
+ 0, 0, 0, 0, 0, 0, 0, 0,
278
+ 0, 0, 1, 1, 1, 0, 0, 0,
279
+ 0, 0, 0, 0, 0, 0, 0, 0,
280
+ 0, 0, 0, 0, 0, 0, 0, 0,
281
+ 1, 0, 0, 0, 0, 0, 0, 0,
282
+ 0, 0, 0, 0, 0, 0, 0, 0,
283
+ 1, 0, 0, 0, 0, 0, 0, 0,
284
+ 0, 0, 0, 0, 0, 0, 0, 0,
285
+ 0, 0, 0, 0, 1, 0, 0, 0,
286
+ 0, 0, 0, 0, 0, 0, 0, 0,
287
+ 0, 0, 0, 0, 0, 0, 0, 0,
288
+ 0, 0, 0, 0, 0, 0, 0, 0,
289
+ 0, 0, 0, 0, 0, 0, 0, 0,
290
+ 0, 0, 0, 0, 0, 0, 0, 0,
291
+ 0, 0, 0, 0, 0, 0, 0, 0,
292
+ 0, 0, 0, 0, 0, 0, 0, 0,
293
+ 0, 0, 0, 0, 0, 0, 0, 0,
294
+ 0, 0, 0, 0, 0, 0, 0, 0,
295
+ 0, 0, 0, 0, 0, 0, 0, 1,
296
+ 0, 0, 0, 0, 0, 0, 0, 0,
297
+ 0, 0, 0, 0, 0, 0, 0, 0,
298
+ 0, 0, 0, 0, 0, 0, 0, 0,
299
+ 0, 0, 0, 0, 0, 0, 0, 0,
300
+ 0, 0, 0, 0, 0, 0, 0, 0,
301
+ 0, 0, 0, 0, 0, 0, 0, 0,
302
+ 0, 0, 0, 0, 0, 0, 0, 0,
303
+ 0, 0, 0, 0, 0, 0, 0, 0,
304
+ 0, 0, 0, 0, 0, 0, 0, 0,
305
+ 0, 0, 0, 0, 0, 0, 0, 0,
306
+ 0, 0, 0, 0, 1, 0, 0, 0,
307
+ 0, 0, 0, 0, 0, 0, 0, 0,
308
+ 0, 0, 0, 0, 1, 1, 0, 0,
309
+ 1, 1, 0, 0, 0, 0, 0, 0,
310
+ 0, 0, 0, 0, 0, 0, 0, 0,
311
+ 0, 0, 0, 0, 0, 0, 0, 0,
312
+ 0, 0, 0, 0, 0, 0, 0, 0,
313
+ 0, 0, 0, 0, 0, 0, 0, 0,
314
+ 0, 0, 0, 0, 0, 0, 0, 0,
315
+ 0, 0, 1, 0, 0, 0, 0, 0,
316
+ 0, 0, 0, 0, 0, 0, 0, 0,
317
+ 0, 0, 0, 0, 0, 0, 0, 0,
318
+ 0, 0, 0, 0, 0, 0, 0, 0,
319
+ 0, 0, 0, 0, 0, 0, 0, 0,
320
+ 0, 0, 0, 0, 0, 0, 0, 0,
321
+ 0, 0, 0, 0, 0, 0, 0, 0,
322
+ 0, 0, 0, 0, 0, 0, 0, 0,
323
+ 0
324
+ ]
325
+
326
+ class << self
327
+ attr_accessor :_lexer_index_offsets
328
+ private :_lexer_index_offsets, :_lexer_index_offsets=
329
+ end
330
+ self._lexer_index_offsets = [
331
+ 0, 0, 19, 21, 23, 41, 43, 45,
332
+ 48, 51, 56, 61, 66, 71, 75, 79,
333
+ 82, 84, 86, 88, 90, 92, 94, 96,
334
+ 98, 100, 102, 104, 106, 108, 110, 112,
335
+ 114, 116, 119, 124, 131, 136, 140, 142,
336
+ 144, 146, 148, 150, 152, 154, 156, 158,
337
+ 160, 162, 164, 166, 168, 170, 172, 174,
338
+ 176, 191, 194, 197, 200, 203, 206, 209,
339
+ 212, 215, 218, 221, 224, 227, 230, 233,
340
+ 236, 254, 256, 258, 260, 262, 264, 266,
341
+ 268, 270, 272, 274, 276, 278, 280, 282,
342
+ 284, 286, 288, 290, 292, 303, 306, 309,
343
+ 312, 315, 318, 321, 324, 327, 330, 333,
344
+ 336, 339, 342, 345, 349, 352, 355, 358,
345
+ 361, 364, 367, 370, 373, 376, 379, 382,
346
+ 385, 388, 391, 394, 397, 400, 403, 406,
347
+ 409, 412, 415, 418, 421, 424, 427, 430,
348
+ 433, 436, 439, 442, 445, 448, 451, 454,
349
+ 457, 460, 463, 466, 469, 472, 475, 478,
350
+ 481, 484, 487, 490, 493, 496, 498, 500,
351
+ 502, 504, 506, 508, 510, 512, 515, 517,
352
+ 519, 521, 523, 525, 527, 529, 531, 533,
353
+ 548, 551, 554, 557, 560, 563, 566, 569,
354
+ 572, 575, 578, 581, 584, 587, 590, 593,
355
+ 598, 601, 604, 607, 610, 613, 616, 619,
356
+ 622, 625, 628, 631, 634, 637, 640, 643,
357
+ 646, 649, 652, 655, 658, 661, 664, 667,
358
+ 670, 673, 676, 679, 682, 685, 688, 691,
359
+ 694, 697, 700, 703, 706, 709, 712, 715,
360
+ 718, 721, 724, 727, 730, 733, 736, 739,
361
+ 742, 745, 748, 752, 755, 758, 760, 762,
362
+ 764, 766, 768, 770, 772, 774, 776, 778,
363
+ 780, 782, 784, 786, 788, 795, 798, 801,
364
+ 804, 807, 810, 813, 816, 819, 822, 825,
365
+ 828, 831, 834, 837, 840, 844, 850, 854,
366
+ 857, 863, 881, 884, 887, 890, 893, 896,
367
+ 899, 902, 905, 908, 911, 914, 917, 920,
368
+ 923, 926, 929, 932, 935, 938, 941, 944,
369
+ 947, 950, 953, 956, 959, 962, 966, 969,
370
+ 972, 975, 978, 981, 984, 987, 990, 992,
371
+ 994, 996, 998, 1000, 1002, 1004, 1006, 1008,
372
+ 1010, 1012, 1014, 1029, 1032, 1035, 1038, 1041,
373
+ 1044, 1047, 1050, 1053, 1056, 1059, 1062, 1065,
374
+ 1068, 1071, 1074, 1078, 1081, 1084, 1087, 1090,
375
+ 1093, 1096, 1099, 1102, 1105, 1108, 1111, 1114,
376
+ 1117, 1120, 1123, 1126, 1129, 1132, 1135, 1138,
377
+ 1141, 1144, 1147, 1150, 1153, 1156, 1159, 1162,
378
+ 1165, 1168, 1171, 1174, 1177, 1180, 1183, 1186,
379
+ 1189, 1192, 1195, 1198, 1201, 1205, 1208, 1211,
380
+ 1213
381
+ ]
382
+
383
+ class << self
384
+ attr_accessor :_lexer_indicies
385
+ private :_lexer_indicies, :_lexer_indicies=
386
+ end
387
+ self._lexer_indicies = [
388
+ 1, 3, 2, 4, 5, 6, 7, 8,
389
+ 9, 10, 11, 12, 13, 14, 15, 16,
390
+ 17, 2, 0, 18, 0, 2, 0, 3,
391
+ 2, 4, 5, 6, 7, 8, 9, 10,
392
+ 11, 12, 13, 14, 15, 16, 17, 2,
393
+ 0, 19, 0, 20, 0, 22, 23, 21,
394
+ 25, 26, 24, 29, 28, 30, 28, 27,
395
+ 33, 32, 34, 32, 31, 33, 32, 35,
396
+ 32, 31, 33, 32, 36, 32, 31, 38,
397
+ 37, 37, 0, 3, 39, 39, 0, 41,
398
+ 42, 40, 3, 0, 43, 0, 44, 0,
399
+ 45, 0, 46, 0, 47, 0, 48, 0,
400
+ 49, 0, 50, 0, 51, 0, 52, 0,
401
+ 53, 0, 54, 0, 55, 0, 56, 0,
402
+ 57, 0, 0, 58, 60, 61, 59, 0,
403
+ 0, 0, 0, 62, 63, 64, 63, 63,
404
+ 66, 65, 62, 3, 67, 8, 67, 0,
405
+ 68, 69, 70, 0, 71, 0, 72, 0,
406
+ 73, 0, 74, 0, 75, 0, 76, 0,
407
+ 77, 0, 78, 0, 79, 0, 80, 0,
408
+ 81, 0, 82, 0, 83, 0, 84, 0,
409
+ 85, 0, 86, 0, 88, 87, 90, 89,
410
+ 90, 91, 92, 93, 94, 92, 95, 96,
411
+ 97, 98, 99, 100, 101, 91, 89, 90,
412
+ 102, 89, 90, 103, 89, 90, 104, 89,
413
+ 90, 105, 89, 90, 106, 89, 90, 107,
414
+ 89, 90, 108, 89, 90, 109, 89, 90,
415
+ 110, 89, 90, 111, 89, 90, 112, 89,
416
+ 90, 113, 89, 90, 114, 89, 90, 115,
417
+ 89, 90, 116, 89, 118, 117, 119, 120,
418
+ 121, 122, 123, 124, 125, 126, 127, 128,
419
+ 129, 130, 131, 132, 117, 0, 133, 0,
420
+ 134, 0, 135, 0, 136, 0, 137, 0,
421
+ 138, 0, 139, 0, 140, 0, 141, 0,
422
+ 142, 0, 143, 0, 144, 0, 145, 0,
423
+ 146, 0, 147, 0, 148, 0, 149, 0,
424
+ 151, 150, 153, 152, 153, 154, 155, 156,
425
+ 155, 157, 158, 159, 160, 154, 152, 153,
426
+ 161, 152, 153, 162, 152, 153, 163, 152,
427
+ 153, 164, 152, 153, 165, 152, 153, 166,
428
+ 152, 153, 167, 152, 153, 168, 152, 153,
429
+ 169, 152, 153, 170, 152, 153, 171, 152,
430
+ 153, 172, 152, 153, 173, 152, 153, 174,
431
+ 152, 153, 175, 176, 152, 153, 177, 152,
432
+ 153, 178, 152, 153, 179, 152, 153, 180,
433
+ 152, 153, 181, 152, 153, 182, 152, 153,
434
+ 183, 152, 153, 184, 152, 153, 185, 152,
435
+ 153, 186, 152, 153, 187, 152, 153, 188,
436
+ 152, 153, 189, 152, 153, 190, 152, 153,
437
+ 191, 152, 153, 192, 152, 153, 193, 152,
438
+ 153, 194, 152, 153, 195, 152, 153, 196,
439
+ 152, 153, 197, 152, 153, 198, 152, 153,
440
+ 199, 152, 153, 200, 152, 153, 191, 152,
441
+ 153, 201, 152, 153, 202, 152, 153, 203,
442
+ 152, 153, 204, 152, 153, 205, 152, 153,
443
+ 206, 152, 153, 207, 152, 153, 208, 152,
444
+ 153, 209, 152, 153, 210, 152, 153, 211,
445
+ 152, 153, 212, 152, 153, 213, 152, 153,
446
+ 191, 152, 153, 214, 152, 153, 215, 152,
447
+ 153, 216, 152, 153, 217, 152, 153, 218,
448
+ 152, 153, 219, 152, 153, 220, 152, 153,
449
+ 221, 152, 153, 222, 152, 153, 191, 152,
450
+ 223, 0, 224, 0, 225, 0, 226, 0,
451
+ 133, 0, 227, 0, 228, 0, 134, 0,
452
+ 229, 230, 0, 231, 0, 232, 0, 233,
453
+ 0, 234, 0, 235, 0, 236, 0, 237,
454
+ 0, 239, 238, 241, 240, 241, 242, 243,
455
+ 244, 245, 243, 246, 247, 248, 249, 250,
456
+ 251, 252, 242, 240, 241, 253, 240, 241,
457
+ 254, 240, 241, 255, 240, 241, 256, 240,
458
+ 241, 257, 240, 241, 258, 240, 241, 259,
459
+ 240, 241, 260, 240, 241, 261, 240, 241,
460
+ 262, 240, 241, 263, 240, 241, 264, 240,
461
+ 241, 265, 240, 241, 266, 240, 241, 267,
462
+ 240, 241, 268, 269, 270, 240, 241, 271,
463
+ 240, 241, 272, 240, 241, 273, 240, 241,
464
+ 274, 240, 241, 275, 240, 241, 276, 240,
465
+ 241, 277, 240, 241, 278, 240, 241, 279,
466
+ 240, 241, 280, 240, 241, 281, 240, 241,
467
+ 282, 240, 241, 283, 240, 241, 284, 240,
468
+ 241, 285, 240, 241, 267, 240, 241, 286,
469
+ 240, 241, 287, 240, 241, 288, 240, 241,
470
+ 289, 240, 241, 290, 240, 241, 291, 240,
471
+ 241, 292, 240, 241, 293, 240, 241, 285,
472
+ 240, 241, 294, 240, 241, 295, 240, 241,
473
+ 294, 240, 241, 296, 240, 241, 297, 240,
474
+ 241, 298, 240, 241, 299, 240, 241, 300,
475
+ 240, 241, 301, 240, 241, 302, 240, 241,
476
+ 303, 240, 241, 304, 240, 241, 305, 240,
477
+ 241, 306, 240, 241, 307, 240, 241, 308,
478
+ 240, 241, 285, 240, 241, 309, 240, 241,
479
+ 310, 240, 241, 311, 240, 241, 312, 240,
480
+ 241, 295, 240, 241, 313, 240, 241, 314,
481
+ 240, 241, 294, 240, 241, 279, 315, 240,
482
+ 241, 316, 240, 241, 294, 240, 317, 0,
483
+ 134, 0, 318, 0, 319, 0, 320, 0,
484
+ 321, 0, 322, 0, 323, 0, 324, 0,
485
+ 325, 0, 326, 0, 327, 0, 328, 0,
486
+ 330, 329, 332, 331, 332, 333, 334, 335,
487
+ 334, 333, 331, 332, 336, 331, 332, 337,
488
+ 331, 332, 338, 331, 332, 339, 331, 332,
489
+ 340, 331, 332, 341, 331, 332, 342, 331,
490
+ 332, 343, 331, 332, 344, 331, 332, 345,
491
+ 331, 332, 346, 331, 332, 347, 331, 332,
492
+ 348, 331, 332, 349, 331, 332, 350, 331,
493
+ 351, 352, 351, 0, 355, 354, 356, 357,
494
+ 354, 353, 0, 359, 360, 358, 0, 359,
495
+ 358, 355, 361, 359, 360, 361, 358, 355,
496
+ 362, 363, 364, 365, 366, 367, 368, 369,
497
+ 370, 371, 372, 373, 374, 375, 376, 362,
498
+ 0, 90, 377, 89, 90, 378, 89, 90,
499
+ 379, 89, 90, 378, 89, 90, 380, 89,
500
+ 90, 381, 89, 90, 382, 89, 90, 383,
501
+ 89, 90, 384, 89, 90, 385, 89, 90,
502
+ 386, 89, 90, 387, 89, 90, 388, 89,
503
+ 90, 389, 89, 90, 390, 89, 90, 391,
504
+ 89, 90, 392, 89, 90, 393, 89, 90,
505
+ 116, 89, 90, 394, 89, 90, 395, 89,
506
+ 90, 396, 89, 90, 397, 89, 90, 379,
507
+ 89, 90, 398, 89, 90, 399, 89, 90,
508
+ 378, 89, 90, 400, 401, 89, 90, 402,
509
+ 89, 90, 403, 89, 90, 404, 89, 90,
510
+ 405, 89, 90, 406, 89, 90, 393, 89,
511
+ 90, 407, 89, 90, 378, 89, 408, 0,
512
+ 409, 0, 410, 0, 411, 0, 412, 0,
513
+ 413, 0, 414, 0, 415, 0, 416, 0,
514
+ 417, 0, 419, 418, 421, 420, 421, 422,
515
+ 423, 424, 425, 423, 426, 427, 428, 429,
516
+ 430, 431, 432, 422, 420, 421, 433, 420,
517
+ 421, 434, 420, 421, 435, 420, 421, 436,
518
+ 420, 421, 437, 420, 421, 438, 420, 421,
519
+ 439, 420, 421, 440, 420, 421, 441, 420,
520
+ 421, 442, 420, 421, 443, 420, 421, 444,
521
+ 420, 421, 445, 420, 421, 446, 420, 421,
522
+ 447, 420, 421, 448, 449, 420, 421, 450,
523
+ 420, 421, 451, 420, 421, 452, 420, 421,
524
+ 453, 420, 421, 454, 420, 421, 455, 420,
525
+ 421, 456, 420, 421, 457, 420, 421, 458,
526
+ 420, 421, 459, 420, 421, 460, 420, 421,
527
+ 461, 420, 421, 462, 420, 421, 463, 420,
528
+ 421, 464, 420, 421, 447, 420, 421, 465,
529
+ 420, 421, 466, 420, 421, 465, 420, 421,
530
+ 467, 420, 421, 468, 420, 421, 469, 420,
531
+ 421, 470, 420, 421, 471, 420, 421, 472,
532
+ 420, 421, 473, 420, 421, 474, 420, 421,
533
+ 475, 420, 421, 476, 420, 421, 477, 420,
534
+ 421, 478, 420, 421, 479, 420, 421, 464,
535
+ 420, 421, 480, 420, 421, 481, 420, 421,
536
+ 482, 420, 421, 483, 420, 421, 466, 420,
537
+ 421, 484, 420, 421, 485, 420, 421, 465,
538
+ 420, 421, 458, 486, 420, 421, 487, 420,
539
+ 421, 465, 420, 134, 0, 488, 0
540
+ ]
541
+
542
+ class << self
543
+ attr_accessor :_lexer_trans_targs
544
+ private :_lexer_trans_targs, :_lexer_trans_targs=
545
+ end
546
+ self._lexer_trans_targs = [
547
+ 0, 2, 4, 4, 5, 15, 17, 31,
548
+ 34, 37, 73, 74, 75, 157, 162, 165,
549
+ 247, 276, 3, 6, 7, 8, 9, 8,
550
+ 8, 9, 8, 10, 10, 10, 11, 10,
551
+ 10, 10, 11, 12, 13, 14, 4, 14,
552
+ 15, 4, 16, 18, 19, 20, 21, 22,
553
+ 23, 24, 25, 26, 27, 28, 29, 30,
554
+ 392, 32, 33, 33, 4, 16, 35, 36,
555
+ 4, 35, 34, 36, 38, 318, 391, 39,
556
+ 40, 41, 42, 43, 44, 45, 46, 47,
557
+ 48, 49, 50, 51, 52, 53, 54, 55,
558
+ 56, 55, 56, 56, 4, 57, 71, 282,
559
+ 284, 285, 286, 301, 306, 309, 58, 59,
560
+ 60, 61, 62, 63, 64, 65, 66, 67,
561
+ 68, 69, 70, 4, 72, 4, 4, 5,
562
+ 15, 17, 31, 34, 37, 73, 74, 75,
563
+ 157, 162, 165, 247, 276, 74, 31, 76,
564
+ 77, 78, 79, 80, 81, 82, 83, 84,
565
+ 85, 86, 87, 88, 89, 90, 91, 92,
566
+ 91, 92, 92, 4, 93, 107, 133, 116,
567
+ 147, 94, 95, 96, 97, 98, 99, 100,
568
+ 101, 102, 103, 104, 105, 106, 4, 108,
569
+ 124, 109, 110, 111, 112, 113, 114, 115,
570
+ 116, 117, 118, 119, 120, 121, 122, 123,
571
+ 72, 125, 126, 127, 128, 129, 130, 131,
572
+ 132, 134, 135, 136, 137, 138, 139, 140,
573
+ 141, 142, 143, 144, 145, 146, 148, 149,
574
+ 150, 151, 152, 153, 154, 155, 156, 158,
575
+ 159, 160, 161, 163, 164, 166, 245, 167,
576
+ 168, 169, 170, 171, 172, 173, 174, 175,
577
+ 174, 175, 175, 4, 176, 190, 191, 218,
578
+ 219, 220, 234, 239, 242, 177, 178, 179,
579
+ 180, 181, 182, 183, 184, 185, 186, 187,
580
+ 188, 189, 4, 72, 192, 208, 217, 193,
581
+ 194, 195, 196, 197, 198, 199, 200, 201,
582
+ 202, 203, 204, 205, 206, 207, 209, 210,
583
+ 211, 212, 213, 214, 215, 216, 190, 219,
584
+ 221, 222, 223, 224, 225, 226, 227, 228,
585
+ 229, 230, 231, 232, 233, 235, 236, 237,
586
+ 238, 240, 241, 243, 244, 246, 248, 249,
587
+ 250, 251, 252, 253, 254, 255, 256, 257,
588
+ 258, 259, 260, 259, 260, 260, 4, 261,
589
+ 262, 263, 264, 265, 266, 267, 268, 269,
590
+ 270, 271, 272, 273, 274, 275, 72, 276,
591
+ 277, 278, 280, 281, 279, 277, 278, 279,
592
+ 277, 280, 281, 5, 15, 17, 31, 34,
593
+ 37, 73, 74, 75, 157, 162, 165, 247,
594
+ 276, 283, 71, 285, 287, 288, 289, 290,
595
+ 291, 292, 293, 294, 295, 296, 297, 298,
596
+ 299, 300, 302, 303, 304, 305, 307, 308,
597
+ 310, 316, 311, 312, 313, 314, 315, 317,
598
+ 319, 320, 321, 322, 323, 324, 325, 326,
599
+ 327, 328, 329, 330, 329, 330, 330, 4,
600
+ 331, 345, 346, 364, 365, 366, 380, 385,
601
+ 388, 332, 333, 334, 335, 336, 337, 338,
602
+ 339, 340, 341, 342, 343, 344, 4, 72,
603
+ 347, 363, 348, 349, 350, 351, 352, 353,
604
+ 354, 355, 356, 357, 358, 359, 360, 361,
605
+ 362, 345, 365, 367, 368, 369, 370, 371,
606
+ 372, 373, 374, 375, 376, 377, 378, 379,
607
+ 381, 382, 383, 384, 386, 387, 389, 390,
608
+ 0
609
+ ]
610
+
611
+ class << self
612
+ attr_accessor :_lexer_trans_actions
613
+ private :_lexer_trans_actions, :_lexer_trans_actions=
614
+ end
615
+ self._lexer_trans_actions = [
616
+ 43, 0, 0, 54, 3, 1, 0, 29,
617
+ 1, 29, 29, 29, 29, 29, 29, 29,
618
+ 29, 35, 0, 0, 0, 7, 135, 48,
619
+ 0, 102, 9, 5, 45, 130, 45, 0,
620
+ 33, 122, 33, 33, 0, 11, 106, 0,
621
+ 0, 114, 25, 0, 0, 0, 0, 0,
622
+ 0, 0, 0, 0, 0, 0, 0, 0,
623
+ 0, 0, 57, 0, 110, 23, 0, 27,
624
+ 118, 27, 51, 0, 0, 0, 0, 0,
625
+ 0, 0, 0, 0, 0, 0, 0, 0,
626
+ 0, 0, 0, 0, 0, 0, 0, 57,
627
+ 140, 0, 54, 0, 78, 33, 84, 84,
628
+ 84, 84, 84, 84, 84, 84, 0, 0,
629
+ 0, 0, 0, 0, 0, 0, 0, 0,
630
+ 0, 0, 0, 19, 19, 31, 126, 60,
631
+ 57, 31, 63, 57, 63, 63, 63, 63,
632
+ 63, 63, 63, 63, 66, 0, 0, 0,
633
+ 0, 0, 0, 0, 0, 0, 0, 0,
634
+ 0, 0, 0, 0, 0, 0, 57, 140,
635
+ 0, 54, 0, 69, 33, 84, 84, 84,
636
+ 84, 0, 0, 0, 0, 0, 0, 0,
637
+ 0, 0, 0, 0, 0, 0, 13, 0,
638
+ 0, 0, 0, 0, 0, 0, 0, 0,
639
+ 0, 0, 0, 0, 0, 0, 0, 0,
640
+ 13, 0, 0, 0, 0, 0, 0, 0,
641
+ 0, 0, 0, 0, 0, 0, 0, 0,
642
+ 0, 0, 0, 0, 0, 0, 0, 0,
643
+ 0, 0, 0, 0, 0, 0, 0, 0,
644
+ 0, 0, 0, 0, 0, 0, 0, 0,
645
+ 0, 0, 0, 0, 0, 0, 57, 140,
646
+ 0, 54, 0, 75, 33, 84, 84, 84,
647
+ 84, 84, 84, 84, 84, 0, 0, 0,
648
+ 0, 0, 0, 0, 0, 0, 0, 0,
649
+ 0, 0, 17, 17, 0, 0, 0, 0,
650
+ 0, 0, 0, 0, 0, 0, 0, 0,
651
+ 0, 0, 0, 0, 0, 0, 0, 0,
652
+ 0, 0, 0, 0, 0, 0, 0, 0,
653
+ 0, 0, 0, 0, 0, 0, 0, 0,
654
+ 0, 0, 0, 0, 0, 0, 0, 0,
655
+ 0, 0, 0, 0, 0, 0, 0, 0,
656
+ 0, 0, 0, 0, 0, 0, 0, 0,
657
+ 0, 57, 140, 0, 54, 0, 81, 84,
658
+ 0, 0, 0, 0, 0, 0, 0, 0,
659
+ 0, 0, 0, 0, 0, 0, 21, 0,
660
+ 0, 37, 37, 54, 37, 87, 0, 0,
661
+ 39, 0, 0, 93, 90, 41, 96, 90,
662
+ 96, 96, 96, 96, 96, 96, 96, 96,
663
+ 99, 0, 0, 0, 0, 0, 0, 0,
664
+ 0, 0, 0, 0, 0, 0, 0, 0,
665
+ 0, 0, 0, 0, 0, 0, 0, 0,
666
+ 0, 0, 0, 0, 0, 0, 0, 0,
667
+ 0, 0, 0, 0, 0, 0, 0, 0,
668
+ 0, 0, 57, 140, 0, 54, 0, 72,
669
+ 33, 84, 84, 84, 84, 84, 84, 84,
670
+ 84, 0, 0, 0, 0, 0, 0, 0,
671
+ 0, 0, 0, 0, 0, 0, 15, 15,
672
+ 0, 0, 0, 0, 0, 0, 0, 0,
673
+ 0, 0, 0, 0, 0, 0, 0, 0,
674
+ 0, 0, 0, 0, 0, 0, 0, 0,
675
+ 0, 0, 0, 0, 0, 0, 0, 0,
676
+ 0, 0, 0, 0, 0, 0, 0, 0,
677
+ 0
678
+ ]
679
+
680
+ class << self
681
+ attr_accessor :_lexer_eof_actions
682
+ private :_lexer_eof_actions, :_lexer_eof_actions=
683
+ end
684
+ self._lexer_eof_actions = [
685
+ 0, 43, 43, 43, 43, 43, 43, 43,
686
+ 43, 43, 43, 43, 43, 43, 43, 43,
687
+ 43, 43, 43, 43, 43, 43, 43, 43,
688
+ 43, 43, 43, 43, 43, 43, 43, 43,
689
+ 43, 43, 43, 43, 43, 43, 43, 43,
690
+ 43, 43, 43, 43, 43, 43, 43, 43,
691
+ 43, 43, 43, 43, 43, 43, 43, 43,
692
+ 43, 43, 43, 43, 43, 43, 43, 43,
693
+ 43, 43, 43, 43, 43, 43, 43, 43,
694
+ 43, 43, 43, 43, 43, 43, 43, 43,
695
+ 43, 43, 43, 43, 43, 43, 43, 43,
696
+ 43, 43, 43, 43, 43, 43, 43, 43,
697
+ 43, 43, 43, 43, 43, 43, 43, 43,
698
+ 43, 43, 43, 43, 43, 43, 43, 43,
699
+ 43, 43, 43, 43, 43, 43, 43, 43,
700
+ 43, 43, 43, 43, 43, 43, 43, 43,
701
+ 43, 43, 43, 43, 43, 43, 43, 43,
702
+ 43, 43, 43, 43, 43, 43, 43, 43,
703
+ 43, 43, 43, 43, 43, 43, 43, 43,
704
+ 43, 43, 43, 43, 43, 43, 43, 43,
705
+ 43, 43, 43, 43, 43, 43, 43, 43,
706
+ 43, 43, 43, 43, 43, 43, 43, 43,
707
+ 43, 43, 43, 43, 43, 43, 43, 43,
708
+ 43, 43, 43, 43, 43, 43, 43, 43,
709
+ 43, 43, 43, 43, 43, 43, 43, 43,
710
+ 43, 43, 43, 43, 43, 43, 43, 43,
711
+ 43, 43, 43, 43, 43, 43, 43, 43,
712
+ 43, 43, 43, 43, 43, 43, 43, 43,
713
+ 43, 43, 43, 43, 43, 43, 43, 43,
714
+ 43, 43, 43, 43, 43, 43, 43, 43,
715
+ 43, 43, 43, 43, 43, 43, 43, 43,
716
+ 43, 43, 43, 43, 43, 43, 43, 43,
717
+ 43, 43, 43, 43, 43, 43, 43, 43,
718
+ 43, 43, 43, 43, 43, 43, 43, 43,
719
+ 43, 43, 43, 43, 43, 43, 43, 43,
720
+ 43, 43, 43, 43, 43, 43, 43, 43,
721
+ 43, 43, 43, 43, 43, 43, 43, 43,
722
+ 43, 43, 43, 43, 43, 43, 43, 43,
723
+ 43, 43, 43, 43, 43, 43, 43, 43,
724
+ 43, 43, 43, 43, 43, 43, 43, 43,
725
+ 43, 43, 43, 43, 43, 43, 43, 43,
726
+ 43, 43, 43, 43, 43, 43, 43, 43,
727
+ 43, 43, 43, 43, 43, 43, 43, 43,
728
+ 43, 43, 43, 43, 43, 43, 43, 43,
729
+ 43, 43, 43, 43, 43, 43, 43, 43,
730
+ 43, 43, 43, 43, 43, 43, 43, 43,
731
+ 43, 43, 43, 43, 43, 43, 43, 43,
732
+ 43, 43, 43, 43, 43, 43, 43, 43,
733
+ 43, 43, 43, 43, 43, 43, 43, 43,
734
+ 43
735
+ ]
736
+
737
+ class << self
738
+ attr_accessor :lexer_start
739
+ end
740
+ self.lexer_start = 1;
741
+ class << self
742
+ attr_accessor :lexer_first_final
743
+ end
744
+ self.lexer_first_final = 392;
745
+ class << self
746
+ attr_accessor :lexer_error
747
+ end
748
+ self.lexer_error = 0;
749
+
750
+ class << self
751
+ attr_accessor :lexer_en_main
752
+ end
753
+ self.lexer_en_main = 1;
754
+
755
+
756
+ # line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
757
+ end
758
+
759
+ def scan(data)
760
+ data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
761
+ eof = pe = data.length
762
+
763
+ @line_number = 1
764
+ @last_newline = 0
765
+
766
+
767
+ # line 768 "lib/gherkin/rb_lexer/nl.rb"
768
+ begin
769
+ p ||= 0
770
+ pe ||= data.length
771
+ cs = lexer_start
772
+ end
773
+
774
+ # line 138 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
775
+
776
+ # line 777 "lib/gherkin/rb_lexer/nl.rb"
777
+ begin
778
+ _klen, _trans, _keys, _acts, _nacts = nil
779
+ _goto_level = 0
780
+ _resume = 10
781
+ _eof_trans = 15
782
+ _again = 20
783
+ _test_eof = 30
784
+ _out = 40
785
+ while true
786
+ _trigger_goto = false
787
+ if _goto_level <= 0
788
+ if p == pe
789
+ _goto_level = _test_eof
790
+ next
791
+ end
792
+ if cs == 0
793
+ _goto_level = _out
794
+ next
795
+ end
796
+ end
797
+ if _goto_level <= _resume
798
+ _keys = _lexer_key_offsets[cs]
799
+ _trans = _lexer_index_offsets[cs]
800
+ _klen = _lexer_single_lengths[cs]
801
+ _break_match = false
802
+
803
+ begin
804
+ if _klen > 0
805
+ _lower = _keys
806
+ _upper = _keys + _klen - 1
807
+
808
+ loop do
809
+ break if _upper < _lower
810
+ _mid = _lower + ( (_upper - _lower) >> 1 )
811
+
812
+ if data[p] < _lexer_trans_keys[_mid]
813
+ _upper = _mid - 1
814
+ elsif data[p] > _lexer_trans_keys[_mid]
815
+ _lower = _mid + 1
816
+ else
817
+ _trans += (_mid - _keys)
818
+ _break_match = true
819
+ break
820
+ end
821
+ end # loop
822
+ break if _break_match
823
+ _keys += _klen
824
+ _trans += _klen
825
+ end
826
+ _klen = _lexer_range_lengths[cs]
827
+ if _klen > 0
828
+ _lower = _keys
829
+ _upper = _keys + (_klen << 1) - 2
830
+ loop do
831
+ break if _upper < _lower
832
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1)
833
+ if data[p] < _lexer_trans_keys[_mid]
834
+ _upper = _mid - 2
835
+ elsif data[p] > _lexer_trans_keys[_mid+1]
836
+ _lower = _mid + 2
837
+ else
838
+ _trans += ((_mid - _keys) >> 1)
839
+ _break_match = true
840
+ break
841
+ end
842
+ end # loop
843
+ break if _break_match
844
+ _trans += _klen
845
+ end
846
+ end while false
847
+ _trans = _lexer_indicies[_trans]
848
+ cs = _lexer_trans_targs[_trans]
849
+ if _lexer_trans_actions[_trans] != 0
850
+ _acts = _lexer_trans_actions[_trans]
851
+ _nacts = _lexer_actions[_acts]
852
+ _acts += 1
853
+ while _nacts > 0
854
+ _nacts -= 1
855
+ _acts += 1
856
+ case _lexer_actions[_acts - 1]
857
+ when 0 then
858
+ # line 9 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
859
+ begin
860
+
861
+ @content_start = p
862
+ @current_line = @line_number
863
+ @start_col = p - @last_newline - "#{@keyword}:".length
864
+ end
865
+ when 1 then
866
+ # line 15 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
867
+ begin
868
+
869
+ @current_line = @line_number
870
+ @start_col = p - @last_newline
871
+ end
872
+ when 2 then
873
+ # line 20 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
874
+ begin
875
+
876
+ @content_start = p
877
+ end
878
+ when 3 then
879
+ # line 24 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
880
+ begin
881
+
882
+ @docstring_content_type_start = p
883
+ end
884
+ when 4 then
885
+ # line 27 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
886
+ begin
887
+
888
+ @docstring_content_type_end = p
889
+ end
890
+ when 5 then
891
+ # line 31 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
892
+ begin
893
+
894
+ con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
895
+ con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
896
+ @listener.doc_string(con_type, con, @current_line)
897
+ end
898
+ when 6 then
899
+ # line 36 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
900
+ begin
901
+
902
+ p = store_keyword_content(:feature, data, p, eof)
903
+ end
904
+ when 7 then
905
+ # line 40 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
906
+ begin
907
+
908
+ p = store_keyword_content(:background, data, p, eof)
909
+ end
910
+ when 8 then
911
+ # line 44 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
912
+ begin
913
+
914
+ p = store_keyword_content(:scenario, data, p, eof)
915
+ end
916
+ when 9 then
917
+ # line 48 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
918
+ begin
919
+
920
+ p = store_keyword_content(:scenario_outline, data, p, eof)
921
+ end
922
+ when 10 then
923
+ # line 52 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
924
+ begin
925
+
926
+ p = store_keyword_content(:examples, data, p, eof)
927
+ end
928
+ when 11 then
929
+ # line 56 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
930
+ begin
931
+
932
+ con = utf8_pack(data[@content_start...p]).strip
933
+ @listener.step(@keyword, con, @current_line)
934
+ end
935
+ when 12 then
936
+ # line 61 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
937
+ begin
938
+
939
+ con = utf8_pack(data[@content_start...p]).strip
940
+ @listener.comment(con, @line_number)
941
+ @keyword_start = nil
942
+ end
943
+ when 13 then
944
+ # line 67 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
945
+ begin
946
+
947
+ con = utf8_pack(data[@content_start...p]).strip
948
+ @listener.tag(con, @current_line)
949
+ @keyword_start = nil
950
+ end
951
+ when 14 then
952
+ # line 73 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
953
+ begin
954
+
955
+ @line_number += 1
956
+ end
957
+ when 15 then
958
+ # line 77 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
959
+ begin
960
+
961
+ @last_newline = p + 1
962
+ end
963
+ when 16 then
964
+ # line 81 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
965
+ begin
966
+
967
+ @keyword_start ||= p
968
+ end
969
+ when 17 then
970
+ # line 85 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
971
+ begin
972
+
973
+ @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
974
+ @keyword_start = nil
975
+ end
976
+ when 18 then
977
+ # line 90 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
978
+ begin
979
+
980
+ @next_keyword_start = p
981
+ end
982
+ when 19 then
983
+ # line 94 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
984
+ begin
985
+
986
+ p = p - 1
987
+ current_row = []
988
+ @current_line = @line_number
989
+ end
990
+ when 20 then
991
+ # line 100 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
992
+ begin
993
+
994
+ @content_start = p
995
+ end
996
+ when 21 then
997
+ # line 104 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
998
+ begin
999
+
1000
+ con = utf8_pack(data[@content_start...p]).strip
1001
+ current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1002
+ end
1003
+ when 22 then
1004
+ # line 109 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
1005
+ begin
1006
+
1007
+ @listener.row(current_row, @current_line)
1008
+ end
1009
+ when 23 then
1010
+ # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
1011
+ begin
1012
+
1013
+ if cs < lexer_first_final
1014
+ content = current_line_content(data, p)
1015
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
1016
+ else
1017
+ @listener.eof
1018
+ end
1019
+ end
1020
+ # line 1021 "lib/gherkin/rb_lexer/nl.rb"
1021
+ end # action switch
1022
+ end
1023
+ end
1024
+ if _trigger_goto
1025
+ next
1026
+ end
1027
+ end
1028
+ if _goto_level <= _again
1029
+ if cs == 0
1030
+ _goto_level = _out
1031
+ next
1032
+ end
1033
+ p += 1
1034
+ if p != pe
1035
+ _goto_level = _resume
1036
+ next
1037
+ end
1038
+ end
1039
+ if _goto_level <= _test_eof
1040
+ if p == eof
1041
+ __acts = _lexer_eof_actions[cs]
1042
+ __nacts = _lexer_actions[__acts]
1043
+ __acts += 1
1044
+ while __nacts > 0
1045
+ __nacts -= 1
1046
+ __acts += 1
1047
+ case _lexer_actions[__acts - 1]
1048
+ when 23 then
1049
+ # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
1050
+ begin
1051
+
1052
+ if cs < lexer_first_final
1053
+ content = current_line_content(data, p)
1054
+ raise Gherkin::Lexer::LexingError.new("Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information." % [@line_number, content])
1055
+ else
1056
+ @listener.eof
1057
+ end
1058
+ end
1059
+ # line 1060 "lib/gherkin/rb_lexer/nl.rb"
1060
+ end # eof action switch
1061
+ end
1062
+ if _trigger_goto
1063
+ next
1064
+ end
1065
+ end
1066
+ end
1067
+ if _goto_level <= _out
1068
+ break
1069
+ end
1070
+ end
1071
+ end
1072
+
1073
+ # line 139 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/nl.rb.rl"
1074
+ end
1075
+
1076
+ def unindent(startcol, text)
1077
+ text.gsub(/^[\t ]{0,#{startcol}}/, "")
1078
+ end
1079
+
1080
+ def store_keyword_content(event, data, p, eof)
1081
+ end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
1082
+ content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
1083
+ content_lines = content.split("\n")
1084
+ name = content_lines.shift || ""
1085
+ name.strip!
1086
+ description = content_lines.join("\n")
1087
+ @listener.__send__(event, @keyword, name, description, @current_line)
1088
+ @next_keyword_start ? @next_keyword_start - 1 : p
1089
+ ensure
1090
+ @next_keyword_start = nil
1091
+ end
1092
+
1093
+ def current_line_content(data, p)
1094
+ rest = data[@last_newline..-1]
1095
+ utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
1096
+ end
1097
+
1098
+ if (RUBY_VERSION =~ /^1\.9/)
1099
+ def utf8_pack(array)
1100
+ array.pack("c*").force_encoding("UTF-8")
1101
+ end
1102
+ else
1103
+ def utf8_pack(array)
1104
+ array.pack("c*")
1105
+ end
1106
+ end
1107
+ end
1108
+ end
1109
+ end