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,1449 @@
|
|
1
|
+
|
2
|
+
# line 1 "ragel/i18n/sk.rb.rl"
|
3
|
+
require 'gherkin/native'
|
4
|
+
|
5
|
+
module Gherkin
|
6
|
+
module Lexer
|
7
|
+
class Sk #:nodoc:
|
8
|
+
native_impl('gherkin')
|
9
|
+
|
10
|
+
|
11
|
+
# line 125 "ragel/i18n/sk.rb.rl"
|
12
|
+
|
13
|
+
|
14
|
+
def initialize(listener)
|
15
|
+
@listener = listener
|
16
|
+
|
17
|
+
# line 18 "lib/gherkin/lexer/sk.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, 21, 22, 23, 43, 44, 45,
|
51
|
+
47, 49, 54, 59, 64, 69, 73, 77,
|
52
|
+
79, 80, 81, 82, 83, 84, 85, 86,
|
53
|
+
87, 88, 89, 90, 91, 92, 93, 94,
|
54
|
+
95, 97, 99, 104, 111, 116, 119, 123,
|
55
|
+
127, 130, 133, 136, 139, 142, 145, 148,
|
56
|
+
151, 154, 157, 160, 163, 166, 169, 172,
|
57
|
+
173, 174, 175, 176, 177, 178, 179, 180,
|
58
|
+
181, 182, 195, 197, 199, 201, 203, 205,
|
59
|
+
207, 209, 211, 213, 215, 217, 219, 221,
|
60
|
+
223, 225, 227, 229, 231, 233, 235, 237,
|
61
|
+
257, 258, 259, 260, 261, 262, 263, 264,
|
62
|
+
265, 266, 267, 268, 269, 270, 271, 272,
|
63
|
+
273, 274, 276, 277, 278, 279, 295, 297,
|
64
|
+
299, 301, 303, 305, 307, 309, 311, 313,
|
65
|
+
315, 317, 319, 321, 323, 325, 329, 351,
|
66
|
+
352, 353, 354, 355, 356, 357, 358, 359,
|
67
|
+
360, 361, 362, 363, 364, 365, 367, 371,
|
68
|
+
372, 373, 374, 375, 376, 377, 378, 379,
|
69
|
+
380, 381, 382, 383, 384, 385, 386, 387,
|
70
|
+
388, 389, 390, 391, 409, 411, 413, 415,
|
71
|
+
417, 419, 421, 423, 425, 427, 429, 431,
|
72
|
+
433, 435, 437, 439, 443, 465, 466, 467,
|
73
|
+
468, 469, 470, 471, 472, 473, 474, 492,
|
74
|
+
494, 496, 498, 500, 502, 504, 506, 508,
|
75
|
+
510, 512, 514, 516, 518, 520, 522, 526,
|
76
|
+
548, 549, 550, 551, 552, 553, 554, 555,
|
77
|
+
556, 557, 558, 559, 560, 561, 562, 563,
|
78
|
+
564, 565, 566, 567, 568, 569, 570, 571,
|
79
|
+
572, 574, 575, 576, 577, 578, 579, 580,
|
80
|
+
581, 582, 583, 584, 585, 586, 587, 588,
|
81
|
+
589, 593, 599, 602, 604, 610, 630, 632,
|
82
|
+
634, 636, 638, 640, 642, 644, 646, 648,
|
83
|
+
650, 652, 654, 656, 658, 660, 662, 664,
|
84
|
+
666, 668, 670, 672, 674, 676, 678, 680,
|
85
|
+
683, 685, 687, 689, 691, 693, 695, 697,
|
86
|
+
699, 701, 703, 705, 707, 709, 711, 716,
|
87
|
+
718, 720, 722, 724, 726, 728, 730, 732,
|
88
|
+
734, 736, 738, 740, 742, 744, 746, 748,
|
89
|
+
750, 752, 754, 756, 758, 760, 762, 764,
|
90
|
+
766, 768, 770, 772, 774, 776, 778, 780,
|
91
|
+
782, 784, 786, 788, 790, 792, 794, 796,
|
92
|
+
798, 800, 802, 804, 806, 808, 810, 812,
|
93
|
+
813, 814, 815, 816, 817, 818, 819, 820,
|
94
|
+
821, 822, 823, 824, 825, 826, 827, 829,
|
95
|
+
831, 833, 835, 837, 839, 841, 843, 845,
|
96
|
+
847, 849, 851, 853, 855, 857, 859, 861,
|
97
|
+
863, 865, 867, 869, 871, 873, 875, 877,
|
98
|
+
880, 882, 884, 886, 888, 890, 892, 894,
|
99
|
+
896, 898, 900, 902, 904, 906, 908, 912,
|
100
|
+
914, 916, 918, 920, 922, 924, 926, 928,
|
101
|
+
930, 932, 934, 936, 938, 940, 942, 944,
|
102
|
+
946, 948, 950, 952, 954, 956, 958, 960,
|
103
|
+
962, 964, 966, 968, 970, 972, 974, 976,
|
104
|
+
978, 980, 982, 984, 986, 988, 990, 992,
|
105
|
+
994, 996, 998, 999, 1000, 1001, 1002, 1003,
|
106
|
+
1004, 1005, 1006, 1007, 1008, 1017, 1019, 1021,
|
107
|
+
1023, 1025, 1027, 1029, 1031, 1033, 1035, 1037,
|
108
|
+
1039, 1041, 1043, 1045, 1047, 1049, 1051, 1053,
|
109
|
+
1055, 1057, 1059, 1061, 1063, 1065, 1067, 1069,
|
110
|
+
1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077,
|
111
|
+
1078, 1079, 1080, 1081, 1082, 1083, 1084, 1086,
|
112
|
+
1088, 1090, 1092, 1094, 1096, 1098, 1100, 1102,
|
113
|
+
1104, 1106, 1108, 1112, 1114, 1116, 1118, 1120,
|
114
|
+
1122, 1124, 1126, 1128, 1130, 1132, 1134, 1136,
|
115
|
+
1138, 1140, 1142, 1144, 1146, 1148, 1150, 1152,
|
116
|
+
1154, 1156, 1158, 1160, 1162, 1164, 1166, 1168,
|
117
|
+
1170, 1172, 1174, 1176, 1178, 1180, 1182, 1184,
|
118
|
+
1186, 1188, 1190, 1192, 1194, 1196, 1198, 1200,
|
119
|
+
1202, 1204, 1206, 1208, 1210, 1212, 1214, 1216,
|
120
|
+
1218, 1220, 1222, 1224, 1226, 1229, 1231, 1233,
|
121
|
+
1235, 1237, 1239, 1241, 1243, 1245, 1247, 1249,
|
122
|
+
1251, 1253, 1255, 1258, 1261, 1263, 1265, 1267,
|
123
|
+
1269, 1271, 1273, 1275, 1277, 1279, 1281, 1283,
|
124
|
+
1285, 1287, 1289, 1291, 1293, 1295, 1297, 1299,
|
125
|
+
1301, 1303, 1305, 1307, 1309, 1311, 1313, 1315,
|
126
|
+
1317, 1319, 1321, 1323, 1325, 1327
|
127
|
+
]
|
128
|
+
|
129
|
+
class << self
|
130
|
+
attr_accessor :_lexer_trans_keys
|
131
|
+
private :_lexer_trans_keys, :_lexer_trans_keys=
|
132
|
+
end
|
133
|
+
self._lexer_trans_keys = [
|
134
|
+
-17, 10, 32, 34, 35, 37, 42, 64,
|
135
|
+
65, 70, 75, 78, 79, 80, 83, 84,
|
136
|
+
86, 90, 124, 9, 13, -69, -65, 10,
|
137
|
+
32, 34, 35, 37, 42, 64, 65, 70,
|
138
|
+
75, 78, 79, 80, 83, 84, 86, 90,
|
139
|
+
124, 9, 13, 34, 34, 10, 13, 10,
|
140
|
+
13, 10, 32, 34, 9, 13, 10, 32,
|
141
|
+
34, 9, 13, 10, 32, 34, 9, 13,
|
142
|
+
10, 32, 34, 9, 13, 10, 32, 9,
|
143
|
+
13, 10, 32, 9, 13, 10, 13, 10,
|
144
|
+
95, 70, 69, 65, 84, 85, 82, 69,
|
145
|
+
95, 69, 78, 68, 95, 37, 32, 10,
|
146
|
+
13, 10, 13, 13, 32, 64, 9, 10,
|
147
|
+
9, 10, 13, 32, 64, 11, 12, 10,
|
148
|
+
32, 64, 9, 13, 32, 107, 108, 10,
|
149
|
+
13, 116, 122, 10, 13, 97, 105, 10,
|
150
|
+
13, 107, 10, 13, 116, 10, 13, 105,
|
151
|
+
10, 13, 101, -59, 10, 13, -66, 10,
|
152
|
+
13, 10, 13, 32, -61, 10, 13, -95,
|
153
|
+
10, 13, 10, 13, 114, 10, 13, 111,
|
154
|
+
10, 13, 118, 10, 13, 101, -59, 10,
|
155
|
+
13, -120, 10, 13, 101, 117, 110, 107,
|
156
|
+
99, 105, 97, 58, 10, 10, 10, 32,
|
157
|
+
35, 37, 64, 70, 78, 79, 80, 83,
|
158
|
+
86, 9, 13, 10, 95, 10, 70, 10,
|
159
|
+
69, 10, 65, 10, 84, 10, 85, 10,
|
160
|
+
82, 10, 69, 10, 95, 10, 69, 10,
|
161
|
+
78, 10, 68, 10, 95, 10, 37, 10,
|
162
|
+
117, 10, 110, 10, 107, 10, 99, 10,
|
163
|
+
105, 10, 97, 10, 58, 10, 32, 34,
|
164
|
+
35, 37, 42, 64, 65, 70, 75, 78,
|
165
|
+
79, 80, 83, 84, 86, 90, 124, 9,
|
166
|
+
13, 101, -60, -113, -61, -95, -60, -115,
|
167
|
+
114, 116, 32, 83, 99, 101, 110, -61,
|
168
|
+
-95, 114, 97, 117, 58, 10, 10, 10,
|
169
|
+
32, 35, 37, 42, 64, 65, 70, 75,
|
170
|
+
80, 83, 84, 86, 90, 9, 13, 10,
|
171
|
+
95, 10, 70, 10, 69, 10, 65, 10,
|
172
|
+
84, 10, 85, 10, 82, 10, 69, 10,
|
173
|
+
95, 10, 69, 10, 78, 10, 68, 10,
|
174
|
+
95, 10, 37, 10, 32, 10, 32, 107,
|
175
|
+
108, 10, 32, 34, 35, 37, 42, 64,
|
176
|
+
65, 70, 75, 78, 79, 80, 83, 84,
|
177
|
+
86, 90, 116, 122, 124, 9, 13, 115,
|
178
|
+
110, 111, 118, 97, 32, 83, 99, 101,
|
179
|
+
110, -61, -95, 114, 97, 111, 114, -59,
|
180
|
+
107, 116, 122, -66, 105, 97, 100, 97,
|
181
|
+
118, 107, 105, 97, -60, -66, 111, 109,
|
182
|
+
97, 100, 105, 101, 58, 10, 10, 10,
|
183
|
+
32, 35, 37, 42, 64, 65, 70, 75,
|
184
|
+
78, 79, 80, 83, 84, 86, 90, 9,
|
185
|
+
13, 10, 95, 10, 70, 10, 69, 10,
|
186
|
+
65, 10, 84, 10, 85, 10, 82, 10,
|
187
|
+
69, 10, 95, 10, 69, 10, 78, 10,
|
188
|
+
68, 10, 95, 10, 37, 10, 32, 10,
|
189
|
+
32, 107, 108, 10, 32, 34, 35, 37,
|
190
|
+
42, 64, 65, 70, 75, 78, 79, 80,
|
191
|
+
83, 84, 86, 90, 116, 122, 124, 9,
|
192
|
+
13, 99, 101, 110, -61, -95, 114, 58,
|
193
|
+
10, 10, 10, 32, 35, 37, 42, 64,
|
194
|
+
65, 70, 75, 78, 79, 80, 83, 84,
|
195
|
+
86, 90, 9, 13, 10, 95, 10, 70,
|
196
|
+
10, 69, 10, 65, 10, 84, 10, 85,
|
197
|
+
10, 82, 10, 69, 10, 95, 10, 69,
|
198
|
+
10, 78, 10, 68, 10, 95, 10, 37,
|
199
|
+
10, 32, 10, 32, 107, 108, 10, 32,
|
200
|
+
34, 35, 37, 42, 64, 65, 70, 75,
|
201
|
+
78, 79, 80, 83, 84, 86, 90, 116,
|
202
|
+
122, 124, 9, 13, 97, 107, 108, 97,
|
203
|
+
115, 116, 110, 111, 115, -59, -91, 97,
|
204
|
+
32, 112, 114, 101, 100, 112, 111, 107,
|
205
|
+
108, 97, 100, 117, 97, 105, 107, 116,
|
206
|
+
105, 101, -59, -66, 32, -61, -95, 114,
|
207
|
+
111, 118, 101, -59, -120, 32, 124, 9,
|
208
|
+
13, 10, 32, 92, 124, 9, 13, 10,
|
209
|
+
92, 124, 10, 92, 10, 32, 92, 124,
|
210
|
+
9, 13, 10, 32, 34, 35, 37, 42,
|
211
|
+
64, 65, 70, 75, 78, 79, 80, 83,
|
212
|
+
84, 86, 90, 124, 9, 13, 10, 101,
|
213
|
+
10, 117, 10, 110, 10, 107, 10, 99,
|
214
|
+
10, 105, 10, 97, 10, 58, 10, 101,
|
215
|
+
-60, 10, -113, 10, -61, 10, -95, 10,
|
216
|
+
-60, 10, -115, 10, 10, 114, 10, 116,
|
217
|
+
10, 32, 10, 83, 10, 99, 10, 101,
|
218
|
+
10, 110, -61, 10, -95, 10, 10, 114,
|
219
|
+
10, 97, 117, 10, 115, 10, 110, 10,
|
220
|
+
111, 10, 118, 10, 97, 10, 32, 10,
|
221
|
+
83, 10, 99, 10, 101, 10, 110, -61,
|
222
|
+
10, -95, 10, 10, 114, 10, 111, -59,
|
223
|
+
10, 107, 116, 122, -66, 10, 10, 105,
|
224
|
+
10, 97, 10, 100, 10, 97, 10, 118,
|
225
|
+
10, 107, 10, 105, 10, 97, -60, 10,
|
226
|
+
-66, 10, 10, 111, 10, 109, 10, 97,
|
227
|
+
10, 100, 10, 105, 10, 101, 10, 99,
|
228
|
+
10, 101, 10, 110, -61, 10, -95, 10,
|
229
|
+
10, 114, 10, 97, 10, 107, 10, 108,
|
230
|
+
10, 97, 10, 115, 10, 116, 10, 110,
|
231
|
+
10, 111, 10, 115, -59, 10, -91, 10,
|
232
|
+
10, 97, 10, 32, 10, 112, 10, 114,
|
233
|
+
10, 101, 10, 100, 10, 112, 10, 111,
|
234
|
+
10, 107, 10, 108, 10, 97, 10, 100,
|
235
|
+
10, 117, 97, 105, 107, 116, 105, 101,
|
236
|
+
-59, -66, 32, -61, -95, 114, 111, 118,
|
237
|
+
101, -59, -120, 10, 101, 10, 117, 10,
|
238
|
+
110, 10, 107, 10, 99, 10, 105, 10,
|
239
|
+
97, 10, 58, 10, 101, -60, 10, -113,
|
240
|
+
10, -61, 10, -95, 10, -60, 10, -115,
|
241
|
+
10, 10, 114, 10, 116, 10, 32, 10,
|
242
|
+
83, 10, 99, 10, 101, 10, 110, -61,
|
243
|
+
10, -95, 10, 10, 114, 10, 97, 117,
|
244
|
+
10, 115, 10, 110, 10, 111, 10, 118,
|
245
|
+
10, 97, 10, 32, 10, 83, 10, 99,
|
246
|
+
10, 101, 10, 110, -61, 10, -95, 10,
|
247
|
+
10, 114, 10, 111, -59, 10, 107, 116,
|
248
|
+
-66, 10, 10, 105, 10, 97, 10, 100,
|
249
|
+
10, 97, 10, 118, 10, 107, 10, 105,
|
250
|
+
10, 97, -60, 10, -66, 10, 10, 111,
|
251
|
+
10, 109, 10, 99, 10, 101, 10, 110,
|
252
|
+
-61, 10, -95, 10, 10, 114, 10, 97,
|
253
|
+
10, 107, 10, 108, 10, 97, 10, 115,
|
254
|
+
10, 116, 10, 110, 10, 111, 10, 115,
|
255
|
+
-59, 10, -91, 10, 10, 97, 10, 32,
|
256
|
+
10, 112, 10, 114, 10, 101, 10, 100,
|
257
|
+
10, 112, 10, 111, 10, 107, 10, 108,
|
258
|
+
10, 97, 10, 100, 10, 117, -61, -83,
|
259
|
+
107, 108, 97, 100, 121, 58, 10, 10,
|
260
|
+
10, 32, 35, 70, 80, 86, 124, 9,
|
261
|
+
13, 10, 117, 10, 110, 10, 107, 10,
|
262
|
+
99, 10, 105, 10, 97, 10, 58, 10,
|
263
|
+
111, -59, 10, -66, 10, 10, 105, 10,
|
264
|
+
97, 10, 100, 10, 97, 10, 118, 10,
|
265
|
+
107, 10, 108, 10, 97, 10, 115, 10,
|
266
|
+
116, 10, 110, 10, 111, 10, 115, -59,
|
267
|
+
10, -91, 10, 97, 105, 107, 116, 105,
|
268
|
+
101, -59, -66, 32, -61, -95, 114, 111,
|
269
|
+
118, 101, -59, -120, 10, 101, 10, 117,
|
270
|
+
10, 110, 10, 107, 10, 99, 10, 105,
|
271
|
+
10, 97, 10, 58, 10, 101, -60, 10,
|
272
|
+
-113, 10, 10, 111, -59, 10, 107, 116,
|
273
|
+
-66, 10, 10, 105, 10, 97, 10, 100,
|
274
|
+
10, 97, 10, 118, 10, 107, 10, 105,
|
275
|
+
10, 97, -60, 10, -66, 10, 10, 111,
|
276
|
+
10, 109, 10, 99, 10, 101, 10, 110,
|
277
|
+
-61, 10, -95, 10, 10, 114, 10, 97,
|
278
|
+
10, 107, 10, 108, 10, 97, 10, 115,
|
279
|
+
10, 116, 10, 110, 10, 111, 10, 115,
|
280
|
+
-59, 10, -91, 10, 10, 97, 10, 32,
|
281
|
+
10, 112, 10, 114, 10, 101, 10, 100,
|
282
|
+
10, 112, 10, 111, 10, 107, 10, 108,
|
283
|
+
10, 97, 10, 100, 10, 117, -61, 10,
|
284
|
+
-95, 10, -60, 10, -115, 10, 10, 114,
|
285
|
+
10, 116, 10, 32, 10, 83, 10, 99,
|
286
|
+
10, 101, 10, 110, -61, 10, -95, 10,
|
287
|
+
10, 114, 10, 97, 117, 10, 115, 10,
|
288
|
+
110, 10, 111, 10, 118, 10, 97, 10,
|
289
|
+
32, 10, 83, 10, 99, 10, 101, 10,
|
290
|
+
110, -61, 10, -95, 10, 10, 114, 10,
|
291
|
+
111, 114, -59, 10, 122, -66, 10, 10,
|
292
|
+
105, 10, 97, 10, 100, 10, 97, 10,
|
293
|
+
118, 10, 107, 10, 97, 10, 100, 10,
|
294
|
+
105, 10, 101, -61, 10, -83, 10, 10,
|
295
|
+
107, 10, 108, 10, 97, 10, 100, 10,
|
296
|
+
121, 10, 99, 10, 101, 10, 110, -61,
|
297
|
+
10, -95, 10, 10, 114, 10, 108, 10,
|
298
|
+
97, 10, 115, 10, 116, 10, 110, 10,
|
299
|
+
111, 10, 115, -59, 10, -91, 10, 0
|
300
|
+
]
|
301
|
+
|
302
|
+
class << self
|
303
|
+
attr_accessor :_lexer_single_lengths
|
304
|
+
private :_lexer_single_lengths, :_lexer_single_lengths=
|
305
|
+
end
|
306
|
+
self._lexer_single_lengths = [
|
307
|
+
0, 19, 1, 1, 18, 1, 1, 2,
|
308
|
+
2, 3, 3, 3, 3, 2, 2, 2,
|
309
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
310
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
311
|
+
2, 2, 3, 5, 3, 3, 4, 4,
|
312
|
+
3, 3, 3, 3, 3, 3, 3, 3,
|
313
|
+
3, 3, 3, 3, 3, 3, 3, 1,
|
314
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
315
|
+
1, 11, 2, 2, 2, 2, 2, 2,
|
316
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
317
|
+
2, 2, 2, 2, 2, 2, 2, 18,
|
318
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
319
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
320
|
+
1, 2, 1, 1, 1, 14, 2, 2,
|
321
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
322
|
+
2, 2, 2, 2, 2, 4, 20, 1,
|
323
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
324
|
+
1, 1, 1, 1, 1, 2, 4, 1,
|
325
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
326
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
327
|
+
1, 1, 1, 16, 2, 2, 2, 2,
|
328
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
329
|
+
2, 2, 2, 4, 20, 1, 1, 1,
|
330
|
+
1, 1, 1, 1, 1, 1, 16, 2,
|
331
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
332
|
+
2, 2, 2, 2, 2, 2, 4, 20,
|
333
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
334
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
335
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
336
|
+
2, 1, 1, 1, 1, 1, 1, 1,
|
337
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
338
|
+
2, 4, 3, 2, 4, 18, 2, 2,
|
339
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
340
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
341
|
+
2, 2, 2, 2, 2, 2, 2, 3,
|
342
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
343
|
+
2, 2, 2, 2, 2, 2, 5, 2,
|
344
|
+
2, 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, 1,
|
350
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
351
|
+
1, 1, 1, 1, 1, 1, 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, 3,
|
355
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
356
|
+
2, 2, 2, 2, 2, 2, 4, 2,
|
357
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
358
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
359
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
360
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
361
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
362
|
+
2, 2, 1, 1, 1, 1, 1, 1,
|
363
|
+
1, 1, 1, 1, 7, 2, 2, 2,
|
364
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
365
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
366
|
+
2, 2, 2, 2, 2, 2, 2, 1,
|
367
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
368
|
+
1, 1, 1, 1, 1, 1, 2, 2,
|
369
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
370
|
+
2, 2, 4, 2, 2, 2, 2, 2,
|
371
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
372
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
373
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
374
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
375
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
376
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
377
|
+
2, 2, 2, 2, 3, 2, 2, 2,
|
378
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
379
|
+
2, 2, 3, 3, 2, 2, 2, 2,
|
380
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
381
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
382
|
+
2, 2, 2, 2, 2, 2, 2, 2,
|
383
|
+
2, 2, 2, 2, 2, 0
|
384
|
+
]
|
385
|
+
|
386
|
+
class << self
|
387
|
+
attr_accessor :_lexer_range_lengths
|
388
|
+
private :_lexer_range_lengths, :_lexer_range_lengths=
|
389
|
+
end
|
390
|
+
self._lexer_range_lengths = [
|
391
|
+
0, 1, 0, 0, 1, 0, 0, 0,
|
392
|
+
0, 1, 1, 1, 1, 1, 1, 0,
|
393
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
394
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
395
|
+
0, 0, 1, 1, 1, 0, 0, 0,
|
396
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
397
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
398
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
399
|
+
0, 1, 0, 0, 0, 0, 0, 0,
|
400
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
401
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
402
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
403
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
404
|
+
0, 0, 0, 0, 0, 1, 0, 0,
|
405
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
406
|
+
0, 0, 0, 0, 0, 0, 1, 0,
|
407
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
408
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
409
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
410
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
411
|
+
0, 0, 0, 1, 0, 0, 0, 0,
|
412
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
413
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
414
|
+
0, 0, 0, 0, 0, 0, 1, 0,
|
415
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
416
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
417
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
418
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
419
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
420
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
421
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
422
|
+
1, 1, 0, 0, 1, 1, 0, 0,
|
423
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
424
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
425
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
426
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
427
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
428
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
429
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
430
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
431
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
432
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
433
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
434
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
435
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
436
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
437
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
438
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
439
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
440
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
441
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
442
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
443
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
444
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
445
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
446
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
447
|
+
0, 0, 0, 0, 1, 0, 0, 0,
|
448
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
449
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
450
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
451
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
452
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
453
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
454
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
455
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
456
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
457
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
458
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
459
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
460
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
461
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
462
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
463
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
464
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
465
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
466
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
467
|
+
0, 0, 0, 0, 0, 0
|
468
|
+
]
|
469
|
+
|
470
|
+
class << self
|
471
|
+
attr_accessor :_lexer_index_offsets
|
472
|
+
private :_lexer_index_offsets, :_lexer_index_offsets=
|
473
|
+
end
|
474
|
+
self._lexer_index_offsets = [
|
475
|
+
0, 0, 21, 23, 25, 45, 47, 49,
|
476
|
+
52, 55, 60, 65, 70, 75, 79, 83,
|
477
|
+
86, 88, 90, 92, 94, 96, 98, 100,
|
478
|
+
102, 104, 106, 108, 110, 112, 114, 116,
|
479
|
+
118, 121, 124, 129, 136, 141, 145, 150,
|
480
|
+
155, 159, 163, 167, 171, 175, 179, 183,
|
481
|
+
187, 191, 195, 199, 203, 207, 211, 215,
|
482
|
+
217, 219, 221, 223, 225, 227, 229, 231,
|
483
|
+
233, 235, 248, 251, 254, 257, 260, 263,
|
484
|
+
266, 269, 272, 275, 278, 281, 284, 287,
|
485
|
+
290, 293, 296, 299, 302, 305, 308, 311,
|
486
|
+
331, 333, 335, 337, 339, 341, 343, 345,
|
487
|
+
347, 349, 351, 353, 355, 357, 359, 361,
|
488
|
+
363, 365, 368, 370, 372, 374, 390, 393,
|
489
|
+
396, 399, 402, 405, 408, 411, 414, 417,
|
490
|
+
420, 423, 426, 429, 432, 435, 440, 462,
|
491
|
+
464, 466, 468, 470, 472, 474, 476, 478,
|
492
|
+
480, 482, 484, 486, 488, 490, 493, 498,
|
493
|
+
500, 502, 504, 506, 508, 510, 512, 514,
|
494
|
+
516, 518, 520, 522, 524, 526, 528, 530,
|
495
|
+
532, 534, 536, 538, 556, 559, 562, 565,
|
496
|
+
568, 571, 574, 577, 580, 583, 586, 589,
|
497
|
+
592, 595, 598, 601, 606, 628, 630, 632,
|
498
|
+
634, 636, 638, 640, 642, 644, 646, 664,
|
499
|
+
667, 670, 673, 676, 679, 682, 685, 688,
|
500
|
+
691, 694, 697, 700, 703, 706, 709, 714,
|
501
|
+
736, 738, 740, 742, 744, 746, 748, 750,
|
502
|
+
752, 754, 756, 758, 760, 762, 764, 766,
|
503
|
+
768, 770, 772, 774, 776, 778, 780, 782,
|
504
|
+
784, 787, 789, 791, 793, 795, 797, 799,
|
505
|
+
801, 803, 805, 807, 809, 811, 813, 815,
|
506
|
+
817, 821, 827, 831, 834, 840, 860, 863,
|
507
|
+
866, 869, 872, 875, 878, 881, 884, 887,
|
508
|
+
890, 893, 896, 899, 902, 905, 908, 911,
|
509
|
+
914, 917, 920, 923, 926, 929, 932, 935,
|
510
|
+
939, 942, 945, 948, 951, 954, 957, 960,
|
511
|
+
963, 966, 969, 972, 975, 978, 981, 987,
|
512
|
+
990, 993, 996, 999, 1002, 1005, 1008, 1011,
|
513
|
+
1014, 1017, 1020, 1023, 1026, 1029, 1032, 1035,
|
514
|
+
1038, 1041, 1044, 1047, 1050, 1053, 1056, 1059,
|
515
|
+
1062, 1065, 1068, 1071, 1074, 1077, 1080, 1083,
|
516
|
+
1086, 1089, 1092, 1095, 1098, 1101, 1104, 1107,
|
517
|
+
1110, 1113, 1116, 1119, 1122, 1125, 1128, 1131,
|
518
|
+
1133, 1135, 1137, 1139, 1141, 1143, 1145, 1147,
|
519
|
+
1149, 1151, 1153, 1155, 1157, 1159, 1161, 1164,
|
520
|
+
1167, 1170, 1173, 1176, 1179, 1182, 1185, 1188,
|
521
|
+
1191, 1194, 1197, 1200, 1203, 1206, 1209, 1212,
|
522
|
+
1215, 1218, 1221, 1224, 1227, 1230, 1233, 1236,
|
523
|
+
1240, 1243, 1246, 1249, 1252, 1255, 1258, 1261,
|
524
|
+
1264, 1267, 1270, 1273, 1276, 1279, 1282, 1287,
|
525
|
+
1290, 1293, 1296, 1299, 1302, 1305, 1308, 1311,
|
526
|
+
1314, 1317, 1320, 1323, 1326, 1329, 1332, 1335,
|
527
|
+
1338, 1341, 1344, 1347, 1350, 1353, 1356, 1359,
|
528
|
+
1362, 1365, 1368, 1371, 1374, 1377, 1380, 1383,
|
529
|
+
1386, 1389, 1392, 1395, 1398, 1401, 1404, 1407,
|
530
|
+
1410, 1413, 1416, 1418, 1420, 1422, 1424, 1426,
|
531
|
+
1428, 1430, 1432, 1434, 1436, 1445, 1448, 1451,
|
532
|
+
1454, 1457, 1460, 1463, 1466, 1469, 1472, 1475,
|
533
|
+
1478, 1481, 1484, 1487, 1490, 1493, 1496, 1499,
|
534
|
+
1502, 1505, 1508, 1511, 1514, 1517, 1520, 1523,
|
535
|
+
1525, 1527, 1529, 1531, 1533, 1535, 1537, 1539,
|
536
|
+
1541, 1543, 1545, 1547, 1549, 1551, 1553, 1556,
|
537
|
+
1559, 1562, 1565, 1568, 1571, 1574, 1577, 1580,
|
538
|
+
1583, 1586, 1589, 1594, 1597, 1600, 1603, 1606,
|
539
|
+
1609, 1612, 1615, 1618, 1621, 1624, 1627, 1630,
|
540
|
+
1633, 1636, 1639, 1642, 1645, 1648, 1651, 1654,
|
541
|
+
1657, 1660, 1663, 1666, 1669, 1672, 1675, 1678,
|
542
|
+
1681, 1684, 1687, 1690, 1693, 1696, 1699, 1702,
|
543
|
+
1705, 1708, 1711, 1714, 1717, 1720, 1723, 1726,
|
544
|
+
1729, 1732, 1735, 1738, 1741, 1744, 1747, 1750,
|
545
|
+
1753, 1756, 1759, 1762, 1765, 1769, 1772, 1775,
|
546
|
+
1778, 1781, 1784, 1787, 1790, 1793, 1796, 1799,
|
547
|
+
1802, 1805, 1808, 1812, 1816, 1819, 1822, 1825,
|
548
|
+
1828, 1831, 1834, 1837, 1840, 1843, 1846, 1849,
|
549
|
+
1852, 1855, 1858, 1861, 1864, 1867, 1870, 1873,
|
550
|
+
1876, 1879, 1882, 1885, 1888, 1891, 1894, 1897,
|
551
|
+
1900, 1903, 1906, 1909, 1912, 1915
|
552
|
+
]
|
553
|
+
|
554
|
+
class << self
|
555
|
+
attr_accessor :_lexer_indicies
|
556
|
+
private :_lexer_indicies, :_lexer_indicies=
|
557
|
+
end
|
558
|
+
self._lexer_indicies = [
|
559
|
+
1, 3, 2, 4, 5, 6, 7, 8,
|
560
|
+
9, 10, 11, 12, 13, 14, 15, 16,
|
561
|
+
17, 18, 19, 2, 0, 20, 0, 2,
|
562
|
+
0, 3, 2, 4, 5, 6, 7, 8,
|
563
|
+
9, 10, 11, 12, 13, 14, 15, 16,
|
564
|
+
17, 18, 19, 2, 0, 21, 0, 22,
|
565
|
+
0, 24, 25, 23, 27, 28, 26, 31,
|
566
|
+
30, 32, 30, 29, 35, 34, 36, 34,
|
567
|
+
33, 35, 34, 37, 34, 33, 35, 34,
|
568
|
+
38, 34, 33, 40, 39, 39, 0, 3,
|
569
|
+
41, 41, 0, 43, 44, 42, 3, 0,
|
570
|
+
45, 0, 46, 0, 47, 0, 48, 0,
|
571
|
+
49, 0, 50, 0, 51, 0, 52, 0,
|
572
|
+
53, 0, 54, 0, 55, 0, 56, 0,
|
573
|
+
57, 0, 58, 0, 59, 0, 61, 62,
|
574
|
+
60, 64, 65, 63, 0, 0, 0, 0,
|
575
|
+
66, 67, 68, 67, 67, 70, 69, 66,
|
576
|
+
3, 71, 8, 71, 0, 72, 73, 74,
|
577
|
+
0, 61, 62, 75, 76, 60, 64, 65,
|
578
|
+
77, 78, 63, 64, 65, 79, 63, 64,
|
579
|
+
65, 80, 63, 64, 65, 78, 63, 64,
|
580
|
+
65, 81, 63, 82, 64, 65, 63, 83,
|
581
|
+
64, 65, 63, 64, 65, 59, 63, 84,
|
582
|
+
64, 65, 63, 85, 64, 65, 63, 64,
|
583
|
+
65, 86, 63, 64, 65, 87, 63, 64,
|
584
|
+
65, 88, 63, 64, 65, 89, 63, 90,
|
585
|
+
64, 65, 63, 83, 64, 65, 63, 73,
|
586
|
+
0, 91, 0, 92, 0, 93, 0, 94,
|
587
|
+
0, 95, 0, 96, 0, 97, 0, 99,
|
588
|
+
98, 101, 100, 101, 102, 103, 104, 103,
|
589
|
+
105, 106, 107, 108, 109, 110, 102, 100,
|
590
|
+
101, 111, 100, 101, 112, 100, 101, 113,
|
591
|
+
100, 101, 114, 100, 101, 115, 100, 101,
|
592
|
+
116, 100, 101, 117, 100, 101, 118, 100,
|
593
|
+
101, 119, 100, 101, 120, 100, 101, 121,
|
594
|
+
100, 101, 122, 100, 101, 123, 100, 101,
|
595
|
+
124, 100, 101, 125, 100, 101, 126, 100,
|
596
|
+
101, 127, 100, 101, 128, 100, 101, 129,
|
597
|
+
100, 101, 130, 100, 101, 131, 100, 133,
|
598
|
+
132, 134, 135, 136, 137, 138, 139, 140,
|
599
|
+
141, 142, 143, 144, 145, 146, 147, 148,
|
600
|
+
149, 132, 0, 150, 0, 151, 0, 73,
|
601
|
+
0, 152, 0, 153, 0, 154, 0, 155,
|
602
|
+
0, 156, 0, 157, 0, 158, 0, 159,
|
603
|
+
0, 160, 0, 161, 0, 162, 0, 163,
|
604
|
+
0, 164, 0, 165, 0, 166, 166, 0,
|
605
|
+
167, 0, 169, 168, 171, 170, 171, 172,
|
606
|
+
173, 174, 175, 173, 176, 177, 178, 179,
|
607
|
+
180, 181, 182, 183, 172, 170, 171, 184,
|
608
|
+
170, 171, 185, 170, 171, 186, 170, 171,
|
609
|
+
187, 170, 171, 188, 170, 171, 189, 170,
|
610
|
+
171, 190, 170, 171, 191, 170, 171, 192,
|
611
|
+
170, 171, 193, 170, 171, 194, 170, 171,
|
612
|
+
195, 170, 171, 196, 170, 171, 197, 170,
|
613
|
+
171, 198, 170, 171, 199, 200, 201, 170,
|
614
|
+
133, 132, 134, 135, 136, 137, 138, 139,
|
615
|
+
140, 141, 142, 143, 144, 145, 146, 147,
|
616
|
+
148, 202, 203, 149, 132, 0, 204, 0,
|
617
|
+
205, 0, 206, 0, 207, 0, 208, 0,
|
618
|
+
209, 0, 210, 0, 211, 0, 212, 0,
|
619
|
+
213, 0, 214, 0, 215, 0, 216, 0,
|
620
|
+
166, 0, 217, 218, 0, 219, 220, 221,
|
621
|
+
222, 0, 223, 0, 224, 0, 225, 0,
|
622
|
+
226, 0, 227, 0, 228, 0, 95, 0,
|
623
|
+
229, 0, 230, 0, 231, 0, 73, 0,
|
624
|
+
232, 0, 73, 0, 233, 0, 234, 0,
|
625
|
+
235, 0, 236, 0, 237, 0, 239, 238,
|
626
|
+
241, 240, 241, 242, 243, 244, 245, 243,
|
627
|
+
246, 247, 248, 249, 250, 251, 252, 253,
|
628
|
+
254, 255, 242, 240, 241, 256, 240, 241,
|
629
|
+
257, 240, 241, 258, 240, 241, 259, 240,
|
630
|
+
241, 260, 240, 241, 261, 240, 241, 262,
|
631
|
+
240, 241, 263, 240, 241, 264, 240, 241,
|
632
|
+
265, 240, 241, 266, 240, 241, 267, 240,
|
633
|
+
241, 268, 240, 241, 269, 240, 241, 270,
|
634
|
+
240, 241, 271, 272, 273, 240, 133, 132,
|
635
|
+
134, 135, 136, 137, 138, 139, 140, 141,
|
636
|
+
142, 143, 144, 145, 146, 147, 148, 274,
|
637
|
+
275, 149, 132, 0, 276, 0, 277, 0,
|
638
|
+
278, 0, 279, 0, 280, 0, 281, 0,
|
639
|
+
282, 0, 284, 283, 286, 285, 286, 287,
|
640
|
+
288, 289, 290, 288, 291, 292, 293, 294,
|
641
|
+
295, 296, 297, 298, 299, 300, 287, 285,
|
642
|
+
286, 301, 285, 286, 302, 285, 286, 303,
|
643
|
+
285, 286, 304, 285, 286, 305, 285, 286,
|
644
|
+
306, 285, 286, 307, 285, 286, 308, 285,
|
645
|
+
286, 309, 285, 286, 310, 285, 286, 311,
|
646
|
+
285, 286, 312, 285, 286, 313, 285, 286,
|
647
|
+
314, 285, 286, 315, 285, 286, 316, 317,
|
648
|
+
318, 285, 133, 132, 134, 135, 136, 137,
|
649
|
+
138, 139, 140, 141, 142, 143, 144, 145,
|
650
|
+
146, 147, 148, 319, 320, 149, 132, 0,
|
651
|
+
321, 0, 73, 0, 322, 0, 323, 0,
|
652
|
+
324, 0, 325, 0, 326, 0, 327, 0,
|
653
|
+
328, 0, 329, 0, 96, 0, 330, 0,
|
654
|
+
331, 0, 332, 0, 333, 0, 334, 0,
|
655
|
+
335, 0, 336, 0, 337, 0, 338, 0,
|
656
|
+
339, 0, 340, 0, 341, 0, 73, 0,
|
657
|
+
342, 343, 0, 344, 0, 345, 0, 343,
|
658
|
+
0, 346, 0, 347, 0, 348, 0, 315,
|
659
|
+
0, 349, 0, 350, 0, 351, 0, 352,
|
660
|
+
0, 353, 0, 354, 0, 355, 0, 348,
|
661
|
+
0, 356, 357, 356, 0, 360, 359, 361,
|
662
|
+
362, 359, 358, 0, 364, 365, 363, 0,
|
663
|
+
364, 363, 360, 366, 364, 365, 366, 363,
|
664
|
+
360, 367, 368, 369, 370, 371, 372, 373,
|
665
|
+
374, 375, 376, 377, 378, 379, 380, 381,
|
666
|
+
382, 383, 367, 0, 286, 317, 285, 286,
|
667
|
+
384, 285, 286, 385, 285, 286, 386, 285,
|
668
|
+
286, 387, 285, 286, 388, 285, 286, 389,
|
669
|
+
285, 286, 315, 285, 286, 390, 285, 391,
|
670
|
+
286, 285, 317, 286, 285, 392, 286, 285,
|
671
|
+
393, 286, 285, 394, 286, 285, 395, 286,
|
672
|
+
285, 286, 396, 285, 286, 397, 285, 286,
|
673
|
+
398, 285, 286, 399, 285, 286, 400, 285,
|
674
|
+
286, 401, 285, 286, 402, 285, 403, 286,
|
675
|
+
285, 404, 286, 285, 286, 405, 285, 286,
|
676
|
+
389, 389, 285, 286, 406, 285, 286, 407,
|
677
|
+
285, 286, 408, 285, 286, 409, 285, 286,
|
678
|
+
410, 285, 286, 411, 285, 286, 412, 285,
|
679
|
+
286, 413, 285, 286, 414, 285, 286, 415,
|
680
|
+
285, 416, 286, 285, 417, 286, 285, 286,
|
681
|
+
388, 285, 286, 418, 285, 419, 286, 420,
|
682
|
+
421, 422, 285, 423, 286, 285, 286, 424,
|
683
|
+
285, 286, 425, 285, 286, 426, 285, 286,
|
684
|
+
427, 285, 286, 428, 285, 286, 388, 285,
|
685
|
+
286, 429, 285, 286, 430, 285, 431, 286,
|
686
|
+
285, 317, 286, 285, 286, 432, 285, 286,
|
687
|
+
317, 285, 286, 433, 285, 286, 434, 285,
|
688
|
+
286, 435, 285, 286, 389, 285, 286, 436,
|
689
|
+
285, 286, 437, 285, 286, 438, 285, 439,
|
690
|
+
286, 285, 440, 286, 285, 286, 389, 285,
|
691
|
+
286, 441, 285, 286, 317, 285, 286, 442,
|
692
|
+
285, 286, 443, 285, 286, 444, 285, 286,
|
693
|
+
445, 285, 286, 446, 285, 286, 447, 285,
|
694
|
+
286, 448, 285, 449, 286, 285, 389, 286,
|
695
|
+
285, 286, 450, 285, 286, 451, 285, 286,
|
696
|
+
452, 285, 286, 453, 285, 286, 454, 285,
|
697
|
+
286, 455, 285, 286, 456, 285, 286, 457,
|
698
|
+
285, 286, 458, 285, 286, 459, 285, 286,
|
699
|
+
460, 285, 286, 461, 285, 286, 317, 285,
|
700
|
+
462, 463, 0, 464, 0, 465, 0, 463,
|
701
|
+
0, 466, 0, 467, 0, 468, 0, 270,
|
702
|
+
0, 469, 0, 470, 0, 471, 0, 472,
|
703
|
+
0, 473, 0, 474, 0, 475, 0, 468,
|
704
|
+
0, 241, 272, 240, 241, 476, 240, 241,
|
705
|
+
477, 240, 241, 478, 240, 241, 479, 240,
|
706
|
+
241, 480, 240, 241, 481, 240, 241, 270,
|
707
|
+
240, 241, 482, 240, 483, 241, 240, 272,
|
708
|
+
241, 240, 484, 241, 240, 485, 241, 240,
|
709
|
+
486, 241, 240, 487, 241, 240, 241, 488,
|
710
|
+
240, 241, 489, 240, 241, 490, 240, 241,
|
711
|
+
491, 240, 241, 492, 240, 241, 493, 240,
|
712
|
+
241, 494, 240, 495, 241, 240, 496, 241,
|
713
|
+
240, 241, 497, 240, 241, 481, 481, 240,
|
714
|
+
241, 498, 240, 241, 499, 240, 241, 500,
|
715
|
+
240, 241, 501, 240, 241, 502, 240, 241,
|
716
|
+
503, 240, 241, 504, 240, 241, 505, 240,
|
717
|
+
241, 506, 240, 241, 507, 240, 508, 241,
|
718
|
+
240, 509, 241, 240, 241, 480, 240, 241,
|
719
|
+
510, 240, 511, 241, 512, 513, 240, 514,
|
720
|
+
241, 240, 241, 515, 240, 241, 516, 240,
|
721
|
+
241, 517, 240, 241, 518, 240, 241, 519,
|
722
|
+
240, 241, 480, 240, 241, 520, 240, 241,
|
723
|
+
521, 240, 522, 241, 240, 272, 241, 240,
|
724
|
+
241, 523, 240, 241, 272, 240, 241, 524,
|
725
|
+
240, 241, 525, 240, 241, 526, 240, 527,
|
726
|
+
241, 240, 528, 241, 240, 241, 481, 240,
|
727
|
+
241, 529, 240, 241, 272, 240, 241, 530,
|
728
|
+
240, 241, 531, 240, 241, 532, 240, 241,
|
729
|
+
533, 240, 241, 534, 240, 241, 535, 240,
|
730
|
+
241, 536, 240, 537, 241, 240, 481, 241,
|
731
|
+
240, 241, 538, 240, 241, 539, 240, 241,
|
732
|
+
540, 240, 241, 541, 240, 241, 542, 240,
|
733
|
+
241, 543, 240, 241, 544, 240, 241, 545,
|
734
|
+
240, 241, 546, 240, 241, 547, 240, 241,
|
735
|
+
548, 240, 241, 549, 240, 241, 272, 240,
|
736
|
+
550, 0, 551, 0, 552, 0, 553, 0,
|
737
|
+
554, 0, 555, 0, 556, 0, 557, 0,
|
738
|
+
559, 558, 561, 560, 561, 562, 563, 564,
|
739
|
+
565, 566, 563, 562, 560, 561, 567, 560,
|
740
|
+
561, 568, 560, 561, 569, 560, 561, 570,
|
741
|
+
560, 561, 571, 560, 561, 572, 560, 561,
|
742
|
+
573, 560, 561, 574, 560, 575, 561, 560,
|
743
|
+
576, 561, 560, 561, 577, 560, 561, 578,
|
744
|
+
560, 561, 579, 560, 561, 580, 560, 561,
|
745
|
+
581, 560, 561, 571, 560, 561, 582, 560,
|
746
|
+
561, 583, 560, 561, 584, 560, 561, 585,
|
747
|
+
560, 561, 586, 560, 561, 587, 560, 561,
|
748
|
+
588, 560, 589, 561, 560, 572, 561, 560,
|
749
|
+
590, 591, 0, 592, 0, 593, 0, 591,
|
750
|
+
0, 594, 0, 595, 0, 596, 0, 198,
|
751
|
+
0, 597, 0, 598, 0, 599, 0, 600,
|
752
|
+
0, 601, 0, 602, 0, 603, 0, 596,
|
753
|
+
0, 171, 200, 170, 171, 604, 170, 171,
|
754
|
+
605, 170, 171, 606, 170, 171, 607, 170,
|
755
|
+
171, 608, 170, 171, 609, 170, 171, 198,
|
756
|
+
170, 171, 610, 170, 611, 171, 170, 200,
|
757
|
+
171, 170, 171, 612, 170, 613, 171, 614,
|
758
|
+
615, 170, 616, 171, 170, 171, 617, 170,
|
759
|
+
171, 618, 170, 171, 619, 170, 171, 620,
|
760
|
+
170, 171, 621, 170, 171, 608, 170, 171,
|
761
|
+
622, 170, 171, 623, 170, 624, 171, 170,
|
762
|
+
200, 171, 170, 171, 625, 170, 171, 200,
|
763
|
+
170, 171, 626, 170, 171, 627, 170, 171,
|
764
|
+
628, 170, 629, 171, 170, 630, 171, 170,
|
765
|
+
171, 609, 170, 171, 631, 170, 171, 200,
|
766
|
+
170, 171, 632, 170, 171, 633, 170, 171,
|
767
|
+
634, 170, 171, 635, 170, 171, 636, 170,
|
768
|
+
171, 637, 170, 171, 638, 170, 639, 171,
|
769
|
+
170, 609, 171, 170, 171, 640, 170, 171,
|
770
|
+
641, 170, 171, 642, 170, 171, 643, 170,
|
771
|
+
171, 644, 170, 171, 645, 170, 171, 646,
|
772
|
+
170, 171, 647, 170, 171, 648, 170, 171,
|
773
|
+
649, 170, 171, 650, 170, 171, 651, 170,
|
774
|
+
171, 200, 170, 652, 101, 100, 653, 101,
|
775
|
+
100, 654, 101, 100, 655, 101, 100, 101,
|
776
|
+
656, 100, 101, 657, 100, 101, 658, 100,
|
777
|
+
101, 659, 100, 101, 660, 100, 101, 661,
|
778
|
+
100, 101, 662, 100, 663, 101, 100, 664,
|
779
|
+
101, 100, 101, 665, 100, 101, 130, 130,
|
780
|
+
100, 101, 666, 100, 101, 667, 100, 101,
|
781
|
+
668, 100, 101, 669, 100, 101, 670, 100,
|
782
|
+
101, 671, 100, 101, 672, 100, 101, 673,
|
783
|
+
100, 101, 674, 100, 101, 675, 100, 676,
|
784
|
+
101, 100, 677, 101, 100, 101, 129, 100,
|
785
|
+
101, 678, 679, 100, 680, 101, 681, 100,
|
786
|
+
682, 101, 100, 101, 683, 100, 101, 684,
|
787
|
+
100, 101, 685, 100, 101, 686, 100, 101,
|
788
|
+
687, 100, 101, 129, 100, 101, 688, 100,
|
789
|
+
101, 689, 100, 101, 690, 100, 101, 130,
|
790
|
+
100, 691, 101, 100, 692, 101, 100, 101,
|
791
|
+
693, 100, 101, 694, 100, 101, 695, 100,
|
792
|
+
101, 696, 100, 101, 130, 100, 101, 697,
|
793
|
+
100, 101, 698, 100, 101, 699, 100, 700,
|
794
|
+
101, 100, 701, 101, 100, 101, 130, 100,
|
795
|
+
101, 702, 100, 101, 703, 100, 101, 704,
|
796
|
+
100, 101, 705, 100, 101, 706, 100, 101,
|
797
|
+
707, 100, 101, 708, 100, 709, 101, 100,
|
798
|
+
130, 101, 100, 710, 0
|
799
|
+
]
|
800
|
+
|
801
|
+
class << self
|
802
|
+
attr_accessor :_lexer_trans_targs
|
803
|
+
private :_lexer_trans_targs, :_lexer_trans_targs=
|
804
|
+
end
|
805
|
+
self._lexer_trans_targs = [
|
806
|
+
0, 2, 4, 4, 5, 15, 17, 31,
|
807
|
+
34, 37, 56, 88, 91, 127, 141, 181,
|
808
|
+
208, 210, 219, 248, 3, 6, 7, 8,
|
809
|
+
9, 8, 8, 9, 8, 10, 10, 10,
|
810
|
+
11, 10, 10, 10, 11, 12, 13, 14,
|
811
|
+
4, 14, 15, 4, 16, 18, 19, 20,
|
812
|
+
21, 22, 23, 24, 25, 26, 27, 28,
|
813
|
+
29, 30, 613, 32, 33, 4, 16, 33,
|
814
|
+
4, 16, 35, 36, 4, 35, 34, 36,
|
815
|
+
38, 31, 55, 39, 47, 40, 43, 41,
|
816
|
+
42, 44, 45, 46, 48, 49, 50, 51,
|
817
|
+
52, 53, 54, 57, 58, 59, 60, 61,
|
818
|
+
62, 63, 64, 65, 64, 65, 65, 4,
|
819
|
+
66, 80, 550, 565, 578, 598, 604, 67,
|
820
|
+
68, 69, 70, 71, 72, 73, 74, 75,
|
821
|
+
76, 77, 78, 79, 4, 81, 82, 83,
|
822
|
+
84, 85, 86, 87, 4, 4, 5, 15,
|
823
|
+
17, 31, 34, 37, 56, 88, 91, 127,
|
824
|
+
141, 181, 208, 210, 219, 248, 89, 90,
|
825
|
+
92, 93, 94, 95, 96, 97, 98, 99,
|
826
|
+
100, 101, 102, 103, 104, 105, 106, 107,
|
827
|
+
108, 109, 108, 109, 109, 4, 110, 124,
|
828
|
+
125, 495, 502, 505, 520, 526, 528, 537,
|
829
|
+
111, 112, 113, 114, 115, 116, 117, 118,
|
830
|
+
119, 120, 121, 122, 123, 4, 87, 126,
|
831
|
+
124, 494, 478, 486, 128, 129, 130, 131,
|
832
|
+
132, 133, 134, 135, 136, 137, 138, 139,
|
833
|
+
140, 142, 442, 143, 150, 154, 156, 144,
|
834
|
+
145, 146, 147, 148, 149, 151, 152, 153,
|
835
|
+
155, 157, 158, 159, 160, 161, 162, 163,
|
836
|
+
162, 163, 163, 4, 164, 178, 179, 359,
|
837
|
+
366, 369, 384, 397, 412, 418, 420, 429,
|
838
|
+
165, 166, 167, 168, 169, 170, 171, 172,
|
839
|
+
173, 174, 175, 176, 177, 4, 87, 180,
|
840
|
+
178, 358, 342, 350, 182, 183, 184, 185,
|
841
|
+
186, 187, 188, 189, 190, 189, 190, 190,
|
842
|
+
4, 191, 205, 206, 255, 262, 265, 280,
|
843
|
+
293, 312, 318, 320, 329, 192, 193, 194,
|
844
|
+
195, 196, 197, 198, 199, 200, 201, 202,
|
845
|
+
203, 204, 4, 87, 207, 205, 254, 232,
|
846
|
+
240, 209, 211, 212, 213, 214, 215, 216,
|
847
|
+
217, 218, 220, 221, 222, 223, 224, 225,
|
848
|
+
226, 227, 228, 229, 230, 231, 233, 236,
|
849
|
+
234, 235, 237, 238, 239, 241, 242, 243,
|
850
|
+
244, 245, 246, 247, 248, 249, 250, 252,
|
851
|
+
253, 251, 249, 250, 251, 249, 252, 253,
|
852
|
+
5, 15, 17, 31, 34, 37, 56, 88,
|
853
|
+
91, 127, 141, 181, 208, 210, 219, 248,
|
854
|
+
256, 257, 258, 259, 260, 261, 263, 264,
|
855
|
+
266, 267, 268, 269, 270, 271, 272, 273,
|
856
|
+
274, 275, 276, 277, 278, 279, 281, 282,
|
857
|
+
283, 284, 285, 286, 287, 288, 289, 290,
|
858
|
+
291, 292, 294, 295, 302, 306, 308, 296,
|
859
|
+
297, 298, 299, 300, 301, 303, 304, 305,
|
860
|
+
307, 309, 310, 311, 313, 314, 315, 316,
|
861
|
+
317, 319, 321, 322, 323, 324, 325, 326,
|
862
|
+
327, 328, 330, 331, 332, 333, 334, 335,
|
863
|
+
336, 337, 338, 339, 340, 341, 343, 346,
|
864
|
+
344, 345, 347, 348, 349, 351, 352, 353,
|
865
|
+
354, 355, 356, 357, 360, 361, 362, 363,
|
866
|
+
364, 365, 367, 368, 370, 371, 372, 373,
|
867
|
+
374, 375, 376, 377, 378, 379, 380, 381,
|
868
|
+
382, 383, 385, 386, 387, 388, 389, 390,
|
869
|
+
391, 392, 393, 394, 395, 396, 398, 399,
|
870
|
+
406, 410, 400, 401, 402, 403, 404, 405,
|
871
|
+
407, 408, 409, 411, 413, 414, 415, 416,
|
872
|
+
417, 419, 421, 422, 423, 424, 425, 426,
|
873
|
+
427, 428, 430, 431, 432, 433, 434, 435,
|
874
|
+
436, 437, 438, 439, 440, 441, 443, 444,
|
875
|
+
445, 446, 447, 448, 449, 450, 451, 452,
|
876
|
+
451, 452, 452, 4, 453, 460, 469, 454,
|
877
|
+
455, 456, 457, 458, 459, 87, 461, 462,
|
878
|
+
463, 464, 465, 466, 467, 468, 470, 471,
|
879
|
+
472, 473, 474, 475, 476, 477, 479, 482,
|
880
|
+
480, 481, 483, 484, 485, 487, 488, 489,
|
881
|
+
490, 491, 492, 493, 496, 497, 498, 499,
|
882
|
+
500, 501, 503, 504, 506, 507, 514, 518,
|
883
|
+
508, 509, 510, 511, 512, 513, 515, 516,
|
884
|
+
517, 519, 521, 522, 523, 524, 525, 527,
|
885
|
+
529, 530, 531, 532, 533, 534, 535, 536,
|
886
|
+
538, 539, 540, 541, 542, 543, 544, 545,
|
887
|
+
546, 547, 548, 549, 551, 552, 553, 554,
|
888
|
+
555, 556, 557, 558, 559, 560, 561, 562,
|
889
|
+
563, 564, 566, 567, 568, 569, 570, 571,
|
890
|
+
572, 573, 574, 575, 576, 577, 579, 591,
|
891
|
+
580, 587, 581, 582, 583, 584, 585, 586,
|
892
|
+
588, 589, 590, 592, 593, 594, 595, 596,
|
893
|
+
597, 599, 600, 601, 602, 603, 605, 606,
|
894
|
+
607, 608, 609, 610, 611, 612, 0
|
895
|
+
]
|
896
|
+
|
897
|
+
class << self
|
898
|
+
attr_accessor :_lexer_trans_actions
|
899
|
+
private :_lexer_trans_actions, :_lexer_trans_actions=
|
900
|
+
end
|
901
|
+
self._lexer_trans_actions = [
|
902
|
+
43, 0, 0, 54, 3, 1, 0, 29,
|
903
|
+
1, 29, 29, 29, 29, 29, 29, 29,
|
904
|
+
29, 29, 29, 35, 0, 0, 0, 7,
|
905
|
+
139, 48, 0, 102, 9, 5, 45, 134,
|
906
|
+
45, 0, 33, 122, 33, 33, 0, 11,
|
907
|
+
106, 0, 0, 114, 25, 0, 0, 0,
|
908
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
909
|
+
0, 0, 0, 0, 57, 149, 126, 0,
|
910
|
+
110, 23, 0, 27, 118, 27, 51, 0,
|
911
|
+
0, 0, 0, 57, 57, 0, 0, 0,
|
912
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
913
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
914
|
+
0, 0, 57, 144, 0, 54, 0, 69,
|
915
|
+
33, 84, 84, 84, 84, 84, 84, 0,
|
916
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
917
|
+
0, 0, 0, 0, 13, 0, 0, 0,
|
918
|
+
0, 0, 0, 13, 31, 130, 60, 57,
|
919
|
+
31, 63, 57, 63, 63, 63, 63, 63,
|
920
|
+
63, 63, 63, 63, 63, 66, 0, 0,
|
921
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
922
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
923
|
+
57, 144, 0, 54, 0, 78, 33, 84,
|
924
|
+
84, 84, 84, 84, 84, 84, 84, 84,
|
925
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
926
|
+
0, 0, 0, 0, 0, 19, 19, 19,
|
927
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
928
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
929
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
930
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
931
|
+
0, 0, 0, 0, 0, 0, 57, 144,
|
932
|
+
0, 54, 0, 72, 33, 84, 84, 84,
|
933
|
+
84, 84, 84, 84, 84, 84, 84, 84,
|
934
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
935
|
+
0, 0, 0, 0, 0, 15, 15, 15,
|
936
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
937
|
+
0, 0, 0, 57, 144, 0, 54, 0,
|
938
|
+
75, 33, 84, 84, 84, 84, 84, 84,
|
939
|
+
84, 84, 84, 84, 84, 0, 0, 0,
|
940
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
941
|
+
0, 0, 17, 17, 17, 0, 0, 0,
|
942
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
943
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
944
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
945
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
946
|
+
0, 0, 0, 0, 0, 0, 37, 37,
|
947
|
+
54, 37, 87, 0, 0, 39, 0, 0,
|
948
|
+
93, 90, 41, 96, 90, 96, 96, 96,
|
949
|
+
96, 96, 96, 96, 96, 96, 96, 99,
|
950
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
951
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
952
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
953
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
954
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
955
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
956
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
957
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
958
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
959
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
960
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
961
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
962
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
963
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
964
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
965
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
966
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
967
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
968
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
969
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
970
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
971
|
+
0, 0, 0, 0, 0, 0, 57, 144,
|
972
|
+
0, 54, 0, 81, 84, 84, 84, 0,
|
973
|
+
0, 0, 0, 0, 0, 21, 0, 0,
|
974
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
975
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
976
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
977
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
978
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
979
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
980
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
981
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
982
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
983
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
984
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
985
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
986
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
987
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
988
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
989
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
990
|
+
0, 0, 0, 0, 0, 0, 0
|
991
|
+
]
|
992
|
+
|
993
|
+
class << self
|
994
|
+
attr_accessor :_lexer_eof_actions
|
995
|
+
private :_lexer_eof_actions, :_lexer_eof_actions=
|
996
|
+
end
|
997
|
+
self._lexer_eof_actions = [
|
998
|
+
0, 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, 43, 43, 43, 43, 43,
|
1005
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1006
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1007
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1008
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1009
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1010
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1011
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1012
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1013
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1014
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1015
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1016
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1017
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1018
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1019
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1020
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1021
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1022
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1023
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1024
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1025
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1026
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1027
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1028
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1029
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1030
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1031
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1032
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1033
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1034
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1035
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1036
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1037
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1038
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1039
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1040
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1041
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1042
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1043
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1044
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1045
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1046
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1047
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1048
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1049
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1050
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1051
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1052
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1053
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1054
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1055
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1056
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1057
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1058
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1059
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1060
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1061
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1062
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1063
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1064
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1065
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1066
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1067
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1068
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1069
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1070
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1071
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1072
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1073
|
+
43, 43, 43, 43, 43, 43, 43, 43,
|
1074
|
+
43, 43, 43, 43, 43, 43
|
1075
|
+
]
|
1076
|
+
|
1077
|
+
class << self
|
1078
|
+
attr_accessor :lexer_start
|
1079
|
+
end
|
1080
|
+
self.lexer_start = 1;
|
1081
|
+
class << self
|
1082
|
+
attr_accessor :lexer_first_final
|
1083
|
+
end
|
1084
|
+
self.lexer_first_final = 613;
|
1085
|
+
class << self
|
1086
|
+
attr_accessor :lexer_error
|
1087
|
+
end
|
1088
|
+
self.lexer_error = 0;
|
1089
|
+
|
1090
|
+
class << self
|
1091
|
+
attr_accessor :lexer_en_main
|
1092
|
+
end
|
1093
|
+
self.lexer_en_main = 1;
|
1094
|
+
|
1095
|
+
|
1096
|
+
# line 130 "ragel/i18n/sk.rb.rl"
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
def scan(data)
|
1100
|
+
data = (data + "\n%_FEATURE_END_%").unpack("c*") # Explicit EOF simplifies things considerably
|
1101
|
+
eof = pe = data.length
|
1102
|
+
|
1103
|
+
@line_number = 1
|
1104
|
+
@last_newline = 0
|
1105
|
+
|
1106
|
+
|
1107
|
+
# line 1108 "lib/gherkin/lexer/sk.rb"
|
1108
|
+
begin
|
1109
|
+
p ||= 0
|
1110
|
+
pe ||= data.length
|
1111
|
+
cs = lexer_start
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# line 140 "ragel/i18n/sk.rb.rl"
|
1115
|
+
|
1116
|
+
# line 1117 "lib/gherkin/lexer/sk.rb"
|
1117
|
+
begin
|
1118
|
+
_klen, _trans, _keys, _acts, _nacts = nil
|
1119
|
+
_goto_level = 0
|
1120
|
+
_resume = 10
|
1121
|
+
_eof_trans = 15
|
1122
|
+
_again = 20
|
1123
|
+
_test_eof = 30
|
1124
|
+
_out = 40
|
1125
|
+
while true
|
1126
|
+
_trigger_goto = false
|
1127
|
+
if _goto_level <= 0
|
1128
|
+
if p == pe
|
1129
|
+
_goto_level = _test_eof
|
1130
|
+
next
|
1131
|
+
end
|
1132
|
+
if cs == 0
|
1133
|
+
_goto_level = _out
|
1134
|
+
next
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
if _goto_level <= _resume
|
1138
|
+
_keys = _lexer_key_offsets[cs]
|
1139
|
+
_trans = _lexer_index_offsets[cs]
|
1140
|
+
_klen = _lexer_single_lengths[cs]
|
1141
|
+
_break_match = false
|
1142
|
+
|
1143
|
+
begin
|
1144
|
+
if _klen > 0
|
1145
|
+
_lower = _keys
|
1146
|
+
_upper = _keys + _klen - 1
|
1147
|
+
|
1148
|
+
loop do
|
1149
|
+
break if _upper < _lower
|
1150
|
+
_mid = _lower + ( (_upper - _lower) >> 1 )
|
1151
|
+
|
1152
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
1153
|
+
_upper = _mid - 1
|
1154
|
+
elsif data[p].ord > _lexer_trans_keys[_mid]
|
1155
|
+
_lower = _mid + 1
|
1156
|
+
else
|
1157
|
+
_trans += (_mid - _keys)
|
1158
|
+
_break_match = true
|
1159
|
+
break
|
1160
|
+
end
|
1161
|
+
end # loop
|
1162
|
+
break if _break_match
|
1163
|
+
_keys += _klen
|
1164
|
+
_trans += _klen
|
1165
|
+
end
|
1166
|
+
_klen = _lexer_range_lengths[cs]
|
1167
|
+
if _klen > 0
|
1168
|
+
_lower = _keys
|
1169
|
+
_upper = _keys + (_klen << 1) - 2
|
1170
|
+
loop do
|
1171
|
+
break if _upper < _lower
|
1172
|
+
_mid = _lower + (((_upper-_lower) >> 1) & ~1)
|
1173
|
+
if data[p].ord < _lexer_trans_keys[_mid]
|
1174
|
+
_upper = _mid - 2
|
1175
|
+
elsif data[p].ord > _lexer_trans_keys[_mid+1]
|
1176
|
+
_lower = _mid + 2
|
1177
|
+
else
|
1178
|
+
_trans += ((_mid - _keys) >> 1)
|
1179
|
+
_break_match = true
|
1180
|
+
break
|
1181
|
+
end
|
1182
|
+
end # loop
|
1183
|
+
break if _break_match
|
1184
|
+
_trans += _klen
|
1185
|
+
end
|
1186
|
+
end while false
|
1187
|
+
_trans = _lexer_indicies[_trans]
|
1188
|
+
cs = _lexer_trans_targs[_trans]
|
1189
|
+
if _lexer_trans_actions[_trans] != 0
|
1190
|
+
_acts = _lexer_trans_actions[_trans]
|
1191
|
+
_nacts = _lexer_actions[_acts]
|
1192
|
+
_acts += 1
|
1193
|
+
while _nacts > 0
|
1194
|
+
_nacts -= 1
|
1195
|
+
_acts += 1
|
1196
|
+
case _lexer_actions[_acts - 1]
|
1197
|
+
when 0 then
|
1198
|
+
# line 11 "ragel/i18n/sk.rb.rl"
|
1199
|
+
begin
|
1200
|
+
|
1201
|
+
@content_start = p
|
1202
|
+
@current_line = @line_number
|
1203
|
+
@start_col = p - @last_newline - "#{@keyword}:".length
|
1204
|
+
end
|
1205
|
+
when 1 then
|
1206
|
+
# line 17 "ragel/i18n/sk.rb.rl"
|
1207
|
+
begin
|
1208
|
+
|
1209
|
+
@current_line = @line_number
|
1210
|
+
@start_col = p - @last_newline
|
1211
|
+
end
|
1212
|
+
when 2 then
|
1213
|
+
# line 22 "ragel/i18n/sk.rb.rl"
|
1214
|
+
begin
|
1215
|
+
|
1216
|
+
@content_start = p
|
1217
|
+
end
|
1218
|
+
when 3 then
|
1219
|
+
# line 26 "ragel/i18n/sk.rb.rl"
|
1220
|
+
begin
|
1221
|
+
|
1222
|
+
@docstring_content_type_start = p
|
1223
|
+
end
|
1224
|
+
when 4 then
|
1225
|
+
# line 29 "ragel/i18n/sk.rb.rl"
|
1226
|
+
begin
|
1227
|
+
|
1228
|
+
@docstring_content_type_end = p
|
1229
|
+
end
|
1230
|
+
when 5 then
|
1231
|
+
# line 33 "ragel/i18n/sk.rb.rl"
|
1232
|
+
begin
|
1233
|
+
|
1234
|
+
con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
|
1235
|
+
con_type = utf8_pack(data[@docstring_content_type_start...@docstring_content_type_end]).strip
|
1236
|
+
@listener.doc_string(con_type, con, @current_line)
|
1237
|
+
end
|
1238
|
+
when 6 then
|
1239
|
+
# line 38 "ragel/i18n/sk.rb.rl"
|
1240
|
+
begin
|
1241
|
+
|
1242
|
+
p = store_keyword_content(:feature, data, p, eof)
|
1243
|
+
end
|
1244
|
+
when 7 then
|
1245
|
+
# line 42 "ragel/i18n/sk.rb.rl"
|
1246
|
+
begin
|
1247
|
+
|
1248
|
+
p = store_keyword_content(:background, data, p, eof)
|
1249
|
+
end
|
1250
|
+
when 8 then
|
1251
|
+
# line 46 "ragel/i18n/sk.rb.rl"
|
1252
|
+
begin
|
1253
|
+
|
1254
|
+
p = store_keyword_content(:scenario, data, p, eof)
|
1255
|
+
end
|
1256
|
+
when 9 then
|
1257
|
+
# line 50 "ragel/i18n/sk.rb.rl"
|
1258
|
+
begin
|
1259
|
+
|
1260
|
+
p = store_keyword_content(:scenario_outline, data, p, eof)
|
1261
|
+
end
|
1262
|
+
when 10 then
|
1263
|
+
# line 54 "ragel/i18n/sk.rb.rl"
|
1264
|
+
begin
|
1265
|
+
|
1266
|
+
p = store_keyword_content(:examples, data, p, eof)
|
1267
|
+
end
|
1268
|
+
when 11 then
|
1269
|
+
# line 58 "ragel/i18n/sk.rb.rl"
|
1270
|
+
begin
|
1271
|
+
|
1272
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1273
|
+
@listener.step(@keyword, con, @current_line)
|
1274
|
+
end
|
1275
|
+
when 12 then
|
1276
|
+
# line 63 "ragel/i18n/sk.rb.rl"
|
1277
|
+
begin
|
1278
|
+
|
1279
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1280
|
+
@listener.comment(con, @line_number)
|
1281
|
+
@keyword_start = nil
|
1282
|
+
end
|
1283
|
+
when 13 then
|
1284
|
+
# line 69 "ragel/i18n/sk.rb.rl"
|
1285
|
+
begin
|
1286
|
+
|
1287
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1288
|
+
@listener.tag(con, @current_line)
|
1289
|
+
@keyword_start = nil
|
1290
|
+
end
|
1291
|
+
when 14 then
|
1292
|
+
# line 75 "ragel/i18n/sk.rb.rl"
|
1293
|
+
begin
|
1294
|
+
|
1295
|
+
@line_number += 1
|
1296
|
+
end
|
1297
|
+
when 15 then
|
1298
|
+
# line 79 "ragel/i18n/sk.rb.rl"
|
1299
|
+
begin
|
1300
|
+
|
1301
|
+
@last_newline = p + 1
|
1302
|
+
end
|
1303
|
+
when 16 then
|
1304
|
+
# line 83 "ragel/i18n/sk.rb.rl"
|
1305
|
+
begin
|
1306
|
+
|
1307
|
+
@keyword_start ||= p
|
1308
|
+
end
|
1309
|
+
when 17 then
|
1310
|
+
# line 87 "ragel/i18n/sk.rb.rl"
|
1311
|
+
begin
|
1312
|
+
|
1313
|
+
@keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
|
1314
|
+
@keyword_start = nil
|
1315
|
+
end
|
1316
|
+
when 18 then
|
1317
|
+
# line 92 "ragel/i18n/sk.rb.rl"
|
1318
|
+
begin
|
1319
|
+
|
1320
|
+
@next_keyword_start = p
|
1321
|
+
end
|
1322
|
+
when 19 then
|
1323
|
+
# line 96 "ragel/i18n/sk.rb.rl"
|
1324
|
+
begin
|
1325
|
+
|
1326
|
+
p = p - 1
|
1327
|
+
current_row = []
|
1328
|
+
@current_line = @line_number
|
1329
|
+
end
|
1330
|
+
when 20 then
|
1331
|
+
# line 102 "ragel/i18n/sk.rb.rl"
|
1332
|
+
begin
|
1333
|
+
|
1334
|
+
@content_start = p
|
1335
|
+
end
|
1336
|
+
when 21 then
|
1337
|
+
# line 106 "ragel/i18n/sk.rb.rl"
|
1338
|
+
begin
|
1339
|
+
|
1340
|
+
con = utf8_pack(data[@content_start...p]).strip
|
1341
|
+
current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
|
1342
|
+
end
|
1343
|
+
when 22 then
|
1344
|
+
# line 111 "ragel/i18n/sk.rb.rl"
|
1345
|
+
begin
|
1346
|
+
|
1347
|
+
@listener.row(current_row, @current_line)
|
1348
|
+
end
|
1349
|
+
when 23 then
|
1350
|
+
# line 115 "ragel/i18n/sk.rb.rl"
|
1351
|
+
begin
|
1352
|
+
|
1353
|
+
if cs < lexer_first_final
|
1354
|
+
content = current_line_content(data, p)
|
1355
|
+
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])
|
1356
|
+
else
|
1357
|
+
@listener.eof
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
# line 1361 "lib/gherkin/lexer/sk.rb"
|
1361
|
+
end # action switch
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
if _trigger_goto
|
1365
|
+
next
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
if _goto_level <= _again
|
1369
|
+
if cs == 0
|
1370
|
+
_goto_level = _out
|
1371
|
+
next
|
1372
|
+
end
|
1373
|
+
p += 1
|
1374
|
+
if p != pe
|
1375
|
+
_goto_level = _resume
|
1376
|
+
next
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
if _goto_level <= _test_eof
|
1380
|
+
if p == eof
|
1381
|
+
__acts = _lexer_eof_actions[cs]
|
1382
|
+
__nacts = _lexer_actions[__acts]
|
1383
|
+
__acts += 1
|
1384
|
+
while __nacts > 0
|
1385
|
+
__nacts -= 1
|
1386
|
+
__acts += 1
|
1387
|
+
case _lexer_actions[__acts - 1]
|
1388
|
+
when 23 then
|
1389
|
+
# line 115 "ragel/i18n/sk.rb.rl"
|
1390
|
+
begin
|
1391
|
+
|
1392
|
+
if cs < lexer_first_final
|
1393
|
+
content = current_line_content(data, p)
|
1394
|
+
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])
|
1395
|
+
else
|
1396
|
+
@listener.eof
|
1397
|
+
end
|
1398
|
+
end
|
1399
|
+
# line 1400 "lib/gherkin/lexer/sk.rb"
|
1400
|
+
end # eof action switch
|
1401
|
+
end
|
1402
|
+
if _trigger_goto
|
1403
|
+
next
|
1404
|
+
end
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
if _goto_level <= _out
|
1408
|
+
break
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
# line 141 "ragel/i18n/sk.rb.rl"
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def unindent(startcol, text)
|
1417
|
+
text.gsub(/^[\t ]{0,#{startcol}}/, "")
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
def store_keyword_content(event, data, p, eof)
|
1421
|
+
end_point = (!@next_keyword_start or (p == eof)) ? p : @next_keyword_start
|
1422
|
+
content = unindent(@start_col + 2, utf8_pack(data[@content_start...end_point])).rstrip
|
1423
|
+
content_lines = content.split("\n")
|
1424
|
+
name = content_lines.shift || ""
|
1425
|
+
name.strip!
|
1426
|
+
description = content_lines.join("\n")
|
1427
|
+
@listener.__send__(event, @keyword, name, description, @current_line)
|
1428
|
+
@next_keyword_start ? @next_keyword_start - 1 : p
|
1429
|
+
ensure
|
1430
|
+
@next_keyword_start = nil
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
def current_line_content(data, p)
|
1434
|
+
rest = data[@last_newline..-1]
|
1435
|
+
utf8_pack(rest[0..rest.index(10)||-1]).strip # 10 is \n
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
if (RUBY_VERSION =~ /^1\.9|2\.0/)
|
1439
|
+
def utf8_pack(array)
|
1440
|
+
array.pack("c*").force_encoding("UTF-8")
|
1441
|
+
end
|
1442
|
+
else
|
1443
|
+
def utf8_pack(array)
|
1444
|
+
array.pack("c*")
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
end
|