@wireweave/core 1.1.0 → 1.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5151 -2219
- package/dist/index.d.cts +783 -4
- package/dist/index.d.ts +783 -4
- package/dist/index.js +5120 -2216
- package/dist/parser.cjs +1017 -474
- package/dist/parser.d.cts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/parser.js +1017 -474
- package/dist/renderer.cjs +1244 -1673
- package/dist/renderer.d.cts +42 -133
- package/dist/renderer.d.ts +42 -133
- package/dist/renderer.js +1244 -1670
- package/dist/{types-DtovIYS6.d.cts → types-lcJzPcR0.d.cts} +40 -2
- package/dist/{types-DtovIYS6.d.ts → types-lcJzPcR0.d.ts} +40 -2
- package/package.json +1 -1
package/dist/parser.cjs
CHANGED
|
@@ -167,45 +167,46 @@ function peg$parse(input, options) {
|
|
|
167
167
|
const peg$c28 = "badge";
|
|
168
168
|
const peg$c29 = "icon";
|
|
169
169
|
const peg$c30 = "table";
|
|
170
|
-
const peg$c31 = "
|
|
171
|
-
const peg$c32 = "
|
|
172
|
-
const peg$c33 = "
|
|
173
|
-
const peg$c34 = "
|
|
174
|
-
const peg$c35 = "
|
|
175
|
-
const peg$c36 = "
|
|
176
|
-
const peg$c37 = "
|
|
177
|
-
const peg$c38 = "
|
|
178
|
-
const peg$c39 = "
|
|
179
|
-
const peg$c40 = "
|
|
180
|
-
const peg$c41 = "
|
|
181
|
-
const peg$c42 = "
|
|
182
|
-
const peg$c43 = "
|
|
183
|
-
const peg$c44 = "
|
|
184
|
-
const peg$c45 = "
|
|
185
|
-
const peg$c46 = "
|
|
186
|
-
const peg$c47 = "
|
|
187
|
-
const peg$c48 = "
|
|
188
|
-
const peg$c49 =
|
|
189
|
-
const peg$c50 = "
|
|
190
|
-
const peg$c51 = "
|
|
191
|
-
const peg$c52 = "
|
|
192
|
-
const peg$c53 = "
|
|
193
|
-
const peg$c54 = "
|
|
194
|
-
const peg$c55 = "
|
|
195
|
-
const peg$c56 = "
|
|
196
|
-
const peg$c57 = "
|
|
197
|
-
const peg$c58 = "
|
|
198
|
-
const peg$c59 = "
|
|
199
|
-
const peg$c60 = "
|
|
200
|
-
const peg$c61 = "
|
|
201
|
-
const peg$c62 = "
|
|
202
|
-
const peg$c63 = "
|
|
203
|
-
const peg$c64 = "
|
|
204
|
-
const peg$c65 = "
|
|
205
|
-
const peg$c66 = "
|
|
206
|
-
const peg$c67 = "
|
|
207
|
-
const peg$c68 = "
|
|
208
|
-
const peg$c69 = "
|
|
170
|
+
const peg$c31 = "[";
|
|
171
|
+
const peg$c32 = ",";
|
|
172
|
+
const peg$c33 = "]";
|
|
173
|
+
const peg$c34 = "columns";
|
|
174
|
+
const peg$c35 = "list";
|
|
175
|
+
const peg$c36 = "item";
|
|
176
|
+
const peg$c37 = "alert";
|
|
177
|
+
const peg$c38 = "toast";
|
|
178
|
+
const peg$c39 = "progress";
|
|
179
|
+
const peg$c40 = "spinner";
|
|
180
|
+
const peg$c41 = "tooltip";
|
|
181
|
+
const peg$c42 = "popover";
|
|
182
|
+
const peg$c43 = "dropdown";
|
|
183
|
+
const peg$c44 = "divider";
|
|
184
|
+
const peg$c45 = "nav";
|
|
185
|
+
const peg$c46 = "group";
|
|
186
|
+
const peg$c47 = "tabs";
|
|
187
|
+
const peg$c48 = "tab";
|
|
188
|
+
const peg$c49 = "breadcrumb";
|
|
189
|
+
const peg$c50 = "=";
|
|
190
|
+
const peg$c51 = "//";
|
|
191
|
+
const peg$c52 = "/*";
|
|
192
|
+
const peg$c53 = '"';
|
|
193
|
+
const peg$c54 = "'";
|
|
194
|
+
const peg$c55 = "\\";
|
|
195
|
+
const peg$c56 = "n";
|
|
196
|
+
const peg$c57 = "r";
|
|
197
|
+
const peg$c58 = "t";
|
|
198
|
+
const peg$c59 = "-";
|
|
199
|
+
const peg$c60 = ".";
|
|
200
|
+
const peg$c61 = "px";
|
|
201
|
+
const peg$c62 = "%";
|
|
202
|
+
const peg$c63 = "em";
|
|
203
|
+
const peg$c64 = "rem";
|
|
204
|
+
const peg$c65 = "vh";
|
|
205
|
+
const peg$c66 = "vw";
|
|
206
|
+
const peg$c67 = "true";
|
|
207
|
+
const peg$c68 = "false";
|
|
208
|
+
const peg$c69 = "\n";
|
|
209
|
+
const peg$c70 = "*/";
|
|
209
210
|
const peg$r0 = /^[=[{}]/;
|
|
210
211
|
const peg$r1 = /^[a-zA-Z0-9_\-]/;
|
|
211
212
|
const peg$r2 = /^[0-9]/;
|
|
@@ -243,58 +244,59 @@ function peg$parse(input, options) {
|
|
|
243
244
|
const peg$e28 = peg$literalExpectation("badge", false);
|
|
244
245
|
const peg$e29 = peg$literalExpectation("icon", false);
|
|
245
246
|
const peg$e30 = peg$literalExpectation("table", false);
|
|
246
|
-
const peg$e31 = peg$literalExpectation("
|
|
247
|
-
const peg$e32 = peg$literalExpectation("
|
|
248
|
-
const peg$e33 = peg$literalExpectation("
|
|
249
|
-
const peg$e34 = peg$literalExpectation("
|
|
250
|
-
const peg$e35 = peg$literalExpectation("
|
|
251
|
-
const peg$e36 = peg$literalExpectation("
|
|
252
|
-
const peg$e37 = peg$literalExpectation("
|
|
253
|
-
const peg$e38 = peg$literalExpectation("
|
|
254
|
-
const peg$e39 = peg$literalExpectation("
|
|
255
|
-
const peg$e40 = peg$literalExpectation("
|
|
256
|
-
const peg$e41 = peg$literalExpectation("
|
|
257
|
-
const peg$e42 = peg$literalExpectation("
|
|
258
|
-
const peg$e43 = peg$literalExpectation("
|
|
259
|
-
const peg$e44 = peg$literalExpectation("
|
|
260
|
-
const peg$e45 = peg$literalExpectation("
|
|
261
|
-
const peg$e46 = peg$literalExpectation("
|
|
262
|
-
const peg$e47 = peg$
|
|
263
|
-
const peg$e48 = peg$literalExpectation("
|
|
264
|
-
const peg$e49 = peg$literalExpectation("
|
|
265
|
-
const peg$e50 = peg$
|
|
266
|
-
const peg$e51 = peg$classExpectation([
|
|
267
|
-
const peg$e52 = peg$
|
|
268
|
-
const peg$e53 = peg$literalExpectation(
|
|
269
|
-
const peg$e54 = peg$
|
|
270
|
-
const peg$e55 = peg$
|
|
271
|
-
const peg$e56 = peg$
|
|
272
|
-
const peg$e57 = peg$literalExpectation("
|
|
273
|
-
const peg$e58 = peg$literalExpectation("
|
|
274
|
-
const peg$e59 = peg$
|
|
275
|
-
const peg$e60 = peg$literalExpectation("
|
|
276
|
-
const peg$e61 = peg$
|
|
277
|
-
const peg$e62 = peg$literalExpectation("
|
|
278
|
-
const peg$e63 = peg$otherExpectation("
|
|
279
|
-
const peg$e64 = peg$literalExpectation("
|
|
280
|
-
const peg$e65 = peg$
|
|
281
|
-
const peg$e66 = peg$literalExpectation("
|
|
282
|
-
const peg$e67 = peg$
|
|
283
|
-
const peg$e68 = peg$literalExpectation("
|
|
284
|
-
const peg$e69 = peg$literalExpectation("
|
|
285
|
-
const peg$e70 = peg$
|
|
286
|
-
const peg$e71 = peg$literalExpectation("
|
|
287
|
-
const peg$e72 = peg$literalExpectation("
|
|
288
|
-
const peg$e73 = peg$
|
|
289
|
-
const peg$e74 = peg$
|
|
290
|
-
const peg$e75 = peg$literalExpectation("
|
|
291
|
-
const peg$e76 = peg$literalExpectation("
|
|
292
|
-
const peg$e77 = peg$
|
|
293
|
-
const peg$e78 = peg$classExpectation([" ", "
|
|
294
|
-
const peg$e79 = peg$
|
|
295
|
-
const peg$e80 = peg$
|
|
296
|
-
const peg$e81 = peg$
|
|
297
|
-
const peg$e82 = peg$literalExpectation("
|
|
247
|
+
const peg$e31 = peg$literalExpectation("[", false);
|
|
248
|
+
const peg$e32 = peg$literalExpectation(",", false);
|
|
249
|
+
const peg$e33 = peg$literalExpectation("]", false);
|
|
250
|
+
const peg$e34 = peg$literalExpectation("columns", false);
|
|
251
|
+
const peg$e35 = peg$literalExpectation("list", false);
|
|
252
|
+
const peg$e36 = peg$literalExpectation("item", false);
|
|
253
|
+
const peg$e37 = peg$literalExpectation("alert", false);
|
|
254
|
+
const peg$e38 = peg$literalExpectation("toast", false);
|
|
255
|
+
const peg$e39 = peg$literalExpectation("progress", false);
|
|
256
|
+
const peg$e40 = peg$literalExpectation("spinner", false);
|
|
257
|
+
const peg$e41 = peg$literalExpectation("tooltip", false);
|
|
258
|
+
const peg$e42 = peg$literalExpectation("popover", false);
|
|
259
|
+
const peg$e43 = peg$literalExpectation("dropdown", false);
|
|
260
|
+
const peg$e44 = peg$literalExpectation("divider", false);
|
|
261
|
+
const peg$e45 = peg$literalExpectation("nav", false);
|
|
262
|
+
const peg$e46 = peg$literalExpectation("group", false);
|
|
263
|
+
const peg$e47 = peg$literalExpectation("tabs", false);
|
|
264
|
+
const peg$e48 = peg$literalExpectation("tab", false);
|
|
265
|
+
const peg$e49 = peg$literalExpectation("breadcrumb", false);
|
|
266
|
+
const peg$e50 = peg$literalExpectation("=", false);
|
|
267
|
+
const peg$e51 = peg$classExpectation(["=", "[", "{", "}"], false, false, false);
|
|
268
|
+
const peg$e52 = peg$literalExpectation("//", false);
|
|
269
|
+
const peg$e53 = peg$literalExpectation("/*", false);
|
|
270
|
+
const peg$e54 = peg$anyExpectation();
|
|
271
|
+
const peg$e55 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", "-"], false, false, false);
|
|
272
|
+
const peg$e56 = peg$otherExpectation("string");
|
|
273
|
+
const peg$e57 = peg$literalExpectation('"', false);
|
|
274
|
+
const peg$e58 = peg$literalExpectation("'", false);
|
|
275
|
+
const peg$e59 = peg$literalExpectation("\\", false);
|
|
276
|
+
const peg$e60 = peg$literalExpectation("n", false);
|
|
277
|
+
const peg$e61 = peg$literalExpectation("r", false);
|
|
278
|
+
const peg$e62 = peg$literalExpectation("t", false);
|
|
279
|
+
const peg$e63 = peg$otherExpectation("number");
|
|
280
|
+
const peg$e64 = peg$literalExpectation("-", false);
|
|
281
|
+
const peg$e65 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
282
|
+
const peg$e66 = peg$literalExpectation(".", false);
|
|
283
|
+
const peg$e67 = peg$otherExpectation("value with unit");
|
|
284
|
+
const peg$e68 = peg$literalExpectation("px", false);
|
|
285
|
+
const peg$e69 = peg$literalExpectation("%", false);
|
|
286
|
+
const peg$e70 = peg$literalExpectation("em", false);
|
|
287
|
+
const peg$e71 = peg$literalExpectation("rem", false);
|
|
288
|
+
const peg$e72 = peg$literalExpectation("vh", false);
|
|
289
|
+
const peg$e73 = peg$literalExpectation("vw", false);
|
|
290
|
+
const peg$e74 = peg$otherExpectation("boolean");
|
|
291
|
+
const peg$e75 = peg$literalExpectation("true", false);
|
|
292
|
+
const peg$e76 = peg$literalExpectation("false", false);
|
|
293
|
+
const peg$e77 = peg$otherExpectation("identifier");
|
|
294
|
+
const peg$e78 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
295
|
+
const peg$e79 = peg$classExpectation([" ", " ", "\n", "\r"], false, false, false);
|
|
296
|
+
const peg$e80 = peg$otherExpectation("comment");
|
|
297
|
+
const peg$e81 = peg$classExpectation(["\n"], true, false, false);
|
|
298
|
+
const peg$e82 = peg$literalExpectation("\n", false);
|
|
299
|
+
const peg$e83 = peg$literalExpectation("*/", false);
|
|
298
300
|
function peg$f0(children) {
|
|
299
301
|
return createNode("Document", { children: children.filter((c) => c !== null) });
|
|
300
302
|
}
|
|
@@ -458,10 +460,11 @@ function peg$parse(input, options) {
|
|
|
458
460
|
...attrsToObject(attrs)
|
|
459
461
|
});
|
|
460
462
|
}
|
|
461
|
-
function peg$f28(label, attrs) {
|
|
463
|
+
function peg$f28(label, attrs, block) {
|
|
462
464
|
return createNode("Placeholder", {
|
|
463
465
|
label: label || null,
|
|
464
|
-
...attrsToObject(attrs)
|
|
466
|
+
...attrsToObject(attrs),
|
|
467
|
+
children: block ? block[2] : []
|
|
465
468
|
});
|
|
466
469
|
}
|
|
467
470
|
function peg$f29(label, attrs) {
|
|
@@ -482,13 +485,25 @@ function peg$parse(input, options) {
|
|
|
482
485
|
...attrsToObject(attrs)
|
|
483
486
|
});
|
|
484
487
|
}
|
|
485
|
-
function peg$f32(
|
|
488
|
+
function peg$f32(data, attrs) {
|
|
489
|
+
const columns = data.length > 0 ? data[0] : [];
|
|
490
|
+
const rows = data.slice(1);
|
|
491
|
+
return createNode("Table", {
|
|
492
|
+
columns,
|
|
493
|
+
rows,
|
|
494
|
+
...attrsToObject(attrs)
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
function peg$f33(attrs, rows) {
|
|
486
498
|
return createNode("Table", {
|
|
487
499
|
...attrsToObject(attrs),
|
|
488
500
|
...rows
|
|
489
501
|
});
|
|
490
502
|
}
|
|
491
|
-
function peg$
|
|
503
|
+
function peg$f34(first, rest) {
|
|
504
|
+
return [first, ...rest.map((r) => r[2])];
|
|
505
|
+
}
|
|
506
|
+
function peg$f35(items) {
|
|
492
507
|
const columns = [];
|
|
493
508
|
const rows = [];
|
|
494
509
|
for (const item of items.map((i) => i[0]).filter((i) => i !== null)) {
|
|
@@ -497,198 +512,244 @@ function peg$parse(input, options) {
|
|
|
497
512
|
}
|
|
498
513
|
return { columns, rows };
|
|
499
514
|
}
|
|
500
|
-
function peg$
|
|
515
|
+
function peg$f36(values) {
|
|
501
516
|
return { type: "columns", values };
|
|
502
517
|
}
|
|
503
|
-
function peg$
|
|
518
|
+
function peg$f37(values) {
|
|
504
519
|
return { type: "row", values };
|
|
505
520
|
}
|
|
506
|
-
function peg$
|
|
521
|
+
function peg$f38() {
|
|
507
522
|
return null;
|
|
508
523
|
}
|
|
509
|
-
function peg$
|
|
524
|
+
function peg$f39(items, attrs, block) {
|
|
510
525
|
return createNode("List", {
|
|
511
526
|
items: items || (block ? block : []),
|
|
512
527
|
...attrsToObject(attrs)
|
|
513
528
|
});
|
|
514
529
|
}
|
|
515
|
-
function peg$
|
|
530
|
+
function peg$f40(items) {
|
|
516
531
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
517
532
|
}
|
|
518
|
-
function peg$
|
|
533
|
+
function peg$f41(label, attrs, nested) {
|
|
519
534
|
return {
|
|
520
535
|
content: label,
|
|
521
536
|
...attrsToObject(attrs),
|
|
522
537
|
children: nested || []
|
|
523
538
|
};
|
|
524
539
|
}
|
|
525
|
-
function peg$
|
|
540
|
+
function peg$f42() {
|
|
526
541
|
return null;
|
|
527
542
|
}
|
|
528
|
-
function peg$
|
|
543
|
+
function peg$f43(label, attrs) {
|
|
529
544
|
return createNode("Alert", {
|
|
530
545
|
content: label,
|
|
531
546
|
...attrsToObject(attrs)
|
|
532
547
|
});
|
|
533
548
|
}
|
|
534
|
-
function peg$
|
|
549
|
+
function peg$f44(label, attrs) {
|
|
535
550
|
return createNode("Toast", {
|
|
536
551
|
content: label,
|
|
537
552
|
...attrsToObject(attrs)
|
|
538
553
|
});
|
|
539
554
|
}
|
|
540
|
-
function peg$
|
|
555
|
+
function peg$f45(attrs) {
|
|
541
556
|
return createNode("Progress", {
|
|
542
557
|
...attrsToObject(attrs)
|
|
543
558
|
});
|
|
544
559
|
}
|
|
545
|
-
function peg$
|
|
560
|
+
function peg$f46(label, attrs) {
|
|
546
561
|
return createNode("Spinner", {
|
|
547
562
|
label: label || null,
|
|
548
563
|
...attrsToObject(attrs)
|
|
549
564
|
});
|
|
550
565
|
}
|
|
551
|
-
function peg$
|
|
566
|
+
function peg$f47(label, attrs) {
|
|
552
567
|
return createNode("Tooltip", {
|
|
553
568
|
content: label,
|
|
554
569
|
...attrsToObject(attrs),
|
|
555
570
|
children: []
|
|
556
571
|
});
|
|
557
572
|
}
|
|
558
|
-
function peg$
|
|
573
|
+
function peg$f48(label, attrs, children) {
|
|
559
574
|
return createNode("Popover", {
|
|
560
575
|
title: label || null,
|
|
561
576
|
...attrsToObject(attrs),
|
|
562
577
|
children
|
|
563
578
|
});
|
|
564
579
|
}
|
|
565
|
-
function peg$
|
|
580
|
+
function peg$f49(items, attrs) {
|
|
581
|
+
const processedItems = items.map((item) => {
|
|
582
|
+
if (typeof item === "string") {
|
|
583
|
+
if (item === "---" || item === "-" || item === "divider") {
|
|
584
|
+
return { type: "divider" };
|
|
585
|
+
}
|
|
586
|
+
return { label: item };
|
|
587
|
+
}
|
|
588
|
+
return item;
|
|
589
|
+
});
|
|
590
|
+
return createNode("Dropdown", {
|
|
591
|
+
...attrsToObject(attrs),
|
|
592
|
+
items: processedItems
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
function peg$f50(attrs, items) {
|
|
566
596
|
return createNode("Dropdown", {
|
|
567
597
|
...attrsToObject(attrs),
|
|
568
598
|
items
|
|
569
599
|
});
|
|
570
600
|
}
|
|
571
|
-
function peg$
|
|
601
|
+
function peg$f51(items) {
|
|
572
602
|
return items.map((i) => i[0]).filter((i) => i !== null);
|
|
573
603
|
}
|
|
574
|
-
function peg$
|
|
604
|
+
function peg$f52(label, attrs) {
|
|
575
605
|
return { label, ...attrsToObject(attrs) };
|
|
576
606
|
}
|
|
577
|
-
function peg$
|
|
607
|
+
function peg$f53() {
|
|
578
608
|
return { type: "divider" };
|
|
579
609
|
}
|
|
580
|
-
function peg$
|
|
610
|
+
function peg$f54() {
|
|
581
611
|
return null;
|
|
582
612
|
}
|
|
583
|
-
function peg$
|
|
613
|
+
function peg$f55(items, attrs, block) {
|
|
584
614
|
return createNode("Nav", {
|
|
585
615
|
items: items || [],
|
|
586
|
-
...attrsToObject(attrs)
|
|
616
|
+
...attrsToObject(attrs),
|
|
617
|
+
children: block || []
|
|
587
618
|
});
|
|
588
619
|
}
|
|
589
|
-
function peg$
|
|
620
|
+
function peg$f56(content) {
|
|
621
|
+
return content.map((c) => c[0]).filter((c) => c !== null);
|
|
622
|
+
}
|
|
623
|
+
function peg$f57() {
|
|
624
|
+
return { type: "divider" };
|
|
625
|
+
}
|
|
626
|
+
function peg$f58() {
|
|
627
|
+
return null;
|
|
628
|
+
}
|
|
629
|
+
function peg$f59(label, attrs, items) {
|
|
630
|
+
return {
|
|
631
|
+
type: "group",
|
|
632
|
+
label,
|
|
633
|
+
...attrsToObject(attrs),
|
|
634
|
+
items: items.map((i) => i[0]).filter((i) => i !== null)
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
function peg$f60() {
|
|
638
|
+
return { type: "divider" };
|
|
639
|
+
}
|
|
640
|
+
function peg$f61() {
|
|
641
|
+
return null;
|
|
642
|
+
}
|
|
643
|
+
function peg$f62(label, attrs) {
|
|
644
|
+
return {
|
|
645
|
+
type: "item",
|
|
646
|
+
label,
|
|
647
|
+
...attrsToObject(attrs)
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
function peg$f63(items, attrs, block) {
|
|
590
651
|
return createNode("Tabs", {
|
|
591
652
|
items: items || [],
|
|
592
653
|
...attrsToObject(attrs),
|
|
593
654
|
children: block || []
|
|
594
655
|
});
|
|
595
656
|
}
|
|
596
|
-
function peg$
|
|
657
|
+
function peg$f64(tabs) {
|
|
597
658
|
return tabs.map((t) => t[0]).filter((t) => t !== null);
|
|
598
659
|
}
|
|
599
|
-
function peg$
|
|
660
|
+
function peg$f65(label, attrs, children) {
|
|
600
661
|
return {
|
|
601
662
|
label,
|
|
602
663
|
...attrsToObject(attrs),
|
|
603
664
|
children
|
|
604
665
|
};
|
|
605
666
|
}
|
|
606
|
-
function peg$
|
|
667
|
+
function peg$f66() {
|
|
607
668
|
return null;
|
|
608
669
|
}
|
|
609
|
-
function peg$
|
|
670
|
+
function peg$f67(items, attrs) {
|
|
610
671
|
return createNode("Breadcrumb", {
|
|
611
672
|
items,
|
|
612
673
|
...attrsToObject(attrs)
|
|
613
674
|
});
|
|
614
675
|
}
|
|
615
|
-
function peg$
|
|
676
|
+
function peg$f68(attrs) {
|
|
616
677
|
return createNode("Divider", {
|
|
617
678
|
...attrsToObject(attrs)
|
|
618
679
|
});
|
|
619
680
|
}
|
|
620
|
-
function peg$
|
|
681
|
+
function peg$f69(attrs) {
|
|
621
682
|
return attrs;
|
|
622
683
|
}
|
|
623
|
-
function peg$
|
|
684
|
+
function peg$f70(name, value) {
|
|
624
685
|
return { name, value };
|
|
625
686
|
}
|
|
626
|
-
function peg$
|
|
687
|
+
function peg$f71(flag) {
|
|
627
688
|
return { name: flag, value: true };
|
|
628
689
|
}
|
|
629
|
-
function peg$
|
|
690
|
+
function peg$f72(name) {
|
|
630
691
|
return name;
|
|
631
692
|
}
|
|
632
|
-
function peg$
|
|
693
|
+
function peg$f73(chars) {
|
|
633
694
|
return chars.join("");
|
|
634
695
|
}
|
|
635
|
-
function peg$
|
|
696
|
+
function peg$f74(chars) {
|
|
636
697
|
return chars.join("");
|
|
637
698
|
}
|
|
638
|
-
function peg$
|
|
699
|
+
function peg$f75(char) {
|
|
639
700
|
return char;
|
|
640
701
|
}
|
|
641
|
-
function peg$
|
|
702
|
+
function peg$f76(seq) {
|
|
642
703
|
return seq;
|
|
643
704
|
}
|
|
644
|
-
function peg$
|
|
705
|
+
function peg$f77(char) {
|
|
645
706
|
return char;
|
|
646
707
|
}
|
|
647
|
-
function peg$
|
|
708
|
+
function peg$f78(seq) {
|
|
648
709
|
return seq;
|
|
649
710
|
}
|
|
650
|
-
function peg$
|
|
711
|
+
function peg$f79() {
|
|
651
712
|
return "\n";
|
|
652
713
|
}
|
|
653
|
-
function peg$
|
|
714
|
+
function peg$f80() {
|
|
654
715
|
return "\r";
|
|
655
716
|
}
|
|
656
|
-
function peg$
|
|
717
|
+
function peg$f81() {
|
|
657
718
|
return " ";
|
|
658
719
|
}
|
|
659
|
-
function peg$
|
|
720
|
+
function peg$f82() {
|
|
660
721
|
return "\\";
|
|
661
722
|
}
|
|
662
|
-
function peg$
|
|
723
|
+
function peg$f83() {
|
|
663
724
|
return '"';
|
|
664
725
|
}
|
|
665
|
-
function peg$
|
|
726
|
+
function peg$f84() {
|
|
666
727
|
return "'";
|
|
667
728
|
}
|
|
668
|
-
function peg$
|
|
729
|
+
function peg$f85(sign, digits, decimal) {
|
|
669
730
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
670
731
|
return parseFloat(num);
|
|
671
732
|
}
|
|
672
|
-
function peg$
|
|
733
|
+
function peg$f86(sign, digits, decimal, unit) {
|
|
673
734
|
const num = (sign || "") + digits.join("") + (decimal ? "." + decimal[1].join("") : "");
|
|
674
735
|
return { value: parseFloat(num), unit };
|
|
675
736
|
}
|
|
676
|
-
function peg$
|
|
737
|
+
function peg$f87() {
|
|
677
738
|
return true;
|
|
678
739
|
}
|
|
679
|
-
function peg$
|
|
740
|
+
function peg$f88() {
|
|
680
741
|
return false;
|
|
681
742
|
}
|
|
682
|
-
function peg$
|
|
743
|
+
function peg$f89(head, tail) {
|
|
683
744
|
return head + tail.join("");
|
|
684
745
|
}
|
|
685
|
-
function peg$
|
|
746
|
+
function peg$f90(items) {
|
|
686
747
|
return items || [];
|
|
687
748
|
}
|
|
688
|
-
function peg$
|
|
749
|
+
function peg$f91(head, tail) {
|
|
689
750
|
return [head, ...tail.map((t) => t[3])];
|
|
690
751
|
}
|
|
691
|
-
function peg$
|
|
752
|
+
function peg$f92(props) {
|
|
692
753
|
const result = {};
|
|
693
754
|
if (props) {
|
|
694
755
|
for (const p of props) {
|
|
@@ -697,13 +758,13 @@ function peg$parse(input, options) {
|
|
|
697
758
|
}
|
|
698
759
|
return result;
|
|
699
760
|
}
|
|
700
|
-
function peg$
|
|
761
|
+
function peg$f93(head, tail) {
|
|
701
762
|
return [head, ...tail.map((t) => t[3])];
|
|
702
763
|
}
|
|
703
|
-
function peg$
|
|
764
|
+
function peg$f94(name, value) {
|
|
704
765
|
return { name, value };
|
|
705
766
|
}
|
|
706
|
-
function peg$
|
|
767
|
+
function peg$f95(name) {
|
|
707
768
|
return { name, value: true };
|
|
708
769
|
}
|
|
709
770
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -2217,7 +2278,7 @@ function peg$parse(input, options) {
|
|
|
2217
2278
|
return s0;
|
|
2218
2279
|
}
|
|
2219
2280
|
function peg$parsePlaceholder() {
|
|
2220
|
-
let s0, s1, s2, s3, s4, s5;
|
|
2281
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
2221
2282
|
s0 = peg$currPos;
|
|
2222
2283
|
if (input.substr(peg$currPos, 11) === peg$c26) {
|
|
2223
2284
|
s1 = peg$c26;
|
|
@@ -2239,8 +2300,51 @@ function peg$parse(input, options) {
|
|
|
2239
2300
|
if (s5 === peg$FAILED) {
|
|
2240
2301
|
s5 = null;
|
|
2241
2302
|
}
|
|
2303
|
+
s6 = peg$parse_();
|
|
2304
|
+
s7 = peg$currPos;
|
|
2305
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2306
|
+
s8 = peg$c1;
|
|
2307
|
+
peg$currPos++;
|
|
2308
|
+
} else {
|
|
2309
|
+
s8 = peg$FAILED;
|
|
2310
|
+
if (peg$silentFails === 0) {
|
|
2311
|
+
peg$fail(peg$e1);
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
if (s8 !== peg$FAILED) {
|
|
2315
|
+
s9 = peg$parse_();
|
|
2316
|
+
s10 = peg$parseChildren();
|
|
2317
|
+
if (s10 !== peg$FAILED) {
|
|
2318
|
+
s11 = peg$parse_();
|
|
2319
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2320
|
+
s12 = peg$c2;
|
|
2321
|
+
peg$currPos++;
|
|
2322
|
+
} else {
|
|
2323
|
+
s12 = peg$FAILED;
|
|
2324
|
+
if (peg$silentFails === 0) {
|
|
2325
|
+
peg$fail(peg$e2);
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
if (s12 !== peg$FAILED) {
|
|
2329
|
+
s8 = [s8, s9, s10, s11, s12];
|
|
2330
|
+
s7 = s8;
|
|
2331
|
+
} else {
|
|
2332
|
+
peg$currPos = s7;
|
|
2333
|
+
s7 = peg$FAILED;
|
|
2334
|
+
}
|
|
2335
|
+
} else {
|
|
2336
|
+
peg$currPos = s7;
|
|
2337
|
+
s7 = peg$FAILED;
|
|
2338
|
+
}
|
|
2339
|
+
} else {
|
|
2340
|
+
peg$currPos = s7;
|
|
2341
|
+
s7 = peg$FAILED;
|
|
2342
|
+
}
|
|
2343
|
+
if (s7 === peg$FAILED) {
|
|
2344
|
+
s7 = null;
|
|
2345
|
+
}
|
|
2242
2346
|
peg$savedPos = s0;
|
|
2243
|
-
s0 = peg$f28(s3, s5);
|
|
2347
|
+
s0 = peg$f28(s3, s5, s7);
|
|
2244
2348
|
} else {
|
|
2245
2349
|
peg$currPos = s0;
|
|
2246
2350
|
s0 = peg$FAILED;
|
|
@@ -2358,36 +2462,177 @@ function peg$parse(input, options) {
|
|
|
2358
2462
|
}
|
|
2359
2463
|
if (s1 !== peg$FAILED) {
|
|
2360
2464
|
s2 = peg$parse_();
|
|
2361
|
-
s3 = peg$
|
|
2362
|
-
if (s3
|
|
2363
|
-
|
|
2465
|
+
s3 = peg$parseNestedArray();
|
|
2466
|
+
if (s3 !== peg$FAILED) {
|
|
2467
|
+
s4 = peg$parse_();
|
|
2468
|
+
s5 = peg$parseAttributes();
|
|
2469
|
+
if (s5 === peg$FAILED) {
|
|
2470
|
+
s5 = null;
|
|
2471
|
+
}
|
|
2472
|
+
peg$savedPos = s0;
|
|
2473
|
+
s0 = peg$f32(s3, s5);
|
|
2474
|
+
} else {
|
|
2475
|
+
peg$currPos = s0;
|
|
2476
|
+
s0 = peg$FAILED;
|
|
2364
2477
|
}
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2478
|
+
} else {
|
|
2479
|
+
peg$currPos = s0;
|
|
2480
|
+
s0 = peg$FAILED;
|
|
2481
|
+
}
|
|
2482
|
+
if (s0 === peg$FAILED) {
|
|
2483
|
+
s0 = peg$currPos;
|
|
2484
|
+
if (input.substr(peg$currPos, 5) === peg$c30) {
|
|
2485
|
+
s1 = peg$c30;
|
|
2486
|
+
peg$currPos += 5;
|
|
2369
2487
|
} else {
|
|
2370
|
-
|
|
2488
|
+
s1 = peg$FAILED;
|
|
2371
2489
|
if (peg$silentFails === 0) {
|
|
2372
|
-
peg$fail(peg$
|
|
2490
|
+
peg$fail(peg$e30);
|
|
2373
2491
|
}
|
|
2374
2492
|
}
|
|
2375
|
-
if (
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2493
|
+
if (s1 !== peg$FAILED) {
|
|
2494
|
+
s2 = peg$parse_();
|
|
2495
|
+
s3 = peg$parseAttributes();
|
|
2496
|
+
if (s3 === peg$FAILED) {
|
|
2497
|
+
s3 = null;
|
|
2498
|
+
}
|
|
2499
|
+
s4 = peg$parse_();
|
|
2500
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
2501
|
+
s5 = peg$c1;
|
|
2381
2502
|
peg$currPos++;
|
|
2382
2503
|
} else {
|
|
2383
|
-
|
|
2504
|
+
s5 = peg$FAILED;
|
|
2384
2505
|
if (peg$silentFails === 0) {
|
|
2385
|
-
peg$fail(peg$
|
|
2506
|
+
peg$fail(peg$e1);
|
|
2386
2507
|
}
|
|
2387
2508
|
}
|
|
2388
|
-
if (
|
|
2509
|
+
if (s5 !== peg$FAILED) {
|
|
2510
|
+
s6 = peg$parse_();
|
|
2511
|
+
s7 = peg$parseTableContent();
|
|
2512
|
+
s8 = peg$parse_();
|
|
2513
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
2514
|
+
s9 = peg$c2;
|
|
2515
|
+
peg$currPos++;
|
|
2516
|
+
} else {
|
|
2517
|
+
s9 = peg$FAILED;
|
|
2518
|
+
if (peg$silentFails === 0) {
|
|
2519
|
+
peg$fail(peg$e2);
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
if (s9 !== peg$FAILED) {
|
|
2523
|
+
peg$savedPos = s0;
|
|
2524
|
+
s0 = peg$f33(s3, s7);
|
|
2525
|
+
} else {
|
|
2526
|
+
peg$currPos = s0;
|
|
2527
|
+
s0 = peg$FAILED;
|
|
2528
|
+
}
|
|
2529
|
+
} else {
|
|
2530
|
+
peg$currPos = s0;
|
|
2531
|
+
s0 = peg$FAILED;
|
|
2532
|
+
}
|
|
2533
|
+
} else {
|
|
2534
|
+
peg$currPos = s0;
|
|
2535
|
+
s0 = peg$FAILED;
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
return s0;
|
|
2539
|
+
}
|
|
2540
|
+
function peg$parseNestedArray() {
|
|
2541
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2542
|
+
s0 = peg$currPos;
|
|
2543
|
+
if (input.charCodeAt(peg$currPos) === 91) {
|
|
2544
|
+
s1 = peg$c31;
|
|
2545
|
+
peg$currPos++;
|
|
2546
|
+
} else {
|
|
2547
|
+
s1 = peg$FAILED;
|
|
2548
|
+
if (peg$silentFails === 0) {
|
|
2549
|
+
peg$fail(peg$e31);
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
if (s1 !== peg$FAILED) {
|
|
2553
|
+
s2 = peg$parse_();
|
|
2554
|
+
s3 = peg$parseArray();
|
|
2555
|
+
if (s3 !== peg$FAILED) {
|
|
2556
|
+
s4 = peg$parse_();
|
|
2557
|
+
s5 = [];
|
|
2558
|
+
s6 = peg$currPos;
|
|
2559
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2560
|
+
s7 = peg$c32;
|
|
2561
|
+
peg$currPos++;
|
|
2562
|
+
} else {
|
|
2563
|
+
s7 = peg$FAILED;
|
|
2564
|
+
if (peg$silentFails === 0) {
|
|
2565
|
+
peg$fail(peg$e32);
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
if (s7 !== peg$FAILED) {
|
|
2569
|
+
s8 = peg$parse_();
|
|
2570
|
+
s9 = peg$parseArray();
|
|
2571
|
+
if (s9 !== peg$FAILED) {
|
|
2572
|
+
s10 = peg$parse_();
|
|
2573
|
+
s7 = [s7, s8, s9, s10];
|
|
2574
|
+
s6 = s7;
|
|
2575
|
+
} else {
|
|
2576
|
+
peg$currPos = s6;
|
|
2577
|
+
s6 = peg$FAILED;
|
|
2578
|
+
}
|
|
2579
|
+
} else {
|
|
2580
|
+
peg$currPos = s6;
|
|
2581
|
+
s6 = peg$FAILED;
|
|
2582
|
+
}
|
|
2583
|
+
while (s6 !== peg$FAILED) {
|
|
2584
|
+
s5.push(s6);
|
|
2585
|
+
s6 = peg$currPos;
|
|
2586
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2587
|
+
s7 = peg$c32;
|
|
2588
|
+
peg$currPos++;
|
|
2589
|
+
} else {
|
|
2590
|
+
s7 = peg$FAILED;
|
|
2591
|
+
if (peg$silentFails === 0) {
|
|
2592
|
+
peg$fail(peg$e32);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
if (s7 !== peg$FAILED) {
|
|
2596
|
+
s8 = peg$parse_();
|
|
2597
|
+
s9 = peg$parseArray();
|
|
2598
|
+
if (s9 !== peg$FAILED) {
|
|
2599
|
+
s10 = peg$parse_();
|
|
2600
|
+
s7 = [s7, s8, s9, s10];
|
|
2601
|
+
s6 = s7;
|
|
2602
|
+
} else {
|
|
2603
|
+
peg$currPos = s6;
|
|
2604
|
+
s6 = peg$FAILED;
|
|
2605
|
+
}
|
|
2606
|
+
} else {
|
|
2607
|
+
peg$currPos = s6;
|
|
2608
|
+
s6 = peg$FAILED;
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2612
|
+
s6 = peg$c32;
|
|
2613
|
+
peg$currPos++;
|
|
2614
|
+
} else {
|
|
2615
|
+
s6 = peg$FAILED;
|
|
2616
|
+
if (peg$silentFails === 0) {
|
|
2617
|
+
peg$fail(peg$e32);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
if (s6 === peg$FAILED) {
|
|
2621
|
+
s6 = null;
|
|
2622
|
+
}
|
|
2623
|
+
s7 = peg$parse_();
|
|
2624
|
+
if (input.charCodeAt(peg$currPos) === 93) {
|
|
2625
|
+
s8 = peg$c33;
|
|
2626
|
+
peg$currPos++;
|
|
2627
|
+
} else {
|
|
2628
|
+
s8 = peg$FAILED;
|
|
2629
|
+
if (peg$silentFails === 0) {
|
|
2630
|
+
peg$fail(peg$e33);
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
if (s8 !== peg$FAILED) {
|
|
2389
2634
|
peg$savedPos = s0;
|
|
2390
|
-
s0 = peg$
|
|
2635
|
+
s0 = peg$f34(s3, s5);
|
|
2391
2636
|
} else {
|
|
2392
2637
|
peg$currPos = s0;
|
|
2393
2638
|
s0 = peg$FAILED;
|
|
@@ -2430,20 +2675,20 @@ function peg$parse(input, options) {
|
|
|
2430
2675
|
}
|
|
2431
2676
|
}
|
|
2432
2677
|
peg$savedPos = s0;
|
|
2433
|
-
s1 = peg$
|
|
2678
|
+
s1 = peg$f35(s1);
|
|
2434
2679
|
s0 = s1;
|
|
2435
2680
|
return s0;
|
|
2436
2681
|
}
|
|
2437
2682
|
function peg$parseTableRow() {
|
|
2438
2683
|
let s0, s1, s2, s3;
|
|
2439
2684
|
s0 = peg$currPos;
|
|
2440
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2441
|
-
s1 = peg$
|
|
2685
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
2686
|
+
s1 = peg$c34;
|
|
2442
2687
|
peg$currPos += 7;
|
|
2443
2688
|
} else {
|
|
2444
2689
|
s1 = peg$FAILED;
|
|
2445
2690
|
if (peg$silentFails === 0) {
|
|
2446
|
-
peg$fail(peg$
|
|
2691
|
+
peg$fail(peg$e34);
|
|
2447
2692
|
}
|
|
2448
2693
|
}
|
|
2449
2694
|
if (s1 !== peg$FAILED) {
|
|
@@ -2451,7 +2696,7 @@ function peg$parse(input, options) {
|
|
|
2451
2696
|
s3 = peg$parseArray();
|
|
2452
2697
|
if (s3 !== peg$FAILED) {
|
|
2453
2698
|
peg$savedPos = s0;
|
|
2454
|
-
s0 = peg$
|
|
2699
|
+
s0 = peg$f36(s3);
|
|
2455
2700
|
} else {
|
|
2456
2701
|
peg$currPos = s0;
|
|
2457
2702
|
s0 = peg$FAILED;
|
|
@@ -2476,7 +2721,7 @@ function peg$parse(input, options) {
|
|
|
2476
2721
|
s3 = peg$parseArray();
|
|
2477
2722
|
if (s3 !== peg$FAILED) {
|
|
2478
2723
|
peg$savedPos = s0;
|
|
2479
|
-
s0 = peg$
|
|
2724
|
+
s0 = peg$f37(s3);
|
|
2480
2725
|
} else {
|
|
2481
2726
|
peg$currPos = s0;
|
|
2482
2727
|
s0 = peg$FAILED;
|
|
@@ -2490,7 +2735,7 @@ function peg$parse(input, options) {
|
|
|
2490
2735
|
s1 = peg$parseComment();
|
|
2491
2736
|
if (s1 !== peg$FAILED) {
|
|
2492
2737
|
peg$savedPos = s0;
|
|
2493
|
-
s1 = peg$
|
|
2738
|
+
s1 = peg$f38();
|
|
2494
2739
|
}
|
|
2495
2740
|
s0 = s1;
|
|
2496
2741
|
}
|
|
@@ -2500,13 +2745,13 @@ function peg$parse(input, options) {
|
|
|
2500
2745
|
function peg$parseList() {
|
|
2501
2746
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2502
2747
|
s0 = peg$currPos;
|
|
2503
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2504
|
-
s1 = peg$
|
|
2748
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
2749
|
+
s1 = peg$c35;
|
|
2505
2750
|
peg$currPos += 4;
|
|
2506
2751
|
} else {
|
|
2507
2752
|
s1 = peg$FAILED;
|
|
2508
2753
|
if (peg$silentFails === 0) {
|
|
2509
|
-
peg$fail(peg$
|
|
2754
|
+
peg$fail(peg$e35);
|
|
2510
2755
|
}
|
|
2511
2756
|
}
|
|
2512
2757
|
if (s1 !== peg$FAILED) {
|
|
@@ -2526,7 +2771,7 @@ function peg$parse(input, options) {
|
|
|
2526
2771
|
s7 = null;
|
|
2527
2772
|
}
|
|
2528
2773
|
peg$savedPos = s0;
|
|
2529
|
-
s0 = peg$
|
|
2774
|
+
s0 = peg$f39(s3, s5, s7);
|
|
2530
2775
|
} else {
|
|
2531
2776
|
peg$currPos = s0;
|
|
2532
2777
|
s0 = peg$FAILED;
|
|
@@ -2582,7 +2827,7 @@ function peg$parse(input, options) {
|
|
|
2582
2827
|
}
|
|
2583
2828
|
if (s4 !== peg$FAILED) {
|
|
2584
2829
|
peg$savedPos = s0;
|
|
2585
|
-
s0 = peg$
|
|
2830
|
+
s0 = peg$f40(s3);
|
|
2586
2831
|
} else {
|
|
2587
2832
|
peg$currPos = s0;
|
|
2588
2833
|
s0 = peg$FAILED;
|
|
@@ -2596,13 +2841,13 @@ function peg$parse(input, options) {
|
|
|
2596
2841
|
function peg$parseListItem() {
|
|
2597
2842
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2598
2843
|
s0 = peg$currPos;
|
|
2599
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2600
|
-
s1 = peg$
|
|
2844
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
2845
|
+
s1 = peg$c36;
|
|
2601
2846
|
peg$currPos += 4;
|
|
2602
2847
|
} else {
|
|
2603
2848
|
s1 = peg$FAILED;
|
|
2604
2849
|
if (peg$silentFails === 0) {
|
|
2605
|
-
peg$fail(peg$
|
|
2850
|
+
peg$fail(peg$e36);
|
|
2606
2851
|
}
|
|
2607
2852
|
}
|
|
2608
2853
|
if (s1 !== peg$FAILED) {
|
|
@@ -2620,7 +2865,7 @@ function peg$parse(input, options) {
|
|
|
2620
2865
|
s7 = null;
|
|
2621
2866
|
}
|
|
2622
2867
|
peg$savedPos = s0;
|
|
2623
|
-
s0 = peg$
|
|
2868
|
+
s0 = peg$f41(s3, s5, s7);
|
|
2624
2869
|
} else {
|
|
2625
2870
|
peg$currPos = s0;
|
|
2626
2871
|
s0 = peg$FAILED;
|
|
@@ -2634,7 +2879,7 @@ function peg$parse(input, options) {
|
|
|
2634
2879
|
s1 = peg$parseComment();
|
|
2635
2880
|
if (s1 !== peg$FAILED) {
|
|
2636
2881
|
peg$savedPos = s0;
|
|
2637
|
-
s1 = peg$
|
|
2882
|
+
s1 = peg$f42();
|
|
2638
2883
|
}
|
|
2639
2884
|
s0 = s1;
|
|
2640
2885
|
}
|
|
@@ -2643,13 +2888,13 @@ function peg$parse(input, options) {
|
|
|
2643
2888
|
function peg$parseAlert() {
|
|
2644
2889
|
let s0, s1, s2, s3, s4, s5;
|
|
2645
2890
|
s0 = peg$currPos;
|
|
2646
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2647
|
-
s1 = peg$
|
|
2891
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
2892
|
+
s1 = peg$c37;
|
|
2648
2893
|
peg$currPos += 5;
|
|
2649
2894
|
} else {
|
|
2650
2895
|
s1 = peg$FAILED;
|
|
2651
2896
|
if (peg$silentFails === 0) {
|
|
2652
|
-
peg$fail(peg$
|
|
2897
|
+
peg$fail(peg$e37);
|
|
2653
2898
|
}
|
|
2654
2899
|
}
|
|
2655
2900
|
if (s1 !== peg$FAILED) {
|
|
@@ -2662,7 +2907,7 @@ function peg$parse(input, options) {
|
|
|
2662
2907
|
s5 = null;
|
|
2663
2908
|
}
|
|
2664
2909
|
peg$savedPos = s0;
|
|
2665
|
-
s0 = peg$
|
|
2910
|
+
s0 = peg$f43(s3, s5);
|
|
2666
2911
|
} else {
|
|
2667
2912
|
peg$currPos = s0;
|
|
2668
2913
|
s0 = peg$FAILED;
|
|
@@ -2676,13 +2921,13 @@ function peg$parse(input, options) {
|
|
|
2676
2921
|
function peg$parseToast() {
|
|
2677
2922
|
let s0, s1, s2, s3, s4, s5;
|
|
2678
2923
|
s0 = peg$currPos;
|
|
2679
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
2680
|
-
s1 = peg$
|
|
2924
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
2925
|
+
s1 = peg$c38;
|
|
2681
2926
|
peg$currPos += 5;
|
|
2682
2927
|
} else {
|
|
2683
2928
|
s1 = peg$FAILED;
|
|
2684
2929
|
if (peg$silentFails === 0) {
|
|
2685
|
-
peg$fail(peg$
|
|
2930
|
+
peg$fail(peg$e38);
|
|
2686
2931
|
}
|
|
2687
2932
|
}
|
|
2688
2933
|
if (s1 !== peg$FAILED) {
|
|
@@ -2695,7 +2940,7 @@ function peg$parse(input, options) {
|
|
|
2695
2940
|
s5 = null;
|
|
2696
2941
|
}
|
|
2697
2942
|
peg$savedPos = s0;
|
|
2698
|
-
s0 = peg$
|
|
2943
|
+
s0 = peg$f44(s3, s5);
|
|
2699
2944
|
} else {
|
|
2700
2945
|
peg$currPos = s0;
|
|
2701
2946
|
s0 = peg$FAILED;
|
|
@@ -2709,13 +2954,13 @@ function peg$parse(input, options) {
|
|
|
2709
2954
|
function peg$parseProgress() {
|
|
2710
2955
|
let s0, s1, s2, s3;
|
|
2711
2956
|
s0 = peg$currPos;
|
|
2712
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2713
|
-
s1 = peg$
|
|
2957
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
2958
|
+
s1 = peg$c39;
|
|
2714
2959
|
peg$currPos += 8;
|
|
2715
2960
|
} else {
|
|
2716
2961
|
s1 = peg$FAILED;
|
|
2717
2962
|
if (peg$silentFails === 0) {
|
|
2718
|
-
peg$fail(peg$
|
|
2963
|
+
peg$fail(peg$e39);
|
|
2719
2964
|
}
|
|
2720
2965
|
}
|
|
2721
2966
|
if (s1 !== peg$FAILED) {
|
|
@@ -2725,7 +2970,7 @@ function peg$parse(input, options) {
|
|
|
2725
2970
|
s3 = null;
|
|
2726
2971
|
}
|
|
2727
2972
|
peg$savedPos = s0;
|
|
2728
|
-
s0 = peg$
|
|
2973
|
+
s0 = peg$f45(s3);
|
|
2729
2974
|
} else {
|
|
2730
2975
|
peg$currPos = s0;
|
|
2731
2976
|
s0 = peg$FAILED;
|
|
@@ -2735,13 +2980,13 @@ function peg$parse(input, options) {
|
|
|
2735
2980
|
function peg$parseSpinner() {
|
|
2736
2981
|
let s0, s1, s2, s3, s4, s5;
|
|
2737
2982
|
s0 = peg$currPos;
|
|
2738
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2739
|
-
s1 = peg$
|
|
2983
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
2984
|
+
s1 = peg$c40;
|
|
2740
2985
|
peg$currPos += 7;
|
|
2741
2986
|
} else {
|
|
2742
2987
|
s1 = peg$FAILED;
|
|
2743
2988
|
if (peg$silentFails === 0) {
|
|
2744
|
-
peg$fail(peg$
|
|
2989
|
+
peg$fail(peg$e40);
|
|
2745
2990
|
}
|
|
2746
2991
|
}
|
|
2747
2992
|
if (s1 !== peg$FAILED) {
|
|
@@ -2756,7 +3001,7 @@ function peg$parse(input, options) {
|
|
|
2756
3001
|
s5 = null;
|
|
2757
3002
|
}
|
|
2758
3003
|
peg$savedPos = s0;
|
|
2759
|
-
s0 = peg$
|
|
3004
|
+
s0 = peg$f46(s3, s5);
|
|
2760
3005
|
} else {
|
|
2761
3006
|
peg$currPos = s0;
|
|
2762
3007
|
s0 = peg$FAILED;
|
|
@@ -2766,13 +3011,13 @@ function peg$parse(input, options) {
|
|
|
2766
3011
|
function peg$parseTooltip() {
|
|
2767
3012
|
let s0, s1, s2, s3, s4, s5;
|
|
2768
3013
|
s0 = peg$currPos;
|
|
2769
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2770
|
-
s1 = peg$
|
|
3014
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
3015
|
+
s1 = peg$c41;
|
|
2771
3016
|
peg$currPos += 7;
|
|
2772
3017
|
} else {
|
|
2773
3018
|
s1 = peg$FAILED;
|
|
2774
3019
|
if (peg$silentFails === 0) {
|
|
2775
|
-
peg$fail(peg$
|
|
3020
|
+
peg$fail(peg$e41);
|
|
2776
3021
|
}
|
|
2777
3022
|
}
|
|
2778
3023
|
if (s1 !== peg$FAILED) {
|
|
@@ -2785,7 +3030,7 @@ function peg$parse(input, options) {
|
|
|
2785
3030
|
s5 = null;
|
|
2786
3031
|
}
|
|
2787
3032
|
peg$savedPos = s0;
|
|
2788
|
-
s0 = peg$
|
|
3033
|
+
s0 = peg$f47(s3, s5);
|
|
2789
3034
|
} else {
|
|
2790
3035
|
peg$currPos = s0;
|
|
2791
3036
|
s0 = peg$FAILED;
|
|
@@ -2799,13 +3044,13 @@ function peg$parse(input, options) {
|
|
|
2799
3044
|
function peg$parsePopover() {
|
|
2800
3045
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
2801
3046
|
s0 = peg$currPos;
|
|
2802
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2803
|
-
s1 = peg$
|
|
3047
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
3048
|
+
s1 = peg$c42;
|
|
2804
3049
|
peg$currPos += 7;
|
|
2805
3050
|
} else {
|
|
2806
3051
|
s1 = peg$FAILED;
|
|
2807
3052
|
if (peg$silentFails === 0) {
|
|
2808
|
-
peg$fail(peg$
|
|
3053
|
+
peg$fail(peg$e42);
|
|
2809
3054
|
}
|
|
2810
3055
|
}
|
|
2811
3056
|
if (s1 !== peg$FAILED) {
|
|
@@ -2845,7 +3090,7 @@ function peg$parse(input, options) {
|
|
|
2845
3090
|
}
|
|
2846
3091
|
if (s11 !== peg$FAILED) {
|
|
2847
3092
|
peg$savedPos = s0;
|
|
2848
|
-
s0 = peg$
|
|
3093
|
+
s0 = peg$f48(s3, s5, s9);
|
|
2849
3094
|
} else {
|
|
2850
3095
|
peg$currPos = s0;
|
|
2851
3096
|
s0 = peg$FAILED;
|
|
@@ -2867,47 +3112,81 @@ function peg$parse(input, options) {
|
|
|
2867
3112
|
function peg$parseDropdown() {
|
|
2868
3113
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2869
3114
|
s0 = peg$currPos;
|
|
2870
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
2871
|
-
s1 = peg$
|
|
3115
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3116
|
+
s1 = peg$c43;
|
|
2872
3117
|
peg$currPos += 8;
|
|
2873
3118
|
} else {
|
|
2874
3119
|
s1 = peg$FAILED;
|
|
2875
3120
|
if (peg$silentFails === 0) {
|
|
2876
|
-
peg$fail(peg$
|
|
3121
|
+
peg$fail(peg$e43);
|
|
2877
3122
|
}
|
|
2878
3123
|
}
|
|
2879
3124
|
if (s1 !== peg$FAILED) {
|
|
2880
3125
|
s2 = peg$parse_();
|
|
2881
|
-
s3 = peg$
|
|
2882
|
-
if (s3
|
|
2883
|
-
|
|
3126
|
+
s3 = peg$parseArray();
|
|
3127
|
+
if (s3 !== peg$FAILED) {
|
|
3128
|
+
s4 = peg$parse_();
|
|
3129
|
+
s5 = peg$parseAttributes();
|
|
3130
|
+
if (s5 === peg$FAILED) {
|
|
3131
|
+
s5 = null;
|
|
3132
|
+
}
|
|
3133
|
+
peg$savedPos = s0;
|
|
3134
|
+
s0 = peg$f49(s3, s5);
|
|
3135
|
+
} else {
|
|
3136
|
+
peg$currPos = s0;
|
|
3137
|
+
s0 = peg$FAILED;
|
|
2884
3138
|
}
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
3139
|
+
} else {
|
|
3140
|
+
peg$currPos = s0;
|
|
3141
|
+
s0 = peg$FAILED;
|
|
3142
|
+
}
|
|
3143
|
+
if (s0 === peg$FAILED) {
|
|
3144
|
+
s0 = peg$currPos;
|
|
3145
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
3146
|
+
s1 = peg$c43;
|
|
3147
|
+
peg$currPos += 8;
|
|
2889
3148
|
} else {
|
|
2890
|
-
|
|
3149
|
+
s1 = peg$FAILED;
|
|
2891
3150
|
if (peg$silentFails === 0) {
|
|
2892
|
-
peg$fail(peg$
|
|
3151
|
+
peg$fail(peg$e43);
|
|
2893
3152
|
}
|
|
2894
3153
|
}
|
|
2895
|
-
if (
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
3154
|
+
if (s1 !== peg$FAILED) {
|
|
3155
|
+
s2 = peg$parse_();
|
|
3156
|
+
s3 = peg$parseAttributes();
|
|
3157
|
+
if (s3 === peg$FAILED) {
|
|
3158
|
+
s3 = null;
|
|
3159
|
+
}
|
|
3160
|
+
s4 = peg$parse_();
|
|
3161
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3162
|
+
s5 = peg$c1;
|
|
2901
3163
|
peg$currPos++;
|
|
2902
3164
|
} else {
|
|
2903
|
-
|
|
3165
|
+
s5 = peg$FAILED;
|
|
2904
3166
|
if (peg$silentFails === 0) {
|
|
2905
|
-
peg$fail(peg$
|
|
3167
|
+
peg$fail(peg$e1);
|
|
2906
3168
|
}
|
|
2907
3169
|
}
|
|
2908
|
-
if (
|
|
2909
|
-
|
|
2910
|
-
|
|
3170
|
+
if (s5 !== peg$FAILED) {
|
|
3171
|
+
s6 = peg$parse_();
|
|
3172
|
+
s7 = peg$parseDropdownContent();
|
|
3173
|
+
s8 = peg$parse_();
|
|
3174
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3175
|
+
s9 = peg$c2;
|
|
3176
|
+
peg$currPos++;
|
|
3177
|
+
} else {
|
|
3178
|
+
s9 = peg$FAILED;
|
|
3179
|
+
if (peg$silentFails === 0) {
|
|
3180
|
+
peg$fail(peg$e2);
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
if (s9 !== peg$FAILED) {
|
|
3184
|
+
peg$savedPos = s0;
|
|
3185
|
+
s0 = peg$f50(s3, s7);
|
|
3186
|
+
} else {
|
|
3187
|
+
peg$currPos = s0;
|
|
3188
|
+
s0 = peg$FAILED;
|
|
3189
|
+
}
|
|
2911
3190
|
} else {
|
|
2912
3191
|
peg$currPos = s0;
|
|
2913
3192
|
s0 = peg$FAILED;
|
|
@@ -2916,9 +3195,6 @@ function peg$parse(input, options) {
|
|
|
2916
3195
|
peg$currPos = s0;
|
|
2917
3196
|
s0 = peg$FAILED;
|
|
2918
3197
|
}
|
|
2919
|
-
} else {
|
|
2920
|
-
peg$currPos = s0;
|
|
2921
|
-
s0 = peg$FAILED;
|
|
2922
3198
|
}
|
|
2923
3199
|
return s0;
|
|
2924
3200
|
}
|
|
@@ -2950,20 +3226,20 @@ function peg$parse(input, options) {
|
|
|
2950
3226
|
}
|
|
2951
3227
|
}
|
|
2952
3228
|
peg$savedPos = s0;
|
|
2953
|
-
s1 = peg$
|
|
3229
|
+
s1 = peg$f51(s1);
|
|
2954
3230
|
s0 = s1;
|
|
2955
3231
|
return s0;
|
|
2956
3232
|
}
|
|
2957
3233
|
function peg$parseDropdownItem() {
|
|
2958
3234
|
let s0, s1, s2, s3, s4, s5;
|
|
2959
3235
|
s0 = peg$currPos;
|
|
2960
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2961
|
-
s1 = peg$
|
|
3236
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3237
|
+
s1 = peg$c36;
|
|
2962
3238
|
peg$currPos += 4;
|
|
2963
3239
|
} else {
|
|
2964
3240
|
s1 = peg$FAILED;
|
|
2965
3241
|
if (peg$silentFails === 0) {
|
|
2966
|
-
peg$fail(peg$
|
|
3242
|
+
peg$fail(peg$e36);
|
|
2967
3243
|
}
|
|
2968
3244
|
}
|
|
2969
3245
|
if (s1 !== peg$FAILED) {
|
|
@@ -2976,7 +3252,7 @@ function peg$parse(input, options) {
|
|
|
2976
3252
|
s5 = null;
|
|
2977
3253
|
}
|
|
2978
3254
|
peg$savedPos = s0;
|
|
2979
|
-
s0 = peg$
|
|
3255
|
+
s0 = peg$f52(s3, s5);
|
|
2980
3256
|
} else {
|
|
2981
3257
|
peg$currPos = s0;
|
|
2982
3258
|
s0 = peg$FAILED;
|
|
@@ -2987,18 +3263,18 @@ function peg$parse(input, options) {
|
|
|
2987
3263
|
}
|
|
2988
3264
|
if (s0 === peg$FAILED) {
|
|
2989
3265
|
s0 = peg$currPos;
|
|
2990
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
2991
|
-
s1 = peg$
|
|
3266
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3267
|
+
s1 = peg$c44;
|
|
2992
3268
|
peg$currPos += 7;
|
|
2993
3269
|
} else {
|
|
2994
3270
|
s1 = peg$FAILED;
|
|
2995
3271
|
if (peg$silentFails === 0) {
|
|
2996
|
-
peg$fail(peg$
|
|
3272
|
+
peg$fail(peg$e44);
|
|
2997
3273
|
}
|
|
2998
3274
|
}
|
|
2999
3275
|
if (s1 !== peg$FAILED) {
|
|
3000
3276
|
peg$savedPos = s0;
|
|
3001
|
-
s1 = peg$
|
|
3277
|
+
s1 = peg$f53();
|
|
3002
3278
|
}
|
|
3003
3279
|
s0 = s1;
|
|
3004
3280
|
if (s0 === peg$FAILED) {
|
|
@@ -3006,7 +3282,7 @@ function peg$parse(input, options) {
|
|
|
3006
3282
|
s1 = peg$parseComment();
|
|
3007
3283
|
if (s1 !== peg$FAILED) {
|
|
3008
3284
|
peg$savedPos = s0;
|
|
3009
|
-
s1 = peg$
|
|
3285
|
+
s1 = peg$f54();
|
|
3010
3286
|
}
|
|
3011
3287
|
s0 = s1;
|
|
3012
3288
|
}
|
|
@@ -3014,15 +3290,15 @@ function peg$parse(input, options) {
|
|
|
3014
3290
|
return s0;
|
|
3015
3291
|
}
|
|
3016
3292
|
function peg$parseNav() {
|
|
3017
|
-
let s0, s1, s2, s3, s4, s5;
|
|
3293
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3018
3294
|
s0 = peg$currPos;
|
|
3019
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3020
|
-
s1 = peg$
|
|
3295
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
3296
|
+
s1 = peg$c45;
|
|
3021
3297
|
peg$currPos += 3;
|
|
3022
3298
|
} else {
|
|
3023
3299
|
s1 = peg$FAILED;
|
|
3024
3300
|
if (peg$silentFails === 0) {
|
|
3025
|
-
peg$fail(peg$
|
|
3301
|
+
peg$fail(peg$e45);
|
|
3026
3302
|
}
|
|
3027
3303
|
}
|
|
3028
3304
|
if (s1 !== peg$FAILED) {
|
|
@@ -3036,8 +3312,264 @@ function peg$parse(input, options) {
|
|
|
3036
3312
|
if (s5 === peg$FAILED) {
|
|
3037
3313
|
s5 = null;
|
|
3038
3314
|
}
|
|
3315
|
+
s6 = peg$parse_();
|
|
3316
|
+
s7 = peg$parseNavBlock();
|
|
3317
|
+
if (s7 === peg$FAILED) {
|
|
3318
|
+
s7 = null;
|
|
3319
|
+
}
|
|
3039
3320
|
peg$savedPos = s0;
|
|
3040
|
-
s0 = peg$
|
|
3321
|
+
s0 = peg$f55(s3, s5, s7);
|
|
3322
|
+
} else {
|
|
3323
|
+
peg$currPos = s0;
|
|
3324
|
+
s0 = peg$FAILED;
|
|
3325
|
+
}
|
|
3326
|
+
return s0;
|
|
3327
|
+
}
|
|
3328
|
+
function peg$parseNavBlock() {
|
|
3329
|
+
let s0, s1, s2, s3, s4, s5, s6;
|
|
3330
|
+
s0 = peg$currPos;
|
|
3331
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3332
|
+
s1 = peg$c1;
|
|
3333
|
+
peg$currPos++;
|
|
3334
|
+
} else {
|
|
3335
|
+
s1 = peg$FAILED;
|
|
3336
|
+
if (peg$silentFails === 0) {
|
|
3337
|
+
peg$fail(peg$e1);
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
if (s1 !== peg$FAILED) {
|
|
3341
|
+
s2 = peg$parse_();
|
|
3342
|
+
s3 = [];
|
|
3343
|
+
s4 = peg$currPos;
|
|
3344
|
+
s5 = peg$parseNavBlockItem();
|
|
3345
|
+
if (s5 !== peg$FAILED) {
|
|
3346
|
+
s6 = peg$parse_();
|
|
3347
|
+
s5 = [s5, s6];
|
|
3348
|
+
s4 = s5;
|
|
3349
|
+
} else {
|
|
3350
|
+
peg$currPos = s4;
|
|
3351
|
+
s4 = peg$FAILED;
|
|
3352
|
+
}
|
|
3353
|
+
while (s4 !== peg$FAILED) {
|
|
3354
|
+
s3.push(s4);
|
|
3355
|
+
s4 = peg$currPos;
|
|
3356
|
+
s5 = peg$parseNavBlockItem();
|
|
3357
|
+
if (s5 !== peg$FAILED) {
|
|
3358
|
+
s6 = peg$parse_();
|
|
3359
|
+
s5 = [s5, s6];
|
|
3360
|
+
s4 = s5;
|
|
3361
|
+
} else {
|
|
3362
|
+
peg$currPos = s4;
|
|
3363
|
+
s4 = peg$FAILED;
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3367
|
+
s4 = peg$c2;
|
|
3368
|
+
peg$currPos++;
|
|
3369
|
+
} else {
|
|
3370
|
+
s4 = peg$FAILED;
|
|
3371
|
+
if (peg$silentFails === 0) {
|
|
3372
|
+
peg$fail(peg$e2);
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
if (s4 !== peg$FAILED) {
|
|
3376
|
+
peg$savedPos = s0;
|
|
3377
|
+
s0 = peg$f56(s3);
|
|
3378
|
+
} else {
|
|
3379
|
+
peg$currPos = s0;
|
|
3380
|
+
s0 = peg$FAILED;
|
|
3381
|
+
}
|
|
3382
|
+
} else {
|
|
3383
|
+
peg$currPos = s0;
|
|
3384
|
+
s0 = peg$FAILED;
|
|
3385
|
+
}
|
|
3386
|
+
return s0;
|
|
3387
|
+
}
|
|
3388
|
+
function peg$parseNavBlockItem() {
|
|
3389
|
+
let s0, s1, s2;
|
|
3390
|
+
s0 = peg$parseNavGroup();
|
|
3391
|
+
if (s0 === peg$FAILED) {
|
|
3392
|
+
s0 = peg$parseNavItem();
|
|
3393
|
+
if (s0 === peg$FAILED) {
|
|
3394
|
+
s0 = peg$currPos;
|
|
3395
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3396
|
+
s1 = peg$c44;
|
|
3397
|
+
peg$currPos += 7;
|
|
3398
|
+
} else {
|
|
3399
|
+
s1 = peg$FAILED;
|
|
3400
|
+
if (peg$silentFails === 0) {
|
|
3401
|
+
peg$fail(peg$e44);
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
if (s1 !== peg$FAILED) {
|
|
3405
|
+
s2 = peg$parse_();
|
|
3406
|
+
peg$savedPos = s0;
|
|
3407
|
+
s0 = peg$f57();
|
|
3408
|
+
} else {
|
|
3409
|
+
peg$currPos = s0;
|
|
3410
|
+
s0 = peg$FAILED;
|
|
3411
|
+
}
|
|
3412
|
+
if (s0 === peg$FAILED) {
|
|
3413
|
+
s0 = peg$currPos;
|
|
3414
|
+
s1 = peg$parseComment();
|
|
3415
|
+
if (s1 !== peg$FAILED) {
|
|
3416
|
+
peg$savedPos = s0;
|
|
3417
|
+
s1 = peg$f58();
|
|
3418
|
+
}
|
|
3419
|
+
s0 = s1;
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
return s0;
|
|
3424
|
+
}
|
|
3425
|
+
function peg$parseNavGroup() {
|
|
3426
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;
|
|
3427
|
+
s0 = peg$currPos;
|
|
3428
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
3429
|
+
s1 = peg$c46;
|
|
3430
|
+
peg$currPos += 5;
|
|
3431
|
+
} else {
|
|
3432
|
+
s1 = peg$FAILED;
|
|
3433
|
+
if (peg$silentFails === 0) {
|
|
3434
|
+
peg$fail(peg$e46);
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
if (s1 !== peg$FAILED) {
|
|
3438
|
+
s2 = peg$parse_();
|
|
3439
|
+
s3 = peg$parseStringLiteral();
|
|
3440
|
+
if (s3 !== peg$FAILED) {
|
|
3441
|
+
s4 = peg$parse_();
|
|
3442
|
+
s5 = peg$parseAttributes();
|
|
3443
|
+
if (s5 === peg$FAILED) {
|
|
3444
|
+
s5 = null;
|
|
3445
|
+
}
|
|
3446
|
+
s6 = peg$parse_();
|
|
3447
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
3448
|
+
s7 = peg$c1;
|
|
3449
|
+
peg$currPos++;
|
|
3450
|
+
} else {
|
|
3451
|
+
s7 = peg$FAILED;
|
|
3452
|
+
if (peg$silentFails === 0) {
|
|
3453
|
+
peg$fail(peg$e1);
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
if (s7 !== peg$FAILED) {
|
|
3457
|
+
s8 = peg$parse_();
|
|
3458
|
+
s9 = [];
|
|
3459
|
+
s10 = peg$currPos;
|
|
3460
|
+
s11 = peg$parseNavGroupItem();
|
|
3461
|
+
if (s11 !== peg$FAILED) {
|
|
3462
|
+
s12 = peg$parse_();
|
|
3463
|
+
s11 = [s11, s12];
|
|
3464
|
+
s10 = s11;
|
|
3465
|
+
} else {
|
|
3466
|
+
peg$currPos = s10;
|
|
3467
|
+
s10 = peg$FAILED;
|
|
3468
|
+
}
|
|
3469
|
+
while (s10 !== peg$FAILED) {
|
|
3470
|
+
s9.push(s10);
|
|
3471
|
+
s10 = peg$currPos;
|
|
3472
|
+
s11 = peg$parseNavGroupItem();
|
|
3473
|
+
if (s11 !== peg$FAILED) {
|
|
3474
|
+
s12 = peg$parse_();
|
|
3475
|
+
s11 = [s11, s12];
|
|
3476
|
+
s10 = s11;
|
|
3477
|
+
} else {
|
|
3478
|
+
peg$currPos = s10;
|
|
3479
|
+
s10 = peg$FAILED;
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
if (input.charCodeAt(peg$currPos) === 125) {
|
|
3483
|
+
s10 = peg$c2;
|
|
3484
|
+
peg$currPos++;
|
|
3485
|
+
} else {
|
|
3486
|
+
s10 = peg$FAILED;
|
|
3487
|
+
if (peg$silentFails === 0) {
|
|
3488
|
+
peg$fail(peg$e2);
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
if (s10 !== peg$FAILED) {
|
|
3492
|
+
peg$savedPos = s0;
|
|
3493
|
+
s0 = peg$f59(s3, s5, s9);
|
|
3494
|
+
} else {
|
|
3495
|
+
peg$currPos = s0;
|
|
3496
|
+
s0 = peg$FAILED;
|
|
3497
|
+
}
|
|
3498
|
+
} else {
|
|
3499
|
+
peg$currPos = s0;
|
|
3500
|
+
s0 = peg$FAILED;
|
|
3501
|
+
}
|
|
3502
|
+
} else {
|
|
3503
|
+
peg$currPos = s0;
|
|
3504
|
+
s0 = peg$FAILED;
|
|
3505
|
+
}
|
|
3506
|
+
} else {
|
|
3507
|
+
peg$currPos = s0;
|
|
3508
|
+
s0 = peg$FAILED;
|
|
3509
|
+
}
|
|
3510
|
+
return s0;
|
|
3511
|
+
}
|
|
3512
|
+
function peg$parseNavGroupItem() {
|
|
3513
|
+
let s0, s1, s2;
|
|
3514
|
+
s0 = peg$parseNavItem();
|
|
3515
|
+
if (s0 === peg$FAILED) {
|
|
3516
|
+
s0 = peg$currPos;
|
|
3517
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3518
|
+
s1 = peg$c44;
|
|
3519
|
+
peg$currPos += 7;
|
|
3520
|
+
} else {
|
|
3521
|
+
s1 = peg$FAILED;
|
|
3522
|
+
if (peg$silentFails === 0) {
|
|
3523
|
+
peg$fail(peg$e44);
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
if (s1 !== peg$FAILED) {
|
|
3527
|
+
s2 = peg$parse_();
|
|
3528
|
+
peg$savedPos = s0;
|
|
3529
|
+
s0 = peg$f60();
|
|
3530
|
+
} else {
|
|
3531
|
+
peg$currPos = s0;
|
|
3532
|
+
s0 = peg$FAILED;
|
|
3533
|
+
}
|
|
3534
|
+
if (s0 === peg$FAILED) {
|
|
3535
|
+
s0 = peg$currPos;
|
|
3536
|
+
s1 = peg$parseComment();
|
|
3537
|
+
if (s1 !== peg$FAILED) {
|
|
3538
|
+
peg$savedPos = s0;
|
|
3539
|
+
s1 = peg$f61();
|
|
3540
|
+
}
|
|
3541
|
+
s0 = s1;
|
|
3542
|
+
}
|
|
3543
|
+
}
|
|
3544
|
+
return s0;
|
|
3545
|
+
}
|
|
3546
|
+
function peg$parseNavItem() {
|
|
3547
|
+
let s0, s1, s2, s3, s4, s5;
|
|
3548
|
+
s0 = peg$currPos;
|
|
3549
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
3550
|
+
s1 = peg$c36;
|
|
3551
|
+
peg$currPos += 4;
|
|
3552
|
+
} else {
|
|
3553
|
+
s1 = peg$FAILED;
|
|
3554
|
+
if (peg$silentFails === 0) {
|
|
3555
|
+
peg$fail(peg$e36);
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
if (s1 !== peg$FAILED) {
|
|
3559
|
+
s2 = peg$parse_();
|
|
3560
|
+
s3 = peg$parseStringLiteral();
|
|
3561
|
+
if (s3 !== peg$FAILED) {
|
|
3562
|
+
s4 = peg$parse_();
|
|
3563
|
+
s5 = peg$parseAttributes();
|
|
3564
|
+
if (s5 === peg$FAILED) {
|
|
3565
|
+
s5 = null;
|
|
3566
|
+
}
|
|
3567
|
+
peg$savedPos = s0;
|
|
3568
|
+
s0 = peg$f62(s3, s5);
|
|
3569
|
+
} else {
|
|
3570
|
+
peg$currPos = s0;
|
|
3571
|
+
s0 = peg$FAILED;
|
|
3572
|
+
}
|
|
3041
3573
|
} else {
|
|
3042
3574
|
peg$currPos = s0;
|
|
3043
3575
|
s0 = peg$FAILED;
|
|
@@ -3047,13 +3579,13 @@ function peg$parse(input, options) {
|
|
|
3047
3579
|
function peg$parseTabs() {
|
|
3048
3580
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3049
3581
|
s0 = peg$currPos;
|
|
3050
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3051
|
-
s1 = peg$
|
|
3582
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
3583
|
+
s1 = peg$c47;
|
|
3052
3584
|
peg$currPos += 4;
|
|
3053
3585
|
} else {
|
|
3054
3586
|
s1 = peg$FAILED;
|
|
3055
3587
|
if (peg$silentFails === 0) {
|
|
3056
|
-
peg$fail(peg$
|
|
3588
|
+
peg$fail(peg$e47);
|
|
3057
3589
|
}
|
|
3058
3590
|
}
|
|
3059
3591
|
if (s1 !== peg$FAILED) {
|
|
@@ -3073,7 +3605,7 @@ function peg$parse(input, options) {
|
|
|
3073
3605
|
s7 = null;
|
|
3074
3606
|
}
|
|
3075
3607
|
peg$savedPos = s0;
|
|
3076
|
-
s0 = peg$
|
|
3608
|
+
s0 = peg$f63(s3, s5, s7);
|
|
3077
3609
|
} else {
|
|
3078
3610
|
peg$currPos = s0;
|
|
3079
3611
|
s0 = peg$FAILED;
|
|
@@ -3129,7 +3661,7 @@ function peg$parse(input, options) {
|
|
|
3129
3661
|
}
|
|
3130
3662
|
if (s4 !== peg$FAILED) {
|
|
3131
3663
|
peg$savedPos = s0;
|
|
3132
|
-
s0 = peg$
|
|
3664
|
+
s0 = peg$f64(s3);
|
|
3133
3665
|
} else {
|
|
3134
3666
|
peg$currPos = s0;
|
|
3135
3667
|
s0 = peg$FAILED;
|
|
@@ -3143,13 +3675,13 @@ function peg$parse(input, options) {
|
|
|
3143
3675
|
function peg$parseTabItem() {
|
|
3144
3676
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
3145
3677
|
s0 = peg$currPos;
|
|
3146
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3147
|
-
s1 = peg$
|
|
3678
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
3679
|
+
s1 = peg$c48;
|
|
3148
3680
|
peg$currPos += 3;
|
|
3149
3681
|
} else {
|
|
3150
3682
|
s1 = peg$FAILED;
|
|
3151
3683
|
if (peg$silentFails === 0) {
|
|
3152
|
-
peg$fail(peg$
|
|
3684
|
+
peg$fail(peg$e48);
|
|
3153
3685
|
}
|
|
3154
3686
|
}
|
|
3155
3687
|
if (s1 !== peg$FAILED) {
|
|
@@ -3187,7 +3719,7 @@ function peg$parse(input, options) {
|
|
|
3187
3719
|
}
|
|
3188
3720
|
if (s11 !== peg$FAILED) {
|
|
3189
3721
|
peg$savedPos = s0;
|
|
3190
|
-
s0 = peg$
|
|
3722
|
+
s0 = peg$f65(s3, s5, s9);
|
|
3191
3723
|
} else {
|
|
3192
3724
|
peg$currPos = s0;
|
|
3193
3725
|
s0 = peg$FAILED;
|
|
@@ -3213,7 +3745,7 @@ function peg$parse(input, options) {
|
|
|
3213
3745
|
s1 = peg$parseComment();
|
|
3214
3746
|
if (s1 !== peg$FAILED) {
|
|
3215
3747
|
peg$savedPos = s0;
|
|
3216
|
-
s1 = peg$
|
|
3748
|
+
s1 = peg$f66();
|
|
3217
3749
|
}
|
|
3218
3750
|
s0 = s1;
|
|
3219
3751
|
}
|
|
@@ -3222,13 +3754,13 @@ function peg$parse(input, options) {
|
|
|
3222
3754
|
function peg$parseBreadcrumb() {
|
|
3223
3755
|
let s0, s1, s2, s3, s4, s5;
|
|
3224
3756
|
s0 = peg$currPos;
|
|
3225
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3226
|
-
s1 = peg$
|
|
3757
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
3758
|
+
s1 = peg$c49;
|
|
3227
3759
|
peg$currPos += 10;
|
|
3228
3760
|
} else {
|
|
3229
3761
|
s1 = peg$FAILED;
|
|
3230
3762
|
if (peg$silentFails === 0) {
|
|
3231
|
-
peg$fail(peg$
|
|
3763
|
+
peg$fail(peg$e49);
|
|
3232
3764
|
}
|
|
3233
3765
|
}
|
|
3234
3766
|
if (s1 !== peg$FAILED) {
|
|
@@ -3241,7 +3773,7 @@ function peg$parse(input, options) {
|
|
|
3241
3773
|
s5 = null;
|
|
3242
3774
|
}
|
|
3243
3775
|
peg$savedPos = s0;
|
|
3244
|
-
s0 = peg$
|
|
3776
|
+
s0 = peg$f67(s3, s5);
|
|
3245
3777
|
} else {
|
|
3246
3778
|
peg$currPos = s0;
|
|
3247
3779
|
s0 = peg$FAILED;
|
|
@@ -3255,13 +3787,13 @@ function peg$parse(input, options) {
|
|
|
3255
3787
|
function peg$parseDivider() {
|
|
3256
3788
|
let s0, s1, s2, s3;
|
|
3257
3789
|
s0 = peg$currPos;
|
|
3258
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3259
|
-
s1 = peg$
|
|
3790
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
3791
|
+
s1 = peg$c44;
|
|
3260
3792
|
peg$currPos += 7;
|
|
3261
3793
|
} else {
|
|
3262
3794
|
s1 = peg$FAILED;
|
|
3263
3795
|
if (peg$silentFails === 0) {
|
|
3264
|
-
peg$fail(peg$
|
|
3796
|
+
peg$fail(peg$e44);
|
|
3265
3797
|
}
|
|
3266
3798
|
}
|
|
3267
3799
|
if (s1 !== peg$FAILED) {
|
|
@@ -3271,7 +3803,7 @@ function peg$parse(input, options) {
|
|
|
3271
3803
|
s3 = null;
|
|
3272
3804
|
}
|
|
3273
3805
|
peg$savedPos = s0;
|
|
3274
|
-
s0 = peg$
|
|
3806
|
+
s0 = peg$f68(s3);
|
|
3275
3807
|
} else {
|
|
3276
3808
|
peg$currPos = s0;
|
|
3277
3809
|
s0 = peg$FAILED;
|
|
@@ -3293,7 +3825,7 @@ function peg$parse(input, options) {
|
|
|
3293
3825
|
}
|
|
3294
3826
|
if (s1 !== peg$FAILED) {
|
|
3295
3827
|
peg$savedPos = s0;
|
|
3296
|
-
s1 = peg$
|
|
3828
|
+
s1 = peg$f69(s1);
|
|
3297
3829
|
}
|
|
3298
3830
|
s0 = s1;
|
|
3299
3831
|
return s0;
|
|
@@ -3306,12 +3838,12 @@ function peg$parse(input, options) {
|
|
|
3306
3838
|
if (s2 !== peg$FAILED) {
|
|
3307
3839
|
s3 = peg$parse_();
|
|
3308
3840
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
3309
|
-
s4 = peg$
|
|
3841
|
+
s4 = peg$c50;
|
|
3310
3842
|
peg$currPos++;
|
|
3311
3843
|
} else {
|
|
3312
3844
|
s4 = peg$FAILED;
|
|
3313
3845
|
if (peg$silentFails === 0) {
|
|
3314
|
-
peg$fail(peg$
|
|
3846
|
+
peg$fail(peg$e50);
|
|
3315
3847
|
}
|
|
3316
3848
|
}
|
|
3317
3849
|
if (s4 !== peg$FAILED) {
|
|
@@ -3319,7 +3851,7 @@ function peg$parse(input, options) {
|
|
|
3319
3851
|
s6 = peg$parseAttributeValue();
|
|
3320
3852
|
if (s6 !== peg$FAILED) {
|
|
3321
3853
|
peg$savedPos = s0;
|
|
3322
|
-
s0 = peg$
|
|
3854
|
+
s0 = peg$f70(s2, s6);
|
|
3323
3855
|
} else {
|
|
3324
3856
|
peg$currPos = s0;
|
|
3325
3857
|
s0 = peg$FAILED;
|
|
@@ -3351,27 +3883,27 @@ function peg$parse(input, options) {
|
|
|
3351
3883
|
} else {
|
|
3352
3884
|
s6 = peg$FAILED;
|
|
3353
3885
|
if (peg$silentFails === 0) {
|
|
3354
|
-
peg$fail(peg$
|
|
3886
|
+
peg$fail(peg$e51);
|
|
3355
3887
|
}
|
|
3356
3888
|
}
|
|
3357
3889
|
if (s6 === peg$FAILED) {
|
|
3358
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3359
|
-
s6 = peg$
|
|
3890
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
3891
|
+
s6 = peg$c51;
|
|
3360
3892
|
peg$currPos += 2;
|
|
3361
3893
|
} else {
|
|
3362
3894
|
s6 = peg$FAILED;
|
|
3363
3895
|
if (peg$silentFails === 0) {
|
|
3364
|
-
peg$fail(peg$
|
|
3896
|
+
peg$fail(peg$e52);
|
|
3365
3897
|
}
|
|
3366
3898
|
}
|
|
3367
3899
|
if (s6 === peg$FAILED) {
|
|
3368
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3369
|
-
s6 = peg$
|
|
3900
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
3901
|
+
s6 = peg$c52;
|
|
3370
3902
|
peg$currPos += 2;
|
|
3371
3903
|
} else {
|
|
3372
3904
|
s6 = peg$FAILED;
|
|
3373
3905
|
if (peg$silentFails === 0) {
|
|
3374
|
-
peg$fail(peg$
|
|
3906
|
+
peg$fail(peg$e53);
|
|
3375
3907
|
}
|
|
3376
3908
|
}
|
|
3377
3909
|
if (s6 === peg$FAILED) {
|
|
@@ -3383,7 +3915,7 @@ function peg$parse(input, options) {
|
|
|
3383
3915
|
} else {
|
|
3384
3916
|
s7 = peg$FAILED;
|
|
3385
3917
|
if (peg$silentFails === 0) {
|
|
3386
|
-
peg$fail(peg$
|
|
3918
|
+
peg$fail(peg$e54);
|
|
3387
3919
|
}
|
|
3388
3920
|
}
|
|
3389
3921
|
peg$silentFails--;
|
|
@@ -3414,7 +3946,7 @@ function peg$parse(input, options) {
|
|
|
3414
3946
|
}
|
|
3415
3947
|
if (s3 !== peg$FAILED) {
|
|
3416
3948
|
peg$savedPos = s0;
|
|
3417
|
-
s0 = peg$
|
|
3949
|
+
s0 = peg$f71(s2);
|
|
3418
3950
|
} else {
|
|
3419
3951
|
peg$currPos = s0;
|
|
3420
3952
|
s0 = peg$FAILED;
|
|
@@ -3443,7 +3975,7 @@ function peg$parse(input, options) {
|
|
|
3443
3975
|
s2 = peg$parseIdentifier();
|
|
3444
3976
|
if (s2 !== peg$FAILED) {
|
|
3445
3977
|
peg$savedPos = s0;
|
|
3446
|
-
s0 = peg$
|
|
3978
|
+
s0 = peg$f72(s2);
|
|
3447
3979
|
} else {
|
|
3448
3980
|
peg$currPos = s0;
|
|
3449
3981
|
s0 = peg$FAILED;
|
|
@@ -3717,153 +4249,164 @@ function peg$parse(input, options) {
|
|
|
3717
4249
|
}
|
|
3718
4250
|
}
|
|
3719
4251
|
if (s1 === peg$FAILED) {
|
|
3720
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3721
|
-
s1 = peg$
|
|
4252
|
+
if (input.substr(peg$currPos, 7) === peg$c34) {
|
|
4253
|
+
s1 = peg$c34;
|
|
3722
4254
|
peg$currPos += 7;
|
|
3723
4255
|
} else {
|
|
3724
4256
|
s1 = peg$FAILED;
|
|
3725
4257
|
if (peg$silentFails === 0) {
|
|
3726
|
-
peg$fail(peg$
|
|
4258
|
+
peg$fail(peg$e34);
|
|
3727
4259
|
}
|
|
3728
4260
|
}
|
|
3729
4261
|
if (s1 === peg$FAILED) {
|
|
3730
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3731
|
-
s1 = peg$
|
|
4262
|
+
if (input.substr(peg$currPos, 4) === peg$c35) {
|
|
4263
|
+
s1 = peg$c35;
|
|
3732
4264
|
peg$currPos += 4;
|
|
3733
4265
|
} else {
|
|
3734
4266
|
s1 = peg$FAILED;
|
|
3735
4267
|
if (peg$silentFails === 0) {
|
|
3736
|
-
peg$fail(peg$
|
|
4268
|
+
peg$fail(peg$e35);
|
|
3737
4269
|
}
|
|
3738
4270
|
}
|
|
3739
4271
|
if (s1 === peg$FAILED) {
|
|
3740
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3741
|
-
s1 = peg$
|
|
4272
|
+
if (input.substr(peg$currPos, 4) === peg$c36) {
|
|
4273
|
+
s1 = peg$c36;
|
|
3742
4274
|
peg$currPos += 4;
|
|
3743
4275
|
} else {
|
|
3744
4276
|
s1 = peg$FAILED;
|
|
3745
4277
|
if (peg$silentFails === 0) {
|
|
3746
|
-
peg$fail(peg$
|
|
4278
|
+
peg$fail(peg$e36);
|
|
3747
4279
|
}
|
|
3748
4280
|
}
|
|
3749
4281
|
if (s1 === peg$FAILED) {
|
|
3750
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3751
|
-
s1 = peg$
|
|
4282
|
+
if (input.substr(peg$currPos, 5) === peg$c37) {
|
|
4283
|
+
s1 = peg$c37;
|
|
3752
4284
|
peg$currPos += 5;
|
|
3753
4285
|
} else {
|
|
3754
4286
|
s1 = peg$FAILED;
|
|
3755
4287
|
if (peg$silentFails === 0) {
|
|
3756
|
-
peg$fail(peg$
|
|
4288
|
+
peg$fail(peg$e37);
|
|
3757
4289
|
}
|
|
3758
4290
|
}
|
|
3759
4291
|
if (s1 === peg$FAILED) {
|
|
3760
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
3761
|
-
s1 = peg$
|
|
4292
|
+
if (input.substr(peg$currPos, 5) === peg$c38) {
|
|
4293
|
+
s1 = peg$c38;
|
|
3762
4294
|
peg$currPos += 5;
|
|
3763
4295
|
} else {
|
|
3764
4296
|
s1 = peg$FAILED;
|
|
3765
4297
|
if (peg$silentFails === 0) {
|
|
3766
|
-
peg$fail(peg$
|
|
4298
|
+
peg$fail(peg$e38);
|
|
3767
4299
|
}
|
|
3768
4300
|
}
|
|
3769
4301
|
if (s1 === peg$FAILED) {
|
|
3770
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3771
|
-
s1 = peg$
|
|
4302
|
+
if (input.substr(peg$currPos, 8) === peg$c39) {
|
|
4303
|
+
s1 = peg$c39;
|
|
3772
4304
|
peg$currPos += 8;
|
|
3773
4305
|
} else {
|
|
3774
4306
|
s1 = peg$FAILED;
|
|
3775
4307
|
if (peg$silentFails === 0) {
|
|
3776
|
-
peg$fail(peg$
|
|
4308
|
+
peg$fail(peg$e39);
|
|
3777
4309
|
}
|
|
3778
4310
|
}
|
|
3779
4311
|
if (s1 === peg$FAILED) {
|
|
3780
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3781
|
-
s1 = peg$
|
|
4312
|
+
if (input.substr(peg$currPos, 7) === peg$c40) {
|
|
4313
|
+
s1 = peg$c40;
|
|
3782
4314
|
peg$currPos += 7;
|
|
3783
4315
|
} else {
|
|
3784
4316
|
s1 = peg$FAILED;
|
|
3785
4317
|
if (peg$silentFails === 0) {
|
|
3786
|
-
peg$fail(peg$
|
|
4318
|
+
peg$fail(peg$e40);
|
|
3787
4319
|
}
|
|
3788
4320
|
}
|
|
3789
4321
|
if (s1 === peg$FAILED) {
|
|
3790
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3791
|
-
s1 = peg$
|
|
4322
|
+
if (input.substr(peg$currPos, 7) === peg$c41) {
|
|
4323
|
+
s1 = peg$c41;
|
|
3792
4324
|
peg$currPos += 7;
|
|
3793
4325
|
} else {
|
|
3794
4326
|
s1 = peg$FAILED;
|
|
3795
4327
|
if (peg$silentFails === 0) {
|
|
3796
|
-
peg$fail(peg$
|
|
4328
|
+
peg$fail(peg$e41);
|
|
3797
4329
|
}
|
|
3798
4330
|
}
|
|
3799
4331
|
if (s1 === peg$FAILED) {
|
|
3800
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3801
|
-
s1 = peg$
|
|
4332
|
+
if (input.substr(peg$currPos, 7) === peg$c42) {
|
|
4333
|
+
s1 = peg$c42;
|
|
3802
4334
|
peg$currPos += 7;
|
|
3803
4335
|
} else {
|
|
3804
4336
|
s1 = peg$FAILED;
|
|
3805
4337
|
if (peg$silentFails === 0) {
|
|
3806
|
-
peg$fail(peg$
|
|
4338
|
+
peg$fail(peg$e42);
|
|
3807
4339
|
}
|
|
3808
4340
|
}
|
|
3809
4341
|
if (s1 === peg$FAILED) {
|
|
3810
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
3811
|
-
s1 = peg$
|
|
4342
|
+
if (input.substr(peg$currPos, 8) === peg$c43) {
|
|
4343
|
+
s1 = peg$c43;
|
|
3812
4344
|
peg$currPos += 8;
|
|
3813
4345
|
} else {
|
|
3814
4346
|
s1 = peg$FAILED;
|
|
3815
4347
|
if (peg$silentFails === 0) {
|
|
3816
|
-
peg$fail(peg$
|
|
4348
|
+
peg$fail(peg$e43);
|
|
3817
4349
|
}
|
|
3818
4350
|
}
|
|
3819
4351
|
if (s1 === peg$FAILED) {
|
|
3820
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3821
|
-
s1 = peg$
|
|
4352
|
+
if (input.substr(peg$currPos, 7) === peg$c44) {
|
|
4353
|
+
s1 = peg$c44;
|
|
3822
4354
|
peg$currPos += 7;
|
|
3823
4355
|
} else {
|
|
3824
4356
|
s1 = peg$FAILED;
|
|
3825
4357
|
if (peg$silentFails === 0) {
|
|
3826
|
-
peg$fail(peg$
|
|
4358
|
+
peg$fail(peg$e44);
|
|
3827
4359
|
}
|
|
3828
4360
|
}
|
|
3829
4361
|
if (s1 === peg$FAILED) {
|
|
3830
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3831
|
-
s1 = peg$
|
|
4362
|
+
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
4363
|
+
s1 = peg$c45;
|
|
3832
4364
|
peg$currPos += 3;
|
|
3833
4365
|
} else {
|
|
3834
4366
|
s1 = peg$FAILED;
|
|
3835
4367
|
if (peg$silentFails === 0) {
|
|
3836
|
-
peg$fail(peg$
|
|
4368
|
+
peg$fail(peg$e45);
|
|
3837
4369
|
}
|
|
3838
4370
|
}
|
|
3839
4371
|
if (s1 === peg$FAILED) {
|
|
3840
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3841
|
-
s1 = peg$
|
|
4372
|
+
if (input.substr(peg$currPos, 4) === peg$c47) {
|
|
4373
|
+
s1 = peg$c47;
|
|
3842
4374
|
peg$currPos += 4;
|
|
3843
4375
|
} else {
|
|
3844
4376
|
s1 = peg$FAILED;
|
|
3845
4377
|
if (peg$silentFails === 0) {
|
|
3846
|
-
peg$fail(peg$
|
|
4378
|
+
peg$fail(peg$e47);
|
|
3847
4379
|
}
|
|
3848
4380
|
}
|
|
3849
4381
|
if (s1 === peg$FAILED) {
|
|
3850
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3851
|
-
s1 = peg$
|
|
4382
|
+
if (input.substr(peg$currPos, 3) === peg$c48) {
|
|
4383
|
+
s1 = peg$c48;
|
|
3852
4384
|
peg$currPos += 3;
|
|
3853
4385
|
} else {
|
|
3854
4386
|
s1 = peg$FAILED;
|
|
3855
4387
|
if (peg$silentFails === 0) {
|
|
3856
|
-
peg$fail(peg$
|
|
4388
|
+
peg$fail(peg$e48);
|
|
3857
4389
|
}
|
|
3858
4390
|
}
|
|
3859
4391
|
if (s1 === peg$FAILED) {
|
|
3860
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
3861
|
-
s1 = peg$
|
|
4392
|
+
if (input.substr(peg$currPos, 10) === peg$c49) {
|
|
4393
|
+
s1 = peg$c49;
|
|
3862
4394
|
peg$currPos += 10;
|
|
3863
4395
|
} else {
|
|
3864
4396
|
s1 = peg$FAILED;
|
|
3865
4397
|
if (peg$silentFails === 0) {
|
|
3866
|
-
peg$fail(peg$
|
|
4398
|
+
peg$fail(peg$e49);
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
4401
|
+
if (s1 === peg$FAILED) {
|
|
4402
|
+
if (input.substr(peg$currPos, 5) === peg$c46) {
|
|
4403
|
+
s1 = peg$c46;
|
|
4404
|
+
peg$currPos += 5;
|
|
4405
|
+
} else {
|
|
4406
|
+
s1 = peg$FAILED;
|
|
4407
|
+
if (peg$silentFails === 0) {
|
|
4408
|
+
peg$fail(peg$e46);
|
|
4409
|
+
}
|
|
3867
4410
|
}
|
|
3868
4411
|
}
|
|
3869
4412
|
}
|
|
@@ -3938,7 +4481,7 @@ function peg$parse(input, options) {
|
|
|
3938
4481
|
} else {
|
|
3939
4482
|
s0 = peg$FAILED;
|
|
3940
4483
|
if (peg$silentFails === 0) {
|
|
3941
|
-
peg$fail(peg$
|
|
4484
|
+
peg$fail(peg$e55);
|
|
3942
4485
|
}
|
|
3943
4486
|
}
|
|
3944
4487
|
return s0;
|
|
@@ -3971,12 +4514,12 @@ function peg$parse(input, options) {
|
|
|
3971
4514
|
peg$silentFails++;
|
|
3972
4515
|
s0 = peg$currPos;
|
|
3973
4516
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3974
|
-
s1 = peg$
|
|
4517
|
+
s1 = peg$c53;
|
|
3975
4518
|
peg$currPos++;
|
|
3976
4519
|
} else {
|
|
3977
4520
|
s1 = peg$FAILED;
|
|
3978
4521
|
if (peg$silentFails === 0) {
|
|
3979
|
-
peg$fail(peg$
|
|
4522
|
+
peg$fail(peg$e57);
|
|
3980
4523
|
}
|
|
3981
4524
|
}
|
|
3982
4525
|
if (s1 !== peg$FAILED) {
|
|
@@ -3987,17 +4530,17 @@ function peg$parse(input, options) {
|
|
|
3987
4530
|
s3 = peg$parseDoubleStringChar();
|
|
3988
4531
|
}
|
|
3989
4532
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3990
|
-
s3 = peg$
|
|
4533
|
+
s3 = peg$c53;
|
|
3991
4534
|
peg$currPos++;
|
|
3992
4535
|
} else {
|
|
3993
4536
|
s3 = peg$FAILED;
|
|
3994
4537
|
if (peg$silentFails === 0) {
|
|
3995
|
-
peg$fail(peg$
|
|
4538
|
+
peg$fail(peg$e57);
|
|
3996
4539
|
}
|
|
3997
4540
|
}
|
|
3998
4541
|
if (s3 !== peg$FAILED) {
|
|
3999
4542
|
peg$savedPos = s0;
|
|
4000
|
-
s0 = peg$
|
|
4543
|
+
s0 = peg$f73(s2);
|
|
4001
4544
|
} else {
|
|
4002
4545
|
peg$currPos = s0;
|
|
4003
4546
|
s0 = peg$FAILED;
|
|
@@ -4009,12 +4552,12 @@ function peg$parse(input, options) {
|
|
|
4009
4552
|
if (s0 === peg$FAILED) {
|
|
4010
4553
|
s0 = peg$currPos;
|
|
4011
4554
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4012
|
-
s1 = peg$
|
|
4555
|
+
s1 = peg$c54;
|
|
4013
4556
|
peg$currPos++;
|
|
4014
4557
|
} else {
|
|
4015
4558
|
s1 = peg$FAILED;
|
|
4016
4559
|
if (peg$silentFails === 0) {
|
|
4017
|
-
peg$fail(peg$
|
|
4560
|
+
peg$fail(peg$e58);
|
|
4018
4561
|
}
|
|
4019
4562
|
}
|
|
4020
4563
|
if (s1 !== peg$FAILED) {
|
|
@@ -4025,17 +4568,17 @@ function peg$parse(input, options) {
|
|
|
4025
4568
|
s3 = peg$parseSingleStringChar();
|
|
4026
4569
|
}
|
|
4027
4570
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4028
|
-
s3 = peg$
|
|
4571
|
+
s3 = peg$c54;
|
|
4029
4572
|
peg$currPos++;
|
|
4030
4573
|
} else {
|
|
4031
4574
|
s3 = peg$FAILED;
|
|
4032
4575
|
if (peg$silentFails === 0) {
|
|
4033
|
-
peg$fail(peg$
|
|
4576
|
+
peg$fail(peg$e58);
|
|
4034
4577
|
}
|
|
4035
4578
|
}
|
|
4036
4579
|
if (s3 !== peg$FAILED) {
|
|
4037
4580
|
peg$savedPos = s0;
|
|
4038
|
-
s0 = peg$
|
|
4581
|
+
s0 = peg$f74(s2);
|
|
4039
4582
|
} else {
|
|
4040
4583
|
peg$currPos = s0;
|
|
4041
4584
|
s0 = peg$FAILED;
|
|
@@ -4049,7 +4592,7 @@ function peg$parse(input, options) {
|
|
|
4049
4592
|
if (s0 === peg$FAILED) {
|
|
4050
4593
|
s1 = peg$FAILED;
|
|
4051
4594
|
if (peg$silentFails === 0) {
|
|
4052
|
-
peg$fail(peg$
|
|
4595
|
+
peg$fail(peg$e56);
|
|
4053
4596
|
}
|
|
4054
4597
|
}
|
|
4055
4598
|
return s0;
|
|
@@ -4060,12 +4603,12 @@ function peg$parse(input, options) {
|
|
|
4060
4603
|
s1 = peg$currPos;
|
|
4061
4604
|
peg$silentFails++;
|
|
4062
4605
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4063
|
-
s2 = peg$
|
|
4606
|
+
s2 = peg$c53;
|
|
4064
4607
|
peg$currPos++;
|
|
4065
4608
|
} else {
|
|
4066
4609
|
s2 = peg$FAILED;
|
|
4067
4610
|
if (peg$silentFails === 0) {
|
|
4068
|
-
peg$fail(peg$
|
|
4611
|
+
peg$fail(peg$e57);
|
|
4069
4612
|
}
|
|
4070
4613
|
}
|
|
4071
4614
|
peg$silentFails--;
|
|
@@ -4079,12 +4622,12 @@ function peg$parse(input, options) {
|
|
|
4079
4622
|
s2 = peg$currPos;
|
|
4080
4623
|
peg$silentFails++;
|
|
4081
4624
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4082
|
-
s3 = peg$
|
|
4625
|
+
s3 = peg$c55;
|
|
4083
4626
|
peg$currPos++;
|
|
4084
4627
|
} else {
|
|
4085
4628
|
s3 = peg$FAILED;
|
|
4086
4629
|
if (peg$silentFails === 0) {
|
|
4087
|
-
peg$fail(peg$
|
|
4630
|
+
peg$fail(peg$e59);
|
|
4088
4631
|
}
|
|
4089
4632
|
}
|
|
4090
4633
|
peg$silentFails--;
|
|
@@ -4101,12 +4644,12 @@ function peg$parse(input, options) {
|
|
|
4101
4644
|
} else {
|
|
4102
4645
|
s3 = peg$FAILED;
|
|
4103
4646
|
if (peg$silentFails === 0) {
|
|
4104
|
-
peg$fail(peg$
|
|
4647
|
+
peg$fail(peg$e54);
|
|
4105
4648
|
}
|
|
4106
4649
|
}
|
|
4107
4650
|
if (s3 !== peg$FAILED) {
|
|
4108
4651
|
peg$savedPos = s0;
|
|
4109
|
-
s0 = peg$
|
|
4652
|
+
s0 = peg$f75(s3);
|
|
4110
4653
|
} else {
|
|
4111
4654
|
peg$currPos = s0;
|
|
4112
4655
|
s0 = peg$FAILED;
|
|
@@ -4122,19 +4665,19 @@ function peg$parse(input, options) {
|
|
|
4122
4665
|
if (s0 === peg$FAILED) {
|
|
4123
4666
|
s0 = peg$currPos;
|
|
4124
4667
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4125
|
-
s1 = peg$
|
|
4668
|
+
s1 = peg$c55;
|
|
4126
4669
|
peg$currPos++;
|
|
4127
4670
|
} else {
|
|
4128
4671
|
s1 = peg$FAILED;
|
|
4129
4672
|
if (peg$silentFails === 0) {
|
|
4130
|
-
peg$fail(peg$
|
|
4673
|
+
peg$fail(peg$e59);
|
|
4131
4674
|
}
|
|
4132
4675
|
}
|
|
4133
4676
|
if (s1 !== peg$FAILED) {
|
|
4134
4677
|
s2 = peg$parseEscapeSequence();
|
|
4135
4678
|
if (s2 !== peg$FAILED) {
|
|
4136
4679
|
peg$savedPos = s0;
|
|
4137
|
-
s0 = peg$
|
|
4680
|
+
s0 = peg$f76(s2);
|
|
4138
4681
|
} else {
|
|
4139
4682
|
peg$currPos = s0;
|
|
4140
4683
|
s0 = peg$FAILED;
|
|
@@ -4152,12 +4695,12 @@ function peg$parse(input, options) {
|
|
|
4152
4695
|
s1 = peg$currPos;
|
|
4153
4696
|
peg$silentFails++;
|
|
4154
4697
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4155
|
-
s2 = peg$
|
|
4698
|
+
s2 = peg$c54;
|
|
4156
4699
|
peg$currPos++;
|
|
4157
4700
|
} else {
|
|
4158
4701
|
s2 = peg$FAILED;
|
|
4159
4702
|
if (peg$silentFails === 0) {
|
|
4160
|
-
peg$fail(peg$
|
|
4703
|
+
peg$fail(peg$e58);
|
|
4161
4704
|
}
|
|
4162
4705
|
}
|
|
4163
4706
|
peg$silentFails--;
|
|
@@ -4171,12 +4714,12 @@ function peg$parse(input, options) {
|
|
|
4171
4714
|
s2 = peg$currPos;
|
|
4172
4715
|
peg$silentFails++;
|
|
4173
4716
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4174
|
-
s3 = peg$
|
|
4717
|
+
s3 = peg$c55;
|
|
4175
4718
|
peg$currPos++;
|
|
4176
4719
|
} else {
|
|
4177
4720
|
s3 = peg$FAILED;
|
|
4178
4721
|
if (peg$silentFails === 0) {
|
|
4179
|
-
peg$fail(peg$
|
|
4722
|
+
peg$fail(peg$e59);
|
|
4180
4723
|
}
|
|
4181
4724
|
}
|
|
4182
4725
|
peg$silentFails--;
|
|
@@ -4193,12 +4736,12 @@ function peg$parse(input, options) {
|
|
|
4193
4736
|
} else {
|
|
4194
4737
|
s3 = peg$FAILED;
|
|
4195
4738
|
if (peg$silentFails === 0) {
|
|
4196
|
-
peg$fail(peg$
|
|
4739
|
+
peg$fail(peg$e54);
|
|
4197
4740
|
}
|
|
4198
4741
|
}
|
|
4199
4742
|
if (s3 !== peg$FAILED) {
|
|
4200
4743
|
peg$savedPos = s0;
|
|
4201
|
-
s0 = peg$
|
|
4744
|
+
s0 = peg$f77(s3);
|
|
4202
4745
|
} else {
|
|
4203
4746
|
peg$currPos = s0;
|
|
4204
4747
|
s0 = peg$FAILED;
|
|
@@ -4214,19 +4757,19 @@ function peg$parse(input, options) {
|
|
|
4214
4757
|
if (s0 === peg$FAILED) {
|
|
4215
4758
|
s0 = peg$currPos;
|
|
4216
4759
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4217
|
-
s1 = peg$
|
|
4760
|
+
s1 = peg$c55;
|
|
4218
4761
|
peg$currPos++;
|
|
4219
4762
|
} else {
|
|
4220
4763
|
s1 = peg$FAILED;
|
|
4221
4764
|
if (peg$silentFails === 0) {
|
|
4222
|
-
peg$fail(peg$
|
|
4765
|
+
peg$fail(peg$e59);
|
|
4223
4766
|
}
|
|
4224
4767
|
}
|
|
4225
4768
|
if (s1 !== peg$FAILED) {
|
|
4226
4769
|
s2 = peg$parseEscapeSequence();
|
|
4227
4770
|
if (s2 !== peg$FAILED) {
|
|
4228
4771
|
peg$savedPos = s0;
|
|
4229
|
-
s0 = peg$
|
|
4772
|
+
s0 = peg$f78(s2);
|
|
4230
4773
|
} else {
|
|
4231
4774
|
peg$currPos = s0;
|
|
4232
4775
|
s0 = peg$FAILED;
|
|
@@ -4242,97 +4785,97 @@ function peg$parse(input, options) {
|
|
|
4242
4785
|
let s0, s1;
|
|
4243
4786
|
s0 = peg$currPos;
|
|
4244
4787
|
if (input.charCodeAt(peg$currPos) === 110) {
|
|
4245
|
-
s1 = peg$
|
|
4788
|
+
s1 = peg$c56;
|
|
4246
4789
|
peg$currPos++;
|
|
4247
4790
|
} else {
|
|
4248
4791
|
s1 = peg$FAILED;
|
|
4249
4792
|
if (peg$silentFails === 0) {
|
|
4250
|
-
peg$fail(peg$
|
|
4793
|
+
peg$fail(peg$e60);
|
|
4251
4794
|
}
|
|
4252
4795
|
}
|
|
4253
4796
|
if (s1 !== peg$FAILED) {
|
|
4254
4797
|
peg$savedPos = s0;
|
|
4255
|
-
s1 = peg$
|
|
4798
|
+
s1 = peg$f79();
|
|
4256
4799
|
}
|
|
4257
4800
|
s0 = s1;
|
|
4258
4801
|
if (s0 === peg$FAILED) {
|
|
4259
4802
|
s0 = peg$currPos;
|
|
4260
4803
|
if (input.charCodeAt(peg$currPos) === 114) {
|
|
4261
|
-
s1 = peg$
|
|
4804
|
+
s1 = peg$c57;
|
|
4262
4805
|
peg$currPos++;
|
|
4263
4806
|
} else {
|
|
4264
4807
|
s1 = peg$FAILED;
|
|
4265
4808
|
if (peg$silentFails === 0) {
|
|
4266
|
-
peg$fail(peg$
|
|
4809
|
+
peg$fail(peg$e61);
|
|
4267
4810
|
}
|
|
4268
4811
|
}
|
|
4269
4812
|
if (s1 !== peg$FAILED) {
|
|
4270
4813
|
peg$savedPos = s0;
|
|
4271
|
-
s1 = peg$
|
|
4814
|
+
s1 = peg$f80();
|
|
4272
4815
|
}
|
|
4273
4816
|
s0 = s1;
|
|
4274
4817
|
if (s0 === peg$FAILED) {
|
|
4275
4818
|
s0 = peg$currPos;
|
|
4276
4819
|
if (input.charCodeAt(peg$currPos) === 116) {
|
|
4277
|
-
s1 = peg$
|
|
4820
|
+
s1 = peg$c58;
|
|
4278
4821
|
peg$currPos++;
|
|
4279
4822
|
} else {
|
|
4280
4823
|
s1 = peg$FAILED;
|
|
4281
4824
|
if (peg$silentFails === 0) {
|
|
4282
|
-
peg$fail(peg$
|
|
4825
|
+
peg$fail(peg$e62);
|
|
4283
4826
|
}
|
|
4284
4827
|
}
|
|
4285
4828
|
if (s1 !== peg$FAILED) {
|
|
4286
4829
|
peg$savedPos = s0;
|
|
4287
|
-
s1 = peg$
|
|
4830
|
+
s1 = peg$f81();
|
|
4288
4831
|
}
|
|
4289
4832
|
s0 = s1;
|
|
4290
4833
|
if (s0 === peg$FAILED) {
|
|
4291
4834
|
s0 = peg$currPos;
|
|
4292
4835
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4293
|
-
s1 = peg$
|
|
4836
|
+
s1 = peg$c55;
|
|
4294
4837
|
peg$currPos++;
|
|
4295
4838
|
} else {
|
|
4296
4839
|
s1 = peg$FAILED;
|
|
4297
4840
|
if (peg$silentFails === 0) {
|
|
4298
|
-
peg$fail(peg$
|
|
4841
|
+
peg$fail(peg$e59);
|
|
4299
4842
|
}
|
|
4300
4843
|
}
|
|
4301
4844
|
if (s1 !== peg$FAILED) {
|
|
4302
4845
|
peg$savedPos = s0;
|
|
4303
|
-
s1 = peg$
|
|
4846
|
+
s1 = peg$f82();
|
|
4304
4847
|
}
|
|
4305
4848
|
s0 = s1;
|
|
4306
4849
|
if (s0 === peg$FAILED) {
|
|
4307
4850
|
s0 = peg$currPos;
|
|
4308
4851
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
4309
|
-
s1 = peg$
|
|
4852
|
+
s1 = peg$c53;
|
|
4310
4853
|
peg$currPos++;
|
|
4311
4854
|
} else {
|
|
4312
4855
|
s1 = peg$FAILED;
|
|
4313
4856
|
if (peg$silentFails === 0) {
|
|
4314
|
-
peg$fail(peg$
|
|
4857
|
+
peg$fail(peg$e57);
|
|
4315
4858
|
}
|
|
4316
4859
|
}
|
|
4317
4860
|
if (s1 !== peg$FAILED) {
|
|
4318
4861
|
peg$savedPos = s0;
|
|
4319
|
-
s1 = peg$
|
|
4862
|
+
s1 = peg$f83();
|
|
4320
4863
|
}
|
|
4321
4864
|
s0 = s1;
|
|
4322
4865
|
if (s0 === peg$FAILED) {
|
|
4323
4866
|
s0 = peg$currPos;
|
|
4324
4867
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4325
|
-
s1 = peg$
|
|
4868
|
+
s1 = peg$c54;
|
|
4326
4869
|
peg$currPos++;
|
|
4327
4870
|
} else {
|
|
4328
4871
|
s1 = peg$FAILED;
|
|
4329
4872
|
if (peg$silentFails === 0) {
|
|
4330
|
-
peg$fail(peg$
|
|
4873
|
+
peg$fail(peg$e58);
|
|
4331
4874
|
}
|
|
4332
4875
|
}
|
|
4333
4876
|
if (s1 !== peg$FAILED) {
|
|
4334
4877
|
peg$savedPos = s0;
|
|
4335
|
-
s1 = peg$
|
|
4878
|
+
s1 = peg$f84();
|
|
4336
4879
|
}
|
|
4337
4880
|
s0 = s1;
|
|
4338
4881
|
}
|
|
@@ -4347,12 +4890,12 @@ function peg$parse(input, options) {
|
|
|
4347
4890
|
peg$silentFails++;
|
|
4348
4891
|
s0 = peg$currPos;
|
|
4349
4892
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4350
|
-
s1 = peg$
|
|
4893
|
+
s1 = peg$c59;
|
|
4351
4894
|
peg$currPos++;
|
|
4352
4895
|
} else {
|
|
4353
4896
|
s1 = peg$FAILED;
|
|
4354
4897
|
if (peg$silentFails === 0) {
|
|
4355
|
-
peg$fail(peg$
|
|
4898
|
+
peg$fail(peg$e64);
|
|
4356
4899
|
}
|
|
4357
4900
|
}
|
|
4358
4901
|
if (s1 === peg$FAILED) {
|
|
@@ -4365,7 +4908,7 @@ function peg$parse(input, options) {
|
|
|
4365
4908
|
} else {
|
|
4366
4909
|
s3 = peg$FAILED;
|
|
4367
4910
|
if (peg$silentFails === 0) {
|
|
4368
|
-
peg$fail(peg$
|
|
4911
|
+
peg$fail(peg$e65);
|
|
4369
4912
|
}
|
|
4370
4913
|
}
|
|
4371
4914
|
if (s3 !== peg$FAILED) {
|
|
@@ -4377,7 +4920,7 @@ function peg$parse(input, options) {
|
|
|
4377
4920
|
} else {
|
|
4378
4921
|
s3 = peg$FAILED;
|
|
4379
4922
|
if (peg$silentFails === 0) {
|
|
4380
|
-
peg$fail(peg$
|
|
4923
|
+
peg$fail(peg$e65);
|
|
4381
4924
|
}
|
|
4382
4925
|
}
|
|
4383
4926
|
}
|
|
@@ -4387,12 +4930,12 @@ function peg$parse(input, options) {
|
|
|
4387
4930
|
if (s2 !== peg$FAILED) {
|
|
4388
4931
|
s3 = peg$currPos;
|
|
4389
4932
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4390
|
-
s4 = peg$
|
|
4933
|
+
s4 = peg$c60;
|
|
4391
4934
|
peg$currPos++;
|
|
4392
4935
|
} else {
|
|
4393
4936
|
s4 = peg$FAILED;
|
|
4394
4937
|
if (peg$silentFails === 0) {
|
|
4395
|
-
peg$fail(peg$
|
|
4938
|
+
peg$fail(peg$e66);
|
|
4396
4939
|
}
|
|
4397
4940
|
}
|
|
4398
4941
|
if (s4 !== peg$FAILED) {
|
|
@@ -4403,7 +4946,7 @@ function peg$parse(input, options) {
|
|
|
4403
4946
|
} else {
|
|
4404
4947
|
s6 = peg$FAILED;
|
|
4405
4948
|
if (peg$silentFails === 0) {
|
|
4406
|
-
peg$fail(peg$
|
|
4949
|
+
peg$fail(peg$e65);
|
|
4407
4950
|
}
|
|
4408
4951
|
}
|
|
4409
4952
|
if (s6 !== peg$FAILED) {
|
|
@@ -4415,7 +4958,7 @@ function peg$parse(input, options) {
|
|
|
4415
4958
|
} else {
|
|
4416
4959
|
s6 = peg$FAILED;
|
|
4417
4960
|
if (peg$silentFails === 0) {
|
|
4418
|
-
peg$fail(peg$
|
|
4961
|
+
peg$fail(peg$e65);
|
|
4419
4962
|
}
|
|
4420
4963
|
}
|
|
4421
4964
|
}
|
|
@@ -4437,7 +4980,7 @@ function peg$parse(input, options) {
|
|
|
4437
4980
|
s3 = null;
|
|
4438
4981
|
}
|
|
4439
4982
|
peg$savedPos = s0;
|
|
4440
|
-
s0 = peg$
|
|
4983
|
+
s0 = peg$f85(s1, s2, s3);
|
|
4441
4984
|
} else {
|
|
4442
4985
|
peg$currPos = s0;
|
|
4443
4986
|
s0 = peg$FAILED;
|
|
@@ -4446,7 +4989,7 @@ function peg$parse(input, options) {
|
|
|
4446
4989
|
if (s0 === peg$FAILED) {
|
|
4447
4990
|
s1 = peg$FAILED;
|
|
4448
4991
|
if (peg$silentFails === 0) {
|
|
4449
|
-
peg$fail(peg$
|
|
4992
|
+
peg$fail(peg$e63);
|
|
4450
4993
|
}
|
|
4451
4994
|
}
|
|
4452
4995
|
return s0;
|
|
@@ -4456,12 +4999,12 @@ function peg$parse(input, options) {
|
|
|
4456
4999
|
peg$silentFails++;
|
|
4457
5000
|
s0 = peg$currPos;
|
|
4458
5001
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4459
|
-
s1 = peg$
|
|
5002
|
+
s1 = peg$c59;
|
|
4460
5003
|
peg$currPos++;
|
|
4461
5004
|
} else {
|
|
4462
5005
|
s1 = peg$FAILED;
|
|
4463
5006
|
if (peg$silentFails === 0) {
|
|
4464
|
-
peg$fail(peg$
|
|
5007
|
+
peg$fail(peg$e64);
|
|
4465
5008
|
}
|
|
4466
5009
|
}
|
|
4467
5010
|
if (s1 === peg$FAILED) {
|
|
@@ -4474,7 +5017,7 @@ function peg$parse(input, options) {
|
|
|
4474
5017
|
} else {
|
|
4475
5018
|
s3 = peg$FAILED;
|
|
4476
5019
|
if (peg$silentFails === 0) {
|
|
4477
|
-
peg$fail(peg$
|
|
5020
|
+
peg$fail(peg$e65);
|
|
4478
5021
|
}
|
|
4479
5022
|
}
|
|
4480
5023
|
if (s3 !== peg$FAILED) {
|
|
@@ -4486,7 +5029,7 @@ function peg$parse(input, options) {
|
|
|
4486
5029
|
} else {
|
|
4487
5030
|
s3 = peg$FAILED;
|
|
4488
5031
|
if (peg$silentFails === 0) {
|
|
4489
|
-
peg$fail(peg$
|
|
5032
|
+
peg$fail(peg$e65);
|
|
4490
5033
|
}
|
|
4491
5034
|
}
|
|
4492
5035
|
}
|
|
@@ -4496,12 +5039,12 @@ function peg$parse(input, options) {
|
|
|
4496
5039
|
if (s2 !== peg$FAILED) {
|
|
4497
5040
|
s3 = peg$currPos;
|
|
4498
5041
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4499
|
-
s4 = peg$
|
|
5042
|
+
s4 = peg$c60;
|
|
4500
5043
|
peg$currPos++;
|
|
4501
5044
|
} else {
|
|
4502
5045
|
s4 = peg$FAILED;
|
|
4503
5046
|
if (peg$silentFails === 0) {
|
|
4504
|
-
peg$fail(peg$
|
|
5047
|
+
peg$fail(peg$e66);
|
|
4505
5048
|
}
|
|
4506
5049
|
}
|
|
4507
5050
|
if (s4 !== peg$FAILED) {
|
|
@@ -4512,7 +5055,7 @@ function peg$parse(input, options) {
|
|
|
4512
5055
|
} else {
|
|
4513
5056
|
s6 = peg$FAILED;
|
|
4514
5057
|
if (peg$silentFails === 0) {
|
|
4515
|
-
peg$fail(peg$
|
|
5058
|
+
peg$fail(peg$e65);
|
|
4516
5059
|
}
|
|
4517
5060
|
}
|
|
4518
5061
|
if (s6 !== peg$FAILED) {
|
|
@@ -4524,7 +5067,7 @@ function peg$parse(input, options) {
|
|
|
4524
5067
|
} else {
|
|
4525
5068
|
s6 = peg$FAILED;
|
|
4526
5069
|
if (peg$silentFails === 0) {
|
|
4527
|
-
peg$fail(peg$
|
|
5070
|
+
peg$fail(peg$e65);
|
|
4528
5071
|
}
|
|
4529
5072
|
}
|
|
4530
5073
|
}
|
|
@@ -4545,63 +5088,63 @@ function peg$parse(input, options) {
|
|
|
4545
5088
|
if (s3 === peg$FAILED) {
|
|
4546
5089
|
s3 = null;
|
|
4547
5090
|
}
|
|
4548
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4549
|
-
s4 = peg$
|
|
5091
|
+
if (input.substr(peg$currPos, 2) === peg$c61) {
|
|
5092
|
+
s4 = peg$c61;
|
|
4550
5093
|
peg$currPos += 2;
|
|
4551
5094
|
} else {
|
|
4552
5095
|
s4 = peg$FAILED;
|
|
4553
5096
|
if (peg$silentFails === 0) {
|
|
4554
|
-
peg$fail(peg$
|
|
5097
|
+
peg$fail(peg$e68);
|
|
4555
5098
|
}
|
|
4556
5099
|
}
|
|
4557
5100
|
if (s4 === peg$FAILED) {
|
|
4558
5101
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4559
|
-
s4 = peg$
|
|
5102
|
+
s4 = peg$c62;
|
|
4560
5103
|
peg$currPos++;
|
|
4561
5104
|
} else {
|
|
4562
5105
|
s4 = peg$FAILED;
|
|
4563
5106
|
if (peg$silentFails === 0) {
|
|
4564
|
-
peg$fail(peg$
|
|
5107
|
+
peg$fail(peg$e69);
|
|
4565
5108
|
}
|
|
4566
5109
|
}
|
|
4567
5110
|
if (s4 === peg$FAILED) {
|
|
4568
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4569
|
-
s4 = peg$
|
|
5111
|
+
if (input.substr(peg$currPos, 2) === peg$c63) {
|
|
5112
|
+
s4 = peg$c63;
|
|
4570
5113
|
peg$currPos += 2;
|
|
4571
5114
|
} else {
|
|
4572
5115
|
s4 = peg$FAILED;
|
|
4573
5116
|
if (peg$silentFails === 0) {
|
|
4574
|
-
peg$fail(peg$
|
|
5117
|
+
peg$fail(peg$e70);
|
|
4575
5118
|
}
|
|
4576
5119
|
}
|
|
4577
5120
|
if (s4 === peg$FAILED) {
|
|
4578
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4579
|
-
s4 = peg$
|
|
5121
|
+
if (input.substr(peg$currPos, 3) === peg$c64) {
|
|
5122
|
+
s4 = peg$c64;
|
|
4580
5123
|
peg$currPos += 3;
|
|
4581
5124
|
} else {
|
|
4582
5125
|
s4 = peg$FAILED;
|
|
4583
5126
|
if (peg$silentFails === 0) {
|
|
4584
|
-
peg$fail(peg$
|
|
5127
|
+
peg$fail(peg$e71);
|
|
4585
5128
|
}
|
|
4586
5129
|
}
|
|
4587
5130
|
if (s4 === peg$FAILED) {
|
|
4588
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4589
|
-
s4 = peg$
|
|
5131
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
5132
|
+
s4 = peg$c65;
|
|
4590
5133
|
peg$currPos += 2;
|
|
4591
5134
|
} else {
|
|
4592
5135
|
s4 = peg$FAILED;
|
|
4593
5136
|
if (peg$silentFails === 0) {
|
|
4594
|
-
peg$fail(peg$
|
|
5137
|
+
peg$fail(peg$e72);
|
|
4595
5138
|
}
|
|
4596
5139
|
}
|
|
4597
5140
|
if (s4 === peg$FAILED) {
|
|
4598
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
4599
|
-
s4 = peg$
|
|
5141
|
+
if (input.substr(peg$currPos, 2) === peg$c66) {
|
|
5142
|
+
s4 = peg$c66;
|
|
4600
5143
|
peg$currPos += 2;
|
|
4601
5144
|
} else {
|
|
4602
5145
|
s4 = peg$FAILED;
|
|
4603
5146
|
if (peg$silentFails === 0) {
|
|
4604
|
-
peg$fail(peg$
|
|
5147
|
+
peg$fail(peg$e73);
|
|
4605
5148
|
}
|
|
4606
5149
|
}
|
|
4607
5150
|
}
|
|
@@ -4611,7 +5154,7 @@ function peg$parse(input, options) {
|
|
|
4611
5154
|
}
|
|
4612
5155
|
if (s4 !== peg$FAILED) {
|
|
4613
5156
|
peg$savedPos = s0;
|
|
4614
|
-
s0 = peg$
|
|
5157
|
+
s0 = peg$f86(s1, s2, s3, s4);
|
|
4615
5158
|
} else {
|
|
4616
5159
|
peg$currPos = s0;
|
|
4617
5160
|
s0 = peg$FAILED;
|
|
@@ -4624,7 +5167,7 @@ function peg$parse(input, options) {
|
|
|
4624
5167
|
if (s0 === peg$FAILED) {
|
|
4625
5168
|
s1 = peg$FAILED;
|
|
4626
5169
|
if (peg$silentFails === 0) {
|
|
4627
|
-
peg$fail(peg$
|
|
5170
|
+
peg$fail(peg$e67);
|
|
4628
5171
|
}
|
|
4629
5172
|
}
|
|
4630
5173
|
return s0;
|
|
@@ -4633,34 +5176,34 @@ function peg$parse(input, options) {
|
|
|
4633
5176
|
let s0, s1;
|
|
4634
5177
|
peg$silentFails++;
|
|
4635
5178
|
s0 = peg$currPos;
|
|
4636
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4637
|
-
s1 = peg$
|
|
5179
|
+
if (input.substr(peg$currPos, 4) === peg$c67) {
|
|
5180
|
+
s1 = peg$c67;
|
|
4638
5181
|
peg$currPos += 4;
|
|
4639
5182
|
} else {
|
|
4640
5183
|
s1 = peg$FAILED;
|
|
4641
5184
|
if (peg$silentFails === 0) {
|
|
4642
|
-
peg$fail(peg$
|
|
5185
|
+
peg$fail(peg$e75);
|
|
4643
5186
|
}
|
|
4644
5187
|
}
|
|
4645
5188
|
if (s1 !== peg$FAILED) {
|
|
4646
5189
|
peg$savedPos = s0;
|
|
4647
|
-
s1 = peg$
|
|
5190
|
+
s1 = peg$f87();
|
|
4648
5191
|
}
|
|
4649
5192
|
s0 = s1;
|
|
4650
5193
|
if (s0 === peg$FAILED) {
|
|
4651
5194
|
s0 = peg$currPos;
|
|
4652
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4653
|
-
s1 = peg$
|
|
5195
|
+
if (input.substr(peg$currPos, 5) === peg$c68) {
|
|
5196
|
+
s1 = peg$c68;
|
|
4654
5197
|
peg$currPos += 5;
|
|
4655
5198
|
} else {
|
|
4656
5199
|
s1 = peg$FAILED;
|
|
4657
5200
|
if (peg$silentFails === 0) {
|
|
4658
|
-
peg$fail(peg$
|
|
5201
|
+
peg$fail(peg$e76);
|
|
4659
5202
|
}
|
|
4660
5203
|
}
|
|
4661
5204
|
if (s1 !== peg$FAILED) {
|
|
4662
5205
|
peg$savedPos = s0;
|
|
4663
|
-
s1 = peg$
|
|
5206
|
+
s1 = peg$f88();
|
|
4664
5207
|
}
|
|
4665
5208
|
s0 = s1;
|
|
4666
5209
|
}
|
|
@@ -4668,7 +5211,7 @@ function peg$parse(input, options) {
|
|
|
4668
5211
|
if (s0 === peg$FAILED) {
|
|
4669
5212
|
s1 = peg$FAILED;
|
|
4670
5213
|
if (peg$silentFails === 0) {
|
|
4671
|
-
peg$fail(peg$
|
|
5214
|
+
peg$fail(peg$e74);
|
|
4672
5215
|
}
|
|
4673
5216
|
}
|
|
4674
5217
|
return s0;
|
|
@@ -4683,7 +5226,7 @@ function peg$parse(input, options) {
|
|
|
4683
5226
|
} else {
|
|
4684
5227
|
s1 = peg$FAILED;
|
|
4685
5228
|
if (peg$silentFails === 0) {
|
|
4686
|
-
peg$fail(peg$
|
|
5229
|
+
peg$fail(peg$e78);
|
|
4687
5230
|
}
|
|
4688
5231
|
}
|
|
4689
5232
|
if (s1 !== peg$FAILED) {
|
|
@@ -4694,7 +5237,7 @@ function peg$parse(input, options) {
|
|
|
4694
5237
|
} else {
|
|
4695
5238
|
s3 = peg$FAILED;
|
|
4696
5239
|
if (peg$silentFails === 0) {
|
|
4697
|
-
peg$fail(peg$
|
|
5240
|
+
peg$fail(peg$e55);
|
|
4698
5241
|
}
|
|
4699
5242
|
}
|
|
4700
5243
|
while (s3 !== peg$FAILED) {
|
|
@@ -4705,12 +5248,12 @@ function peg$parse(input, options) {
|
|
|
4705
5248
|
} else {
|
|
4706
5249
|
s3 = peg$FAILED;
|
|
4707
5250
|
if (peg$silentFails === 0) {
|
|
4708
|
-
peg$fail(peg$
|
|
5251
|
+
peg$fail(peg$e55);
|
|
4709
5252
|
}
|
|
4710
5253
|
}
|
|
4711
5254
|
}
|
|
4712
5255
|
peg$savedPos = s0;
|
|
4713
|
-
s0 = peg$
|
|
5256
|
+
s0 = peg$f89(s1, s2);
|
|
4714
5257
|
} else {
|
|
4715
5258
|
peg$currPos = s0;
|
|
4716
5259
|
s0 = peg$FAILED;
|
|
@@ -4719,7 +5262,7 @@ function peg$parse(input, options) {
|
|
|
4719
5262
|
if (s0 === peg$FAILED) {
|
|
4720
5263
|
s1 = peg$FAILED;
|
|
4721
5264
|
if (peg$silentFails === 0) {
|
|
4722
|
-
peg$fail(peg$
|
|
5265
|
+
peg$fail(peg$e77);
|
|
4723
5266
|
}
|
|
4724
5267
|
}
|
|
4725
5268
|
return s0;
|
|
@@ -4728,12 +5271,12 @@ function peg$parse(input, options) {
|
|
|
4728
5271
|
let s0, s1, s2, s3, s4, s5;
|
|
4729
5272
|
s0 = peg$currPos;
|
|
4730
5273
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
4731
|
-
s1 = peg$
|
|
5274
|
+
s1 = peg$c31;
|
|
4732
5275
|
peg$currPos++;
|
|
4733
5276
|
} else {
|
|
4734
5277
|
s1 = peg$FAILED;
|
|
4735
5278
|
if (peg$silentFails === 0) {
|
|
4736
|
-
peg$fail(peg$
|
|
5279
|
+
peg$fail(peg$e31);
|
|
4737
5280
|
}
|
|
4738
5281
|
}
|
|
4739
5282
|
if (s1 !== peg$FAILED) {
|
|
@@ -4744,17 +5287,17 @@ function peg$parse(input, options) {
|
|
|
4744
5287
|
}
|
|
4745
5288
|
s4 = peg$parse_();
|
|
4746
5289
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
4747
|
-
s5 = peg$
|
|
5290
|
+
s5 = peg$c33;
|
|
4748
5291
|
peg$currPos++;
|
|
4749
5292
|
} else {
|
|
4750
5293
|
s5 = peg$FAILED;
|
|
4751
5294
|
if (peg$silentFails === 0) {
|
|
4752
|
-
peg$fail(peg$
|
|
5295
|
+
peg$fail(peg$e33);
|
|
4753
5296
|
}
|
|
4754
5297
|
}
|
|
4755
5298
|
if (s5 !== peg$FAILED) {
|
|
4756
5299
|
peg$savedPos = s0;
|
|
4757
|
-
s0 = peg$
|
|
5300
|
+
s0 = peg$f90(s3);
|
|
4758
5301
|
} else {
|
|
4759
5302
|
peg$currPos = s0;
|
|
4760
5303
|
s0 = peg$FAILED;
|
|
@@ -4774,12 +5317,12 @@ function peg$parse(input, options) {
|
|
|
4774
5317
|
s3 = peg$currPos;
|
|
4775
5318
|
s4 = peg$parse_();
|
|
4776
5319
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4777
|
-
s5 = peg$
|
|
5320
|
+
s5 = peg$c32;
|
|
4778
5321
|
peg$currPos++;
|
|
4779
5322
|
} else {
|
|
4780
5323
|
s5 = peg$FAILED;
|
|
4781
5324
|
if (peg$silentFails === 0) {
|
|
4782
|
-
peg$fail(peg$
|
|
5325
|
+
peg$fail(peg$e32);
|
|
4783
5326
|
}
|
|
4784
5327
|
}
|
|
4785
5328
|
if (s5 === peg$FAILED) {
|
|
@@ -4799,12 +5342,12 @@ function peg$parse(input, options) {
|
|
|
4799
5342
|
s3 = peg$currPos;
|
|
4800
5343
|
s4 = peg$parse_();
|
|
4801
5344
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4802
|
-
s5 = peg$
|
|
5345
|
+
s5 = peg$c32;
|
|
4803
5346
|
peg$currPos++;
|
|
4804
5347
|
} else {
|
|
4805
5348
|
s5 = peg$FAILED;
|
|
4806
5349
|
if (peg$silentFails === 0) {
|
|
4807
|
-
peg$fail(peg$
|
|
5350
|
+
peg$fail(peg$e32);
|
|
4808
5351
|
}
|
|
4809
5352
|
}
|
|
4810
5353
|
if (s5 === peg$FAILED) {
|
|
@@ -4823,12 +5366,12 @@ function peg$parse(input, options) {
|
|
|
4823
5366
|
s3 = peg$currPos;
|
|
4824
5367
|
s4 = peg$parse_();
|
|
4825
5368
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4826
|
-
s5 = peg$
|
|
5369
|
+
s5 = peg$c32;
|
|
4827
5370
|
peg$currPos++;
|
|
4828
5371
|
} else {
|
|
4829
5372
|
s5 = peg$FAILED;
|
|
4830
5373
|
if (peg$silentFails === 0) {
|
|
4831
|
-
peg$fail(peg$
|
|
5374
|
+
peg$fail(peg$e32);
|
|
4832
5375
|
}
|
|
4833
5376
|
}
|
|
4834
5377
|
if (s5 !== peg$FAILED) {
|
|
@@ -4842,7 +5385,7 @@ function peg$parse(input, options) {
|
|
|
4842
5385
|
s3 = null;
|
|
4843
5386
|
}
|
|
4844
5387
|
peg$savedPos = s0;
|
|
4845
|
-
s0 = peg$
|
|
5388
|
+
s0 = peg$f91(s1, s2);
|
|
4846
5389
|
} else {
|
|
4847
5390
|
peg$currPos = s0;
|
|
4848
5391
|
s0 = peg$FAILED;
|
|
@@ -4896,7 +5439,7 @@ function peg$parse(input, options) {
|
|
|
4896
5439
|
}
|
|
4897
5440
|
if (s5 !== peg$FAILED) {
|
|
4898
5441
|
peg$savedPos = s0;
|
|
4899
|
-
s0 = peg$
|
|
5442
|
+
s0 = peg$f92(s3);
|
|
4900
5443
|
} else {
|
|
4901
5444
|
peg$currPos = s0;
|
|
4902
5445
|
s0 = peg$FAILED;
|
|
@@ -4916,12 +5459,12 @@ function peg$parse(input, options) {
|
|
|
4916
5459
|
s3 = peg$currPos;
|
|
4917
5460
|
s4 = peg$parse_();
|
|
4918
5461
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4919
|
-
s5 = peg$
|
|
5462
|
+
s5 = peg$c32;
|
|
4920
5463
|
peg$currPos++;
|
|
4921
5464
|
} else {
|
|
4922
5465
|
s5 = peg$FAILED;
|
|
4923
5466
|
if (peg$silentFails === 0) {
|
|
4924
|
-
peg$fail(peg$
|
|
5467
|
+
peg$fail(peg$e32);
|
|
4925
5468
|
}
|
|
4926
5469
|
}
|
|
4927
5470
|
if (s5 === peg$FAILED) {
|
|
@@ -4941,12 +5484,12 @@ function peg$parse(input, options) {
|
|
|
4941
5484
|
s3 = peg$currPos;
|
|
4942
5485
|
s4 = peg$parse_();
|
|
4943
5486
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
4944
|
-
s5 = peg$
|
|
5487
|
+
s5 = peg$c32;
|
|
4945
5488
|
peg$currPos++;
|
|
4946
5489
|
} else {
|
|
4947
5490
|
s5 = peg$FAILED;
|
|
4948
5491
|
if (peg$silentFails === 0) {
|
|
4949
|
-
peg$fail(peg$
|
|
5492
|
+
peg$fail(peg$e32);
|
|
4950
5493
|
}
|
|
4951
5494
|
}
|
|
4952
5495
|
if (s5 === peg$FAILED) {
|
|
@@ -4963,7 +5506,7 @@ function peg$parse(input, options) {
|
|
|
4963
5506
|
}
|
|
4964
5507
|
}
|
|
4965
5508
|
peg$savedPos = s0;
|
|
4966
|
-
s0 = peg$
|
|
5509
|
+
s0 = peg$f93(s1, s2);
|
|
4967
5510
|
} else {
|
|
4968
5511
|
peg$currPos = s0;
|
|
4969
5512
|
s0 = peg$FAILED;
|
|
@@ -4977,12 +5520,12 @@ function peg$parse(input, options) {
|
|
|
4977
5520
|
if (s1 !== peg$FAILED) {
|
|
4978
5521
|
s2 = peg$parse_();
|
|
4979
5522
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
4980
|
-
s3 = peg$
|
|
5523
|
+
s3 = peg$c50;
|
|
4981
5524
|
peg$currPos++;
|
|
4982
5525
|
} else {
|
|
4983
5526
|
s3 = peg$FAILED;
|
|
4984
5527
|
if (peg$silentFails === 0) {
|
|
4985
|
-
peg$fail(peg$
|
|
5528
|
+
peg$fail(peg$e50);
|
|
4986
5529
|
}
|
|
4987
5530
|
}
|
|
4988
5531
|
if (s3 !== peg$FAILED) {
|
|
@@ -4990,7 +5533,7 @@ function peg$parse(input, options) {
|
|
|
4990
5533
|
s5 = peg$parseAttributeValue();
|
|
4991
5534
|
if (s5 !== peg$FAILED) {
|
|
4992
5535
|
peg$savedPos = s0;
|
|
4993
|
-
s0 = peg$
|
|
5536
|
+
s0 = peg$f94(s1, s5);
|
|
4994
5537
|
} else {
|
|
4995
5538
|
peg$currPos = s0;
|
|
4996
5539
|
s0 = peg$FAILED;
|
|
@@ -5008,7 +5551,7 @@ function peg$parse(input, options) {
|
|
|
5008
5551
|
s1 = peg$parseIdentifier();
|
|
5009
5552
|
if (s1 !== peg$FAILED) {
|
|
5010
5553
|
peg$savedPos = s0;
|
|
5011
|
-
s1 = peg$
|
|
5554
|
+
s1 = peg$f95(s1);
|
|
5012
5555
|
}
|
|
5013
5556
|
s0 = s1;
|
|
5014
5557
|
}
|
|
@@ -5041,7 +5584,7 @@ function peg$parse(input, options) {
|
|
|
5041
5584
|
} else {
|
|
5042
5585
|
s1 = peg$FAILED;
|
|
5043
5586
|
if (peg$silentFails === 0) {
|
|
5044
|
-
peg$fail(peg$
|
|
5587
|
+
peg$fail(peg$e79);
|
|
5045
5588
|
}
|
|
5046
5589
|
}
|
|
5047
5590
|
if (s1 !== peg$FAILED) {
|
|
@@ -5053,7 +5596,7 @@ function peg$parse(input, options) {
|
|
|
5053
5596
|
} else {
|
|
5054
5597
|
s1 = peg$FAILED;
|
|
5055
5598
|
if (peg$silentFails === 0) {
|
|
5056
|
-
peg$fail(peg$
|
|
5599
|
+
peg$fail(peg$e79);
|
|
5057
5600
|
}
|
|
5058
5601
|
}
|
|
5059
5602
|
}
|
|
@@ -5073,7 +5616,7 @@ function peg$parse(input, options) {
|
|
|
5073
5616
|
if (s0 === peg$FAILED) {
|
|
5074
5617
|
s1 = peg$FAILED;
|
|
5075
5618
|
if (peg$silentFails === 0) {
|
|
5076
|
-
peg$fail(peg$
|
|
5619
|
+
peg$fail(peg$e80);
|
|
5077
5620
|
}
|
|
5078
5621
|
}
|
|
5079
5622
|
return s0;
|
|
@@ -5081,13 +5624,13 @@ function peg$parse(input, options) {
|
|
|
5081
5624
|
function peg$parseLineComment() {
|
|
5082
5625
|
let s0, s1, s2, s3, s4;
|
|
5083
5626
|
s0 = peg$currPos;
|
|
5084
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5085
|
-
s1 = peg$
|
|
5627
|
+
if (input.substr(peg$currPos, 2) === peg$c51) {
|
|
5628
|
+
s1 = peg$c51;
|
|
5086
5629
|
peg$currPos += 2;
|
|
5087
5630
|
} else {
|
|
5088
5631
|
s1 = peg$FAILED;
|
|
5089
5632
|
if (peg$silentFails === 0) {
|
|
5090
|
-
peg$fail(peg$
|
|
5633
|
+
peg$fail(peg$e52);
|
|
5091
5634
|
}
|
|
5092
5635
|
}
|
|
5093
5636
|
if (s1 !== peg$FAILED) {
|
|
@@ -5098,7 +5641,7 @@ function peg$parse(input, options) {
|
|
|
5098
5641
|
} else {
|
|
5099
5642
|
s3 = peg$FAILED;
|
|
5100
5643
|
if (peg$silentFails === 0) {
|
|
5101
|
-
peg$fail(peg$
|
|
5644
|
+
peg$fail(peg$e81);
|
|
5102
5645
|
}
|
|
5103
5646
|
}
|
|
5104
5647
|
while (s3 !== peg$FAILED) {
|
|
@@ -5109,17 +5652,17 @@ function peg$parse(input, options) {
|
|
|
5109
5652
|
} else {
|
|
5110
5653
|
s3 = peg$FAILED;
|
|
5111
5654
|
if (peg$silentFails === 0) {
|
|
5112
|
-
peg$fail(peg$
|
|
5655
|
+
peg$fail(peg$e81);
|
|
5113
5656
|
}
|
|
5114
5657
|
}
|
|
5115
5658
|
}
|
|
5116
5659
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
5117
|
-
s3 = peg$
|
|
5660
|
+
s3 = peg$c69;
|
|
5118
5661
|
peg$currPos++;
|
|
5119
5662
|
} else {
|
|
5120
5663
|
s3 = peg$FAILED;
|
|
5121
5664
|
if (peg$silentFails === 0) {
|
|
5122
|
-
peg$fail(peg$
|
|
5665
|
+
peg$fail(peg$e82);
|
|
5123
5666
|
}
|
|
5124
5667
|
}
|
|
5125
5668
|
if (s3 === peg$FAILED) {
|
|
@@ -5131,7 +5674,7 @@ function peg$parse(input, options) {
|
|
|
5131
5674
|
} else {
|
|
5132
5675
|
s4 = peg$FAILED;
|
|
5133
5676
|
if (peg$silentFails === 0) {
|
|
5134
|
-
peg$fail(peg$
|
|
5677
|
+
peg$fail(peg$e54);
|
|
5135
5678
|
}
|
|
5136
5679
|
}
|
|
5137
5680
|
peg$silentFails--;
|
|
@@ -5158,13 +5701,13 @@ function peg$parse(input, options) {
|
|
|
5158
5701
|
function peg$parseBlockComment() {
|
|
5159
5702
|
let s0, s1, s2, s3, s4, s5;
|
|
5160
5703
|
s0 = peg$currPos;
|
|
5161
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5162
|
-
s1 = peg$
|
|
5704
|
+
if (input.substr(peg$currPos, 2) === peg$c52) {
|
|
5705
|
+
s1 = peg$c52;
|
|
5163
5706
|
peg$currPos += 2;
|
|
5164
5707
|
} else {
|
|
5165
5708
|
s1 = peg$FAILED;
|
|
5166
5709
|
if (peg$silentFails === 0) {
|
|
5167
|
-
peg$fail(peg$
|
|
5710
|
+
peg$fail(peg$e53);
|
|
5168
5711
|
}
|
|
5169
5712
|
}
|
|
5170
5713
|
if (s1 !== peg$FAILED) {
|
|
@@ -5172,13 +5715,13 @@ function peg$parse(input, options) {
|
|
|
5172
5715
|
s3 = peg$currPos;
|
|
5173
5716
|
s4 = peg$currPos;
|
|
5174
5717
|
peg$silentFails++;
|
|
5175
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5176
|
-
s5 = peg$
|
|
5718
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5719
|
+
s5 = peg$c70;
|
|
5177
5720
|
peg$currPos += 2;
|
|
5178
5721
|
} else {
|
|
5179
5722
|
s5 = peg$FAILED;
|
|
5180
5723
|
if (peg$silentFails === 0) {
|
|
5181
|
-
peg$fail(peg$
|
|
5724
|
+
peg$fail(peg$e83);
|
|
5182
5725
|
}
|
|
5183
5726
|
}
|
|
5184
5727
|
peg$silentFails--;
|
|
@@ -5195,7 +5738,7 @@ function peg$parse(input, options) {
|
|
|
5195
5738
|
} else {
|
|
5196
5739
|
s5 = peg$FAILED;
|
|
5197
5740
|
if (peg$silentFails === 0) {
|
|
5198
|
-
peg$fail(peg$
|
|
5741
|
+
peg$fail(peg$e54);
|
|
5199
5742
|
}
|
|
5200
5743
|
}
|
|
5201
5744
|
if (s5 !== peg$FAILED) {
|
|
@@ -5214,13 +5757,13 @@ function peg$parse(input, options) {
|
|
|
5214
5757
|
s3 = peg$currPos;
|
|
5215
5758
|
s4 = peg$currPos;
|
|
5216
5759
|
peg$silentFails++;
|
|
5217
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5218
|
-
s5 = peg$
|
|
5760
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5761
|
+
s5 = peg$c70;
|
|
5219
5762
|
peg$currPos += 2;
|
|
5220
5763
|
} else {
|
|
5221
5764
|
s5 = peg$FAILED;
|
|
5222
5765
|
if (peg$silentFails === 0) {
|
|
5223
|
-
peg$fail(peg$
|
|
5766
|
+
peg$fail(peg$e83);
|
|
5224
5767
|
}
|
|
5225
5768
|
}
|
|
5226
5769
|
peg$silentFails--;
|
|
@@ -5237,7 +5780,7 @@ function peg$parse(input, options) {
|
|
|
5237
5780
|
} else {
|
|
5238
5781
|
s5 = peg$FAILED;
|
|
5239
5782
|
if (peg$silentFails === 0) {
|
|
5240
|
-
peg$fail(peg$
|
|
5783
|
+
peg$fail(peg$e54);
|
|
5241
5784
|
}
|
|
5242
5785
|
}
|
|
5243
5786
|
if (s5 !== peg$FAILED) {
|
|
@@ -5252,13 +5795,13 @@ function peg$parse(input, options) {
|
|
|
5252
5795
|
s3 = peg$FAILED;
|
|
5253
5796
|
}
|
|
5254
5797
|
}
|
|
5255
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
5256
|
-
s3 = peg$
|
|
5798
|
+
if (input.substr(peg$currPos, 2) === peg$c70) {
|
|
5799
|
+
s3 = peg$c70;
|
|
5257
5800
|
peg$currPos += 2;
|
|
5258
5801
|
} else {
|
|
5259
5802
|
s3 = peg$FAILED;
|
|
5260
5803
|
if (peg$silentFails === 0) {
|
|
5261
|
-
peg$fail(peg$
|
|
5804
|
+
peg$fail(peg$e83);
|
|
5262
5805
|
}
|
|
5263
5806
|
}
|
|
5264
5807
|
if (s3 !== peg$FAILED) {
|