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