gherkin 2.12.0 → 2.12.1

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