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