gherkin 2.12.0 → 2.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.ruby-version +1 -1
- data/.travis.yml +1 -3
- data/History.md +18 -0
- data/LICENSE +1 -1
- data/README.md +22 -28
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +466 -466
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +2 -2
- data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +535 -395
- data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +2 -2
- data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +2 -2
- data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +2 -2
- data/ext/gherkin_lexer_da/gherkin_lexer_da.c +2 -2
- data/ext/gherkin_lexer_de/gherkin_lexer_de.c +296 -286
- data/ext/gherkin_lexer_el/gherkin_lexer_el.c +2 -2
- data/ext/gherkin_lexer_en/gherkin_lexer_en.c +2 -2
- data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +2 -2
- data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +2 -2
- data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +2 -2
- data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +2 -2
- data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +2 -2
- data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +2 -2
- data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +2 -2
- data/ext/gherkin_lexer_es/gherkin_lexer_es.c +2 -2
- data/ext/gherkin_lexer_et/gherkin_lexer_et.c +2 -2
- data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +2 -2
- data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +2 -2
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +2 -2
- data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +2 -2
- data/ext/gherkin_lexer_he/gherkin_lexer_he.c +2 -2
- data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +784 -685
- data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +2 -2
- data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +2 -2
- data/ext/gherkin_lexer_id/gherkin_lexer_id.c +2 -2
- data/ext/gherkin_lexer_is/gherkin_lexer_is.c +2 -2
- data/ext/gherkin_lexer_it/gherkin_lexer_it.c +2 -2
- data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +2 -2
- data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +2 -2
- data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +2 -2
- data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +2 -2
- data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +2 -2
- data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +2 -2
- data/ext/gherkin_lexer_no/gherkin_lexer_no.c +2 -2
- data/ext/gherkin_lexer_pa/extconf.rb +6 -0
- data/ext/gherkin_lexer_pa/gherkin_lexer_pa.c +2160 -0
- data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +2 -2
- data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +2 -2
- data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +2 -2
- data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2 -2
- data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +2 -2
- data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2 -2
- data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +586 -589
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +2 -2
- data/ext/gherkin_lexer_th/extconf.rb +6 -0
- data/ext/gherkin_lexer_th/gherkin_lexer_th.c +2840 -0
- data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +2 -2
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +2 -2
- data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +2 -2
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +2 -2
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +586 -594
- data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +2 -2
- data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +2 -2
- data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +2 -2
- data/features/.cucumber/stepdefs.json +66 -66
- data/gherkin.gemspec +12 -11
- data/lib/gherkin/formatter/filter_formatter.rb +1 -1
- data/lib/gherkin/i18n.json +38 -10
- data/lib/gherkin/i18n.rb +1 -1
- data/lib/gherkin/lexer/ar.rb +1167 -0
- data/lib/gherkin/lexer/bg.rb +1379 -0
- data/lib/gherkin/lexer/bm.rb +1247 -0
- data/lib/gherkin/lexer/ca.rb +1307 -0
- data/lib/gherkin/lexer/cs.rb +1243 -0
- data/lib/gherkin/lexer/cy_gb.rb +1029 -0
- data/lib/gherkin/lexer/da.rb +1045 -0
- data/lib/gherkin/lexer/de.rb +1163 -0
- data/lib/gherkin/lexer/el.rb +1677 -0
- data/lib/gherkin/lexer/en.rb +1153 -0
- data/lib/gherkin/lexer/en_au.rb +1483 -0
- data/lib/gherkin/lexer/en_lol.rb +931 -0
- data/lib/gherkin/lexer/en_old.rb +1034 -0
- data/lib/gherkin/lexer/en_pirate.rb +1207 -0
- data/lib/gherkin/lexer/en_scouse.rb +1359 -0
- data/lib/gherkin/lexer/en_tx.rb +1013 -0
- data/lib/gherkin/lexer/eo.rb +992 -0
- data/lib/gherkin/lexer/es.rb +1137 -0
- data/lib/gherkin/lexer/et.rb +987 -0
- data/lib/gherkin/lexer/fa.rb +1211 -0
- data/lib/gherkin/lexer/fi.rb +966 -0
- data/lib/gherkin/lexer/fr.rb +1225 -0
- data/lib/gherkin/lexer/gl.rb +1114 -0
- data/lib/gherkin/lexer/he.rb +1115 -0
- data/lib/gherkin/lexer/hi.rb +1556 -0
- data/lib/gherkin/lexer/hr.rb +1063 -0
- data/lib/gherkin/lexer/hu.rb +1115 -0
- data/lib/gherkin/lexer/id.rb +960 -0
- data/lib/gherkin/lexer/is.rb +1117 -0
- data/lib/gherkin/lexer/it.rb +1083 -0
- data/lib/gherkin/lexer/ja.rb +1415 -0
- data/lib/gherkin/lexer/ko.rb +1099 -0
- data/lib/gherkin/lexer/lt.rb +1042 -0
- data/lib/gherkin/lexer/lu.rb +1129 -0
- data/lib/gherkin/lexer/lv.rb +1163 -0
- data/lib/gherkin/lexer/nl.rb +1112 -0
- data/lib/gherkin/lexer/no.rb +1057 -0
- data/lib/gherkin/lexer/pa.rb +1849 -0
- data/lib/gherkin/lexer/pl.rb +1454 -0
- data/lib/gherkin/lexer/pt.rb +1427 -0
- data/lib/gherkin/lexer/ro.rb +1161 -0
- data/lib/gherkin/lexer/ru.rb +1763 -0
- data/lib/gherkin/lexer/sk.rb +1449 -0
- data/lib/gherkin/lexer/sr_cyrl.rb +1800 -0
- data/lib/gherkin/lexer/sr_latn.rb +1291 -0
- data/lib/gherkin/lexer/sv.rb +1067 -0
- data/lib/gherkin/lexer/th.rb +2489 -0
- data/lib/gherkin/lexer/tl.rb +1723 -0
- data/lib/gherkin/lexer/tr.rb +1089 -0
- data/lib/gherkin/lexer/tt.rb +1640 -0
- data/lib/gherkin/lexer/uk.rb +1643 -0
- data/lib/gherkin/lexer/uz.rb +1373 -0
- data/lib/gherkin/lexer/vi.rb +1195 -0
- data/lib/gherkin/lexer/zh_cn.rb +1055 -0
- data/lib/gherkin/lexer/zh_tw.rb +1049 -0
- data/lib/gherkin/platform.rb +2 -2
- data/spec/gherkin/formatter/json_formatter_spec.rb +4 -0
- data/spec/gherkin/formatter/pretty_formatter_spec.rb +25 -18
- data/spec/gherkin/i18n_spec.rb +2 -0
- data/tasks/gems.rake +19 -4
- data/tasks/ikvm.rake +10 -8
- data/tasks/ragel_task.rb +3 -2
- data/tasks/rspec.rake +2 -6
- metadata +295 -169
@@ -0,0 +1,1379 @@
|
|
1
|
+
|
2
|
+
# line 1 "ragel/i18n/bg.rb.rl"
|
3
|
+
require 'gherkin/native'
|
4
|
+
|
5
|
+
module Gherkin
|
6
|
+
module Lexer
|
7
|
+
class Bg #:nodoc:
|
8
|
+
native_impl('gherkin')
|
9
|
+
|
10
|
+
|
11
|
+
# line 125 "ragel/i18n/bg.rb.rl"
|
12
|
+
|
13
|
+
|
14
|
+
def initialize(listener)
|
15
|
+
@listener = listener
|
16
|
+
|
17
|
+
# line 18 "lib/gherkin/lexer/bg.rb"
|
18
|
+
class << self
|
19
|
+
attr_accessor :_lexer_actions
|
20
|
+
private :_lexer_actions, :_lexer_actions=
|
21
|
+
end
|
22
|
+
self._lexer_actions = [
|
23
|
+
0, 1, 0, 1, 1, 1, 2, 1,
|
24
|
+
3, 1, 4, 1, 5, 1, 6, 1,
|
25
|
+
7, 1, 8, 1, 9, 1, 10, 1,
|
26
|
+
11, 1, 12, 1, 13, 1, 16, 1,
|
27
|
+
17, 1, 18, 1, 19, 1, 20, 1,
|
28
|
+
21, 1, 22, 1, 23, 2, 2, 18,
|
29
|
+
2, 3, 4, 2, 13, 0, 2, 14,
|
30
|
+
15, 2, 17, 0, 2, 17, 1, 2,
|
31
|
+
17, 16, 2, 17, 19, 2, 18, 6,
|
32
|
+
2, 18, 7, 2, 18, 8, 2, 18,
|
33
|
+
9, 2, 18, 10, 2, 18, 16, 2,
|
34
|
+
20, 21, 2, 22, 0, 2, 22, 1,
|
35
|
+
2, 22, 16, 2, 22, 19, 3, 4,
|
36
|
+
14, 15, 3, 5, 14, 15, 3, 11,
|
37
|
+
14, 15, 3, 12, 14, 15, 3, 13,
|
38
|
+
14, 15, 3, 14, 15, 18, 3, 17,
|
39
|
+
0, 11, 3, 17, 14, 15, 4, 2,
|
40
|
+
14, 15, 18, 4, 3, 4, 14, 15,
|
41
|
+
4, 17, 0, 14, 15, 5, 17, 0,
|
42
|
+
11, 14, 15
|
43
|
+
]
|
44
|
+
|
45
|
+
class << self
|
46
|
+
attr_accessor :_lexer_key_offsets
|
47
|
+
private :_lexer_key_offsets, :_lexer_key_offsets=
|
48
|
+
end
|
49
|
+
self._lexer_key_offsets = [
|
50
|
+
0, 0, 12, 21, 22, 23, 24, 25,
|
51
|
+
26, 27, 28, 29, 30, 31, 32, 34,
|
52
|
+
36, 47, 48, 49, 51, 53, 58, 63,
|
53
|
+
68, 73, 77, 81, 83, 84, 85, 86,
|
54
|
+
87, 88, 89, 90, 91, 92, 93, 94,
|
55
|
+
95, 96, 97, 98, 103, 110, 115, 119,
|
56
|
+
125, 128, 130, 136, 147, 148, 149, 150,
|
57
|
+
151, 152, 153, 154, 155, 156, 157, 158,
|
58
|
+
160, 161, 162, 163, 164, 165, 166, 167,
|
59
|
+
168, 169, 170, 171, 172, 173, 174, 175,
|
60
|
+
176, 177, 178, 179, 188, 197, 199, 201,
|
61
|
+
203, 205, 207, 209, 211, 213, 215, 217,
|
62
|
+
219, 230, 232, 234, 236, 238, 240, 242,
|
63
|
+
244, 246, 248, 250, 252, 254, 256, 258,
|
64
|
+
260, 262, 264, 266, 268, 270, 272, 274,
|
65
|
+
276, 278, 280, 282, 284, 286, 288, 290,
|
66
|
+
292, 294, 296, 298, 300, 302, 304, 306,
|
67
|
+
308, 310, 312, 314, 316, 318, 320, 322,
|
68
|
+
324, 326, 328, 330, 332, 334, 336, 338,
|
69
|
+
340, 342, 344, 346, 348, 350, 352, 354,
|
70
|
+
356, 358, 360, 362, 364, 366, 368, 370,
|
71
|
+
372, 374, 376, 378, 380, 382, 384, 386,
|
72
|
+
388, 389, 390, 391, 392, 393, 394, 395,
|
73
|
+
396, 397, 398, 399, 406, 408, 410, 412,
|
74
|
+
414, 416, 418, 420, 422, 424, 426, 428,
|
75
|
+
430, 432, 434, 436, 438, 440, 442, 444,
|
76
|
+
446, 448, 450, 452, 454, 456, 458, 460,
|
77
|
+
462, 463, 464, 465, 466, 467, 468, 469,
|
78
|
+
470, 471, 472, 473, 474, 475, 476, 477,
|
79
|
+
478, 479, 480, 481, 482, 483, 484, 485,
|
80
|
+
486, 487, 488, 489, 490, 491, 492, 493,
|
81
|
+
494, 495, 504, 512, 514, 516, 518, 520,
|
82
|
+
522, 524, 526, 528, 530, 532, 534, 536,
|
83
|
+
538, 540, 542, 544, 546, 548, 550, 552,
|
84
|
+
554, 556, 558, 560, 562, 564, 566, 568,
|
85
|
+
570, 572, 574, 576, 578, 580, 582, 584,
|
86
|
+
586, 588, 590, 592, 594, 596, 598, 600,
|
87
|
+
602, 604, 606, 608, 610, 612, 614, 616,
|
88
|
+
618, 620, 622, 624, 626, 628, 630, 632,
|
89
|
+
634, 636, 638, 640, 642, 644, 646, 648,
|
90
|
+
650, 652, 654, 656, 658, 660, 661, 662,
|
91
|
+
663, 664, 665, 666, 667, 668, 669, 670,
|
92
|
+
671, 672, 673, 674, 675, 676, 677, 686,
|
93
|
+
696, 698, 700, 702, 704, 706, 708, 710,
|
94
|
+
712, 714, 716, 718, 720, 722, 724, 726,
|
95
|
+
728, 730, 732, 734, 736, 738, 740, 742,
|
96
|
+
744, 746, 748, 750, 752, 754, 756, 758,
|
97
|
+
760, 762, 764, 766, 768, 770, 772, 774,
|
98
|
+
776, 778, 780, 782, 784, 786, 788, 790,
|
99
|
+
792, 794, 796, 798, 800, 802, 804, 806,
|
100
|
+
808, 810, 812, 814, 816, 818, 820, 822,
|
101
|
+
824, 826, 828, 830, 832, 834, 836, 838,
|
102
|
+
840, 842, 844, 846, 848, 850, 852, 854,
|
103
|
+
856, 858, 860, 862, 864, 866, 868, 870,
|
104
|
+
872, 874, 876, 878, 880, 882, 884, 886,
|
105
|
+
888, 890, 892, 894, 896, 898, 900, 902,
|
106
|
+
904, 906, 908, 910, 912, 914, 916, 917,
|
107
|
+
918, 919, 920, 921, 922, 923, 924, 925,
|
108
|
+
926, 927, 928, 929, 930, 931, 932, 933,
|
109
|
+
934, 935, 936, 937, 938, 939, 940, 941,
|
110
|
+
942, 943, 944, 945, 953, 958, 960, 962,
|
111
|
+
964, 967, 969, 971, 973, 975, 977, 979,
|
112
|
+
981, 983, 985, 987, 989, 991, 993, 995,
|
113
|
+
997, 999, 1001, 1003, 1005, 1007, 1009, 1011,
|
114
|
+
1013, 1015, 1017, 1019, 1021, 1023, 1025, 1027,
|
115
|
+
1029, 1031, 1033, 1035, 1037, 1039, 1041, 1043,
|
116
|
+
1045, 1047, 1049, 1051, 1053, 1055, 1057, 1059,
|
117
|
+
1061, 1063, 1065, 1067, 1069, 1071, 1073, 1075,
|
118
|
+
1077, 1079, 1081, 1083, 1085, 1087, 1089, 1091,
|
119
|
+
1093, 1095, 1097, 1099, 1101, 1103, 1105, 1107,
|
120
|
+
1109, 1111, 1113, 1115, 1117, 1119, 1121, 1123,
|
121
|
+
1125, 1127, 1129, 1131, 1133, 1135, 1137, 1139,
|
122
|
+
1141, 1143, 1145, 1147, 1149, 1151, 1153, 1155,
|
123
|
+
1157, 1158, 1159
|
124
|
+
]
|
125
|
+
|
126
|
+
class << self
|
127
|
+
attr_accessor :_lexer_trans_keys
|
128
|
+
private :_lexer_trans_keys, :_lexer_trans_keys=
|
129
|
+
end
|
130
|
+
self._lexer_trans_keys = [
|
131
|
+
-48, -17, 10, 32, 34, 35, 37, 42,
|
132
|
+
64, 124, 9, 13, -108, -104, -102, -99,
|
133
|
+
-97, -96, -95, -94, -92, -48, -80, -48,
|
134
|
+
-76, -48, -75, -48, -67, -48, -66, 32,
|
135
|
+
10, 13, 10, 13, -48, 10, 32, 34,
|
136
|
+
35, 37, 42, 64, 124, 9, 13, 34,
|
137
|
+
34, 10, 13, 10, 13, 10, 32, 34,
|
138
|
+
9, 13, 10, 32, 34, 9, 13, 10,
|
139
|
+
32, 34, 9, 13, 10, 32, 34, 9,
|
140
|
+
13, 10, 32, 9, 13, 10, 32, 9,
|
141
|
+
13, 10, 13, 10, 95, 70, 69, 65,
|
142
|
+
84, 85, 82, 69, 95, 69, 78, 68,
|
143
|
+
95, 37, 13, 32, 64, 9, 10, 9,
|
144
|
+
10, 13, 32, 64, 11, 12, 10, 32,
|
145
|
+
64, 9, 13, 32, 124, 9, 13, 10,
|
146
|
+
32, 92, 124, 9, 13, 10, 92, 124,
|
147
|
+
10, 92, 10, 32, 92, 124, 9, 13,
|
148
|
+
-48, 10, 32, 34, 35, 37, 42, 64,
|
149
|
+
124, 9, 13, -48, -66, -48, -77, -48,
|
150
|
+
-80, -47, -126, -47, -128, -48, -75, -72,
|
151
|
+
-48, -76, -48, -72, -47, -127, -47, -126,
|
152
|
+
-48, -66, -47, -128, -48, -72, -47, -113,
|
153
|
+
58, 10, 10, -48, 10, 32, 35, 37,
|
154
|
+
42, 64, 9, 13, -108, -104, -102, -99,
|
155
|
+
-96, -95, -94, -92, 10, -48, 10, -80,
|
156
|
+
10, -48, 10, -76, 10, -48, 10, -75,
|
157
|
+
10, -48, 10, -67, 10, -48, 10, -66,
|
158
|
+
10, 10, 32, -48, 10, 32, 34, 35,
|
159
|
+
37, 42, 64, 124, 9, 13, -48, 10,
|
160
|
+
-66, 10, -48, 10, -77, 10, -48, 10,
|
161
|
+
-80, 10, -47, 10, -126, 10, -48, 10,
|
162
|
+
-80, 10, -48, 10, -68, 10, -48, 10,
|
163
|
+
-70, 10, -48, 10, -80, 10, 10, 32,
|
164
|
+
-48, 10, -67, 10, -48, 10, -80, 10,
|
165
|
+
10, 32, -47, 10, -127, 10, -47, 10,
|
166
|
+
-122, 10, -48, 10, -75, 10, -48, 10,
|
167
|
+
-67, 10, -48, 10, -80, 10, -47, 10,
|
168
|
+
-128, 10, -48, 10, -72, 10, -48, 10,
|
169
|
+
-71, 10, 10, 58, -47, 10, -125, 10,
|
170
|
+
-48, 10, -67, 10, -48, 10, -70, 10,
|
171
|
+
-47, 10, -122, 10, -48, 10, -72, 10,
|
172
|
+
-48, 10, -66, 10, -48, 10, -67, 10,
|
173
|
+
-48, 10, -80, 10, -48, 10, -69, 10,
|
174
|
+
-48, 10, -67, 10, -48, 10, -66, 10,
|
175
|
+
-47, 10, -127, 10, -47, 10, -126, 10,
|
176
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
177
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
178
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
179
|
+
10, 95, 10, 37, -48, -68, -48, -75,
|
180
|
+
-47, -128, -48, -72, 58, 10, 10, -48,
|
181
|
+
10, 32, 35, 124, 9, 13, -92, 10,
|
182
|
+
-47, 10, -125, 10, -48, 10, -67, 10,
|
183
|
+
-48, 10, -70, 10, -47, 10, -122, 10,
|
184
|
+
-48, 10, -72, 10, -48, 10, -66, 10,
|
185
|
+
-48, 10, -67, 10, -48, 10, -80, 10,
|
186
|
+
-48, 10, -69, 10, -48, 10, -67, 10,
|
187
|
+
-48, 10, -66, 10, -47, 10, -127, 10,
|
188
|
+
-47, 10, -126, 10, 10, 58, -48, -80,
|
189
|
+
-48, -68, -48, -70, -48, -80, 32, -48,
|
190
|
+
-67, -48, -80, 32, -47, -127, -47, -122,
|
191
|
+
-48, -75, -48, -67, -48, -80, -47, -128,
|
192
|
+
-48, -72, -48, -71, 58, 10, 10, -48,
|
193
|
+
10, 32, 35, 37, 42, 64, 9, 13,
|
194
|
+
-108, -104, -102, -99, -95, -94, -92, 10,
|
195
|
+
-48, 10, -80, 10, -48, 10, -76, 10,
|
196
|
+
-48, 10, -75, 10, -48, 10, -67, 10,
|
197
|
+
-48, 10, -66, 10, 10, 32, -48, 10,
|
198
|
+
-66, 10, -48, 10, -77, 10, -48, 10,
|
199
|
+
-80, 10, -47, 10, -126, 10, -47, 10,
|
200
|
+
-122, 10, -48, 10, -75, 10, -48, 10,
|
201
|
+
-67, 10, -48, 10, -80, 10, -47, 10,
|
202
|
+
-128, 10, -48, 10, -72, 10, -48, 10,
|
203
|
+
-71, 10, 10, 58, -47, 10, -125, 10,
|
204
|
+
-48, 10, -67, 10, -48, 10, -70, 10,
|
205
|
+
-47, 10, -122, 10, -48, 10, -72, 10,
|
206
|
+
-48, 10, -66, 10, -48, 10, -67, 10,
|
207
|
+
-48, 10, -80, 10, -48, 10, -69, 10,
|
208
|
+
-48, 10, -67, 10, -48, 10, -66, 10,
|
209
|
+
-47, 10, -127, 10, -47, 10, -126, 10,
|
210
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
211
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
212
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
213
|
+
10, 95, 10, 37, -47, -122, -48, -75,
|
214
|
+
-48, -67, -48, -80, -47, -128, -48, -72,
|
215
|
+
-48, -71, 58, 10, 10, -48, 10, 32,
|
216
|
+
35, 37, 42, 64, 9, 13, -108, -104,
|
217
|
+
-102, -99, -97, -96, -95, -94, -92, 10,
|
218
|
+
-48, 10, -80, 10, -48, 10, -76, 10,
|
219
|
+
-48, 10, -75, 10, -48, 10, -67, 10,
|
220
|
+
-48, 10, -66, 10, 10, 32, -48, 10,
|
221
|
+
-66, 10, -48, 10, -77, 10, -48, 10,
|
222
|
+
-80, 10, -47, 10, -126, 10, -47, 10,
|
223
|
+
-128, 10, -48, 10, -75, 10, -48, 10,
|
224
|
+
-76, 10, -48, 10, -72, 10, -47, 10,
|
225
|
+
-127, 10, -47, 10, -126, 10, -48, 10,
|
226
|
+
-66, 10, -47, 10, -128, 10, -48, 10,
|
227
|
+
-72, 10, -47, 10, -113, 10, 10, 58,
|
228
|
+
-48, 10, -80, 10, -48, 10, -68, 10,
|
229
|
+
-48, 10, -70, 10, -48, 10, -80, 10,
|
230
|
+
10, 32, -48, 10, -67, 10, -48, 10,
|
231
|
+
-80, 10, 10, 32, -47, 10, -127, 10,
|
232
|
+
-47, 10, -122, 10, -48, 10, -75, 10,
|
233
|
+
-48, 10, -67, 10, -48, 10, -80, 10,
|
234
|
+
-47, 10, -128, 10, -48, 10, -72, 10,
|
235
|
+
-48, 10, -71, 10, -47, 10, -125, 10,
|
236
|
+
-48, 10, -67, 10, -48, 10, -70, 10,
|
237
|
+
-47, 10, -122, 10, -48, 10, -72, 10,
|
238
|
+
-48, 10, -66, 10, -48, 10, -67, 10,
|
239
|
+
-48, 10, -80, 10, -48, 10, -69, 10,
|
240
|
+
-48, 10, -67, 10, -48, 10, -66, 10,
|
241
|
+
-47, 10, -127, 10, -47, 10, -126, 10,
|
242
|
+
10, 95, 10, 70, 10, 69, 10, 65,
|
243
|
+
10, 84, 10, 85, 10, 82, 10, 69,
|
244
|
+
10, 95, 10, 69, 10, 78, 10, 68,
|
245
|
+
10, 95, 10, 37, -47, -125, -48, -67,
|
246
|
+
-48, -70, -47, -122, -48, -72, -48, -66,
|
247
|
+
-48, -67, -48, -80, -48, -69, -48, -67,
|
248
|
+
-48, -66, -47, -127, -47, -126, 58, 10,
|
249
|
+
10, -48, 10, 32, 35, 37, 64, 9,
|
250
|
+
13, -97, -96, -95, -92, 10, -47, 10,
|
251
|
+
-128, 10, -48, 10, -75, -72, 10, -48,
|
252
|
+
10, -76, 10, -48, 10, -72, 10, -47,
|
253
|
+
10, -127, 10, -47, 10, -126, 10, -48,
|
254
|
+
10, -66, 10, -47, 10, -128, 10, -48,
|
255
|
+
10, -72, 10, -47, 10, -113, 10, 10,
|
256
|
+
58, -48, 10, -68, 10, -48, 10, -75,
|
257
|
+
10, -47, 10, -128, 10, -48, 10, -72,
|
258
|
+
10, -48, 10, -80, 10, -48, 10, -68,
|
259
|
+
10, -48, 10, -70, 10, -48, 10, -80,
|
260
|
+
10, 10, 32, -48, 10, -67, 10, -48,
|
261
|
+
10, -80, 10, 10, 32, -47, 10, -127,
|
262
|
+
10, -47, 10, -122, 10, -48, 10, -75,
|
263
|
+
10, -48, 10, -67, 10, -48, 10, -80,
|
264
|
+
10, -47, 10, -128, 10, -48, 10, -72,
|
265
|
+
10, -48, 10, -71, 10, -47, 10, -125,
|
266
|
+
10, -48, 10, -67, 10, -48, 10, -70,
|
267
|
+
10, -47, 10, -122, 10, -48, 10, -72,
|
268
|
+
10, -48, 10, -66, 10, -48, 10, -67,
|
269
|
+
10, -48, 10, -80, 10, -48, 10, -69,
|
270
|
+
10, -48, 10, -67, 10, -48, 10, -66,
|
271
|
+
10, -47, 10, -127, 10, -47, 10, -126,
|
272
|
+
10, 10, 95, 10, 70, 10, 69, 10,
|
273
|
+
65, 10, 84, 10, 85, 10, 82, 10,
|
274
|
+
69, 10, 95, 10, 69, 10, 78, 10,
|
275
|
+
68, 10, 95, 10, 37, -69, -65, 0
|
276
|
+
]
|
277
|
+
|
278
|
+
class << self
|
279
|
+
attr_accessor :_lexer_single_lengths
|
280
|
+
private :_lexer_single_lengths, :_lexer_single_lengths=
|
281
|
+
end
|
282
|
+
self._lexer_single_lengths = [
|
283
|
+
0, 10, 9, 1, 1, 1, 1, 1,
|
284
|
+
1, 1, 1, 1, 1, 1, 2, 2,
|
285
|
+
9, 1, 1, 2, 2, 3, 3, 3,
|
286
|
+
3, 2, 2, 2, 1, 1, 1, 1,
|
287
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
288
|
+
1, 1, 1, 3, 5, 3, 2, 4,
|
289
|
+
3, 2, 4, 9, 1, 1, 1, 1,
|
290
|
+
1, 1, 1, 1, 1, 1, 1, 2,
|
291
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
292
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
293
|
+
1, 1, 1, 7, 9, 2, 2, 2,
|
294
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
295
|
+
9, 2, 2, 2, 2, 2, 2, 2,
|
296
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
297
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
298
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
299
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
300
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
301
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
302
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
303
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
304
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
305
|
+
1, 1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, 2, 2, 2, 2, 2, 2,
|
338
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
339
|
+
2, 2, 2, 2, 2, 2, 1, 1,
|
340
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
341
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
342
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
343
|
+
1, 1, 1, 6, 5, 2, 2, 2,
|
344
|
+
3, 2, 2, 2, 2, 2, 2, 2,
|
345
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
346
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
347
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
348
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
349
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
350
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
351
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
352
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
353
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
354
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
355
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
356
|
+
1, 1, 0
|
357
|
+
]
|
358
|
+
|
359
|
+
class << self
|
360
|
+
attr_accessor :_lexer_range_lengths
|
361
|
+
private :_lexer_range_lengths, :_lexer_range_lengths=
|
362
|
+
end
|
363
|
+
self._lexer_range_lengths = [
|
364
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
365
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
366
|
+
1, 0, 0, 0, 0, 1, 1, 1,
|
367
|
+
1, 1, 1, 0, 0, 0, 0, 0,
|
368
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
369
|
+
0, 0, 0, 1, 1, 1, 1, 1,
|
370
|
+
0, 0, 1, 1, 0, 0, 0, 0,
|
371
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
372
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
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437
|
+
0, 0, 0
|
438
|
+
]
|
439
|
+
|
440
|
+
class << self
|
441
|
+
attr_accessor :_lexer_index_offsets
|
442
|
+
private :_lexer_index_offsets, :_lexer_index_offsets=
|
443
|
+
end
|
444
|
+
self._lexer_index_offsets = [
|
445
|
+
0, 0, 12, 22, 24, 26, 28, 30,
|
446
|
+
32, 34, 36, 38, 40, 42, 44, 47,
|
447
|
+
50, 61, 63, 65, 68, 71, 76, 81,
|
448
|
+
86, 91, 95, 99, 102, 104, 106, 108,
|
449
|
+
110, 112, 114, 116, 118, 120, 122, 124,
|
450
|
+
126, 128, 130, 132, 137, 144, 149, 153,
|
451
|
+
159, 163, 166, 172, 183, 185, 187, 189,
|
452
|
+
191, 193, 195, 197, 199, 201, 203, 205,
|
453
|
+
208, 210, 212, 214, 216, 218, 220, 222,
|
454
|
+
224, 226, 228, 230, 232, 234, 236, 238,
|
455
|
+
240, 242, 244, 246, 255, 265, 268, 271,
|
456
|
+
274, 277, 280, 283, 286, 289, 292, 295,
|
457
|
+
298, 309, 312, 315, 318, 321, 324, 327,
|
458
|
+
330, 333, 336, 339, 342, 345, 348, 351,
|
459
|
+
354, 357, 360, 363, 366, 369, 372, 375,
|
460
|
+
378, 381, 384, 387, 390, 393, 396, 399,
|
461
|
+
402, 405, 408, 411, 414, 417, 420, 423,
|
462
|
+
426, 429, 432, 435, 438, 441, 444, 447,
|
463
|
+
450, 453, 456, 459, 462, 465, 468, 471,
|
464
|
+
474, 477, 480, 483, 486, 489, 492, 495,
|
465
|
+
498, 501, 504, 507, 510, 513, 516, 519,
|
466
|
+
522, 525, 528, 531, 534, 537, 540, 543,
|
467
|
+
546, 548, 550, 552, 554, 556, 558, 560,
|
468
|
+
562, 564, 566, 568, 575, 578, 581, 584,
|
469
|
+
587, 590, 593, 596, 599, 602, 605, 608,
|
470
|
+
611, 614, 617, 620, 623, 626, 629, 632,
|
471
|
+
635, 638, 641, 644, 647, 650, 653, 656,
|
472
|
+
659, 661, 663, 665, 667, 669, 671, 673,
|
473
|
+
675, 677, 679, 681, 683, 685, 687, 689,
|
474
|
+
691, 693, 695, 697, 699, 701, 703, 705,
|
475
|
+
707, 709, 711, 713, 715, 717, 719, 721,
|
476
|
+
723, 725, 734, 743, 746, 749, 752, 755,
|
477
|
+
758, 761, 764, 767, 770, 773, 776, 779,
|
478
|
+
782, 785, 788, 791, 794, 797, 800, 803,
|
479
|
+
806, 809, 812, 815, 818, 821, 824, 827,
|
480
|
+
830, 833, 836, 839, 842, 845, 848, 851,
|
481
|
+
854, 857, 860, 863, 866, 869, 872, 875,
|
482
|
+
878, 881, 884, 887, 890, 893, 896, 899,
|
483
|
+
902, 905, 908, 911, 914, 917, 920, 923,
|
484
|
+
926, 929, 932, 935, 938, 941, 944, 947,
|
485
|
+
950, 953, 956, 959, 962, 965, 967, 969,
|
486
|
+
971, 973, 975, 977, 979, 981, 983, 985,
|
487
|
+
987, 989, 991, 993, 995, 997, 999, 1008,
|
488
|
+
1019, 1022, 1025, 1028, 1031, 1034, 1037, 1040,
|
489
|
+
1043, 1046, 1049, 1052, 1055, 1058, 1061, 1064,
|
490
|
+
1067, 1070, 1073, 1076, 1079, 1082, 1085, 1088,
|
491
|
+
1091, 1094, 1097, 1100, 1103, 1106, 1109, 1112,
|
492
|
+
1115, 1118, 1121, 1124, 1127, 1130, 1133, 1136,
|
493
|
+
1139, 1142, 1145, 1148, 1151, 1154, 1157, 1160,
|
494
|
+
1163, 1166, 1169, 1172, 1175, 1178, 1181, 1184,
|
495
|
+
1187, 1190, 1193, 1196, 1199, 1202, 1205, 1208,
|
496
|
+
1211, 1214, 1217, 1220, 1223, 1226, 1229, 1232,
|
497
|
+
1235, 1238, 1241, 1244, 1247, 1250, 1253, 1256,
|
498
|
+
1259, 1262, 1265, 1268, 1271, 1274, 1277, 1280,
|
499
|
+
1283, 1286, 1289, 1292, 1295, 1298, 1301, 1304,
|
500
|
+
1307, 1310, 1313, 1316, 1319, 1322, 1325, 1328,
|
501
|
+
1331, 1334, 1337, 1340, 1343, 1346, 1349, 1351,
|
502
|
+
1353, 1355, 1357, 1359, 1361, 1363, 1365, 1367,
|
503
|
+
1369, 1371, 1373, 1375, 1377, 1379, 1381, 1383,
|
504
|
+
1385, 1387, 1389, 1391, 1393, 1395, 1397, 1399,
|
505
|
+
1401, 1403, 1405, 1407, 1415, 1421, 1424, 1427,
|
506
|
+
1430, 1434, 1437, 1440, 1443, 1446, 1449, 1452,
|
507
|
+
1455, 1458, 1461, 1464, 1467, 1470, 1473, 1476,
|
508
|
+
1479, 1482, 1485, 1488, 1491, 1494, 1497, 1500,
|
509
|
+
1503, 1506, 1509, 1512, 1515, 1518, 1521, 1524,
|
510
|
+
1527, 1530, 1533, 1536, 1539, 1542, 1545, 1548,
|
511
|
+
1551, 1554, 1557, 1560, 1563, 1566, 1569, 1572,
|
512
|
+
1575, 1578, 1581, 1584, 1587, 1590, 1593, 1596,
|
513
|
+
1599, 1602, 1605, 1608, 1611, 1614, 1617, 1620,
|
514
|
+
1623, 1626, 1629, 1632, 1635, 1638, 1641, 1644,
|
515
|
+
1647, 1650, 1653, 1656, 1659, 1662, 1665, 1668,
|
516
|
+
1671, 1674, 1677, 1680, 1683, 1686, 1689, 1692,
|
517
|
+
1695, 1698, 1701, 1704, 1707, 1710, 1713, 1716,
|
518
|
+
1719, 1721, 1723
|
519
|
+
]
|
520
|
+
|
521
|
+
class << self
|
522
|
+
attr_accessor :_lexer_indicies
|
523
|
+
private :_lexer_indicies, :_lexer_indicies=
|
524
|
+
end
|
525
|
+
self._lexer_indicies = [
|
526
|
+
1, 2, 4, 3, 5, 6, 7, 8,
|
527
|
+
9, 10, 3, 0, 11, 12, 13, 14,
|
528
|
+
15, 16, 17, 14, 18, 0, 19, 0,
|
529
|
+
20, 0, 21, 0, 22, 0, 23, 0,
|
530
|
+
24, 0, 25, 0, 14, 0, 26, 0,
|
531
|
+
12, 0, 27, 0, 29, 30, 28, 32,
|
532
|
+
33, 31, 1, 4, 3, 5, 6, 7,
|
533
|
+
8, 9, 10, 3, 0, 34, 0, 35,
|
534
|
+
0, 37, 38, 36, 40, 41, 39, 44,
|
535
|
+
43, 45, 43, 42, 48, 47, 49, 47,
|
536
|
+
46, 48, 47, 50, 47, 46, 48, 47,
|
537
|
+
51, 47, 46, 53, 52, 52, 0, 4,
|
538
|
+
54, 54, 0, 56, 57, 55, 4, 0,
|
539
|
+
58, 0, 59, 0, 60, 0, 61, 0,
|
540
|
+
62, 0, 63, 0, 64, 0, 65, 0,
|
541
|
+
66, 0, 67, 0, 68, 0, 69, 0,
|
542
|
+
70, 0, 71, 0, 0, 0, 0, 0,
|
543
|
+
72, 73, 74, 73, 73, 76, 75, 72,
|
544
|
+
4, 77, 9, 77, 0, 78, 79, 78,
|
545
|
+
0, 82, 81, 83, 84, 81, 80, 0,
|
546
|
+
86, 87, 85, 0, 86, 85, 82, 88,
|
547
|
+
86, 87, 88, 85, 89, 82, 90, 91,
|
548
|
+
92, 93, 94, 95, 96, 90, 0, 97,
|
549
|
+
0, 98, 0, 99, 0, 100, 0, 101,
|
550
|
+
0, 102, 0, 103, 0, 14, 0, 104,
|
551
|
+
0, 105, 0, 106, 0, 107, 108, 0,
|
552
|
+
109, 0, 110, 0, 111, 0, 112, 0,
|
553
|
+
113, 0, 114, 0, 115, 0, 116, 0,
|
554
|
+
117, 0, 118, 0, 119, 0, 120, 0,
|
555
|
+
121, 0, 122, 0, 123, 0, 124, 0,
|
556
|
+
125, 0, 127, 126, 129, 128, 130, 129,
|
557
|
+
131, 132, 133, 134, 132, 131, 128, 135,
|
558
|
+
136, 137, 138, 139, 140, 138, 141, 129,
|
559
|
+
128, 142, 129, 128, 143, 129, 128, 144,
|
560
|
+
129, 128, 145, 129, 128, 146, 129, 128,
|
561
|
+
147, 129, 128, 148, 129, 128, 138, 129,
|
562
|
+
128, 149, 129, 128, 136, 129, 128, 129,
|
563
|
+
150, 128, 151, 153, 152, 154, 155, 156,
|
564
|
+
157, 158, 159, 152, 0, 160, 129, 128,
|
565
|
+
161, 129, 128, 162, 129, 128, 163, 129,
|
566
|
+
128, 164, 129, 128, 165, 129, 128, 166,
|
567
|
+
129, 128, 138, 129, 128, 167, 129, 128,
|
568
|
+
168, 129, 128, 169, 129, 128, 170, 129,
|
569
|
+
128, 171, 129, 128, 172, 129, 128, 173,
|
570
|
+
129, 128, 174, 129, 128, 129, 175, 128,
|
571
|
+
176, 129, 128, 177, 129, 128, 178, 129,
|
572
|
+
128, 179, 129, 128, 129, 180, 128, 181,
|
573
|
+
129, 128, 140, 129, 128, 182, 129, 128,
|
574
|
+
183, 129, 128, 184, 129, 128, 185, 129,
|
575
|
+
128, 186, 129, 128, 187, 129, 128, 188,
|
576
|
+
129, 128, 189, 129, 128, 190, 129, 128,
|
577
|
+
191, 129, 128, 192, 129, 128, 193, 129,
|
578
|
+
128, 194, 129, 128, 195, 129, 128, 129,
|
579
|
+
150, 128, 196, 129, 128, 197, 129, 128,
|
580
|
+
198, 129, 128, 199, 129, 128, 200, 129,
|
581
|
+
128, 201, 129, 128, 202, 129, 128, 203,
|
582
|
+
129, 128, 204, 129, 128, 205, 129, 128,
|
583
|
+
206, 129, 128, 207, 129, 128, 208, 129,
|
584
|
+
128, 209, 129, 128, 210, 129, 128, 211,
|
585
|
+
129, 128, 212, 129, 128, 213, 129, 128,
|
586
|
+
214, 129, 128, 215, 129, 128, 216, 129,
|
587
|
+
128, 217, 129, 128, 218, 129, 128, 219,
|
588
|
+
129, 128, 220, 129, 128, 195, 129, 128,
|
589
|
+
129, 221, 128, 129, 222, 128, 129, 223,
|
590
|
+
128, 129, 224, 128, 129, 225, 128, 129,
|
591
|
+
226, 128, 129, 227, 128, 129, 228, 128,
|
592
|
+
129, 229, 128, 129, 230, 128, 129, 231,
|
593
|
+
128, 129, 232, 128, 129, 233, 128, 129,
|
594
|
+
234, 128, 235, 0, 236, 0, 237, 0,
|
595
|
+
238, 0, 239, 0, 240, 0, 241, 0,
|
596
|
+
242, 0, 243, 0, 245, 244, 247, 246,
|
597
|
+
248, 247, 249, 250, 250, 249, 246, 251,
|
598
|
+
247, 246, 252, 247, 246, 253, 247, 246,
|
599
|
+
254, 247, 246, 255, 247, 246, 256, 247,
|
600
|
+
246, 257, 247, 246, 258, 247, 246, 259,
|
601
|
+
247, 246, 260, 247, 246, 261, 247, 246,
|
602
|
+
262, 247, 246, 263, 247, 246, 264, 247,
|
603
|
+
246, 265, 247, 246, 266, 247, 246, 267,
|
604
|
+
247, 246, 268, 247, 246, 269, 247, 246,
|
605
|
+
270, 247, 246, 271, 247, 246, 272, 247,
|
606
|
+
246, 273, 247, 246, 274, 247, 246, 275,
|
607
|
+
247, 246, 276, 247, 246, 277, 247, 246,
|
608
|
+
247, 278, 246, 279, 0, 280, 0, 281,
|
609
|
+
0, 282, 0, 283, 0, 284, 0, 285,
|
610
|
+
0, 286, 0, 287, 0, 288, 0, 289,
|
611
|
+
0, 290, 0, 291, 0, 292, 0, 293,
|
612
|
+
0, 294, 0, 295, 0, 296, 0, 297,
|
613
|
+
0, 298, 0, 299, 0, 300, 0, 301,
|
614
|
+
0, 302, 0, 303, 0, 304, 0, 305,
|
615
|
+
0, 306, 0, 307, 0, 308, 0, 309,
|
616
|
+
0, 311, 310, 313, 312, 314, 313, 315,
|
617
|
+
316, 317, 318, 316, 315, 312, 319, 320,
|
618
|
+
321, 322, 323, 322, 324, 313, 312, 325,
|
619
|
+
313, 312, 326, 313, 312, 327, 313, 312,
|
620
|
+
328, 313, 312, 329, 313, 312, 330, 313,
|
621
|
+
312, 331, 313, 312, 322, 313, 312, 332,
|
622
|
+
313, 312, 320, 313, 312, 313, 333, 312,
|
623
|
+
334, 313, 312, 335, 313, 312, 336, 313,
|
624
|
+
312, 337, 313, 312, 338, 313, 312, 339,
|
625
|
+
313, 312, 340, 313, 312, 322, 313, 312,
|
626
|
+
341, 313, 312, 342, 313, 312, 343, 313,
|
627
|
+
312, 344, 313, 312, 345, 313, 312, 346,
|
628
|
+
313, 312, 347, 313, 312, 348, 313, 312,
|
629
|
+
349, 313, 312, 350, 313, 312, 351, 313,
|
630
|
+
312, 352, 313, 312, 353, 313, 312, 354,
|
631
|
+
313, 312, 313, 333, 312, 355, 313, 312,
|
632
|
+
356, 313, 312, 357, 313, 312, 358, 313,
|
633
|
+
312, 359, 313, 312, 360, 313, 312, 361,
|
634
|
+
313, 312, 362, 313, 312, 363, 313, 312,
|
635
|
+
364, 313, 312, 365, 313, 312, 366, 313,
|
636
|
+
312, 367, 313, 312, 368, 313, 312, 369,
|
637
|
+
313, 312, 370, 313, 312, 371, 313, 312,
|
638
|
+
372, 313, 312, 373, 313, 312, 374, 313,
|
639
|
+
312, 375, 313, 312, 376, 313, 312, 377,
|
640
|
+
313, 312, 378, 313, 312, 379, 313, 312,
|
641
|
+
354, 313, 312, 313, 380, 312, 313, 381,
|
642
|
+
312, 313, 382, 312, 313, 383, 312, 313,
|
643
|
+
384, 312, 313, 385, 312, 313, 386, 312,
|
644
|
+
313, 387, 312, 313, 388, 312, 313, 389,
|
645
|
+
312, 313, 390, 312, 313, 391, 312, 313,
|
646
|
+
392, 312, 313, 393, 312, 394, 0, 395,
|
647
|
+
0, 396, 0, 397, 0, 398, 0, 399,
|
648
|
+
0, 400, 0, 401, 0, 402, 0, 403,
|
649
|
+
0, 404, 0, 405, 0, 406, 0, 407,
|
650
|
+
0, 408, 0, 410, 409, 412, 411, 413,
|
651
|
+
412, 414, 415, 416, 417, 415, 414, 411,
|
652
|
+
418, 419, 420, 421, 422, 423, 424, 421,
|
653
|
+
425, 412, 411, 426, 412, 411, 427, 412,
|
654
|
+
411, 428, 412, 411, 429, 412, 411, 430,
|
655
|
+
412, 411, 431, 412, 411, 432, 412, 411,
|
656
|
+
421, 412, 411, 433, 412, 411, 419, 412,
|
657
|
+
411, 412, 434, 411, 435, 412, 411, 436,
|
658
|
+
412, 411, 437, 412, 411, 438, 412, 411,
|
659
|
+
439, 412, 411, 440, 412, 411, 441, 412,
|
660
|
+
411, 421, 412, 411, 442, 412, 411, 443,
|
661
|
+
412, 411, 444, 412, 411, 445, 412, 411,
|
662
|
+
446, 412, 411, 447, 412, 411, 448, 412,
|
663
|
+
411, 449, 412, 411, 450, 412, 411, 451,
|
664
|
+
412, 411, 452, 412, 411, 453, 412, 411,
|
665
|
+
454, 412, 411, 455, 412, 411, 456, 412,
|
666
|
+
411, 457, 412, 411, 458, 412, 411, 459,
|
667
|
+
412, 411, 460, 412, 411, 461, 412, 411,
|
668
|
+
412, 434, 411, 462, 412, 411, 463, 412,
|
669
|
+
411, 464, 412, 411, 465, 412, 411, 466,
|
670
|
+
412, 411, 467, 412, 411, 468, 412, 411,
|
671
|
+
469, 412, 411, 412, 470, 411, 471, 412,
|
672
|
+
411, 472, 412, 411, 473, 412, 411, 474,
|
673
|
+
412, 411, 412, 475, 411, 476, 412, 411,
|
674
|
+
424, 412, 411, 477, 412, 411, 478, 412,
|
675
|
+
411, 479, 412, 411, 480, 412, 411, 481,
|
676
|
+
412, 411, 482, 412, 411, 483, 412, 411,
|
677
|
+
484, 412, 411, 485, 412, 411, 486, 412,
|
678
|
+
411, 487, 412, 411, 488, 412, 411, 489,
|
679
|
+
412, 411, 461, 412, 411, 490, 412, 411,
|
680
|
+
491, 412, 411, 492, 412, 411, 493, 412,
|
681
|
+
411, 494, 412, 411, 495, 412, 411, 496,
|
682
|
+
412, 411, 497, 412, 411, 498, 412, 411,
|
683
|
+
499, 412, 411, 500, 412, 411, 501, 412,
|
684
|
+
411, 502, 412, 411, 503, 412, 411, 504,
|
685
|
+
412, 411, 505, 412, 411, 506, 412, 411,
|
686
|
+
507, 412, 411, 508, 412, 411, 509, 412,
|
687
|
+
411, 510, 412, 411, 511, 412, 411, 512,
|
688
|
+
412, 411, 513, 412, 411, 514, 412, 411,
|
689
|
+
461, 412, 411, 412, 515, 411, 412, 516,
|
690
|
+
411, 412, 517, 411, 412, 518, 411, 412,
|
691
|
+
519, 411, 412, 520, 411, 412, 521, 411,
|
692
|
+
412, 522, 411, 412, 523, 411, 412, 524,
|
693
|
+
411, 412, 525, 411, 412, 526, 411, 412,
|
694
|
+
527, 411, 412, 528, 411, 529, 0, 530,
|
695
|
+
0, 531, 0, 532, 0, 533, 0, 534,
|
696
|
+
0, 535, 0, 536, 0, 537, 0, 538,
|
697
|
+
0, 539, 0, 540, 0, 541, 0, 542,
|
698
|
+
0, 543, 0, 544, 0, 545, 0, 546,
|
699
|
+
0, 547, 0, 548, 0, 549, 0, 550,
|
700
|
+
0, 551, 0, 552, 0, 553, 0, 554,
|
701
|
+
0, 555, 0, 557, 556, 559, 558, 560,
|
702
|
+
559, 561, 562, 563, 562, 561, 558, 564,
|
703
|
+
565, 566, 567, 559, 558, 568, 559, 558,
|
704
|
+
569, 559, 558, 570, 559, 558, 571, 572,
|
705
|
+
559, 558, 573, 559, 558, 574, 559, 558,
|
706
|
+
575, 559, 558, 576, 559, 558, 577, 559,
|
707
|
+
558, 578, 559, 558, 579, 559, 558, 580,
|
708
|
+
559, 558, 581, 559, 558, 582, 559, 558,
|
709
|
+
583, 559, 558, 584, 559, 558, 585, 559,
|
710
|
+
558, 586, 559, 558, 587, 559, 558, 588,
|
711
|
+
559, 558, 559, 589, 558, 590, 559, 558,
|
712
|
+
591, 559, 558, 592, 559, 558, 593, 559,
|
713
|
+
558, 594, 559, 558, 595, 559, 558, 596,
|
714
|
+
559, 558, 588, 559, 558, 597, 559, 558,
|
715
|
+
598, 559, 558, 599, 559, 558, 600, 559,
|
716
|
+
558, 601, 559, 558, 602, 559, 558, 603,
|
717
|
+
559, 558, 604, 559, 558, 559, 605, 558,
|
718
|
+
606, 559, 558, 607, 559, 558, 608, 559,
|
719
|
+
558, 609, 559, 558, 559, 610, 558, 611,
|
720
|
+
559, 558, 566, 559, 558, 612, 559, 558,
|
721
|
+
613, 559, 558, 614, 559, 558, 615, 559,
|
722
|
+
558, 616, 559, 558, 617, 559, 558, 618,
|
723
|
+
559, 558, 619, 559, 558, 620, 559, 558,
|
724
|
+
621, 559, 558, 622, 559, 558, 623, 559,
|
725
|
+
558, 624, 559, 558, 588, 559, 558, 625,
|
726
|
+
559, 558, 626, 559, 558, 627, 559, 558,
|
727
|
+
628, 559, 558, 629, 559, 558, 630, 559,
|
728
|
+
558, 631, 559, 558, 632, 559, 558, 633,
|
729
|
+
559, 558, 634, 559, 558, 635, 559, 558,
|
730
|
+
636, 559, 558, 637, 559, 558, 638, 559,
|
731
|
+
558, 639, 559, 558, 640, 559, 558, 641,
|
732
|
+
559, 558, 642, 559, 558, 643, 559, 558,
|
733
|
+
644, 559, 558, 645, 559, 558, 646, 559,
|
734
|
+
558, 647, 559, 558, 648, 559, 558, 649,
|
735
|
+
559, 558, 588, 559, 558, 559, 650, 558,
|
736
|
+
559, 651, 558, 559, 652, 558, 559, 653,
|
737
|
+
558, 559, 654, 558, 559, 655, 558, 559,
|
738
|
+
656, 558, 559, 657, 558, 559, 658, 558,
|
739
|
+
559, 659, 558, 559, 660, 558, 559, 661,
|
740
|
+
558, 559, 662, 558, 559, 663, 558, 664,
|
741
|
+
0, 3, 0, 665, 0
|
742
|
+
]
|
743
|
+
|
744
|
+
class << self
|
745
|
+
attr_accessor :_lexer_trans_targs
|
746
|
+
private :_lexer_trans_targs, :_lexer_trans_targs=
|
747
|
+
end
|
748
|
+
self._lexer_trans_targs = [
|
749
|
+
0, 2, 584, 16, 16, 17, 27, 29,
|
750
|
+
13, 43, 46, 3, 13, 52, 11, 60,
|
751
|
+
216, 325, 454, 4, 5, 6, 7, 8,
|
752
|
+
9, 10, 12, 14, 15, 16, 28, 15,
|
753
|
+
16, 28, 18, 19, 20, 21, 20, 20,
|
754
|
+
21, 20, 22, 22, 22, 23, 22, 22,
|
755
|
+
22, 23, 24, 25, 26, 16, 26, 27,
|
756
|
+
16, 28, 30, 31, 32, 33, 34, 35,
|
757
|
+
36, 37, 38, 39, 40, 41, 42, 586,
|
758
|
+
44, 45, 16, 44, 43, 45, 46, 47,
|
759
|
+
48, 50, 51, 49, 47, 48, 49, 47,
|
760
|
+
50, 2, 51, 17, 27, 29, 13, 43,
|
761
|
+
46, 53, 54, 55, 56, 57, 58, 59,
|
762
|
+
61, 62, 63, 64, 176, 65, 66, 67,
|
763
|
+
68, 69, 70, 71, 72, 73, 74, 75,
|
764
|
+
76, 77, 78, 79, 80, 81, 82, 83,
|
765
|
+
82, 83, 84, 83, 16, 162, 95, 85,
|
766
|
+
95, 97, 93, 105, 121, 136, 86, 87,
|
767
|
+
88, 89, 90, 91, 92, 94, 96, 2,
|
768
|
+
16, 16, 17, 27, 29, 13, 43, 46,
|
769
|
+
98, 99, 100, 101, 102, 103, 104, 106,
|
770
|
+
107, 108, 109, 110, 111, 112, 113, 114,
|
771
|
+
115, 116, 117, 118, 119, 120, 122, 123,
|
772
|
+
124, 125, 126, 127, 128, 129, 130, 131,
|
773
|
+
132, 133, 134, 135, 137, 138, 139, 140,
|
774
|
+
141, 142, 143, 144, 145, 146, 147, 148,
|
775
|
+
149, 150, 151, 152, 153, 154, 155, 156,
|
776
|
+
157, 158, 159, 160, 161, 163, 164, 165,
|
777
|
+
166, 167, 168, 169, 170, 171, 172, 173,
|
778
|
+
174, 175, 16, 177, 178, 179, 180, 181,
|
779
|
+
182, 183, 184, 185, 186, 187, 186, 187,
|
780
|
+
188, 187, 16, 189, 190, 191, 192, 193,
|
781
|
+
194, 195, 196, 197, 198, 199, 200, 201,
|
782
|
+
202, 203, 204, 205, 206, 207, 208, 209,
|
783
|
+
210, 211, 212, 213, 214, 215, 96, 217,
|
784
|
+
218, 219, 220, 221, 222, 223, 224, 225,
|
785
|
+
226, 227, 228, 229, 230, 231, 232, 233,
|
786
|
+
234, 235, 236, 237, 238, 239, 240, 241,
|
787
|
+
242, 243, 244, 245, 246, 247, 248, 249,
|
788
|
+
248, 249, 250, 249, 16, 311, 261, 251,
|
789
|
+
261, 262, 259, 270, 285, 252, 253, 254,
|
790
|
+
255, 256, 257, 258, 260, 96, 263, 264,
|
791
|
+
265, 266, 267, 268, 269, 271, 272, 273,
|
792
|
+
274, 275, 276, 277, 278, 279, 280, 281,
|
793
|
+
282, 283, 284, 286, 287, 288, 289, 290,
|
794
|
+
291, 292, 293, 294, 295, 296, 297, 298,
|
795
|
+
299, 300, 301, 302, 303, 304, 305, 306,
|
796
|
+
307, 308, 309, 310, 312, 313, 314, 315,
|
797
|
+
316, 317, 318, 319, 320, 321, 322, 323,
|
798
|
+
324, 16, 326, 327, 328, 329, 330, 331,
|
799
|
+
332, 333, 334, 335, 336, 337, 338, 339,
|
800
|
+
340, 341, 342, 341, 342, 343, 342, 16,
|
801
|
+
440, 354, 344, 354, 355, 352, 363, 384,
|
802
|
+
400, 414, 345, 346, 347, 348, 349, 350,
|
803
|
+
351, 353, 96, 356, 357, 358, 359, 360,
|
804
|
+
361, 362, 364, 365, 366, 367, 368, 369,
|
805
|
+
370, 371, 372, 373, 374, 375, 376, 377,
|
806
|
+
378, 379, 380, 381, 382, 383, 385, 386,
|
807
|
+
387, 388, 389, 390, 391, 392, 393, 394,
|
808
|
+
395, 396, 397, 398, 399, 401, 402, 403,
|
809
|
+
404, 405, 406, 407, 408, 409, 410, 411,
|
810
|
+
412, 413, 415, 416, 417, 418, 419, 420,
|
811
|
+
421, 422, 423, 424, 425, 426, 427, 428,
|
812
|
+
429, 430, 431, 432, 433, 434, 435, 436,
|
813
|
+
437, 438, 439, 441, 442, 443, 444, 445,
|
814
|
+
446, 447, 448, 449, 450, 451, 452, 453,
|
815
|
+
16, 455, 456, 457, 458, 459, 460, 461,
|
816
|
+
462, 463, 464, 465, 466, 467, 468, 469,
|
817
|
+
470, 471, 472, 473, 474, 475, 476, 477,
|
818
|
+
478, 479, 480, 481, 482, 483, 482, 483,
|
819
|
+
484, 483, 16, 570, 485, 514, 530, 544,
|
820
|
+
486, 487, 488, 489, 506, 490, 491, 492,
|
821
|
+
493, 494, 495, 496, 497, 498, 499, 500,
|
822
|
+
501, 502, 503, 504, 505, 96, 507, 508,
|
823
|
+
509, 510, 511, 512, 513, 515, 516, 517,
|
824
|
+
518, 519, 520, 521, 522, 523, 524, 525,
|
825
|
+
526, 527, 528, 529, 531, 532, 533, 534,
|
826
|
+
535, 536, 537, 538, 539, 540, 541, 542,
|
827
|
+
543, 545, 546, 547, 548, 549, 550, 551,
|
828
|
+
552, 553, 554, 555, 556, 557, 558, 559,
|
829
|
+
560, 561, 562, 563, 564, 565, 566, 567,
|
830
|
+
568, 569, 571, 572, 573, 574, 575, 576,
|
831
|
+
577, 578, 579, 580, 581, 582, 583, 16,
|
832
|
+
585, 0
|
833
|
+
]
|
834
|
+
|
835
|
+
class << self
|
836
|
+
attr_accessor :_lexer_trans_actions
|
837
|
+
private :_lexer_trans_actions, :_lexer_trans_actions=
|
838
|
+
end
|
839
|
+
self._lexer_trans_actions = [
|
840
|
+
43, 29, 0, 0, 54, 3, 1, 0,
|
841
|
+
29, 1, 35, 0, 0, 0, 0, 0,
|
842
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
843
|
+
0, 0, 0, 0, 57, 149, 126, 0,
|
844
|
+
110, 23, 0, 0, 7, 139, 48, 0,
|
845
|
+
102, 9, 5, 45, 134, 45, 0, 33,
|
846
|
+
122, 33, 33, 0, 11, 106, 0, 0,
|
847
|
+
114, 25, 0, 0, 0, 0, 0, 0,
|
848
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
849
|
+
0, 27, 118, 27, 51, 0, 0, 0,
|
850
|
+
37, 37, 54, 37, 87, 0, 0, 39,
|
851
|
+
0, 96, 0, 93, 90, 41, 96, 90,
|
852
|
+
99, 0, 0, 0, 0, 0, 0, 0,
|
853
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
854
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
855
|
+
0, 0, 0, 0, 0, 0, 57, 144,
|
856
|
+
0, 54, 84, 0, 72, 33, 84, 0,
|
857
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
858
|
+
0, 0, 0, 0, 0, 0, 15, 63,
|
859
|
+
31, 130, 60, 57, 31, 63, 57, 66,
|
860
|
+
0, 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|
927
|
+
attr_accessor :_lexer_eof_actions
|
928
|
+
private :_lexer_eof_actions, :_lexer_eof_actions=
|
929
|
+
end
|
930
|
+
self._lexer_eof_actions = [
|
931
|
+
0, 43, 43, 43, 43, 43, 43, 43,
|
932
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
933
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
934
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
935
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
936
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
937
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
938
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
939
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
940
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
941
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
942
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
943
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
944
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
945
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
946
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
947
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
948
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
949
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
950
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
951
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
952
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
953
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
954
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
955
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
956
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
957
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
958
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
959
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
960
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
961
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
962
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
963
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
964
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
965
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
966
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
967
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
968
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
969
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
970
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
971
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
972
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
973
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
974
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
975
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
976
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
977
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
978
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
979
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
980
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
981
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
982
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
983
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
984
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
985
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
986
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
987
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
988
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
989
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
990
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
991
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
992
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
993
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
994
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
995
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
996
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
997
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
998
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
999
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1000
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1001
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1002
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1003
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1004
|
+
43, 43, 43
|
1005
|
+
]
|
1006
|
+
|
1007
|
+
class << self
|
1008
|
+
attr_accessor :lexer_start
|
1009
|
+
end
|
1010
|
+
self.lexer_start = 1;
|
1011
|
+
class << self
|
1012
|
+
attr_accessor :lexer_first_final
|
1013
|
+
end
|
1014
|
+
self.lexer_first_final = 586;
|
1015
|
+
class << self
|
1016
|
+
attr_accessor :lexer_error
|
1017
|
+
end
|
1018
|
+
self.lexer_error = 0;
|
1019
|
+
|
1020
|
+
class << self
|
1021
|
+
attr_accessor :lexer_en_main
|
1022
|
+
end
|
1023
|
+
self.lexer_en_main = 1;
|
1024
|
+
|
1025
|
+
|
1026
|
+
# line 130 "ragel/i18n/bg.rb.rl"
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
def scan(data)
|
1030
|
+
data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
|
1031
|
+
eof = pe = data.length
|
1032
|
+
|
1033
|
+
@line_number = 1
|
1034
|
+
@last_newline = 0
|
1035
|
+
|
1036
|
+
|
1037
|
+
# line 1038 "lib/gherkin/lexer/bg.rb"
|
1038
|
+
begin
|
1039
|
+
p ||= 0
|
1040
|
+
pe ||= data.length
|
1041
|
+
cs = lexer_start
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# line 140 "ragel/i18n/bg.rb.rl"
|
1045
|
+
|
1046
|
+
# line 1047 "lib/gherkin/lexer/bg.rb"
|
1047
|
+
begin
|
1048
|
+
_klen, _trans, _keys, _acts, _nacts = nil
|
1049
|
+
_goto_level = 0
|
1050
|
+
_resume = 10
|
1051
|
+
_eof_trans = 15
|
1052
|
+
_again = 20
|
1053
|
+
_test_eof = 30
|
1054
|
+
_out = 40
|
1055
|
+
while true
|
1056
|
+
_trigger_goto = false
|
1057
|
+
if _goto_level <= 0
|
1058
|
+
if p == pe
|
1059
|
+
_goto_level = _test_eof
|
1060
|
+
next
|
1061
|
+
end
|
1062
|
+
if cs == 0
|
1063
|
+
_goto_level = _out
|
1064
|
+
next
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
if _goto_level <= _resume
|
1068
|
+
_keys = _lexer_key_offsets[cs]
|
1069
|
+
_trans = _lexer_index_offsets[cs]
|
1070
|
+
_klen = _lexer_single_lengths[cs]
|
1071
|
+
_break_match = false
|
1072
|
+
|
1073
|
+
begin
|
1074
|
+
if _klen > 0
|
1075
|
+
_lower = _keys
|
1076
|
+
_upper = _keys + _klen - 1
|
1077
|
+
|
1078
|
+
loop do
|
1079
|
+
break if _upper < _lower
|
1080
|
+
_mid = _lower + ( (_upper - _lower) >> 1 )
|
1081
|
+
|
1082
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
1083
|
+
_upper = _mid - 1
|
1084
|
+
elsif data[p].ord > _lexer_trans_keys[_mid]
|
1085
|
+
_lower = _mid + 1
|
1086
|
+
else
|
1087
|
+
_trans += (_mid - _keys)
|
1088
|
+
_break_match = true
|
1089
|
+
break
|
1090
|
+
end
|
1091
|
+
end # loop
|
1092
|
+
break if _break_match
|
1093
|
+
_keys += _klen
|
1094
|
+
_trans += _klen
|
1095
|
+
end
|
1096
|
+
_klen = _lexer_range_lengths[cs]
|
1097
|
+
if _klen > 0
|
1098
|
+
_lower = _keys
|
1099
|
+
_upper = _keys + (_klen << 1) - 2
|
1100
|
+
loop do
|
1101
|
+
break if _upper < _lower
|
1102
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1)
|
1103
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
1104
|
+
_upper = _mid - 2
|
1105
|
+
elsif data[p].ord > _lexer_trans_keys[_mid+1]
|
1106
|
+
_lower = _mid + 2
|
1107
|
+
else
|
1108
|
+
_trans += ((_mid - _keys) >> 1)
|
1109
|
+
_break_match = true
|
1110
|
+
break
|
1111
|
+
end
|
1112
|
+
end # loop
|
1113
|
+
break if _break_match
|
1114
|
+
_trans += _klen
|
1115
|
+
end
|
1116
|
+
end while false
|
1117
|
+
_trans = _lexer_indicies[_trans]
|
1118
|
+
cs = _lexer_trans_targs[_trans]
|
1119
|
+
if _lexer_trans_actions[_trans] != 0
|
1120
|
+
_acts = _lexer_trans_actions[_trans]
|
1121
|
+
_nacts = _lexer_actions[_acts]
|
1122
|
+
_acts += 1
|
1123
|
+
while _nacts > 0
|
1124
|
+
_nacts -= 1
|
1125
|
+
_acts += 1
|
1126
|
+
case _lexer_actions[_acts - 1]
|
1127
|
+
when 0 then
|
1128
|
+
# line 11 "ragel/i18n/bg.rb.rl"
|
1129
|
+
begin
|
1130
|
+
|
1131
|
+
@content_start = p
|
1132
|
+
@current_line = @line_number
|
1133
|
+
@start_col = p - @last_newline - "#{@keyword}:".length
|
1134
|
+
end
|
1135
|
+
when 1 then
|
1136
|
+
# line 17 "ragel/i18n/bg.rb.rl"
|
1137
|
+
begin
|
1138
|
+
|
1139
|
+
@current_line = @line_number
|
1140
|
+
@start_col = p - @last_newline
|
1141
|
+
end
|
1142
|
+
when 2 then
|
1143
|
+
# line 22 "ragel/i18n/bg.rb.rl"
|
1144
|
+
begin
|
1145
|
+
|
1146
|
+
@content_start = p
|
1147
|
+
end
|
1148
|
+
when 3 then
|
1149
|
+
# line 26 "ragel/i18n/bg.rb.rl"
|
1150
|
+
begin
|
1151
|
+
|
1152
|
+
@docstring_content_type_start = p
|
1153
|
+
end
|
1154
|
+
when 4 then
|
1155
|
+
# line 29 "ragel/i18n/bg.rb.rl"
|
1156
|
+
begin
|
1157
|
+
|
1158
|
+
@docstring_content_type_end = p
|
1159
|
+
end
|
1160
|
+
when 5 then
|
1161
|
+
# line 33 "ragel/i18n/bg.rb.rl"
|
1162
|
+
begin
|
1163
|
+
|
1164
|
+
con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
|
1165
|
+
con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
|
1166
|
+
@listener.doc_string(con_type, con, @current_line)
|
1167
|
+
end
|
1168
|
+
when 6 then
|
1169
|
+
# line 38 "ragel/i18n/bg.rb.rl"
|
1170
|
+
begin
|
1171
|
+
|
1172
|
+
p = store_keyword_content(:feature, data, p, eof)
|
1173
|
+
end
|
1174
|
+
when 7 then
|
1175
|
+
# line 42 "ragel/i18n/bg.rb.rl"
|
1176
|
+
begin
|
1177
|
+
|
1178
|
+
p = store_keyword_content(:background, data, p, eof)
|
1179
|
+
end
|
1180
|
+
when 8 then
|
1181
|
+
# line 46 "ragel/i18n/bg.rb.rl"
|
1182
|
+
begin
|
1183
|
+
|
1184
|
+
p = store_keyword_content(:scenario, data, p, eof)
|
1185
|
+
end
|
1186
|
+
when 9 then
|
1187
|
+
# line 50 "ragel/i18n/bg.rb.rl"
|
1188
|
+
begin
|
1189
|
+
|
1190
|
+
p = store_keyword_content(:scenario_outline, data, p, eof)
|
1191
|
+
end
|
1192
|
+
when 10 then
|
1193
|
+
# line 54 "ragel/i18n/bg.rb.rl"
|
1194
|
+
begin
|
1195
|
+
|
1196
|
+
p = store_keyword_content(:examples, data, p, eof)
|
1197
|
+
end
|
1198
|
+
when 11 then
|
1199
|
+
# line 58 "ragel/i18n/bg.rb.rl"
|
1200
|
+
begin
|
1201
|
+
|
1202
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1203
|
+
@listener.step(@keyword, con, @current_line)
|
1204
|
+
end
|
1205
|
+
when 12 then
|
1206
|
+
# line 63 "ragel/i18n/bg.rb.rl"
|
1207
|
+
begin
|
1208
|
+
|
1209
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1210
|
+
@listener.comment(con, @line_number)
|
1211
|
+
@keyword_start = nil
|
1212
|
+
end
|
1213
|
+
when 13 then
|
1214
|
+
# line 69 "ragel/i18n/bg.rb.rl"
|
1215
|
+
begin
|
1216
|
+
|
1217
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1218
|
+
@listener.tag(con, @current_line)
|
1219
|
+
@keyword_start = nil
|
1220
|
+
end
|
1221
|
+
when 14 then
|
1222
|
+
# line 75 "ragel/i18n/bg.rb.rl"
|
1223
|
+
begin
|
1224
|
+
|
1225
|
+
@line_number += 1
|
1226
|
+
end
|
1227
|
+
when 15 then
|
1228
|
+
# line 79 "ragel/i18n/bg.rb.rl"
|
1229
|
+
begin
|
1230
|
+
|
1231
|
+
@last_newline = p + 1
|
1232
|
+
end
|
1233
|
+
when 16 then
|
1234
|
+
# line 83 "ragel/i18n/bg.rb.rl"
|
1235
|
+
begin
|
1236
|
+
|
1237
|
+
@keyword_start ||= p
|
1238
|
+
end
|
1239
|
+
when 17 then
|
1240
|
+
# line 87 "ragel/i18n/bg.rb.rl"
|
1241
|
+
begin
|
1242
|
+
|
1243
|
+
@keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
|
1244
|
+
@keyword_start = nil
|
1245
|
+
end
|
1246
|
+
when 18 then
|
1247
|
+
# line 92 "ragel/i18n/bg.rb.rl"
|
1248
|
+
begin
|
1249
|
+
|
1250
|
+
@next_keyword_start = p
|
1251
|
+
end
|
1252
|
+
when 19 then
|
1253
|
+
# line 96 "ragel/i18n/bg.rb.rl"
|
1254
|
+
begin
|
1255
|
+
|
1256
|
+
p = p - 1
|
1257
|
+
current_row = []
|
1258
|
+
@current_line = @line_number
|
1259
|
+
end
|
1260
|
+
when 20 then
|
1261
|
+
# line 102 "ragel/i18n/bg.rb.rl"
|
1262
|
+
begin
|
1263
|
+
|
1264
|
+
@content_start = p
|
1265
|
+
end
|
1266
|
+
when 21 then
|
1267
|
+
# line 106 "ragel/i18n/bg.rb.rl"
|
1268
|
+
begin
|
1269
|
+
|
1270
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1271
|
+
current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
|
1272
|
+
end
|
1273
|
+
when 22 then
|
1274
|
+
# line 111 "ragel/i18n/bg.rb.rl"
|
1275
|
+
begin
|
1276
|
+
|
1277
|
+
@listener.row(current_row, @current_line)
|
1278
|
+
end
|
1279
|
+
when 23 then
|
1280
|
+
# line 115 "ragel/i18n/bg.rb.rl"
|
1281
|
+
begin
|
1282
|
+
|
1283
|
+
if cs < lexer_first_final
|
1284
|
+
content = current_line_content(data, p)
|
1285
|
+
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])
|
1286
|
+
else
|
1287
|
+
@listener.eof
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
# line 1291 "lib/gherkin/lexer/bg.rb"
|
1291
|
+
end # action switch
|
1292
|
+
end
|
1293
|
+
end
|
1294
|
+
if _trigger_goto
|
1295
|
+
next
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
if _goto_level <= _again
|
1299
|
+
if cs == 0
|
1300
|
+
_goto_level = _out
|
1301
|
+
next
|
1302
|
+
end
|
1303
|
+
p += 1
|
1304
|
+
if p != pe
|
1305
|
+
_goto_level = _resume
|
1306
|
+
next
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
if _goto_level <= _test_eof
|
1310
|
+
if p == eof
|
1311
|
+
__acts = _lexer_eof_actions[cs]
|
1312
|
+
__nacts = _lexer_actions[__acts]
|
1313
|
+
__acts += 1
|
1314
|
+
while __nacts > 0
|
1315
|
+
__nacts -= 1
|
1316
|
+
__acts += 1
|
1317
|
+
case _lexer_actions[__acts - 1]
|
1318
|
+
when 23 then
|
1319
|
+
# line 115 "ragel/i18n/bg.rb.rl"
|
1320
|
+
begin
|
1321
|
+
|
1322
|
+
if cs < lexer_first_final
|
1323
|
+
content = current_line_content(data, p)
|
1324
|
+
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])
|
1325
|
+
else
|
1326
|
+
@listener.eof
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
# line 1330 "lib/gherkin/lexer/bg.rb"
|
1330
|
+
end # eof action switch
|
1331
|
+
end
|
1332
|
+
if _trigger_goto
|
1333
|
+
next
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
if _goto_level <= _out
|
1338
|
+
break
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# line 141 "ragel/i18n/bg.rb.rl"
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
def unindent(startcol, text)
|
1347
|
+
text.gsub(/^[\t ]{0,#{startcol}}/, "")
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
def store_keyword_content(event, data, p, eof)
|
1351
|
+
end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
|
1352
|
+
content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
|
1353
|
+
content_lines = content.split("\n")
|
1354
|
+
name = content_lines.shift || ""
|
1355
|
+
name.strip!
|
1356
|
+
description = content_lines.join("\n")
|
1357
|
+
@listener.__send__(event, @keyword, name, description, @current_line)
|
1358
|
+
@next_keyword_start ? @next_keyword_start - 1 : p
|
1359
|
+
ensure
|
1360
|
+
@next_keyword_start = nil
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
def current_line_content(data, p)
|
1364
|
+
rest = data[@last_newline..-1]
|
1365
|
+
utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
if (RUBY_VERSION =~ /^1\.9|2\.0/)
|
1369
|
+
def utf8_pack(array)
|
1370
|
+
array.pack("c*").force_encoding("UTF-8")
|
1371
|
+
end
|
1372
|
+
else
|
1373
|
+
def utf8_pack(array)
|
1374
|
+
array.pack("c*")
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
end
|