gherkin 2.3.5-x86-mswin32 → 2.3.6-x86-mswin32

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