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