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