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