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