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