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