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