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