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