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