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