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