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