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