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