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