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