gherkin 2.11.1 → 2.11.2

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