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