gherkin 2.11.1 → 2.11.2

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