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