gherkin 2.3.5-universal-dotnet → 2.3.6-universal-dotnet

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