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