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