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