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