jssm 5.149.1 → 5.150.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/README.md +7 -7
- package/custom-elements.json +261 -11
- package/dist/cdn/instance.js +929 -443
- package/dist/cdn/viz.js +761 -332
- package/dist/cli/fsl-export-system-prompt.cjs +1 -1
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/cli/lib.cjs +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cm6/fsl_language.js +3 -1
- package/dist/deno/README.md +7 -7
- package/dist/deno/jssm.d.ts +14 -2
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_types.d.ts +11 -1
- package/dist/jssm.es5.cjs +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/dist/jssm.es6.mjs +1 -1
- package/dist/jssm_viz.cjs +1 -1
- package/dist/jssm_viz.iife.cjs +1 -1
- package/dist/jssm_viz.mjs +1 -1
- package/dist/wc/instance.js +88 -31
- package/dist/wc/widgets.js +137 -18
- package/jssm.es5.d.cts +23 -1
- package/jssm.es6.d.ts +23 -1
- package/jssm_viz.es5.d.cts +23 -1
- package/jssm_viz.es6.d.ts +23 -1
- package/package.json +2 -1
package/dist/cdn/instance.js
CHANGED
|
@@ -552,25 +552,43 @@ function peg$parse(input, options) {
|
|
|
552
552
|
node.loc = location();
|
|
553
553
|
}
|
|
554
554
|
return node;
|
|
555
|
-
}, peg$c1373 = "
|
|
555
|
+
}, peg$c1373 = "editor", peg$c1374 = peg$literalExpectation("editor", false), peg$c1375 = function (items) {
|
|
556
|
+
const node = { key: "editor_config", value: items };
|
|
557
|
+
if (options.locations) {
|
|
558
|
+
node.loc = location();
|
|
559
|
+
}
|
|
560
|
+
return node;
|
|
561
|
+
}, peg$c1376 = "stochastic_run_count", peg$c1377 = peg$literalExpectation("stochastic_run_count", false), peg$c1378 = function (value) {
|
|
562
|
+
const node = { key: "stochastic_run_count", value: parseInt(value, 10) };
|
|
563
|
+
if (options.locations) {
|
|
564
|
+
node.loc = location();
|
|
565
|
+
}
|
|
566
|
+
return node;
|
|
567
|
+
}, peg$c1379 = "panels", peg$c1380 = peg$literalExpectation("panels", false), peg$c1381 = function (value) {
|
|
568
|
+
const node = { key: "panels", value: value };
|
|
569
|
+
if (options.locations) {
|
|
570
|
+
node.loc = location();
|
|
571
|
+
}
|
|
572
|
+
return node;
|
|
573
|
+
}, peg$c1382 = "graph_layout", peg$c1383 = peg$literalExpectation("graph_layout", false), peg$c1384 = function (value) {
|
|
556
574
|
const node = { key: "graph_layout", value: value };
|
|
557
575
|
if (options.locations) {
|
|
558
576
|
node.loc = location();
|
|
559
577
|
}
|
|
560
578
|
return node;
|
|
561
|
-
}, peg$
|
|
579
|
+
}, peg$c1385 = "start_states", peg$c1386 = peg$literalExpectation("start_states", false), peg$c1387 = function (value) {
|
|
562
580
|
const node = { key: "start_states", value: value };
|
|
563
581
|
if (options.locations) {
|
|
564
582
|
node.loc = location();
|
|
565
583
|
}
|
|
566
584
|
return node;
|
|
567
|
-
}, peg$
|
|
585
|
+
}, peg$c1388 = "end_states", peg$c1389 = peg$literalExpectation("end_states", false), peg$c1390 = function (value) {
|
|
568
586
|
const node = { key: "end_states", value: value };
|
|
569
587
|
if (options.locations) {
|
|
570
588
|
node.loc = location();
|
|
571
589
|
}
|
|
572
590
|
return node;
|
|
573
|
-
}, peg$
|
|
591
|
+
}, peg$c1391 = "failed_outputs", peg$c1392 = peg$literalExpectation("failed_outputs", false), peg$c1393 = function (value) {
|
|
574
592
|
const raw = options.locations ? value.__v : value;
|
|
575
593
|
const node = { key: "failed_outputs", value: typeof raw === 'string' ? [raw] : raw };
|
|
576
594
|
if (options.locations) {
|
|
@@ -578,7 +596,7 @@ function peg$parse(input, options) {
|
|
|
578
596
|
node.value_loc = value.__loc;
|
|
579
597
|
}
|
|
580
598
|
return node;
|
|
581
|
-
}, peg$
|
|
599
|
+
}, peg$c1394 = "graph_bg_color", peg$c1395 = peg$literalExpectation("graph_bg_color", false), peg$c1396 = function (value) {
|
|
582
600
|
const raw = options.locations ? value.__v : value;
|
|
583
601
|
const node = { key: "graph_bg_color", value: raw };
|
|
584
602
|
if (options.locations) {
|
|
@@ -586,13 +604,13 @@ function peg$parse(input, options) {
|
|
|
586
604
|
node.value_loc = value.__loc;
|
|
587
605
|
}
|
|
588
606
|
return node;
|
|
589
|
-
}, peg$
|
|
607
|
+
}, peg$c1397 = "allows_override", peg$c1398 = peg$literalExpectation("allows_override", false), peg$c1399 = function (value) {
|
|
590
608
|
const node = { key: "allows_override", value: value };
|
|
591
609
|
if (options.locations) {
|
|
592
610
|
node.loc = location();
|
|
593
611
|
}
|
|
594
612
|
return node;
|
|
595
|
-
}, peg$
|
|
613
|
+
}, peg$c1400 = "allow_islands", peg$c1401 = peg$literalExpectation("allow_islands", false), peg$c1402 = function (value) {
|
|
596
614
|
const raw = options.locations ? value.__v : value;
|
|
597
615
|
const node = { key: "allow_islands", value: raw };
|
|
598
616
|
if (options.locations) {
|
|
@@ -600,7 +618,7 @@ function peg$parse(input, options) {
|
|
|
600
618
|
node.value_loc = value.__loc;
|
|
601
619
|
}
|
|
602
620
|
return node;
|
|
603
|
-
}, peg$
|
|
621
|
+
}, peg$c1403 = function () { return true; }, peg$c1404 = function () { return false; }, peg$c1405 = "with_start", peg$c1406 = peg$literalExpectation("with_start", false), peg$c1407 = function () { return 'with_start'; }, peg$c1408 = function () { return true; }, peg$c1409 = function () { return false; }, peg$c1410 = peg$otherExpectation("configuration"), peg$c1411 = "MIT", peg$c1412 = peg$literalExpectation("MIT", false), peg$c1413 = "BSD 2-clause", peg$c1414 = peg$literalExpectation("BSD 2-clause", false), peg$c1415 = "BSD 3-clause", peg$c1416 = peg$literalExpectation("BSD 3-clause", false), peg$c1417 = "Apache 2.0", peg$c1418 = peg$literalExpectation("Apache 2.0", false), peg$c1419 = "Mozilla 2.0", peg$c1420 = peg$literalExpectation("Mozilla 2.0", false), peg$c1421 = "Public domain", peg$c1422 = peg$literalExpectation("Public domain", false), peg$c1423 = "GPL v2", peg$c1424 = peg$literalExpectation("GPL v2", false), peg$c1425 = "GPL v3", peg$c1426 = peg$literalExpectation("GPL v3", false), peg$c1427 = "LGPL v2.1", peg$c1428 = peg$literalExpectation("LGPL v2.1", false), peg$c1429 = "LGPL v3.0", peg$c1430 = peg$literalExpectation("LGPL v3.0", false), peg$c1431 = "Unknown", peg$c1432 = peg$literalExpectation("Unknown", false), peg$c1433 = peg$otherExpectation("direction"), peg$c1434 = "up", peg$c1435 = peg$literalExpectation("up", false), peg$c1436 = "right", peg$c1437 = peg$literalExpectation("right", false), peg$c1438 = "down", peg$c1439 = peg$literalExpectation("down", false), peg$c1440 = "left", peg$c1441 = peg$literalExpectation("left", false), peg$c1442 = peg$otherExpectation("hook definition (open/closed)"), peg$c1443 = "open", peg$c1444 = peg$literalExpectation("open", false), peg$c1445 = "closed", peg$c1446 = peg$literalExpectation("closed", false), peg$c1447 = "machine_author", peg$c1448 = peg$literalExpectation("machine_author", false), peg$c1449 = function (value) {
|
|
604
622
|
const raw = options.locations ? value.__v : value;
|
|
605
623
|
const node = { key: "machine_author", value: raw };
|
|
606
624
|
if (options.locations) {
|
|
@@ -608,7 +626,7 @@ function peg$parse(input, options) {
|
|
|
608
626
|
node.value_loc = value.__loc;
|
|
609
627
|
}
|
|
610
628
|
return node;
|
|
611
|
-
}, peg$
|
|
629
|
+
}, peg$c1450 = "machine_contributor", peg$c1451 = peg$literalExpectation("machine_contributor", false), peg$c1452 = function (value) {
|
|
612
630
|
const raw = options.locations ? value.__v : value;
|
|
613
631
|
const node = { key: "machine_contributor", value: raw };
|
|
614
632
|
if (options.locations) {
|
|
@@ -616,7 +634,7 @@ function peg$parse(input, options) {
|
|
|
616
634
|
node.value_loc = value.__loc;
|
|
617
635
|
}
|
|
618
636
|
return node;
|
|
619
|
-
}, peg$
|
|
637
|
+
}, peg$c1453 = "machine_comment", peg$c1454 = peg$literalExpectation("machine_comment", false), peg$c1455 = function (value) {
|
|
620
638
|
const raw = options.locations ? value.__v : value;
|
|
621
639
|
const node = { key: "machine_comment", value: raw };
|
|
622
640
|
if (options.locations) {
|
|
@@ -624,7 +642,7 @@ function peg$parse(input, options) {
|
|
|
624
642
|
node.value_loc = value.__loc;
|
|
625
643
|
}
|
|
626
644
|
return node;
|
|
627
|
-
}, peg$
|
|
645
|
+
}, peg$c1456 = "machine_definition", peg$c1457 = peg$literalExpectation("machine_definition", false), peg$c1458 = function (value) {
|
|
628
646
|
const raw = options.locations ? value.__v : value;
|
|
629
647
|
const node = { key: "machine_definition", value: raw };
|
|
630
648
|
if (options.locations) {
|
|
@@ -632,7 +650,7 @@ function peg$parse(input, options) {
|
|
|
632
650
|
node.value_loc = value.__loc;
|
|
633
651
|
}
|
|
634
652
|
return node;
|
|
635
|
-
}, peg$
|
|
653
|
+
}, peg$c1459 = "machine_name", peg$c1460 = peg$literalExpectation("machine_name", false), peg$c1461 = function (value) {
|
|
636
654
|
const raw = options.locations ? value.__v : value;
|
|
637
655
|
const node = { key: "machine_name", value: raw };
|
|
638
656
|
if (options.locations) {
|
|
@@ -640,7 +658,7 @@ function peg$parse(input, options) {
|
|
|
640
658
|
node.value_loc = value.__loc;
|
|
641
659
|
}
|
|
642
660
|
return node;
|
|
643
|
-
}, peg$
|
|
661
|
+
}, peg$c1462 = "npm_name", peg$c1463 = peg$literalExpectation("npm_name", false), peg$c1464 = function (value) {
|
|
644
662
|
const raw = options.locations ? value.__v : value;
|
|
645
663
|
const node = { key: "npm_name", value: raw };
|
|
646
664
|
if (options.locations) {
|
|
@@ -648,7 +666,7 @@ function peg$parse(input, options) {
|
|
|
648
666
|
node.value_loc = value.__loc;
|
|
649
667
|
}
|
|
650
668
|
return node;
|
|
651
|
-
}, peg$
|
|
669
|
+
}, peg$c1465 = "machine_reference", peg$c1466 = peg$literalExpectation("machine_reference", false), peg$c1467 = function (value) {
|
|
652
670
|
const raw = options.locations ? value.__v : value;
|
|
653
671
|
const node = { key: "machine_reference", value: raw };
|
|
654
672
|
if (options.locations) {
|
|
@@ -656,7 +674,7 @@ function peg$parse(input, options) {
|
|
|
656
674
|
node.value_loc = value.__loc;
|
|
657
675
|
}
|
|
658
676
|
return node;
|
|
659
|
-
}, peg$
|
|
677
|
+
}, peg$c1468 = "machine_version", peg$c1469 = peg$literalExpectation("machine_version", false), peg$c1470 = function (value) {
|
|
660
678
|
const raw = options.locations ? value.__v : value;
|
|
661
679
|
const node = { key: "machine_version", value: raw };
|
|
662
680
|
if (options.locations) {
|
|
@@ -664,7 +682,7 @@ function peg$parse(input, options) {
|
|
|
664
682
|
node.value_loc = value.__loc;
|
|
665
683
|
}
|
|
666
684
|
return node;
|
|
667
|
-
}, peg$
|
|
685
|
+
}, peg$c1471 = "machine_license", peg$c1472 = peg$literalExpectation("machine_license", false), peg$c1473 = function (value) {
|
|
668
686
|
const raw = options.locations ? value.__v : value;
|
|
669
687
|
const node = { key: "machine_license", value: raw };
|
|
670
688
|
if (options.locations) {
|
|
@@ -672,7 +690,7 @@ function peg$parse(input, options) {
|
|
|
672
690
|
node.value_loc = value.__loc;
|
|
673
691
|
}
|
|
674
692
|
return node;
|
|
675
|
-
}, peg$
|
|
693
|
+
}, peg$c1474 = "machine_language", peg$c1475 = peg$literalExpectation("machine_language", false), peg$c1476 = function (value) {
|
|
676
694
|
const raw = options.locations ? value.__v : value;
|
|
677
695
|
const node = { key: "machine_language", value: raw };
|
|
678
696
|
if (options.locations) {
|
|
@@ -680,7 +698,7 @@ function peg$parse(input, options) {
|
|
|
680
698
|
node.value_loc = value.__loc;
|
|
681
699
|
}
|
|
682
700
|
return node;
|
|
683
|
-
}, peg$
|
|
701
|
+
}, peg$c1477 = "fsl_version", peg$c1478 = peg$literalExpectation("fsl_version", false), peg$c1479 = function (value) {
|
|
684
702
|
const raw = options.locations ? value.__v : value;
|
|
685
703
|
const node = { key: "fsl_version", value: raw };
|
|
686
704
|
if (options.locations) {
|
|
@@ -688,7 +706,7 @@ function peg$parse(input, options) {
|
|
|
688
706
|
node.value_loc = value.__loc;
|
|
689
707
|
}
|
|
690
708
|
return node;
|
|
691
|
-
}, peg$
|
|
709
|
+
}, peg$c1480 = "theme", peg$c1481 = peg$literalExpectation("theme", false), peg$c1482 = function (value) {
|
|
692
710
|
const raw = options.locations ? value.__v : value;
|
|
693
711
|
const node = { key: "theme", value: raw };
|
|
694
712
|
if (options.locations) {
|
|
@@ -696,7 +714,7 @@ function peg$parse(input, options) {
|
|
|
696
714
|
node.value_loc = value.__loc;
|
|
697
715
|
}
|
|
698
716
|
return node;
|
|
699
|
-
}, peg$
|
|
717
|
+
}, peg$c1483 = "flow", peg$c1484 = peg$literalExpectation("flow", false), peg$c1485 = function (value) {
|
|
700
718
|
const raw = options.locations ? value.__v : value;
|
|
701
719
|
const node = { key: "flow", value: raw };
|
|
702
720
|
if (options.locations) {
|
|
@@ -704,7 +722,7 @@ function peg$parse(input, options) {
|
|
|
704
722
|
node.value_loc = value.__loc;
|
|
705
723
|
}
|
|
706
724
|
return node;
|
|
707
|
-
}, peg$
|
|
725
|
+
}, peg$c1486 = "hooks", peg$c1487 = peg$literalExpectation("hooks", false), peg$c1488 = function (value) {
|
|
708
726
|
const raw = options.locations ? value.__v : value;
|
|
709
727
|
const node = { key: "hook_definition", value: raw };
|
|
710
728
|
if (options.locations) {
|
|
@@ -712,7 +730,7 @@ function peg$parse(input, options) {
|
|
|
712
730
|
node.value_loc = value.__loc;
|
|
713
731
|
}
|
|
714
732
|
return node;
|
|
715
|
-
}, peg$
|
|
733
|
+
}, peg$c1489 = "dot_preamble", peg$c1490 = peg$literalExpectation("dot_preamble", false), peg$c1491 = function (value) {
|
|
716
734
|
const raw = options.locations ? value.__v : value;
|
|
717
735
|
const node = { key: "dot_preamble", value: raw };
|
|
718
736
|
if (options.locations) {
|
|
@@ -720,7 +738,7 @@ function peg$parse(input, options) {
|
|
|
720
738
|
node.value_loc = value.__loc;
|
|
721
739
|
}
|
|
722
740
|
return node;
|
|
723
|
-
}, peg$
|
|
741
|
+
}, peg$c1492 = "height", peg$c1493 = peg$literalExpectation("height", false), peg$c1494 = function (n) { return { height: n }; }, peg$c1495 = function (w, h) { return { width: w, height: h }; }, peg$c1496 = function (w) { return { width: w }; }, peg$c1497 = "default_size", peg$c1498 = peg$literalExpectation("default_size", false), peg$c1499 = function (value) {
|
|
724
742
|
const raw = options.locations ? value.__v : value;
|
|
725
743
|
const node = { key: "default_size", value: raw };
|
|
726
744
|
if (options.locations) {
|
|
@@ -728,13 +746,13 @@ function peg$parse(input, options) {
|
|
|
728
746
|
node.value_loc = value.__loc;
|
|
729
747
|
}
|
|
730
748
|
return node;
|
|
731
|
-
}, peg$
|
|
749
|
+
}, peg$c1500 = peg$otherExpectation("machine attribute"), peg$c1501 = "label", peg$c1502 = peg$literalExpectation("label", false), peg$c1503 = function (value) {
|
|
732
750
|
const node = { key: 'state-label', value };
|
|
733
751
|
if (options.locations) {
|
|
734
752
|
node.loc = location();
|
|
735
753
|
}
|
|
736
754
|
return node;
|
|
737
|
-
}, peg$
|
|
755
|
+
}, peg$c1504 = "color", peg$c1505 = peg$literalExpectation("color", false), peg$c1506 = function (value) {
|
|
738
756
|
const raw = options.locations ? value.__v : value;
|
|
739
757
|
const node = { key: 'color', value: raw };
|
|
740
758
|
if (options.locations) {
|
|
@@ -742,7 +760,7 @@ function peg$parse(input, options) {
|
|
|
742
760
|
node.value_loc = value.__loc;
|
|
743
761
|
}
|
|
744
762
|
return node;
|
|
745
|
-
}, peg$
|
|
763
|
+
}, peg$c1507 = peg$otherExpectation("text color"), peg$c1508 = "text-color", peg$c1509 = peg$literalExpectation("text-color", false), peg$c1510 = function (value) {
|
|
746
764
|
const raw = options.locations ? value.__v : value;
|
|
747
765
|
const node = { key: 'text-color', value: raw };
|
|
748
766
|
if (options.locations) {
|
|
@@ -750,7 +768,7 @@ function peg$parse(input, options) {
|
|
|
750
768
|
node.value_loc = value.__loc;
|
|
751
769
|
}
|
|
752
770
|
return node;
|
|
753
|
-
}, peg$
|
|
771
|
+
}, peg$c1511 = peg$otherExpectation("background color"), peg$c1512 = "background-color", peg$c1513 = peg$literalExpectation("background-color", false), peg$c1514 = function (value) {
|
|
754
772
|
const raw = options.locations ? value.__v : value;
|
|
755
773
|
const node = { key: 'background-color', value: raw };
|
|
756
774
|
if (options.locations) {
|
|
@@ -758,7 +776,7 @@ function peg$parse(input, options) {
|
|
|
758
776
|
node.value_loc = value.__loc;
|
|
759
777
|
}
|
|
760
778
|
return node;
|
|
761
|
-
}, peg$
|
|
779
|
+
}, peg$c1515 = peg$otherExpectation("border color"), peg$c1516 = "border-color", peg$c1517 = peg$literalExpectation("border-color", false), peg$c1518 = function (value) {
|
|
762
780
|
const raw = options.locations ? value.__v : value;
|
|
763
781
|
const node = { key: 'border-color', value: raw };
|
|
764
782
|
if (options.locations) {
|
|
@@ -766,49 +784,49 @@ function peg$parse(input, options) {
|
|
|
766
784
|
node.value_loc = value.__loc;
|
|
767
785
|
}
|
|
768
786
|
return node;
|
|
769
|
-
}, peg$
|
|
787
|
+
}, peg$c1519 = peg$otherExpectation("shape"), peg$c1520 = "shape", peg$c1521 = peg$literalExpectation("shape", false), peg$c1522 = function (value) {
|
|
770
788
|
const node = { key: 'shape', value };
|
|
771
789
|
if (options.locations) {
|
|
772
790
|
node.loc = location();
|
|
773
791
|
}
|
|
774
792
|
return node;
|
|
775
|
-
}, peg$
|
|
793
|
+
}, peg$c1523 = peg$otherExpectation("corners"), peg$c1524 = "corners", peg$c1525 = peg$literalExpectation("corners", false), peg$c1526 = function (value) {
|
|
776
794
|
const node = { key: 'corners', value };
|
|
777
795
|
if (options.locations) {
|
|
778
796
|
node.loc = location();
|
|
779
797
|
}
|
|
780
798
|
return node;
|
|
781
|
-
}, peg$
|
|
799
|
+
}, peg$c1527 = peg$otherExpectation("linestyle"), peg$c1528 = function (value) {
|
|
782
800
|
const node = { key: 'line-style', value };
|
|
783
801
|
if (options.locations) {
|
|
784
802
|
node.loc = location();
|
|
785
803
|
}
|
|
786
804
|
return node;
|
|
787
|
-
}, peg$
|
|
805
|
+
}, peg$c1529 = "linestyle", peg$c1530 = peg$literalExpectation("linestyle", false), peg$c1531 = peg$otherExpectation("image"), peg$c1532 = "image", peg$c1533 = peg$literalExpectation("image", false), peg$c1534 = function (value) {
|
|
788
806
|
const node = { key: 'image', value };
|
|
789
807
|
if (options.locations) {
|
|
790
808
|
node.loc = location();
|
|
791
809
|
}
|
|
792
810
|
return node;
|
|
793
|
-
}, peg$
|
|
811
|
+
}, peg$c1535 = peg$otherExpectation("url"), peg$c1536 = "url", peg$c1537 = peg$literalExpectation("url", false), peg$c1538 = function (value) {
|
|
794
812
|
const node = { key: 'url', value };
|
|
795
813
|
if (options.locations) {
|
|
796
814
|
node.loc = location();
|
|
797
815
|
}
|
|
798
816
|
return node;
|
|
799
|
-
}, peg$
|
|
817
|
+
}, peg$c1539 = peg$otherExpectation("state property"), peg$c1540 = "property", peg$c1541 = peg$literalExpectation("property", false), peg$c1542 = function (name, value) {
|
|
800
818
|
const node = { key: 'state_property', name, value };
|
|
801
819
|
if (options.locations) {
|
|
802
820
|
node.loc = location();
|
|
803
821
|
}
|
|
804
822
|
return node;
|
|
805
|
-
}, peg$
|
|
823
|
+
}, peg$c1543 = "required", peg$c1544 = peg$literalExpectation("required", false), peg$c1545 = function (name, value) {
|
|
806
824
|
const node = { key: 'state_property', name, value, required: true };
|
|
807
825
|
if (options.locations) {
|
|
808
826
|
node.loc = location();
|
|
809
827
|
}
|
|
810
828
|
return node;
|
|
811
|
-
}, peg$
|
|
829
|
+
}, peg$c1546 = function (n) { return options.locations ? { __v: n, __loc: location() } : n; }, peg$c1547 = function (name, value) {
|
|
812
830
|
const raw = options.locations ? name.__v : name;
|
|
813
831
|
const node = { key: 'state_declaration', name: raw, value };
|
|
814
832
|
if (options.locations) {
|
|
@@ -816,61 +834,61 @@ function peg$parse(input, options) {
|
|
|
816
834
|
node.name_loc = name.__loc;
|
|
817
835
|
}
|
|
818
836
|
return node;
|
|
819
|
-
}, peg$
|
|
837
|
+
}, peg$c1548 = function (name, value) {
|
|
820
838
|
const node = { key: 'named_list', name, value };
|
|
821
839
|
if (options.locations) {
|
|
822
840
|
node.loc = location();
|
|
823
841
|
}
|
|
824
842
|
return node;
|
|
825
|
-
}, peg$
|
|
843
|
+
}, peg$c1549 = peg$otherExpectation("hook event (enter/exit)"), peg$c1550 = "enter", peg$c1551 = peg$literalExpectation("enter", false), peg$c1552 = "exit", peg$c1553 = peg$literalExpectation("exit", false), peg$c1554 = peg$otherExpectation("hook declaration"), peg$c1555 = "on", peg$c1556 = peg$literalExpectation("on", false), peg$c1557 = "do", peg$c1558 = peg$literalExpectation("do", false), peg$c1559 = function (event, subject, action) {
|
|
826
844
|
const node = { key: 'hook_decl', event, subject, action };
|
|
827
845
|
if (options.locations) {
|
|
828
846
|
node.loc = location();
|
|
829
847
|
}
|
|
830
848
|
return node;
|
|
831
|
-
}, peg$
|
|
849
|
+
}, peg$c1560 = function (name, default_value) {
|
|
832
850
|
const node = { key: 'property_definition', name, default_value, required: true };
|
|
833
851
|
if (options.locations) {
|
|
834
852
|
node.loc = location();
|
|
835
853
|
}
|
|
836
854
|
return node;
|
|
837
|
-
}, peg$
|
|
855
|
+
}, peg$c1561 = function (name) {
|
|
838
856
|
const node = { key: 'property_definition', name, required: true };
|
|
839
857
|
if (options.locations) {
|
|
840
858
|
node.loc = location();
|
|
841
859
|
}
|
|
842
860
|
return node;
|
|
843
|
-
}, peg$
|
|
861
|
+
}, peg$c1562 = function (name, default_value) {
|
|
844
862
|
const node = { key: 'property_definition', name, default_value };
|
|
845
863
|
if (options.locations) {
|
|
846
864
|
node.loc = location();
|
|
847
865
|
}
|
|
848
866
|
return node;
|
|
849
|
-
}, peg$
|
|
867
|
+
}, peg$c1563 = function (name) {
|
|
850
868
|
const node = { key: 'property_definition', name };
|
|
851
869
|
if (options.locations) {
|
|
852
870
|
node.loc = location();
|
|
853
871
|
}
|
|
854
872
|
return node;
|
|
855
|
-
}, peg$
|
|
873
|
+
}, peg$c1564 = "arrange", peg$c1565 = peg$literalExpectation("arrange", false), peg$c1566 = function (value) {
|
|
856
874
|
const node = { key: 'arrange_declaration', value };
|
|
857
875
|
if (options.locations) {
|
|
858
876
|
node.loc = location();
|
|
859
877
|
}
|
|
860
878
|
return node;
|
|
861
|
-
}, peg$
|
|
879
|
+
}, peg$c1567 = "arrange-start", peg$c1568 = peg$literalExpectation("arrange-start", false), peg$c1569 = function (value) {
|
|
862
880
|
const node = { key: 'arrange_start_declaration', value };
|
|
863
881
|
if (options.locations) {
|
|
864
882
|
node.loc = location();
|
|
865
883
|
}
|
|
866
884
|
return node;
|
|
867
|
-
}, peg$
|
|
885
|
+
}, peg$c1570 = "arrange-end", peg$c1571 = peg$literalExpectation("arrange-end", false), peg$c1572 = function (value) {
|
|
868
886
|
const node = { key: 'arrange_end_declaration', value };
|
|
869
887
|
if (options.locations) {
|
|
870
888
|
node.loc = location();
|
|
871
889
|
}
|
|
872
890
|
return node;
|
|
873
|
-
}, peg$
|
|
891
|
+
}, peg$c1573 = peg$otherExpectation("arrange declaration"), peg$currPos = 0, peg$savedPos = 0, peg$posDetailsCache = [{ line: 1, column: 1 }], peg$maxFailPos = 0, peg$maxFailExpected = [], peg$silentFails = 0, peg$result;
|
|
874
892
|
if ("startRule" in options) {
|
|
875
893
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
876
894
|
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
@@ -13477,9 +13495,442 @@ function peg$parse(input, options) {
|
|
|
13477
13495
|
s7 = null;
|
|
13478
13496
|
}
|
|
13479
13497
|
if (s7 !== peg$FAILED) {
|
|
13480
|
-
s8 = peg$parseConfigStyleItems();
|
|
13481
|
-
if (s8 === peg$FAILED) {
|
|
13482
|
-
s8 = null;
|
|
13498
|
+
s8 = peg$parseConfigStyleItems();
|
|
13499
|
+
if (s8 === peg$FAILED) {
|
|
13500
|
+
s8 = null;
|
|
13501
|
+
}
|
|
13502
|
+
if (s8 !== peg$FAILED) {
|
|
13503
|
+
s9 = peg$parseWS();
|
|
13504
|
+
if (s9 === peg$FAILED) {
|
|
13505
|
+
s9 = null;
|
|
13506
|
+
}
|
|
13507
|
+
if (s9 !== peg$FAILED) {
|
|
13508
|
+
if (input.substr(peg$currPos, 2) === peg$c1347) {
|
|
13509
|
+
s10 = peg$c1347;
|
|
13510
|
+
peg$currPos += 2;
|
|
13511
|
+
}
|
|
13512
|
+
else {
|
|
13513
|
+
s10 = peg$FAILED;
|
|
13514
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13515
|
+
peg$fail(peg$c1348);
|
|
13516
|
+
}
|
|
13517
|
+
}
|
|
13518
|
+
if (s10 !== peg$FAILED) {
|
|
13519
|
+
s11 = peg$parseWS();
|
|
13520
|
+
if (s11 === peg$FAILED) {
|
|
13521
|
+
s11 = null;
|
|
13522
|
+
}
|
|
13523
|
+
if (s11 !== peg$FAILED) {
|
|
13524
|
+
peg$savedPos = s0;
|
|
13525
|
+
s1 = peg$c1369(s8);
|
|
13526
|
+
s0 = s1;
|
|
13527
|
+
}
|
|
13528
|
+
else {
|
|
13529
|
+
peg$currPos = s0;
|
|
13530
|
+
s0 = peg$FAILED;
|
|
13531
|
+
}
|
|
13532
|
+
}
|
|
13533
|
+
else {
|
|
13534
|
+
peg$currPos = s0;
|
|
13535
|
+
s0 = peg$FAILED;
|
|
13536
|
+
}
|
|
13537
|
+
}
|
|
13538
|
+
else {
|
|
13539
|
+
peg$currPos = s0;
|
|
13540
|
+
s0 = peg$FAILED;
|
|
13541
|
+
}
|
|
13542
|
+
}
|
|
13543
|
+
else {
|
|
13544
|
+
peg$currPos = s0;
|
|
13545
|
+
s0 = peg$FAILED;
|
|
13546
|
+
}
|
|
13547
|
+
}
|
|
13548
|
+
else {
|
|
13549
|
+
peg$currPos = s0;
|
|
13550
|
+
s0 = peg$FAILED;
|
|
13551
|
+
}
|
|
13552
|
+
}
|
|
13553
|
+
else {
|
|
13554
|
+
peg$currPos = s0;
|
|
13555
|
+
s0 = peg$FAILED;
|
|
13556
|
+
}
|
|
13557
|
+
}
|
|
13558
|
+
else {
|
|
13559
|
+
peg$currPos = s0;
|
|
13560
|
+
s0 = peg$FAILED;
|
|
13561
|
+
}
|
|
13562
|
+
}
|
|
13563
|
+
else {
|
|
13564
|
+
peg$currPos = s0;
|
|
13565
|
+
s0 = peg$FAILED;
|
|
13566
|
+
}
|
|
13567
|
+
}
|
|
13568
|
+
else {
|
|
13569
|
+
peg$currPos = s0;
|
|
13570
|
+
s0 = peg$FAILED;
|
|
13571
|
+
}
|
|
13572
|
+
}
|
|
13573
|
+
else {
|
|
13574
|
+
peg$currPos = s0;
|
|
13575
|
+
s0 = peg$FAILED;
|
|
13576
|
+
}
|
|
13577
|
+
}
|
|
13578
|
+
else {
|
|
13579
|
+
peg$currPos = s0;
|
|
13580
|
+
s0 = peg$FAILED;
|
|
13581
|
+
}
|
|
13582
|
+
return s0;
|
|
13583
|
+
}
|
|
13584
|
+
function peg$parseConfigGraph() {
|
|
13585
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
13586
|
+
s0 = peg$currPos;
|
|
13587
|
+
s1 = peg$parseWS();
|
|
13588
|
+
if (s1 === peg$FAILED) {
|
|
13589
|
+
s1 = null;
|
|
13590
|
+
}
|
|
13591
|
+
if (s1 !== peg$FAILED) {
|
|
13592
|
+
if (input.substr(peg$currPos, 5) === peg$c1370) {
|
|
13593
|
+
s2 = peg$c1370;
|
|
13594
|
+
peg$currPos += 5;
|
|
13595
|
+
}
|
|
13596
|
+
else {
|
|
13597
|
+
s2 = peg$FAILED;
|
|
13598
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13599
|
+
peg$fail(peg$c1371);
|
|
13600
|
+
}
|
|
13601
|
+
}
|
|
13602
|
+
if (s2 !== peg$FAILED) {
|
|
13603
|
+
s3 = peg$parseWS();
|
|
13604
|
+
if (s3 === peg$FAILED) {
|
|
13605
|
+
s3 = null;
|
|
13606
|
+
}
|
|
13607
|
+
if (s3 !== peg$FAILED) {
|
|
13608
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
13609
|
+
s4 = peg$c1211;
|
|
13610
|
+
peg$currPos++;
|
|
13611
|
+
}
|
|
13612
|
+
else {
|
|
13613
|
+
s4 = peg$FAILED;
|
|
13614
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13615
|
+
peg$fail(peg$c1212);
|
|
13616
|
+
}
|
|
13617
|
+
}
|
|
13618
|
+
if (s4 !== peg$FAILED) {
|
|
13619
|
+
s5 = peg$parseWS();
|
|
13620
|
+
if (s5 === peg$FAILED) {
|
|
13621
|
+
s5 = null;
|
|
13622
|
+
}
|
|
13623
|
+
if (s5 !== peg$FAILED) {
|
|
13624
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
13625
|
+
s6 = peg$c1227;
|
|
13626
|
+
peg$currPos++;
|
|
13627
|
+
}
|
|
13628
|
+
else {
|
|
13629
|
+
s6 = peg$FAILED;
|
|
13630
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13631
|
+
peg$fail(peg$c1228);
|
|
13632
|
+
}
|
|
13633
|
+
}
|
|
13634
|
+
if (s6 !== peg$FAILED) {
|
|
13635
|
+
s7 = peg$parseWS();
|
|
13636
|
+
if (s7 === peg$FAILED) {
|
|
13637
|
+
s7 = null;
|
|
13638
|
+
}
|
|
13639
|
+
if (s7 !== peg$FAILED) {
|
|
13640
|
+
s8 = peg$parseConfigStyleItems();
|
|
13641
|
+
if (s8 === peg$FAILED) {
|
|
13642
|
+
s8 = null;
|
|
13643
|
+
}
|
|
13644
|
+
if (s8 !== peg$FAILED) {
|
|
13645
|
+
s9 = peg$parseWS();
|
|
13646
|
+
if (s9 === peg$FAILED) {
|
|
13647
|
+
s9 = null;
|
|
13648
|
+
}
|
|
13649
|
+
if (s9 !== peg$FAILED) {
|
|
13650
|
+
if (input.substr(peg$currPos, 2) === peg$c1347) {
|
|
13651
|
+
s10 = peg$c1347;
|
|
13652
|
+
peg$currPos += 2;
|
|
13653
|
+
}
|
|
13654
|
+
else {
|
|
13655
|
+
s10 = peg$FAILED;
|
|
13656
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13657
|
+
peg$fail(peg$c1348);
|
|
13658
|
+
}
|
|
13659
|
+
}
|
|
13660
|
+
if (s10 !== peg$FAILED) {
|
|
13661
|
+
s11 = peg$parseWS();
|
|
13662
|
+
if (s11 === peg$FAILED) {
|
|
13663
|
+
s11 = null;
|
|
13664
|
+
}
|
|
13665
|
+
if (s11 !== peg$FAILED) {
|
|
13666
|
+
peg$savedPos = s0;
|
|
13667
|
+
s1 = peg$c1372(s8);
|
|
13668
|
+
s0 = s1;
|
|
13669
|
+
}
|
|
13670
|
+
else {
|
|
13671
|
+
peg$currPos = s0;
|
|
13672
|
+
s0 = peg$FAILED;
|
|
13673
|
+
}
|
|
13674
|
+
}
|
|
13675
|
+
else {
|
|
13676
|
+
peg$currPos = s0;
|
|
13677
|
+
s0 = peg$FAILED;
|
|
13678
|
+
}
|
|
13679
|
+
}
|
|
13680
|
+
else {
|
|
13681
|
+
peg$currPos = s0;
|
|
13682
|
+
s0 = peg$FAILED;
|
|
13683
|
+
}
|
|
13684
|
+
}
|
|
13685
|
+
else {
|
|
13686
|
+
peg$currPos = s0;
|
|
13687
|
+
s0 = peg$FAILED;
|
|
13688
|
+
}
|
|
13689
|
+
}
|
|
13690
|
+
else {
|
|
13691
|
+
peg$currPos = s0;
|
|
13692
|
+
s0 = peg$FAILED;
|
|
13693
|
+
}
|
|
13694
|
+
}
|
|
13695
|
+
else {
|
|
13696
|
+
peg$currPos = s0;
|
|
13697
|
+
s0 = peg$FAILED;
|
|
13698
|
+
}
|
|
13699
|
+
}
|
|
13700
|
+
else {
|
|
13701
|
+
peg$currPos = s0;
|
|
13702
|
+
s0 = peg$FAILED;
|
|
13703
|
+
}
|
|
13704
|
+
}
|
|
13705
|
+
else {
|
|
13706
|
+
peg$currPos = s0;
|
|
13707
|
+
s0 = peg$FAILED;
|
|
13708
|
+
}
|
|
13709
|
+
}
|
|
13710
|
+
else {
|
|
13711
|
+
peg$currPos = s0;
|
|
13712
|
+
s0 = peg$FAILED;
|
|
13713
|
+
}
|
|
13714
|
+
}
|
|
13715
|
+
else {
|
|
13716
|
+
peg$currPos = s0;
|
|
13717
|
+
s0 = peg$FAILED;
|
|
13718
|
+
}
|
|
13719
|
+
}
|
|
13720
|
+
else {
|
|
13721
|
+
peg$currPos = s0;
|
|
13722
|
+
s0 = peg$FAILED;
|
|
13723
|
+
}
|
|
13724
|
+
return s0;
|
|
13725
|
+
}
|
|
13726
|
+
function peg$parseConfigEditor() {
|
|
13727
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
13728
|
+
s0 = peg$currPos;
|
|
13729
|
+
s1 = peg$parseWS();
|
|
13730
|
+
if (s1 === peg$FAILED) {
|
|
13731
|
+
s1 = null;
|
|
13732
|
+
}
|
|
13733
|
+
if (s1 !== peg$FAILED) {
|
|
13734
|
+
if (input.substr(peg$currPos, 6) === peg$c1373) {
|
|
13735
|
+
s2 = peg$c1373;
|
|
13736
|
+
peg$currPos += 6;
|
|
13737
|
+
}
|
|
13738
|
+
else {
|
|
13739
|
+
s2 = peg$FAILED;
|
|
13740
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13741
|
+
peg$fail(peg$c1374);
|
|
13742
|
+
}
|
|
13743
|
+
}
|
|
13744
|
+
if (s2 !== peg$FAILED) {
|
|
13745
|
+
s3 = peg$parseWS();
|
|
13746
|
+
if (s3 === peg$FAILED) {
|
|
13747
|
+
s3 = null;
|
|
13748
|
+
}
|
|
13749
|
+
if (s3 !== peg$FAILED) {
|
|
13750
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
13751
|
+
s4 = peg$c1211;
|
|
13752
|
+
peg$currPos++;
|
|
13753
|
+
}
|
|
13754
|
+
else {
|
|
13755
|
+
s4 = peg$FAILED;
|
|
13756
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13757
|
+
peg$fail(peg$c1212);
|
|
13758
|
+
}
|
|
13759
|
+
}
|
|
13760
|
+
if (s4 !== peg$FAILED) {
|
|
13761
|
+
s5 = peg$parseWS();
|
|
13762
|
+
if (s5 === peg$FAILED) {
|
|
13763
|
+
s5 = null;
|
|
13764
|
+
}
|
|
13765
|
+
if (s5 !== peg$FAILED) {
|
|
13766
|
+
if (input.charCodeAt(peg$currPos) === 123) {
|
|
13767
|
+
s6 = peg$c1227;
|
|
13768
|
+
peg$currPos++;
|
|
13769
|
+
}
|
|
13770
|
+
else {
|
|
13771
|
+
s6 = peg$FAILED;
|
|
13772
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13773
|
+
peg$fail(peg$c1228);
|
|
13774
|
+
}
|
|
13775
|
+
}
|
|
13776
|
+
if (s6 !== peg$FAILED) {
|
|
13777
|
+
s7 = peg$parseWS();
|
|
13778
|
+
if (s7 === peg$FAILED) {
|
|
13779
|
+
s7 = null;
|
|
13780
|
+
}
|
|
13781
|
+
if (s7 !== peg$FAILED) {
|
|
13782
|
+
s8 = [];
|
|
13783
|
+
s9 = peg$parseEditorConfigItem();
|
|
13784
|
+
while (s9 !== peg$FAILED) {
|
|
13785
|
+
s8.push(s9);
|
|
13786
|
+
s9 = peg$parseEditorConfigItem();
|
|
13787
|
+
}
|
|
13788
|
+
if (s8 !== peg$FAILED) {
|
|
13789
|
+
s9 = peg$parseWS();
|
|
13790
|
+
if (s9 === peg$FAILED) {
|
|
13791
|
+
s9 = null;
|
|
13792
|
+
}
|
|
13793
|
+
if (s9 !== peg$FAILED) {
|
|
13794
|
+
if (input.substr(peg$currPos, 2) === peg$c1347) {
|
|
13795
|
+
s10 = peg$c1347;
|
|
13796
|
+
peg$currPos += 2;
|
|
13797
|
+
}
|
|
13798
|
+
else {
|
|
13799
|
+
s10 = peg$FAILED;
|
|
13800
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13801
|
+
peg$fail(peg$c1348);
|
|
13802
|
+
}
|
|
13803
|
+
}
|
|
13804
|
+
if (s10 !== peg$FAILED) {
|
|
13805
|
+
s11 = peg$parseWS();
|
|
13806
|
+
if (s11 === peg$FAILED) {
|
|
13807
|
+
s11 = null;
|
|
13808
|
+
}
|
|
13809
|
+
if (s11 !== peg$FAILED) {
|
|
13810
|
+
peg$savedPos = s0;
|
|
13811
|
+
s1 = peg$c1375(s8);
|
|
13812
|
+
s0 = s1;
|
|
13813
|
+
}
|
|
13814
|
+
else {
|
|
13815
|
+
peg$currPos = s0;
|
|
13816
|
+
s0 = peg$FAILED;
|
|
13817
|
+
}
|
|
13818
|
+
}
|
|
13819
|
+
else {
|
|
13820
|
+
peg$currPos = s0;
|
|
13821
|
+
s0 = peg$FAILED;
|
|
13822
|
+
}
|
|
13823
|
+
}
|
|
13824
|
+
else {
|
|
13825
|
+
peg$currPos = s0;
|
|
13826
|
+
s0 = peg$FAILED;
|
|
13827
|
+
}
|
|
13828
|
+
}
|
|
13829
|
+
else {
|
|
13830
|
+
peg$currPos = s0;
|
|
13831
|
+
s0 = peg$FAILED;
|
|
13832
|
+
}
|
|
13833
|
+
}
|
|
13834
|
+
else {
|
|
13835
|
+
peg$currPos = s0;
|
|
13836
|
+
s0 = peg$FAILED;
|
|
13837
|
+
}
|
|
13838
|
+
}
|
|
13839
|
+
else {
|
|
13840
|
+
peg$currPos = s0;
|
|
13841
|
+
s0 = peg$FAILED;
|
|
13842
|
+
}
|
|
13843
|
+
}
|
|
13844
|
+
else {
|
|
13845
|
+
peg$currPos = s0;
|
|
13846
|
+
s0 = peg$FAILED;
|
|
13847
|
+
}
|
|
13848
|
+
}
|
|
13849
|
+
else {
|
|
13850
|
+
peg$currPos = s0;
|
|
13851
|
+
s0 = peg$FAILED;
|
|
13852
|
+
}
|
|
13853
|
+
}
|
|
13854
|
+
else {
|
|
13855
|
+
peg$currPos = s0;
|
|
13856
|
+
s0 = peg$FAILED;
|
|
13857
|
+
}
|
|
13858
|
+
}
|
|
13859
|
+
else {
|
|
13860
|
+
peg$currPos = s0;
|
|
13861
|
+
s0 = peg$FAILED;
|
|
13862
|
+
}
|
|
13863
|
+
}
|
|
13864
|
+
else {
|
|
13865
|
+
peg$currPos = s0;
|
|
13866
|
+
s0 = peg$FAILED;
|
|
13867
|
+
}
|
|
13868
|
+
return s0;
|
|
13869
|
+
}
|
|
13870
|
+
function peg$parseEditorConfigItem() {
|
|
13871
|
+
var s0;
|
|
13872
|
+
s0 = peg$parseEditorStochasticRunCount();
|
|
13873
|
+
if (s0 === peg$FAILED) {
|
|
13874
|
+
s0 = peg$parseEditorPanels();
|
|
13875
|
+
}
|
|
13876
|
+
return s0;
|
|
13877
|
+
}
|
|
13878
|
+
function peg$parseEditorStochasticRunCount() {
|
|
13879
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
13880
|
+
s0 = peg$currPos;
|
|
13881
|
+
s1 = peg$parseWS();
|
|
13882
|
+
if (s1 === peg$FAILED) {
|
|
13883
|
+
s1 = null;
|
|
13884
|
+
}
|
|
13885
|
+
if (s1 !== peg$FAILED) {
|
|
13886
|
+
if (input.substr(peg$currPos, 20) === peg$c1376) {
|
|
13887
|
+
s2 = peg$c1376;
|
|
13888
|
+
peg$currPos += 20;
|
|
13889
|
+
}
|
|
13890
|
+
else {
|
|
13891
|
+
s2 = peg$FAILED;
|
|
13892
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13893
|
+
peg$fail(peg$c1377);
|
|
13894
|
+
}
|
|
13895
|
+
}
|
|
13896
|
+
if (s2 !== peg$FAILED) {
|
|
13897
|
+
s3 = peg$parseWS();
|
|
13898
|
+
if (s3 === peg$FAILED) {
|
|
13899
|
+
s3 = null;
|
|
13900
|
+
}
|
|
13901
|
+
if (s3 !== peg$FAILED) {
|
|
13902
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
13903
|
+
s4 = peg$c1211;
|
|
13904
|
+
peg$currPos++;
|
|
13905
|
+
}
|
|
13906
|
+
else {
|
|
13907
|
+
s4 = peg$FAILED;
|
|
13908
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13909
|
+
peg$fail(peg$c1212);
|
|
13910
|
+
}
|
|
13911
|
+
}
|
|
13912
|
+
if (s4 !== peg$FAILED) {
|
|
13913
|
+
s5 = peg$parseWS();
|
|
13914
|
+
if (s5 === peg$FAILED) {
|
|
13915
|
+
s5 = null;
|
|
13916
|
+
}
|
|
13917
|
+
if (s5 !== peg$FAILED) {
|
|
13918
|
+
s6 = peg$parseIntegerLiteral();
|
|
13919
|
+
if (s6 !== peg$FAILED) {
|
|
13920
|
+
s7 = peg$parseWS();
|
|
13921
|
+
if (s7 === peg$FAILED) {
|
|
13922
|
+
s7 = null;
|
|
13923
|
+
}
|
|
13924
|
+
if (s7 !== peg$FAILED) {
|
|
13925
|
+
if (input.charCodeAt(peg$currPos) === 59) {
|
|
13926
|
+
s8 = peg$c1213;
|
|
13927
|
+
peg$currPos++;
|
|
13928
|
+
}
|
|
13929
|
+
else {
|
|
13930
|
+
s8 = peg$FAILED;
|
|
13931
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13932
|
+
peg$fail(peg$c1214);
|
|
13933
|
+
}
|
|
13483
13934
|
}
|
|
13484
13935
|
if (s8 !== peg$FAILED) {
|
|
13485
13936
|
s9 = peg$parseWS();
|
|
@@ -13487,35 +13938,9 @@ function peg$parse(input, options) {
|
|
|
13487
13938
|
s9 = null;
|
|
13488
13939
|
}
|
|
13489
13940
|
if (s9 !== peg$FAILED) {
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
}
|
|
13494
|
-
else {
|
|
13495
|
-
s10 = peg$FAILED;
|
|
13496
|
-
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13497
|
-
peg$fail(peg$c1348);
|
|
13498
|
-
}
|
|
13499
|
-
}
|
|
13500
|
-
if (s10 !== peg$FAILED) {
|
|
13501
|
-
s11 = peg$parseWS();
|
|
13502
|
-
if (s11 === peg$FAILED) {
|
|
13503
|
-
s11 = null;
|
|
13504
|
-
}
|
|
13505
|
-
if (s11 !== peg$FAILED) {
|
|
13506
|
-
peg$savedPos = s0;
|
|
13507
|
-
s1 = peg$c1369(s8);
|
|
13508
|
-
s0 = s1;
|
|
13509
|
-
}
|
|
13510
|
-
else {
|
|
13511
|
-
peg$currPos = s0;
|
|
13512
|
-
s0 = peg$FAILED;
|
|
13513
|
-
}
|
|
13514
|
-
}
|
|
13515
|
-
else {
|
|
13516
|
-
peg$currPos = s0;
|
|
13517
|
-
s0 = peg$FAILED;
|
|
13518
|
-
}
|
|
13941
|
+
peg$savedPos = s0;
|
|
13942
|
+
s1 = peg$c1378(s6);
|
|
13943
|
+
s0 = s1;
|
|
13519
13944
|
}
|
|
13520
13945
|
else {
|
|
13521
13946
|
peg$currPos = s0;
|
|
@@ -13563,22 +13988,22 @@ function peg$parse(input, options) {
|
|
|
13563
13988
|
}
|
|
13564
13989
|
return s0;
|
|
13565
13990
|
}
|
|
13566
|
-
function peg$
|
|
13567
|
-
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9
|
|
13991
|
+
function peg$parseEditorPanels() {
|
|
13992
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
13568
13993
|
s0 = peg$currPos;
|
|
13569
13994
|
s1 = peg$parseWS();
|
|
13570
13995
|
if (s1 === peg$FAILED) {
|
|
13571
13996
|
s1 = null;
|
|
13572
13997
|
}
|
|
13573
13998
|
if (s1 !== peg$FAILED) {
|
|
13574
|
-
if (input.substr(peg$currPos,
|
|
13575
|
-
s2 = peg$
|
|
13576
|
-
peg$currPos +=
|
|
13999
|
+
if (input.substr(peg$currPos, 6) === peg$c1379) {
|
|
14000
|
+
s2 = peg$c1379;
|
|
14001
|
+
peg$currPos += 6;
|
|
13577
14002
|
}
|
|
13578
14003
|
else {
|
|
13579
14004
|
s2 = peg$FAILED;
|
|
13580
14005
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13581
|
-
peg$fail(peg$
|
|
14006
|
+
peg$fail(peg$c1380);
|
|
13582
14007
|
}
|
|
13583
14008
|
}
|
|
13584
14009
|
if (s2 !== peg$FAILED) {
|
|
@@ -13603,25 +14028,22 @@ function peg$parse(input, options) {
|
|
|
13603
14028
|
s5 = null;
|
|
13604
14029
|
}
|
|
13605
14030
|
if (s5 !== peg$FAILED) {
|
|
13606
|
-
|
|
13607
|
-
s6 = peg$c1227;
|
|
13608
|
-
peg$currPos++;
|
|
13609
|
-
}
|
|
13610
|
-
else {
|
|
13611
|
-
s6 = peg$FAILED;
|
|
13612
|
-
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13613
|
-
peg$fail(peg$c1228);
|
|
13614
|
-
}
|
|
13615
|
-
}
|
|
14031
|
+
s6 = peg$parseLabelList();
|
|
13616
14032
|
if (s6 !== peg$FAILED) {
|
|
13617
14033
|
s7 = peg$parseWS();
|
|
13618
14034
|
if (s7 === peg$FAILED) {
|
|
13619
14035
|
s7 = null;
|
|
13620
14036
|
}
|
|
13621
14037
|
if (s7 !== peg$FAILED) {
|
|
13622
|
-
|
|
13623
|
-
|
|
13624
|
-
|
|
14038
|
+
if (input.charCodeAt(peg$currPos) === 59) {
|
|
14039
|
+
s8 = peg$c1213;
|
|
14040
|
+
peg$currPos++;
|
|
14041
|
+
}
|
|
14042
|
+
else {
|
|
14043
|
+
s8 = peg$FAILED;
|
|
14044
|
+
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14045
|
+
peg$fail(peg$c1214);
|
|
14046
|
+
}
|
|
13625
14047
|
}
|
|
13626
14048
|
if (s8 !== peg$FAILED) {
|
|
13627
14049
|
s9 = peg$parseWS();
|
|
@@ -13629,35 +14051,9 @@ function peg$parse(input, options) {
|
|
|
13629
14051
|
s9 = null;
|
|
13630
14052
|
}
|
|
13631
14053
|
if (s9 !== peg$FAILED) {
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
}
|
|
13636
|
-
else {
|
|
13637
|
-
s10 = peg$FAILED;
|
|
13638
|
-
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13639
|
-
peg$fail(peg$c1348);
|
|
13640
|
-
}
|
|
13641
|
-
}
|
|
13642
|
-
if (s10 !== peg$FAILED) {
|
|
13643
|
-
s11 = peg$parseWS();
|
|
13644
|
-
if (s11 === peg$FAILED) {
|
|
13645
|
-
s11 = null;
|
|
13646
|
-
}
|
|
13647
|
-
if (s11 !== peg$FAILED) {
|
|
13648
|
-
peg$savedPos = s0;
|
|
13649
|
-
s1 = peg$c1372(s8);
|
|
13650
|
-
s0 = s1;
|
|
13651
|
-
}
|
|
13652
|
-
else {
|
|
13653
|
-
peg$currPos = s0;
|
|
13654
|
-
s0 = peg$FAILED;
|
|
13655
|
-
}
|
|
13656
|
-
}
|
|
13657
|
-
else {
|
|
13658
|
-
peg$currPos = s0;
|
|
13659
|
-
s0 = peg$FAILED;
|
|
13660
|
-
}
|
|
14054
|
+
peg$savedPos = s0;
|
|
14055
|
+
s1 = peg$c1381(s6);
|
|
14056
|
+
s0 = s1;
|
|
13661
14057
|
}
|
|
13662
14058
|
else {
|
|
13663
14059
|
peg$currPos = s0;
|
|
@@ -13713,14 +14109,14 @@ function peg$parse(input, options) {
|
|
|
13713
14109
|
s1 = null;
|
|
13714
14110
|
}
|
|
13715
14111
|
if (s1 !== peg$FAILED) {
|
|
13716
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
13717
|
-
s2 = peg$
|
|
14112
|
+
if (input.substr(peg$currPos, 12) === peg$c1382) {
|
|
14113
|
+
s2 = peg$c1382;
|
|
13718
14114
|
peg$currPos += 12;
|
|
13719
14115
|
}
|
|
13720
14116
|
else {
|
|
13721
14117
|
s2 = peg$FAILED;
|
|
13722
14118
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13723
|
-
peg$fail(peg$
|
|
14119
|
+
peg$fail(peg$c1383);
|
|
13724
14120
|
}
|
|
13725
14121
|
}
|
|
13726
14122
|
if (s2 !== peg$FAILED) {
|
|
@@ -13769,7 +14165,7 @@ function peg$parse(input, options) {
|
|
|
13769
14165
|
}
|
|
13770
14166
|
if (s9 !== peg$FAILED) {
|
|
13771
14167
|
peg$savedPos = s0;
|
|
13772
|
-
s1 = peg$
|
|
14168
|
+
s1 = peg$c1384(s6);
|
|
13773
14169
|
s0 = s1;
|
|
13774
14170
|
}
|
|
13775
14171
|
else {
|
|
@@ -13826,14 +14222,14 @@ function peg$parse(input, options) {
|
|
|
13826
14222
|
s1 = null;
|
|
13827
14223
|
}
|
|
13828
14224
|
if (s1 !== peg$FAILED) {
|
|
13829
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
13830
|
-
s2 = peg$
|
|
14225
|
+
if (input.substr(peg$currPos, 12) === peg$c1385) {
|
|
14226
|
+
s2 = peg$c1385;
|
|
13831
14227
|
peg$currPos += 12;
|
|
13832
14228
|
}
|
|
13833
14229
|
else {
|
|
13834
14230
|
s2 = peg$FAILED;
|
|
13835
14231
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13836
|
-
peg$fail(peg$
|
|
14232
|
+
peg$fail(peg$c1386);
|
|
13837
14233
|
}
|
|
13838
14234
|
}
|
|
13839
14235
|
if (s2 !== peg$FAILED) {
|
|
@@ -13882,7 +14278,7 @@ function peg$parse(input, options) {
|
|
|
13882
14278
|
}
|
|
13883
14279
|
if (s9 !== peg$FAILED) {
|
|
13884
14280
|
peg$savedPos = s0;
|
|
13885
|
-
s1 = peg$
|
|
14281
|
+
s1 = peg$c1387(s6);
|
|
13886
14282
|
s0 = s1;
|
|
13887
14283
|
}
|
|
13888
14284
|
else {
|
|
@@ -13939,14 +14335,14 @@ function peg$parse(input, options) {
|
|
|
13939
14335
|
s1 = null;
|
|
13940
14336
|
}
|
|
13941
14337
|
if (s1 !== peg$FAILED) {
|
|
13942
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
13943
|
-
s2 = peg$
|
|
14338
|
+
if (input.substr(peg$currPos, 10) === peg$c1388) {
|
|
14339
|
+
s2 = peg$c1388;
|
|
13944
14340
|
peg$currPos += 10;
|
|
13945
14341
|
}
|
|
13946
14342
|
else {
|
|
13947
14343
|
s2 = peg$FAILED;
|
|
13948
14344
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
13949
|
-
peg$fail(peg$
|
|
14345
|
+
peg$fail(peg$c1389);
|
|
13950
14346
|
}
|
|
13951
14347
|
}
|
|
13952
14348
|
if (s2 !== peg$FAILED) {
|
|
@@ -13995,7 +14391,7 @@ function peg$parse(input, options) {
|
|
|
13995
14391
|
}
|
|
13996
14392
|
if (s9 !== peg$FAILED) {
|
|
13997
14393
|
peg$savedPos = s0;
|
|
13998
|
-
s1 = peg$
|
|
14394
|
+
s1 = peg$c1390(s6);
|
|
13999
14395
|
s0 = s1;
|
|
14000
14396
|
}
|
|
14001
14397
|
else {
|
|
@@ -14052,14 +14448,14 @@ function peg$parse(input, options) {
|
|
|
14052
14448
|
s1 = null;
|
|
14053
14449
|
}
|
|
14054
14450
|
if (s1 !== peg$FAILED) {
|
|
14055
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
14056
|
-
s2 = peg$
|
|
14451
|
+
if (input.substr(peg$currPos, 14) === peg$c1391) {
|
|
14452
|
+
s2 = peg$c1391;
|
|
14057
14453
|
peg$currPos += 14;
|
|
14058
14454
|
}
|
|
14059
14455
|
else {
|
|
14060
14456
|
s2 = peg$FAILED;
|
|
14061
14457
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14062
|
-
peg$fail(peg$
|
|
14458
|
+
peg$fail(peg$c1392);
|
|
14063
14459
|
}
|
|
14064
14460
|
}
|
|
14065
14461
|
if (s2 !== peg$FAILED) {
|
|
@@ -14114,7 +14510,7 @@ function peg$parse(input, options) {
|
|
|
14114
14510
|
}
|
|
14115
14511
|
if (s9 !== peg$FAILED) {
|
|
14116
14512
|
peg$savedPos = s0;
|
|
14117
|
-
s1 = peg$
|
|
14513
|
+
s1 = peg$c1393(s6);
|
|
14118
14514
|
s0 = s1;
|
|
14119
14515
|
}
|
|
14120
14516
|
else {
|
|
@@ -14171,14 +14567,14 @@ function peg$parse(input, options) {
|
|
|
14171
14567
|
s1 = null;
|
|
14172
14568
|
}
|
|
14173
14569
|
if (s1 !== peg$FAILED) {
|
|
14174
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
14175
|
-
s2 = peg$
|
|
14570
|
+
if (input.substr(peg$currPos, 14) === peg$c1394) {
|
|
14571
|
+
s2 = peg$c1394;
|
|
14176
14572
|
peg$currPos += 14;
|
|
14177
14573
|
}
|
|
14178
14574
|
else {
|
|
14179
14575
|
s2 = peg$FAILED;
|
|
14180
14576
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14181
|
-
peg$fail(peg$
|
|
14577
|
+
peg$fail(peg$c1395);
|
|
14182
14578
|
}
|
|
14183
14579
|
}
|
|
14184
14580
|
if (s2 !== peg$FAILED) {
|
|
@@ -14233,7 +14629,7 @@ function peg$parse(input, options) {
|
|
|
14233
14629
|
}
|
|
14234
14630
|
if (s9 !== peg$FAILED) {
|
|
14235
14631
|
peg$savedPos = s0;
|
|
14236
|
-
s1 = peg$
|
|
14632
|
+
s1 = peg$c1396(s6);
|
|
14237
14633
|
s0 = s1;
|
|
14238
14634
|
}
|
|
14239
14635
|
else {
|
|
@@ -14290,14 +14686,14 @@ function peg$parse(input, options) {
|
|
|
14290
14686
|
s1 = null;
|
|
14291
14687
|
}
|
|
14292
14688
|
if (s1 !== peg$FAILED) {
|
|
14293
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
14294
|
-
s2 = peg$
|
|
14689
|
+
if (input.substr(peg$currPos, 15) === peg$c1397) {
|
|
14690
|
+
s2 = peg$c1397;
|
|
14295
14691
|
peg$currPos += 15;
|
|
14296
14692
|
}
|
|
14297
14693
|
else {
|
|
14298
14694
|
s2 = peg$FAILED;
|
|
14299
14695
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14300
|
-
peg$fail(peg$
|
|
14696
|
+
peg$fail(peg$c1398);
|
|
14301
14697
|
}
|
|
14302
14698
|
}
|
|
14303
14699
|
if (s2 !== peg$FAILED) {
|
|
@@ -14346,7 +14742,7 @@ function peg$parse(input, options) {
|
|
|
14346
14742
|
}
|
|
14347
14743
|
if (s9 !== peg$FAILED) {
|
|
14348
14744
|
peg$savedPos = s0;
|
|
14349
|
-
s1 = peg$
|
|
14745
|
+
s1 = peg$c1399(s6);
|
|
14350
14746
|
s0 = s1;
|
|
14351
14747
|
}
|
|
14352
14748
|
else {
|
|
@@ -14403,14 +14799,14 @@ function peg$parse(input, options) {
|
|
|
14403
14799
|
s1 = null;
|
|
14404
14800
|
}
|
|
14405
14801
|
if (s1 !== peg$FAILED) {
|
|
14406
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
14407
|
-
s2 = peg$
|
|
14802
|
+
if (input.substr(peg$currPos, 13) === peg$c1400) {
|
|
14803
|
+
s2 = peg$c1400;
|
|
14408
14804
|
peg$currPos += 13;
|
|
14409
14805
|
}
|
|
14410
14806
|
else {
|
|
14411
14807
|
s2 = peg$FAILED;
|
|
14412
14808
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14413
|
-
peg$fail(peg$
|
|
14809
|
+
peg$fail(peg$c1401);
|
|
14414
14810
|
}
|
|
14415
14811
|
}
|
|
14416
14812
|
if (s2 !== peg$FAILED) {
|
|
@@ -14465,7 +14861,7 @@ function peg$parse(input, options) {
|
|
|
14465
14861
|
}
|
|
14466
14862
|
if (s9 !== peg$FAILED) {
|
|
14467
14863
|
peg$savedPos = s0;
|
|
14468
|
-
s1 = peg$
|
|
14864
|
+
s1 = peg$c1402(s6);
|
|
14469
14865
|
s0 = s1;
|
|
14470
14866
|
}
|
|
14471
14867
|
else {
|
|
@@ -14529,7 +14925,7 @@ function peg$parse(input, options) {
|
|
|
14529
14925
|
}
|
|
14530
14926
|
if (s1 !== peg$FAILED) {
|
|
14531
14927
|
peg$savedPos = s0;
|
|
14532
|
-
s1 = peg$
|
|
14928
|
+
s1 = peg$c1403();
|
|
14533
14929
|
}
|
|
14534
14930
|
s0 = s1;
|
|
14535
14931
|
if (s0 === peg$FAILED) {
|
|
@@ -14546,7 +14942,7 @@ function peg$parse(input, options) {
|
|
|
14546
14942
|
}
|
|
14547
14943
|
if (s1 !== peg$FAILED) {
|
|
14548
14944
|
peg$savedPos = s0;
|
|
14549
|
-
s1 = peg$
|
|
14945
|
+
s1 = peg$c1404();
|
|
14550
14946
|
}
|
|
14551
14947
|
s0 = s1;
|
|
14552
14948
|
if (s0 === peg$FAILED) {
|
|
@@ -14573,19 +14969,19 @@ function peg$parse(input, options) {
|
|
|
14573
14969
|
function peg$parseIslandsT() {
|
|
14574
14970
|
var s0, s1;
|
|
14575
14971
|
s0 = peg$currPos;
|
|
14576
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
14577
|
-
s1 = peg$
|
|
14972
|
+
if (input.substr(peg$currPos, 10) === peg$c1405) {
|
|
14973
|
+
s1 = peg$c1405;
|
|
14578
14974
|
peg$currPos += 10;
|
|
14579
14975
|
}
|
|
14580
14976
|
else {
|
|
14581
14977
|
s1 = peg$FAILED;
|
|
14582
14978
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14583
|
-
peg$fail(peg$
|
|
14979
|
+
peg$fail(peg$c1406);
|
|
14584
14980
|
}
|
|
14585
14981
|
}
|
|
14586
14982
|
if (s1 !== peg$FAILED) {
|
|
14587
14983
|
peg$savedPos = s0;
|
|
14588
|
-
s1 = peg$
|
|
14984
|
+
s1 = peg$c1407();
|
|
14589
14985
|
}
|
|
14590
14986
|
s0 = s1;
|
|
14591
14987
|
if (s0 === peg$FAILED) {
|
|
@@ -14602,7 +14998,7 @@ function peg$parse(input, options) {
|
|
|
14602
14998
|
}
|
|
14603
14999
|
if (s1 !== peg$FAILED) {
|
|
14604
15000
|
peg$savedPos = s0;
|
|
14605
|
-
s1 = peg$
|
|
15001
|
+
s1 = peg$c1408();
|
|
14606
15002
|
}
|
|
14607
15003
|
s0 = s1;
|
|
14608
15004
|
if (s0 === peg$FAILED) {
|
|
@@ -14619,7 +15015,7 @@ function peg$parse(input, options) {
|
|
|
14619
15015
|
}
|
|
14620
15016
|
if (s1 !== peg$FAILED) {
|
|
14621
15017
|
peg$savedPos = s0;
|
|
14622
|
-
s1 = peg$
|
|
15018
|
+
s1 = peg$c1409();
|
|
14623
15019
|
}
|
|
14624
15020
|
s0 = s1;
|
|
14625
15021
|
}
|
|
@@ -14641,13 +15037,16 @@ function peg$parse(input, options) {
|
|
|
14641
15037
|
if (s0 === peg$FAILED) {
|
|
14642
15038
|
s0 = peg$parseConfigGraph();
|
|
14643
15039
|
if (s0 === peg$FAILED) {
|
|
14644
|
-
s0 = peg$
|
|
15040
|
+
s0 = peg$parseConfigEditor();
|
|
14645
15041
|
if (s0 === peg$FAILED) {
|
|
14646
|
-
s0 = peg$
|
|
15042
|
+
s0 = peg$parseConfigAnyState();
|
|
14647
15043
|
if (s0 === peg$FAILED) {
|
|
14648
|
-
s0 = peg$
|
|
15044
|
+
s0 = peg$parseConfigGraphBgColor();
|
|
14649
15045
|
if (s0 === peg$FAILED) {
|
|
14650
|
-
s0 = peg$
|
|
15046
|
+
s0 = peg$parseConfigAllowsOverride();
|
|
15047
|
+
if (s0 === peg$FAILED) {
|
|
15048
|
+
s0 = peg$parseConfigAllowIslands();
|
|
15049
|
+
}
|
|
14651
15050
|
}
|
|
14652
15051
|
}
|
|
14653
15052
|
}
|
|
@@ -14660,131 +15059,131 @@ function peg$parse(input, options) {
|
|
|
14660
15059
|
peg$silentFails--;
|
|
14661
15060
|
if (s0 === peg$FAILED) {
|
|
14662
15061
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14663
|
-
peg$fail(peg$
|
|
15062
|
+
peg$fail(peg$c1410);
|
|
14664
15063
|
}
|
|
14665
15064
|
}
|
|
14666
15065
|
return s0;
|
|
14667
15066
|
}
|
|
14668
15067
|
function peg$parseLicenseOrLabelOrList() {
|
|
14669
15068
|
var s0;
|
|
14670
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
14671
|
-
s0 = peg$
|
|
15069
|
+
if (input.substr(peg$currPos, 3) === peg$c1411) {
|
|
15070
|
+
s0 = peg$c1411;
|
|
14672
15071
|
peg$currPos += 3;
|
|
14673
15072
|
}
|
|
14674
15073
|
else {
|
|
14675
15074
|
s0 = peg$FAILED;
|
|
14676
15075
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14677
|
-
peg$fail(peg$
|
|
15076
|
+
peg$fail(peg$c1412);
|
|
14678
15077
|
}
|
|
14679
15078
|
}
|
|
14680
15079
|
if (s0 === peg$FAILED) {
|
|
14681
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
14682
|
-
s0 = peg$
|
|
15080
|
+
if (input.substr(peg$currPos, 12) === peg$c1413) {
|
|
15081
|
+
s0 = peg$c1413;
|
|
14683
15082
|
peg$currPos += 12;
|
|
14684
15083
|
}
|
|
14685
15084
|
else {
|
|
14686
15085
|
s0 = peg$FAILED;
|
|
14687
15086
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14688
|
-
peg$fail(peg$
|
|
15087
|
+
peg$fail(peg$c1414);
|
|
14689
15088
|
}
|
|
14690
15089
|
}
|
|
14691
15090
|
if (s0 === peg$FAILED) {
|
|
14692
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
14693
|
-
s0 = peg$
|
|
15091
|
+
if (input.substr(peg$currPos, 12) === peg$c1415) {
|
|
15092
|
+
s0 = peg$c1415;
|
|
14694
15093
|
peg$currPos += 12;
|
|
14695
15094
|
}
|
|
14696
15095
|
else {
|
|
14697
15096
|
s0 = peg$FAILED;
|
|
14698
15097
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14699
|
-
peg$fail(peg$
|
|
15098
|
+
peg$fail(peg$c1416);
|
|
14700
15099
|
}
|
|
14701
15100
|
}
|
|
14702
15101
|
if (s0 === peg$FAILED) {
|
|
14703
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
14704
|
-
s0 = peg$
|
|
15102
|
+
if (input.substr(peg$currPos, 10) === peg$c1417) {
|
|
15103
|
+
s0 = peg$c1417;
|
|
14705
15104
|
peg$currPos += 10;
|
|
14706
15105
|
}
|
|
14707
15106
|
else {
|
|
14708
15107
|
s0 = peg$FAILED;
|
|
14709
15108
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14710
|
-
peg$fail(peg$
|
|
15109
|
+
peg$fail(peg$c1418);
|
|
14711
15110
|
}
|
|
14712
15111
|
}
|
|
14713
15112
|
if (s0 === peg$FAILED) {
|
|
14714
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
14715
|
-
s0 = peg$
|
|
15113
|
+
if (input.substr(peg$currPos, 11) === peg$c1419) {
|
|
15114
|
+
s0 = peg$c1419;
|
|
14716
15115
|
peg$currPos += 11;
|
|
14717
15116
|
}
|
|
14718
15117
|
else {
|
|
14719
15118
|
s0 = peg$FAILED;
|
|
14720
15119
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14721
|
-
peg$fail(peg$
|
|
15120
|
+
peg$fail(peg$c1420);
|
|
14722
15121
|
}
|
|
14723
15122
|
}
|
|
14724
15123
|
if (s0 === peg$FAILED) {
|
|
14725
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
14726
|
-
s0 = peg$
|
|
15124
|
+
if (input.substr(peg$currPos, 13) === peg$c1421) {
|
|
15125
|
+
s0 = peg$c1421;
|
|
14727
15126
|
peg$currPos += 13;
|
|
14728
15127
|
}
|
|
14729
15128
|
else {
|
|
14730
15129
|
s0 = peg$FAILED;
|
|
14731
15130
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14732
|
-
peg$fail(peg$
|
|
15131
|
+
peg$fail(peg$c1422);
|
|
14733
15132
|
}
|
|
14734
15133
|
}
|
|
14735
15134
|
if (s0 === peg$FAILED) {
|
|
14736
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
14737
|
-
s0 = peg$
|
|
15135
|
+
if (input.substr(peg$currPos, 6) === peg$c1423) {
|
|
15136
|
+
s0 = peg$c1423;
|
|
14738
15137
|
peg$currPos += 6;
|
|
14739
15138
|
}
|
|
14740
15139
|
else {
|
|
14741
15140
|
s0 = peg$FAILED;
|
|
14742
15141
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14743
|
-
peg$fail(peg$
|
|
15142
|
+
peg$fail(peg$c1424);
|
|
14744
15143
|
}
|
|
14745
15144
|
}
|
|
14746
15145
|
if (s0 === peg$FAILED) {
|
|
14747
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
14748
|
-
s0 = peg$
|
|
15146
|
+
if (input.substr(peg$currPos, 6) === peg$c1425) {
|
|
15147
|
+
s0 = peg$c1425;
|
|
14749
15148
|
peg$currPos += 6;
|
|
14750
15149
|
}
|
|
14751
15150
|
else {
|
|
14752
15151
|
s0 = peg$FAILED;
|
|
14753
15152
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14754
|
-
peg$fail(peg$
|
|
15153
|
+
peg$fail(peg$c1426);
|
|
14755
15154
|
}
|
|
14756
15155
|
}
|
|
14757
15156
|
if (s0 === peg$FAILED) {
|
|
14758
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
14759
|
-
s0 = peg$
|
|
15157
|
+
if (input.substr(peg$currPos, 9) === peg$c1427) {
|
|
15158
|
+
s0 = peg$c1427;
|
|
14760
15159
|
peg$currPos += 9;
|
|
14761
15160
|
}
|
|
14762
15161
|
else {
|
|
14763
15162
|
s0 = peg$FAILED;
|
|
14764
15163
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14765
|
-
peg$fail(peg$
|
|
15164
|
+
peg$fail(peg$c1428);
|
|
14766
15165
|
}
|
|
14767
15166
|
}
|
|
14768
15167
|
if (s0 === peg$FAILED) {
|
|
14769
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
14770
|
-
s0 = peg$
|
|
15168
|
+
if (input.substr(peg$currPos, 9) === peg$c1429) {
|
|
15169
|
+
s0 = peg$c1429;
|
|
14771
15170
|
peg$currPos += 9;
|
|
14772
15171
|
}
|
|
14773
15172
|
else {
|
|
14774
15173
|
s0 = peg$FAILED;
|
|
14775
15174
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14776
|
-
peg$fail(peg$
|
|
15175
|
+
peg$fail(peg$c1430);
|
|
14777
15176
|
}
|
|
14778
15177
|
}
|
|
14779
15178
|
if (s0 === peg$FAILED) {
|
|
14780
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
14781
|
-
s0 = peg$
|
|
15179
|
+
if (input.substr(peg$currPos, 7) === peg$c1431) {
|
|
15180
|
+
s0 = peg$c1431;
|
|
14782
15181
|
peg$currPos += 7;
|
|
14783
15182
|
}
|
|
14784
15183
|
else {
|
|
14785
15184
|
s0 = peg$FAILED;
|
|
14786
15185
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14787
|
-
peg$fail(peg$
|
|
15186
|
+
peg$fail(peg$c1432);
|
|
14788
15187
|
}
|
|
14789
15188
|
}
|
|
14790
15189
|
if (s0 === peg$FAILED) {
|
|
@@ -14808,47 +15207,47 @@ function peg$parse(input, options) {
|
|
|
14808
15207
|
function peg$parseDirection() {
|
|
14809
15208
|
var s0;
|
|
14810
15209
|
peg$silentFails++;
|
|
14811
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
14812
|
-
s0 = peg$
|
|
15210
|
+
if (input.substr(peg$currPos, 2) === peg$c1434) {
|
|
15211
|
+
s0 = peg$c1434;
|
|
14813
15212
|
peg$currPos += 2;
|
|
14814
15213
|
}
|
|
14815
15214
|
else {
|
|
14816
15215
|
s0 = peg$FAILED;
|
|
14817
15216
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14818
|
-
peg$fail(peg$
|
|
15217
|
+
peg$fail(peg$c1435);
|
|
14819
15218
|
}
|
|
14820
15219
|
}
|
|
14821
15220
|
if (s0 === peg$FAILED) {
|
|
14822
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
14823
|
-
s0 = peg$
|
|
15221
|
+
if (input.substr(peg$currPos, 5) === peg$c1436) {
|
|
15222
|
+
s0 = peg$c1436;
|
|
14824
15223
|
peg$currPos += 5;
|
|
14825
15224
|
}
|
|
14826
15225
|
else {
|
|
14827
15226
|
s0 = peg$FAILED;
|
|
14828
15227
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14829
|
-
peg$fail(peg$
|
|
15228
|
+
peg$fail(peg$c1437);
|
|
14830
15229
|
}
|
|
14831
15230
|
}
|
|
14832
15231
|
if (s0 === peg$FAILED) {
|
|
14833
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
14834
|
-
s0 = peg$
|
|
15232
|
+
if (input.substr(peg$currPos, 4) === peg$c1438) {
|
|
15233
|
+
s0 = peg$c1438;
|
|
14835
15234
|
peg$currPos += 4;
|
|
14836
15235
|
}
|
|
14837
15236
|
else {
|
|
14838
15237
|
s0 = peg$FAILED;
|
|
14839
15238
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14840
|
-
peg$fail(peg$
|
|
15239
|
+
peg$fail(peg$c1439);
|
|
14841
15240
|
}
|
|
14842
15241
|
}
|
|
14843
15242
|
if (s0 === peg$FAILED) {
|
|
14844
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
14845
|
-
s0 = peg$
|
|
15243
|
+
if (input.substr(peg$currPos, 4) === peg$c1440) {
|
|
15244
|
+
s0 = peg$c1440;
|
|
14846
15245
|
peg$currPos += 4;
|
|
14847
15246
|
}
|
|
14848
15247
|
else {
|
|
14849
15248
|
s0 = peg$FAILED;
|
|
14850
15249
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14851
|
-
peg$fail(peg$
|
|
15250
|
+
peg$fail(peg$c1441);
|
|
14852
15251
|
}
|
|
14853
15252
|
}
|
|
14854
15253
|
}
|
|
@@ -14857,7 +15256,7 @@ function peg$parse(input, options) {
|
|
|
14857
15256
|
peg$silentFails--;
|
|
14858
15257
|
if (s0 === peg$FAILED) {
|
|
14859
15258
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14860
|
-
peg$fail(peg$
|
|
15259
|
+
peg$fail(peg$c1433);
|
|
14861
15260
|
}
|
|
14862
15261
|
}
|
|
14863
15262
|
return s0;
|
|
@@ -14865,32 +15264,32 @@ function peg$parse(input, options) {
|
|
|
14865
15264
|
function peg$parseHookDefinition() {
|
|
14866
15265
|
var s0;
|
|
14867
15266
|
peg$silentFails++;
|
|
14868
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
14869
|
-
s0 = peg$
|
|
15267
|
+
if (input.substr(peg$currPos, 4) === peg$c1443) {
|
|
15268
|
+
s0 = peg$c1443;
|
|
14870
15269
|
peg$currPos += 4;
|
|
14871
15270
|
}
|
|
14872
15271
|
else {
|
|
14873
15272
|
s0 = peg$FAILED;
|
|
14874
15273
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14875
|
-
peg$fail(peg$
|
|
15274
|
+
peg$fail(peg$c1444);
|
|
14876
15275
|
}
|
|
14877
15276
|
}
|
|
14878
15277
|
if (s0 === peg$FAILED) {
|
|
14879
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
14880
|
-
s0 = peg$
|
|
15278
|
+
if (input.substr(peg$currPos, 6) === peg$c1445) {
|
|
15279
|
+
s0 = peg$c1445;
|
|
14881
15280
|
peg$currPos += 6;
|
|
14882
15281
|
}
|
|
14883
15282
|
else {
|
|
14884
15283
|
s0 = peg$FAILED;
|
|
14885
15284
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14886
|
-
peg$fail(peg$
|
|
15285
|
+
peg$fail(peg$c1446);
|
|
14887
15286
|
}
|
|
14888
15287
|
}
|
|
14889
15288
|
}
|
|
14890
15289
|
peg$silentFails--;
|
|
14891
15290
|
if (s0 === peg$FAILED) {
|
|
14892
15291
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14893
|
-
peg$fail(peg$
|
|
15292
|
+
peg$fail(peg$c1442);
|
|
14894
15293
|
}
|
|
14895
15294
|
}
|
|
14896
15295
|
return s0;
|
|
@@ -14903,14 +15302,14 @@ function peg$parse(input, options) {
|
|
|
14903
15302
|
s1 = null;
|
|
14904
15303
|
}
|
|
14905
15304
|
if (s1 !== peg$FAILED) {
|
|
14906
|
-
if (input.substr(peg$currPos, 14) === peg$
|
|
14907
|
-
s2 = peg$
|
|
15305
|
+
if (input.substr(peg$currPos, 14) === peg$c1447) {
|
|
15306
|
+
s2 = peg$c1447;
|
|
14908
15307
|
peg$currPos += 14;
|
|
14909
15308
|
}
|
|
14910
15309
|
else {
|
|
14911
15310
|
s2 = peg$FAILED;
|
|
14912
15311
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
14913
|
-
peg$fail(peg$
|
|
15312
|
+
peg$fail(peg$c1448);
|
|
14914
15313
|
}
|
|
14915
15314
|
}
|
|
14916
15315
|
if (s2 !== peg$FAILED) {
|
|
@@ -14965,7 +15364,7 @@ function peg$parse(input, options) {
|
|
|
14965
15364
|
}
|
|
14966
15365
|
if (s9 !== peg$FAILED) {
|
|
14967
15366
|
peg$savedPos = s0;
|
|
14968
|
-
s1 = peg$
|
|
15367
|
+
s1 = peg$c1449(s6);
|
|
14969
15368
|
s0 = s1;
|
|
14970
15369
|
}
|
|
14971
15370
|
else {
|
|
@@ -15022,14 +15421,14 @@ function peg$parse(input, options) {
|
|
|
15022
15421
|
s1 = null;
|
|
15023
15422
|
}
|
|
15024
15423
|
if (s1 !== peg$FAILED) {
|
|
15025
|
-
if (input.substr(peg$currPos, 19) === peg$
|
|
15026
|
-
s2 = peg$
|
|
15424
|
+
if (input.substr(peg$currPos, 19) === peg$c1450) {
|
|
15425
|
+
s2 = peg$c1450;
|
|
15027
15426
|
peg$currPos += 19;
|
|
15028
15427
|
}
|
|
15029
15428
|
else {
|
|
15030
15429
|
s2 = peg$FAILED;
|
|
15031
15430
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15032
|
-
peg$fail(peg$
|
|
15431
|
+
peg$fail(peg$c1451);
|
|
15033
15432
|
}
|
|
15034
15433
|
}
|
|
15035
15434
|
if (s2 !== peg$FAILED) {
|
|
@@ -15084,7 +15483,7 @@ function peg$parse(input, options) {
|
|
|
15084
15483
|
}
|
|
15085
15484
|
if (s9 !== peg$FAILED) {
|
|
15086
15485
|
peg$savedPos = s0;
|
|
15087
|
-
s1 = peg$
|
|
15486
|
+
s1 = peg$c1452(s6);
|
|
15088
15487
|
s0 = s1;
|
|
15089
15488
|
}
|
|
15090
15489
|
else {
|
|
@@ -15141,14 +15540,14 @@ function peg$parse(input, options) {
|
|
|
15141
15540
|
s1 = null;
|
|
15142
15541
|
}
|
|
15143
15542
|
if (s1 !== peg$FAILED) {
|
|
15144
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
15145
|
-
s2 = peg$
|
|
15543
|
+
if (input.substr(peg$currPos, 15) === peg$c1453) {
|
|
15544
|
+
s2 = peg$c1453;
|
|
15146
15545
|
peg$currPos += 15;
|
|
15147
15546
|
}
|
|
15148
15547
|
else {
|
|
15149
15548
|
s2 = peg$FAILED;
|
|
15150
15549
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15151
|
-
peg$fail(peg$
|
|
15550
|
+
peg$fail(peg$c1454);
|
|
15152
15551
|
}
|
|
15153
15552
|
}
|
|
15154
15553
|
if (s2 !== peg$FAILED) {
|
|
@@ -15203,7 +15602,7 @@ function peg$parse(input, options) {
|
|
|
15203
15602
|
}
|
|
15204
15603
|
if (s9 !== peg$FAILED) {
|
|
15205
15604
|
peg$savedPos = s0;
|
|
15206
|
-
s1 = peg$
|
|
15605
|
+
s1 = peg$c1455(s6);
|
|
15207
15606
|
s0 = s1;
|
|
15208
15607
|
}
|
|
15209
15608
|
else {
|
|
@@ -15260,14 +15659,14 @@ function peg$parse(input, options) {
|
|
|
15260
15659
|
s1 = null;
|
|
15261
15660
|
}
|
|
15262
15661
|
if (s1 !== peg$FAILED) {
|
|
15263
|
-
if (input.substr(peg$currPos, 18) === peg$
|
|
15264
|
-
s2 = peg$
|
|
15662
|
+
if (input.substr(peg$currPos, 18) === peg$c1456) {
|
|
15663
|
+
s2 = peg$c1456;
|
|
15265
15664
|
peg$currPos += 18;
|
|
15266
15665
|
}
|
|
15267
15666
|
else {
|
|
15268
15667
|
s2 = peg$FAILED;
|
|
15269
15668
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15270
|
-
peg$fail(peg$
|
|
15669
|
+
peg$fail(peg$c1457);
|
|
15271
15670
|
}
|
|
15272
15671
|
}
|
|
15273
15672
|
if (s2 !== peg$FAILED) {
|
|
@@ -15322,7 +15721,7 @@ function peg$parse(input, options) {
|
|
|
15322
15721
|
}
|
|
15323
15722
|
if (s9 !== peg$FAILED) {
|
|
15324
15723
|
peg$savedPos = s0;
|
|
15325
|
-
s1 = peg$
|
|
15724
|
+
s1 = peg$c1458(s6);
|
|
15326
15725
|
s0 = s1;
|
|
15327
15726
|
}
|
|
15328
15727
|
else {
|
|
@@ -15379,14 +15778,14 @@ function peg$parse(input, options) {
|
|
|
15379
15778
|
s1 = null;
|
|
15380
15779
|
}
|
|
15381
15780
|
if (s1 !== peg$FAILED) {
|
|
15382
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
15383
|
-
s2 = peg$
|
|
15781
|
+
if (input.substr(peg$currPos, 12) === peg$c1459) {
|
|
15782
|
+
s2 = peg$c1459;
|
|
15384
15783
|
peg$currPos += 12;
|
|
15385
15784
|
}
|
|
15386
15785
|
else {
|
|
15387
15786
|
s2 = peg$FAILED;
|
|
15388
15787
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15389
|
-
peg$fail(peg$
|
|
15788
|
+
peg$fail(peg$c1460);
|
|
15390
15789
|
}
|
|
15391
15790
|
}
|
|
15392
15791
|
if (s2 !== peg$FAILED) {
|
|
@@ -15441,7 +15840,7 @@ function peg$parse(input, options) {
|
|
|
15441
15840
|
}
|
|
15442
15841
|
if (s9 !== peg$FAILED) {
|
|
15443
15842
|
peg$savedPos = s0;
|
|
15444
|
-
s1 = peg$
|
|
15843
|
+
s1 = peg$c1461(s6);
|
|
15445
15844
|
s0 = s1;
|
|
15446
15845
|
}
|
|
15447
15846
|
else {
|
|
@@ -15498,14 +15897,14 @@ function peg$parse(input, options) {
|
|
|
15498
15897
|
s1 = null;
|
|
15499
15898
|
}
|
|
15500
15899
|
if (s1 !== peg$FAILED) {
|
|
15501
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
15502
|
-
s2 = peg$
|
|
15900
|
+
if (input.substr(peg$currPos, 8) === peg$c1462) {
|
|
15901
|
+
s2 = peg$c1462;
|
|
15503
15902
|
peg$currPos += 8;
|
|
15504
15903
|
}
|
|
15505
15904
|
else {
|
|
15506
15905
|
s2 = peg$FAILED;
|
|
15507
15906
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15508
|
-
peg$fail(peg$
|
|
15907
|
+
peg$fail(peg$c1463);
|
|
15509
15908
|
}
|
|
15510
15909
|
}
|
|
15511
15910
|
if (s2 !== peg$FAILED) {
|
|
@@ -15560,7 +15959,7 @@ function peg$parse(input, options) {
|
|
|
15560
15959
|
}
|
|
15561
15960
|
if (s9 !== peg$FAILED) {
|
|
15562
15961
|
peg$savedPos = s0;
|
|
15563
|
-
s1 = peg$
|
|
15962
|
+
s1 = peg$c1464(s6);
|
|
15564
15963
|
s0 = s1;
|
|
15565
15964
|
}
|
|
15566
15965
|
else {
|
|
@@ -15617,14 +16016,14 @@ function peg$parse(input, options) {
|
|
|
15617
16016
|
s1 = null;
|
|
15618
16017
|
}
|
|
15619
16018
|
if (s1 !== peg$FAILED) {
|
|
15620
|
-
if (input.substr(peg$currPos, 17) === peg$
|
|
15621
|
-
s2 = peg$
|
|
16019
|
+
if (input.substr(peg$currPos, 17) === peg$c1465) {
|
|
16020
|
+
s2 = peg$c1465;
|
|
15622
16021
|
peg$currPos += 17;
|
|
15623
16022
|
}
|
|
15624
16023
|
else {
|
|
15625
16024
|
s2 = peg$FAILED;
|
|
15626
16025
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15627
|
-
peg$fail(peg$
|
|
16026
|
+
peg$fail(peg$c1466);
|
|
15628
16027
|
}
|
|
15629
16028
|
}
|
|
15630
16029
|
if (s2 !== peg$FAILED) {
|
|
@@ -15679,7 +16078,7 @@ function peg$parse(input, options) {
|
|
|
15679
16078
|
}
|
|
15680
16079
|
if (s9 !== peg$FAILED) {
|
|
15681
16080
|
peg$savedPos = s0;
|
|
15682
|
-
s1 = peg$
|
|
16081
|
+
s1 = peg$c1467(s6);
|
|
15683
16082
|
s0 = s1;
|
|
15684
16083
|
}
|
|
15685
16084
|
else {
|
|
@@ -15736,14 +16135,14 @@ function peg$parse(input, options) {
|
|
|
15736
16135
|
s1 = null;
|
|
15737
16136
|
}
|
|
15738
16137
|
if (s1 !== peg$FAILED) {
|
|
15739
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
15740
|
-
s2 = peg$
|
|
16138
|
+
if (input.substr(peg$currPos, 15) === peg$c1468) {
|
|
16139
|
+
s2 = peg$c1468;
|
|
15741
16140
|
peg$currPos += 15;
|
|
15742
16141
|
}
|
|
15743
16142
|
else {
|
|
15744
16143
|
s2 = peg$FAILED;
|
|
15745
16144
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15746
|
-
peg$fail(peg$
|
|
16145
|
+
peg$fail(peg$c1469);
|
|
15747
16146
|
}
|
|
15748
16147
|
}
|
|
15749
16148
|
if (s2 !== peg$FAILED) {
|
|
@@ -15798,7 +16197,7 @@ function peg$parse(input, options) {
|
|
|
15798
16197
|
}
|
|
15799
16198
|
if (s9 !== peg$FAILED) {
|
|
15800
16199
|
peg$savedPos = s0;
|
|
15801
|
-
s1 = peg$
|
|
16200
|
+
s1 = peg$c1470(s6);
|
|
15802
16201
|
s0 = s1;
|
|
15803
16202
|
}
|
|
15804
16203
|
else {
|
|
@@ -15855,14 +16254,14 @@ function peg$parse(input, options) {
|
|
|
15855
16254
|
s1 = null;
|
|
15856
16255
|
}
|
|
15857
16256
|
if (s1 !== peg$FAILED) {
|
|
15858
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
15859
|
-
s2 = peg$
|
|
16257
|
+
if (input.substr(peg$currPos, 15) === peg$c1471) {
|
|
16258
|
+
s2 = peg$c1471;
|
|
15860
16259
|
peg$currPos += 15;
|
|
15861
16260
|
}
|
|
15862
16261
|
else {
|
|
15863
16262
|
s2 = peg$FAILED;
|
|
15864
16263
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15865
|
-
peg$fail(peg$
|
|
16264
|
+
peg$fail(peg$c1472);
|
|
15866
16265
|
}
|
|
15867
16266
|
}
|
|
15868
16267
|
if (s2 !== peg$FAILED) {
|
|
@@ -15917,7 +16316,7 @@ function peg$parse(input, options) {
|
|
|
15917
16316
|
}
|
|
15918
16317
|
if (s9 !== peg$FAILED) {
|
|
15919
16318
|
peg$savedPos = s0;
|
|
15920
|
-
s1 = peg$
|
|
16319
|
+
s1 = peg$c1473(s6);
|
|
15921
16320
|
s0 = s1;
|
|
15922
16321
|
}
|
|
15923
16322
|
else {
|
|
@@ -15974,14 +16373,14 @@ function peg$parse(input, options) {
|
|
|
15974
16373
|
s1 = null;
|
|
15975
16374
|
}
|
|
15976
16375
|
if (s1 !== peg$FAILED) {
|
|
15977
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
15978
|
-
s2 = peg$
|
|
16376
|
+
if (input.substr(peg$currPos, 16) === peg$c1474) {
|
|
16377
|
+
s2 = peg$c1474;
|
|
15979
16378
|
peg$currPos += 16;
|
|
15980
16379
|
}
|
|
15981
16380
|
else {
|
|
15982
16381
|
s2 = peg$FAILED;
|
|
15983
16382
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
15984
|
-
peg$fail(peg$
|
|
16383
|
+
peg$fail(peg$c1475);
|
|
15985
16384
|
}
|
|
15986
16385
|
}
|
|
15987
16386
|
if (s2 !== peg$FAILED) {
|
|
@@ -16036,7 +16435,7 @@ function peg$parse(input, options) {
|
|
|
16036
16435
|
}
|
|
16037
16436
|
if (s9 !== peg$FAILED) {
|
|
16038
16437
|
peg$savedPos = s0;
|
|
16039
|
-
s1 = peg$
|
|
16438
|
+
s1 = peg$c1476(s6);
|
|
16040
16439
|
s0 = s1;
|
|
16041
16440
|
}
|
|
16042
16441
|
else {
|
|
@@ -16093,14 +16492,14 @@ function peg$parse(input, options) {
|
|
|
16093
16492
|
s1 = null;
|
|
16094
16493
|
}
|
|
16095
16494
|
if (s1 !== peg$FAILED) {
|
|
16096
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
16097
|
-
s2 = peg$
|
|
16495
|
+
if (input.substr(peg$currPos, 11) === peg$c1477) {
|
|
16496
|
+
s2 = peg$c1477;
|
|
16098
16497
|
peg$currPos += 11;
|
|
16099
16498
|
}
|
|
16100
16499
|
else {
|
|
16101
16500
|
s2 = peg$FAILED;
|
|
16102
16501
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16103
|
-
peg$fail(peg$
|
|
16502
|
+
peg$fail(peg$c1478);
|
|
16104
16503
|
}
|
|
16105
16504
|
}
|
|
16106
16505
|
if (s2 !== peg$FAILED) {
|
|
@@ -16155,7 +16554,7 @@ function peg$parse(input, options) {
|
|
|
16155
16554
|
}
|
|
16156
16555
|
if (s9 !== peg$FAILED) {
|
|
16157
16556
|
peg$savedPos = s0;
|
|
16158
|
-
s1 = peg$
|
|
16557
|
+
s1 = peg$c1479(s6);
|
|
16159
16558
|
s0 = s1;
|
|
16160
16559
|
}
|
|
16161
16560
|
else {
|
|
@@ -16212,14 +16611,14 @@ function peg$parse(input, options) {
|
|
|
16212
16611
|
s1 = null;
|
|
16213
16612
|
}
|
|
16214
16613
|
if (s1 !== peg$FAILED) {
|
|
16215
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
16216
|
-
s2 = peg$
|
|
16614
|
+
if (input.substr(peg$currPos, 5) === peg$c1480) {
|
|
16615
|
+
s2 = peg$c1480;
|
|
16217
16616
|
peg$currPos += 5;
|
|
16218
16617
|
}
|
|
16219
16618
|
else {
|
|
16220
16619
|
s2 = peg$FAILED;
|
|
16221
16620
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16222
|
-
peg$fail(peg$
|
|
16621
|
+
peg$fail(peg$c1481);
|
|
16223
16622
|
}
|
|
16224
16623
|
}
|
|
16225
16624
|
if (s2 !== peg$FAILED) {
|
|
@@ -16274,7 +16673,7 @@ function peg$parse(input, options) {
|
|
|
16274
16673
|
}
|
|
16275
16674
|
if (s9 !== peg$FAILED) {
|
|
16276
16675
|
peg$savedPos = s0;
|
|
16277
|
-
s1 = peg$
|
|
16676
|
+
s1 = peg$c1482(s6);
|
|
16278
16677
|
s0 = s1;
|
|
16279
16678
|
}
|
|
16280
16679
|
else {
|
|
@@ -16331,14 +16730,14 @@ function peg$parse(input, options) {
|
|
|
16331
16730
|
s1 = null;
|
|
16332
16731
|
}
|
|
16333
16732
|
if (s1 !== peg$FAILED) {
|
|
16334
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
16335
|
-
s2 = peg$
|
|
16733
|
+
if (input.substr(peg$currPos, 4) === peg$c1483) {
|
|
16734
|
+
s2 = peg$c1483;
|
|
16336
16735
|
peg$currPos += 4;
|
|
16337
16736
|
}
|
|
16338
16737
|
else {
|
|
16339
16738
|
s2 = peg$FAILED;
|
|
16340
16739
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16341
|
-
peg$fail(peg$
|
|
16740
|
+
peg$fail(peg$c1484);
|
|
16342
16741
|
}
|
|
16343
16742
|
}
|
|
16344
16743
|
if (s2 !== peg$FAILED) {
|
|
@@ -16393,7 +16792,7 @@ function peg$parse(input, options) {
|
|
|
16393
16792
|
}
|
|
16394
16793
|
if (s9 !== peg$FAILED) {
|
|
16395
16794
|
peg$savedPos = s0;
|
|
16396
|
-
s1 = peg$
|
|
16795
|
+
s1 = peg$c1485(s6);
|
|
16397
16796
|
s0 = s1;
|
|
16398
16797
|
}
|
|
16399
16798
|
else {
|
|
@@ -16450,14 +16849,14 @@ function peg$parse(input, options) {
|
|
|
16450
16849
|
s1 = null;
|
|
16451
16850
|
}
|
|
16452
16851
|
if (s1 !== peg$FAILED) {
|
|
16453
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
16454
|
-
s2 = peg$
|
|
16852
|
+
if (input.substr(peg$currPos, 5) === peg$c1486) {
|
|
16853
|
+
s2 = peg$c1486;
|
|
16455
16854
|
peg$currPos += 5;
|
|
16456
16855
|
}
|
|
16457
16856
|
else {
|
|
16458
16857
|
s2 = peg$FAILED;
|
|
16459
16858
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16460
|
-
peg$fail(peg$
|
|
16859
|
+
peg$fail(peg$c1487);
|
|
16461
16860
|
}
|
|
16462
16861
|
}
|
|
16463
16862
|
if (s2 !== peg$FAILED) {
|
|
@@ -16512,7 +16911,7 @@ function peg$parse(input, options) {
|
|
|
16512
16911
|
}
|
|
16513
16912
|
if (s9 !== peg$FAILED) {
|
|
16514
16913
|
peg$savedPos = s0;
|
|
16515
|
-
s1 = peg$
|
|
16914
|
+
s1 = peg$c1488(s6);
|
|
16516
16915
|
s0 = s1;
|
|
16517
16916
|
}
|
|
16518
16917
|
else {
|
|
@@ -16569,14 +16968,14 @@ function peg$parse(input, options) {
|
|
|
16569
16968
|
s1 = null;
|
|
16570
16969
|
}
|
|
16571
16970
|
if (s1 !== peg$FAILED) {
|
|
16572
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
16573
|
-
s2 = peg$
|
|
16971
|
+
if (input.substr(peg$currPos, 12) === peg$c1489) {
|
|
16972
|
+
s2 = peg$c1489;
|
|
16574
16973
|
peg$currPos += 12;
|
|
16575
16974
|
}
|
|
16576
16975
|
else {
|
|
16577
16976
|
s2 = peg$FAILED;
|
|
16578
16977
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16579
|
-
peg$fail(peg$
|
|
16978
|
+
peg$fail(peg$c1490);
|
|
16580
16979
|
}
|
|
16581
16980
|
}
|
|
16582
16981
|
if (s2 !== peg$FAILED) {
|
|
@@ -16631,7 +17030,7 @@ function peg$parse(input, options) {
|
|
|
16631
17030
|
}
|
|
16632
17031
|
if (s9 !== peg$FAILED) {
|
|
16633
17032
|
peg$savedPos = s0;
|
|
16634
|
-
s1 = peg$
|
|
17033
|
+
s1 = peg$c1491(s6);
|
|
16635
17034
|
s0 = s1;
|
|
16636
17035
|
}
|
|
16637
17036
|
else {
|
|
@@ -16683,14 +17082,14 @@ function peg$parse(input, options) {
|
|
|
16683
17082
|
function peg$parseDefaultSizeVal() {
|
|
16684
17083
|
var s0, s1, s2, s3;
|
|
16685
17084
|
s0 = peg$currPos;
|
|
16686
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
16687
|
-
s1 = peg$
|
|
17085
|
+
if (input.substr(peg$currPos, 6) === peg$c1492) {
|
|
17086
|
+
s1 = peg$c1492;
|
|
16688
17087
|
peg$currPos += 6;
|
|
16689
17088
|
}
|
|
16690
17089
|
else {
|
|
16691
17090
|
s1 = peg$FAILED;
|
|
16692
17091
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16693
|
-
peg$fail(peg$
|
|
17092
|
+
peg$fail(peg$c1493);
|
|
16694
17093
|
}
|
|
16695
17094
|
}
|
|
16696
17095
|
if (s1 !== peg$FAILED) {
|
|
@@ -16699,7 +17098,7 @@ function peg$parse(input, options) {
|
|
|
16699
17098
|
s3 = peg$parseNonNegNumber();
|
|
16700
17099
|
if (s3 !== peg$FAILED) {
|
|
16701
17100
|
peg$savedPos = s0;
|
|
16702
|
-
s1 = peg$
|
|
17101
|
+
s1 = peg$c1494(s3);
|
|
16703
17102
|
s0 = s1;
|
|
16704
17103
|
}
|
|
16705
17104
|
else {
|
|
@@ -16723,7 +17122,7 @@ function peg$parse(input, options) {
|
|
|
16723
17122
|
s2 = peg$parseNonNegNumber();
|
|
16724
17123
|
if (s2 !== peg$FAILED) {
|
|
16725
17124
|
peg$savedPos = s0;
|
|
16726
|
-
s1 = peg$
|
|
17125
|
+
s1 = peg$c1495(s1, s2);
|
|
16727
17126
|
s0 = s1;
|
|
16728
17127
|
}
|
|
16729
17128
|
else {
|
|
@@ -16740,7 +17139,7 @@ function peg$parse(input, options) {
|
|
|
16740
17139
|
s1 = peg$parseNonNegNumber();
|
|
16741
17140
|
if (s1 !== peg$FAILED) {
|
|
16742
17141
|
peg$savedPos = s0;
|
|
16743
|
-
s1 = peg$
|
|
17142
|
+
s1 = peg$c1496(s1);
|
|
16744
17143
|
}
|
|
16745
17144
|
s0 = s1;
|
|
16746
17145
|
}
|
|
@@ -16755,14 +17154,14 @@ function peg$parse(input, options) {
|
|
|
16755
17154
|
s1 = null;
|
|
16756
17155
|
}
|
|
16757
17156
|
if (s1 !== peg$FAILED) {
|
|
16758
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
16759
|
-
s2 = peg$
|
|
17157
|
+
if (input.substr(peg$currPos, 12) === peg$c1497) {
|
|
17158
|
+
s2 = peg$c1497;
|
|
16760
17159
|
peg$currPos += 12;
|
|
16761
17160
|
}
|
|
16762
17161
|
else {
|
|
16763
17162
|
s2 = peg$FAILED;
|
|
16764
17163
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16765
|
-
peg$fail(peg$
|
|
17164
|
+
peg$fail(peg$c1498);
|
|
16766
17165
|
}
|
|
16767
17166
|
}
|
|
16768
17167
|
if (s2 !== peg$FAILED) {
|
|
@@ -16817,7 +17216,7 @@ function peg$parse(input, options) {
|
|
|
16817
17216
|
}
|
|
16818
17217
|
if (s9 !== peg$FAILED) {
|
|
16819
17218
|
peg$savedPos = s0;
|
|
16820
|
-
s1 = peg$
|
|
17219
|
+
s1 = peg$c1499(s6);
|
|
16821
17220
|
s0 = s1;
|
|
16822
17221
|
}
|
|
16823
17222
|
else {
|
|
@@ -16918,7 +17317,7 @@ function peg$parse(input, options) {
|
|
|
16918
17317
|
peg$silentFails--;
|
|
16919
17318
|
if (s0 === peg$FAILED) {
|
|
16920
17319
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16921
|
-
peg$fail(peg$
|
|
17320
|
+
peg$fail(peg$c1500);
|
|
16922
17321
|
}
|
|
16923
17322
|
}
|
|
16924
17323
|
return s0;
|
|
@@ -16949,14 +17348,14 @@ function peg$parse(input, options) {
|
|
|
16949
17348
|
s1 = null;
|
|
16950
17349
|
}
|
|
16951
17350
|
if (s1 !== peg$FAILED) {
|
|
16952
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
16953
|
-
s2 = peg$
|
|
17351
|
+
if (input.substr(peg$currPos, 5) === peg$c1501) {
|
|
17352
|
+
s2 = peg$c1501;
|
|
16954
17353
|
peg$currPos += 5;
|
|
16955
17354
|
}
|
|
16956
17355
|
else {
|
|
16957
17356
|
s2 = peg$FAILED;
|
|
16958
17357
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
16959
|
-
peg$fail(peg$
|
|
17358
|
+
peg$fail(peg$c1502);
|
|
16960
17359
|
}
|
|
16961
17360
|
}
|
|
16962
17361
|
if (s2 !== peg$FAILED) {
|
|
@@ -17005,7 +17404,7 @@ function peg$parse(input, options) {
|
|
|
17005
17404
|
}
|
|
17006
17405
|
if (s9 !== peg$FAILED) {
|
|
17007
17406
|
peg$savedPos = s0;
|
|
17008
|
-
s1 = peg$
|
|
17407
|
+
s1 = peg$c1503(s6);
|
|
17009
17408
|
s0 = s1;
|
|
17010
17409
|
}
|
|
17011
17410
|
else {
|
|
@@ -17070,14 +17469,14 @@ function peg$parse(input, options) {
|
|
|
17070
17469
|
s1 = null;
|
|
17071
17470
|
}
|
|
17072
17471
|
if (s1 !== peg$FAILED) {
|
|
17073
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17074
|
-
s2 = peg$
|
|
17472
|
+
if (input.substr(peg$currPos, 5) === peg$c1504) {
|
|
17473
|
+
s2 = peg$c1504;
|
|
17075
17474
|
peg$currPos += 5;
|
|
17076
17475
|
}
|
|
17077
17476
|
else {
|
|
17078
17477
|
s2 = peg$FAILED;
|
|
17079
17478
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17080
|
-
peg$fail(peg$
|
|
17479
|
+
peg$fail(peg$c1505);
|
|
17081
17480
|
}
|
|
17082
17481
|
}
|
|
17083
17482
|
if (s2 !== peg$FAILED) {
|
|
@@ -17132,7 +17531,7 @@ function peg$parse(input, options) {
|
|
|
17132
17531
|
}
|
|
17133
17532
|
if (s9 !== peg$FAILED) {
|
|
17134
17533
|
peg$savedPos = s0;
|
|
17135
|
-
s1 = peg$
|
|
17534
|
+
s1 = peg$c1506(s6);
|
|
17136
17535
|
s0 = s1;
|
|
17137
17536
|
}
|
|
17138
17537
|
else {
|
|
@@ -17197,14 +17596,14 @@ function peg$parse(input, options) {
|
|
|
17197
17596
|
s1 = null;
|
|
17198
17597
|
}
|
|
17199
17598
|
if (s1 !== peg$FAILED) {
|
|
17200
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
17201
|
-
s2 = peg$
|
|
17599
|
+
if (input.substr(peg$currPos, 10) === peg$c1508) {
|
|
17600
|
+
s2 = peg$c1508;
|
|
17202
17601
|
peg$currPos += 10;
|
|
17203
17602
|
}
|
|
17204
17603
|
else {
|
|
17205
17604
|
s2 = peg$FAILED;
|
|
17206
17605
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17207
|
-
peg$fail(peg$
|
|
17606
|
+
peg$fail(peg$c1509);
|
|
17208
17607
|
}
|
|
17209
17608
|
}
|
|
17210
17609
|
if (s2 !== peg$FAILED) {
|
|
@@ -17259,7 +17658,7 @@ function peg$parse(input, options) {
|
|
|
17259
17658
|
}
|
|
17260
17659
|
if (s9 !== peg$FAILED) {
|
|
17261
17660
|
peg$savedPos = s0;
|
|
17262
|
-
s1 = peg$
|
|
17661
|
+
s1 = peg$c1510(s6);
|
|
17263
17662
|
s0 = s1;
|
|
17264
17663
|
}
|
|
17265
17664
|
else {
|
|
@@ -17310,7 +17709,7 @@ function peg$parse(input, options) {
|
|
|
17310
17709
|
if (s0 === peg$FAILED) {
|
|
17311
17710
|
s1 = peg$FAILED;
|
|
17312
17711
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17313
|
-
peg$fail(peg$
|
|
17712
|
+
peg$fail(peg$c1507);
|
|
17314
17713
|
}
|
|
17315
17714
|
}
|
|
17316
17715
|
return s0;
|
|
@@ -17324,14 +17723,14 @@ function peg$parse(input, options) {
|
|
|
17324
17723
|
s1 = null;
|
|
17325
17724
|
}
|
|
17326
17725
|
if (s1 !== peg$FAILED) {
|
|
17327
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
17328
|
-
s2 = peg$
|
|
17726
|
+
if (input.substr(peg$currPos, 16) === peg$c1512) {
|
|
17727
|
+
s2 = peg$c1512;
|
|
17329
17728
|
peg$currPos += 16;
|
|
17330
17729
|
}
|
|
17331
17730
|
else {
|
|
17332
17731
|
s2 = peg$FAILED;
|
|
17333
17732
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17334
|
-
peg$fail(peg$
|
|
17733
|
+
peg$fail(peg$c1513);
|
|
17335
17734
|
}
|
|
17336
17735
|
}
|
|
17337
17736
|
if (s2 !== peg$FAILED) {
|
|
@@ -17386,7 +17785,7 @@ function peg$parse(input, options) {
|
|
|
17386
17785
|
}
|
|
17387
17786
|
if (s9 !== peg$FAILED) {
|
|
17388
17787
|
peg$savedPos = s0;
|
|
17389
|
-
s1 = peg$
|
|
17788
|
+
s1 = peg$c1514(s6);
|
|
17390
17789
|
s0 = s1;
|
|
17391
17790
|
}
|
|
17392
17791
|
else {
|
|
@@ -17437,7 +17836,7 @@ function peg$parse(input, options) {
|
|
|
17437
17836
|
if (s0 === peg$FAILED) {
|
|
17438
17837
|
s1 = peg$FAILED;
|
|
17439
17838
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17440
|
-
peg$fail(peg$
|
|
17839
|
+
peg$fail(peg$c1511);
|
|
17441
17840
|
}
|
|
17442
17841
|
}
|
|
17443
17842
|
return s0;
|
|
@@ -17451,14 +17850,14 @@ function peg$parse(input, options) {
|
|
|
17451
17850
|
s1 = null;
|
|
17452
17851
|
}
|
|
17453
17852
|
if (s1 !== peg$FAILED) {
|
|
17454
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
17455
|
-
s2 = peg$
|
|
17853
|
+
if (input.substr(peg$currPos, 12) === peg$c1516) {
|
|
17854
|
+
s2 = peg$c1516;
|
|
17456
17855
|
peg$currPos += 12;
|
|
17457
17856
|
}
|
|
17458
17857
|
else {
|
|
17459
17858
|
s2 = peg$FAILED;
|
|
17460
17859
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17461
|
-
peg$fail(peg$
|
|
17860
|
+
peg$fail(peg$c1517);
|
|
17462
17861
|
}
|
|
17463
17862
|
}
|
|
17464
17863
|
if (s2 !== peg$FAILED) {
|
|
@@ -17513,7 +17912,7 @@ function peg$parse(input, options) {
|
|
|
17513
17912
|
}
|
|
17514
17913
|
if (s9 !== peg$FAILED) {
|
|
17515
17914
|
peg$savedPos = s0;
|
|
17516
|
-
s1 = peg$
|
|
17915
|
+
s1 = peg$c1518(s6);
|
|
17517
17916
|
s0 = s1;
|
|
17518
17917
|
}
|
|
17519
17918
|
else {
|
|
@@ -17564,7 +17963,7 @@ function peg$parse(input, options) {
|
|
|
17564
17963
|
if (s0 === peg$FAILED) {
|
|
17565
17964
|
s1 = peg$FAILED;
|
|
17566
17965
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17567
|
-
peg$fail(peg$
|
|
17966
|
+
peg$fail(peg$c1515);
|
|
17568
17967
|
}
|
|
17569
17968
|
}
|
|
17570
17969
|
return s0;
|
|
@@ -17578,14 +17977,14 @@ function peg$parse(input, options) {
|
|
|
17578
17977
|
s1 = null;
|
|
17579
17978
|
}
|
|
17580
17979
|
if (s1 !== peg$FAILED) {
|
|
17581
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17582
|
-
s2 = peg$
|
|
17980
|
+
if (input.substr(peg$currPos, 5) === peg$c1520) {
|
|
17981
|
+
s2 = peg$c1520;
|
|
17583
17982
|
peg$currPos += 5;
|
|
17584
17983
|
}
|
|
17585
17984
|
else {
|
|
17586
17985
|
s2 = peg$FAILED;
|
|
17587
17986
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17588
|
-
peg$fail(peg$
|
|
17987
|
+
peg$fail(peg$c1521);
|
|
17589
17988
|
}
|
|
17590
17989
|
}
|
|
17591
17990
|
if (s2 !== peg$FAILED) {
|
|
@@ -17634,7 +18033,7 @@ function peg$parse(input, options) {
|
|
|
17634
18033
|
}
|
|
17635
18034
|
if (s9 !== peg$FAILED) {
|
|
17636
18035
|
peg$savedPos = s0;
|
|
17637
|
-
s1 = peg$
|
|
18036
|
+
s1 = peg$c1522(s6);
|
|
17638
18037
|
s0 = s1;
|
|
17639
18038
|
}
|
|
17640
18039
|
else {
|
|
@@ -17685,7 +18084,7 @@ function peg$parse(input, options) {
|
|
|
17685
18084
|
if (s0 === peg$FAILED) {
|
|
17686
18085
|
s1 = peg$FAILED;
|
|
17687
18086
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17688
|
-
peg$fail(peg$
|
|
18087
|
+
peg$fail(peg$c1519);
|
|
17689
18088
|
}
|
|
17690
18089
|
}
|
|
17691
18090
|
return s0;
|
|
@@ -17699,14 +18098,14 @@ function peg$parse(input, options) {
|
|
|
17699
18098
|
s1 = null;
|
|
17700
18099
|
}
|
|
17701
18100
|
if (s1 !== peg$FAILED) {
|
|
17702
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
17703
|
-
s2 = peg$
|
|
18101
|
+
if (input.substr(peg$currPos, 7) === peg$c1524) {
|
|
18102
|
+
s2 = peg$c1524;
|
|
17704
18103
|
peg$currPos += 7;
|
|
17705
18104
|
}
|
|
17706
18105
|
else {
|
|
17707
18106
|
s2 = peg$FAILED;
|
|
17708
18107
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17709
|
-
peg$fail(peg$
|
|
18108
|
+
peg$fail(peg$c1525);
|
|
17710
18109
|
}
|
|
17711
18110
|
}
|
|
17712
18111
|
if (s2 !== peg$FAILED) {
|
|
@@ -17755,7 +18154,7 @@ function peg$parse(input, options) {
|
|
|
17755
18154
|
}
|
|
17756
18155
|
if (s9 !== peg$FAILED) {
|
|
17757
18156
|
peg$savedPos = s0;
|
|
17758
|
-
s1 = peg$
|
|
18157
|
+
s1 = peg$c1526(s6);
|
|
17759
18158
|
s0 = s1;
|
|
17760
18159
|
}
|
|
17761
18160
|
else {
|
|
@@ -17806,7 +18205,7 @@ function peg$parse(input, options) {
|
|
|
17806
18205
|
if (s0 === peg$FAILED) {
|
|
17807
18206
|
s1 = peg$FAILED;
|
|
17808
18207
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17809
|
-
peg$fail(peg$
|
|
18208
|
+
peg$fail(peg$c1523);
|
|
17810
18209
|
}
|
|
17811
18210
|
}
|
|
17812
18211
|
return s0;
|
|
@@ -17876,7 +18275,7 @@ function peg$parse(input, options) {
|
|
|
17876
18275
|
}
|
|
17877
18276
|
if (s9 !== peg$FAILED) {
|
|
17878
18277
|
peg$savedPos = s0;
|
|
17879
|
-
s1 = peg$
|
|
18278
|
+
s1 = peg$c1528(s6);
|
|
17880
18279
|
s0 = s1;
|
|
17881
18280
|
}
|
|
17882
18281
|
else {
|
|
@@ -17930,14 +18329,14 @@ function peg$parse(input, options) {
|
|
|
17930
18329
|
s1 = null;
|
|
17931
18330
|
}
|
|
17932
18331
|
if (s1 !== peg$FAILED) {
|
|
17933
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
17934
|
-
s2 = peg$
|
|
18332
|
+
if (input.substr(peg$currPos, 9) === peg$c1529) {
|
|
18333
|
+
s2 = peg$c1529;
|
|
17935
18334
|
peg$currPos += 9;
|
|
17936
18335
|
}
|
|
17937
18336
|
else {
|
|
17938
18337
|
s2 = peg$FAILED;
|
|
17939
18338
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
17940
|
-
peg$fail(peg$
|
|
18339
|
+
peg$fail(peg$c1530);
|
|
17941
18340
|
}
|
|
17942
18341
|
}
|
|
17943
18342
|
if (s2 !== peg$FAILED) {
|
|
@@ -17986,7 +18385,7 @@ function peg$parse(input, options) {
|
|
|
17986
18385
|
}
|
|
17987
18386
|
if (s9 !== peg$FAILED) {
|
|
17988
18387
|
peg$savedPos = s0;
|
|
17989
|
-
s1 = peg$
|
|
18388
|
+
s1 = peg$c1528(s6);
|
|
17990
18389
|
s0 = s1;
|
|
17991
18390
|
}
|
|
17992
18391
|
else {
|
|
@@ -18038,7 +18437,7 @@ function peg$parse(input, options) {
|
|
|
18038
18437
|
if (s0 === peg$FAILED) {
|
|
18039
18438
|
s1 = peg$FAILED;
|
|
18040
18439
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18041
|
-
peg$fail(peg$
|
|
18440
|
+
peg$fail(peg$c1527);
|
|
18042
18441
|
}
|
|
18043
18442
|
}
|
|
18044
18443
|
return s0;
|
|
@@ -18052,14 +18451,14 @@ function peg$parse(input, options) {
|
|
|
18052
18451
|
s1 = null;
|
|
18053
18452
|
}
|
|
18054
18453
|
if (s1 !== peg$FAILED) {
|
|
18055
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
18056
|
-
s2 = peg$
|
|
18454
|
+
if (input.substr(peg$currPos, 5) === peg$c1532) {
|
|
18455
|
+
s2 = peg$c1532;
|
|
18057
18456
|
peg$currPos += 5;
|
|
18058
18457
|
}
|
|
18059
18458
|
else {
|
|
18060
18459
|
s2 = peg$FAILED;
|
|
18061
18460
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18062
|
-
peg$fail(peg$
|
|
18461
|
+
peg$fail(peg$c1533);
|
|
18063
18462
|
}
|
|
18064
18463
|
}
|
|
18065
18464
|
if (s2 !== peg$FAILED) {
|
|
@@ -18108,7 +18507,7 @@ function peg$parse(input, options) {
|
|
|
18108
18507
|
}
|
|
18109
18508
|
if (s9 !== peg$FAILED) {
|
|
18110
18509
|
peg$savedPos = s0;
|
|
18111
|
-
s1 = peg$
|
|
18510
|
+
s1 = peg$c1534(s6);
|
|
18112
18511
|
s0 = s1;
|
|
18113
18512
|
}
|
|
18114
18513
|
else {
|
|
@@ -18159,7 +18558,7 @@ function peg$parse(input, options) {
|
|
|
18159
18558
|
if (s0 === peg$FAILED) {
|
|
18160
18559
|
s1 = peg$FAILED;
|
|
18161
18560
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18162
|
-
peg$fail(peg$
|
|
18561
|
+
peg$fail(peg$c1531);
|
|
18163
18562
|
}
|
|
18164
18563
|
}
|
|
18165
18564
|
return s0;
|
|
@@ -18173,14 +18572,14 @@ function peg$parse(input, options) {
|
|
|
18173
18572
|
s1 = null;
|
|
18174
18573
|
}
|
|
18175
18574
|
if (s1 !== peg$FAILED) {
|
|
18176
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18177
|
-
s2 = peg$
|
|
18575
|
+
if (input.substr(peg$currPos, 3) === peg$c1536) {
|
|
18576
|
+
s2 = peg$c1536;
|
|
18178
18577
|
peg$currPos += 3;
|
|
18179
18578
|
}
|
|
18180
18579
|
else {
|
|
18181
18580
|
s2 = peg$FAILED;
|
|
18182
18581
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18183
|
-
peg$fail(peg$
|
|
18582
|
+
peg$fail(peg$c1537);
|
|
18184
18583
|
}
|
|
18185
18584
|
}
|
|
18186
18585
|
if (s2 !== peg$FAILED) {
|
|
@@ -18229,7 +18628,7 @@ function peg$parse(input, options) {
|
|
|
18229
18628
|
}
|
|
18230
18629
|
if (s9 !== peg$FAILED) {
|
|
18231
18630
|
peg$savedPos = s0;
|
|
18232
|
-
s1 = peg$
|
|
18631
|
+
s1 = peg$c1538(s6);
|
|
18233
18632
|
s0 = s1;
|
|
18234
18633
|
}
|
|
18235
18634
|
else {
|
|
@@ -18280,7 +18679,7 @@ function peg$parse(input, options) {
|
|
|
18280
18679
|
if (s0 === peg$FAILED) {
|
|
18281
18680
|
s1 = peg$FAILED;
|
|
18282
18681
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18283
|
-
peg$fail(peg$
|
|
18682
|
+
peg$fail(peg$c1535);
|
|
18284
18683
|
}
|
|
18285
18684
|
}
|
|
18286
18685
|
return s0;
|
|
@@ -18294,14 +18693,14 @@ function peg$parse(input, options) {
|
|
|
18294
18693
|
s1 = null;
|
|
18295
18694
|
}
|
|
18296
18695
|
if (s1 !== peg$FAILED) {
|
|
18297
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18298
|
-
s2 = peg$
|
|
18696
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
18697
|
+
s2 = peg$c1540;
|
|
18299
18698
|
peg$currPos += 8;
|
|
18300
18699
|
}
|
|
18301
18700
|
else {
|
|
18302
18701
|
s2 = peg$FAILED;
|
|
18303
18702
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18304
|
-
peg$fail(peg$
|
|
18703
|
+
peg$fail(peg$c1541);
|
|
18305
18704
|
}
|
|
18306
18705
|
}
|
|
18307
18706
|
if (s2 !== peg$FAILED) {
|
|
@@ -18354,7 +18753,7 @@ function peg$parse(input, options) {
|
|
|
18354
18753
|
}
|
|
18355
18754
|
if (s11 !== peg$FAILED) {
|
|
18356
18755
|
peg$savedPos = s0;
|
|
18357
|
-
s1 = peg$
|
|
18756
|
+
s1 = peg$c1542(s6, s8);
|
|
18358
18757
|
s0 = s1;
|
|
18359
18758
|
}
|
|
18360
18759
|
else {
|
|
@@ -18418,14 +18817,14 @@ function peg$parse(input, options) {
|
|
|
18418
18817
|
s1 = null;
|
|
18419
18818
|
}
|
|
18420
18819
|
if (s1 !== peg$FAILED) {
|
|
18421
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18422
|
-
s2 = peg$
|
|
18820
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
18821
|
+
s2 = peg$c1540;
|
|
18423
18822
|
peg$currPos += 8;
|
|
18424
18823
|
}
|
|
18425
18824
|
else {
|
|
18426
18825
|
s2 = peg$FAILED;
|
|
18427
18826
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18428
|
-
peg$fail(peg$
|
|
18827
|
+
peg$fail(peg$c1541);
|
|
18429
18828
|
}
|
|
18430
18829
|
}
|
|
18431
18830
|
if (s2 !== peg$FAILED) {
|
|
@@ -18458,14 +18857,14 @@ function peg$parse(input, options) {
|
|
|
18458
18857
|
if (s8 !== peg$FAILED) {
|
|
18459
18858
|
s9 = peg$parseWS();
|
|
18460
18859
|
if (s9 !== peg$FAILED) {
|
|
18461
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18462
|
-
s10 = peg$
|
|
18860
|
+
if (input.substr(peg$currPos, 8) === peg$c1543) {
|
|
18861
|
+
s10 = peg$c1543;
|
|
18463
18862
|
peg$currPos += 8;
|
|
18464
18863
|
}
|
|
18465
18864
|
else {
|
|
18466
18865
|
s10 = peg$FAILED;
|
|
18467
18866
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18468
|
-
peg$fail(peg$
|
|
18867
|
+
peg$fail(peg$c1544);
|
|
18469
18868
|
}
|
|
18470
18869
|
}
|
|
18471
18870
|
if (s10 !== peg$FAILED) {
|
|
@@ -18491,7 +18890,7 @@ function peg$parse(input, options) {
|
|
|
18491
18890
|
}
|
|
18492
18891
|
if (s13 !== peg$FAILED) {
|
|
18493
18892
|
peg$savedPos = s0;
|
|
18494
|
-
s1 = peg$
|
|
18893
|
+
s1 = peg$c1545(s6, s8);
|
|
18495
18894
|
s0 = s1;
|
|
18496
18895
|
}
|
|
18497
18896
|
else {
|
|
@@ -18563,7 +18962,7 @@ function peg$parse(input, options) {
|
|
|
18563
18962
|
if (s0 === peg$FAILED) {
|
|
18564
18963
|
s1 = peg$FAILED;
|
|
18565
18964
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
18566
|
-
peg$fail(peg$
|
|
18965
|
+
peg$fail(peg$c1539);
|
|
18567
18966
|
}
|
|
18568
18967
|
}
|
|
18569
18968
|
return s0;
|
|
@@ -18700,7 +19099,7 @@ function peg$parse(input, options) {
|
|
|
18700
19099
|
s5 = peg$parseGroupRef();
|
|
18701
19100
|
if (s5 !== peg$FAILED) {
|
|
18702
19101
|
peg$savedPos = s4;
|
|
18703
|
-
s5 = peg$
|
|
19102
|
+
s5 = peg$c1546(s5);
|
|
18704
19103
|
}
|
|
18705
19104
|
s4 = s5;
|
|
18706
19105
|
if (s4 !== peg$FAILED) {
|
|
@@ -18749,7 +19148,7 @@ function peg$parse(input, options) {
|
|
|
18749
19148
|
}
|
|
18750
19149
|
if (s11 !== peg$FAILED) {
|
|
18751
19150
|
peg$savedPos = s0;
|
|
18752
|
-
s1 = peg$
|
|
19151
|
+
s1 = peg$c1547(s4, s8);
|
|
18753
19152
|
s0 = s1;
|
|
18754
19153
|
}
|
|
18755
19154
|
else {
|
|
@@ -18830,7 +19229,7 @@ function peg$parse(input, options) {
|
|
|
18830
19229
|
s5 = peg$parseLabel();
|
|
18831
19230
|
if (s5 !== peg$FAILED) {
|
|
18832
19231
|
peg$savedPos = s4;
|
|
18833
|
-
s5 = peg$
|
|
19232
|
+
s5 = peg$c1546(s5);
|
|
18834
19233
|
}
|
|
18835
19234
|
s4 = s5;
|
|
18836
19235
|
if (s4 !== peg$FAILED) {
|
|
@@ -18879,7 +19278,7 @@ function peg$parse(input, options) {
|
|
|
18879
19278
|
}
|
|
18880
19279
|
if (s11 !== peg$FAILED) {
|
|
18881
19280
|
peg$savedPos = s0;
|
|
18882
|
-
s1 = peg$
|
|
19281
|
+
s1 = peg$c1547(s4, s8);
|
|
18883
19282
|
s0 = s1;
|
|
18884
19283
|
}
|
|
18885
19284
|
else {
|
|
@@ -19010,7 +19409,7 @@ function peg$parse(input, options) {
|
|
|
19010
19409
|
}
|
|
19011
19410
|
if (s11 !== peg$FAILED) {
|
|
19012
19411
|
peg$savedPos = s0;
|
|
19013
|
-
s1 = peg$
|
|
19412
|
+
s1 = peg$c1548(s4, s8);
|
|
19014
19413
|
s0 = s1;
|
|
19015
19414
|
}
|
|
19016
19415
|
else {
|
|
@@ -19137,7 +19536,7 @@ function peg$parse(input, options) {
|
|
|
19137
19536
|
}
|
|
19138
19537
|
if (s11 !== peg$FAILED) {
|
|
19139
19538
|
peg$savedPos = s0;
|
|
19140
|
-
s1 = peg$
|
|
19539
|
+
s1 = peg$c1548(s4, s8);
|
|
19141
19540
|
s0 = s1;
|
|
19142
19541
|
}
|
|
19143
19542
|
else {
|
|
@@ -19200,32 +19599,32 @@ function peg$parse(input, options) {
|
|
|
19200
19599
|
function peg$parseHookEvent() {
|
|
19201
19600
|
var s0;
|
|
19202
19601
|
peg$silentFails++;
|
|
19203
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
19204
|
-
s0 = peg$
|
|
19602
|
+
if (input.substr(peg$currPos, 5) === peg$c1550) {
|
|
19603
|
+
s0 = peg$c1550;
|
|
19205
19604
|
peg$currPos += 5;
|
|
19206
19605
|
}
|
|
19207
19606
|
else {
|
|
19208
19607
|
s0 = peg$FAILED;
|
|
19209
19608
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19210
|
-
peg$fail(peg$
|
|
19609
|
+
peg$fail(peg$c1551);
|
|
19211
19610
|
}
|
|
19212
19611
|
}
|
|
19213
19612
|
if (s0 === peg$FAILED) {
|
|
19214
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
19215
|
-
s0 = peg$
|
|
19613
|
+
if (input.substr(peg$currPos, 4) === peg$c1552) {
|
|
19614
|
+
s0 = peg$c1552;
|
|
19216
19615
|
peg$currPos += 4;
|
|
19217
19616
|
}
|
|
19218
19617
|
else {
|
|
19219
19618
|
s0 = peg$FAILED;
|
|
19220
19619
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19221
|
-
peg$fail(peg$
|
|
19620
|
+
peg$fail(peg$c1553);
|
|
19222
19621
|
}
|
|
19223
19622
|
}
|
|
19224
19623
|
}
|
|
19225
19624
|
peg$silentFails--;
|
|
19226
19625
|
if (s0 === peg$FAILED) {
|
|
19227
19626
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19228
|
-
peg$fail(peg$
|
|
19627
|
+
peg$fail(peg$c1549);
|
|
19229
19628
|
}
|
|
19230
19629
|
}
|
|
19231
19630
|
return s0;
|
|
@@ -19239,14 +19638,14 @@ function peg$parse(input, options) {
|
|
|
19239
19638
|
s1 = null;
|
|
19240
19639
|
}
|
|
19241
19640
|
if (s1 !== peg$FAILED) {
|
|
19242
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
19243
|
-
s2 = peg$
|
|
19641
|
+
if (input.substr(peg$currPos, 2) === peg$c1555) {
|
|
19642
|
+
s2 = peg$c1555;
|
|
19244
19643
|
peg$currPos += 2;
|
|
19245
19644
|
}
|
|
19246
19645
|
else {
|
|
19247
19646
|
s2 = peg$FAILED;
|
|
19248
19647
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19249
|
-
peg$fail(peg$
|
|
19648
|
+
peg$fail(peg$c1556);
|
|
19250
19649
|
}
|
|
19251
19650
|
}
|
|
19252
19651
|
if (s2 !== peg$FAILED) {
|
|
@@ -19263,14 +19662,14 @@ function peg$parse(input, options) {
|
|
|
19263
19662
|
if (s6 !== peg$FAILED) {
|
|
19264
19663
|
s7 = peg$parseWS();
|
|
19265
19664
|
if (s7 !== peg$FAILED) {
|
|
19266
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
19267
|
-
s8 = peg$
|
|
19665
|
+
if (input.substr(peg$currPos, 2) === peg$c1557) {
|
|
19666
|
+
s8 = peg$c1557;
|
|
19268
19667
|
peg$currPos += 2;
|
|
19269
19668
|
}
|
|
19270
19669
|
else {
|
|
19271
19670
|
s8 = peg$FAILED;
|
|
19272
19671
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19273
|
-
peg$fail(peg$
|
|
19672
|
+
peg$fail(peg$c1558);
|
|
19274
19673
|
}
|
|
19275
19674
|
}
|
|
19276
19675
|
if (s8 !== peg$FAILED) {
|
|
@@ -19300,7 +19699,7 @@ function peg$parse(input, options) {
|
|
|
19300
19699
|
}
|
|
19301
19700
|
if (s13 !== peg$FAILED) {
|
|
19302
19701
|
peg$savedPos = s0;
|
|
19303
|
-
s1 = peg$
|
|
19702
|
+
s1 = peg$c1559(s4, s6, s10);
|
|
19304
19703
|
s0 = s1;
|
|
19305
19704
|
}
|
|
19306
19705
|
else {
|
|
@@ -19371,7 +19770,7 @@ function peg$parse(input, options) {
|
|
|
19371
19770
|
if (s0 === peg$FAILED) {
|
|
19372
19771
|
s1 = peg$FAILED;
|
|
19373
19772
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19374
|
-
peg$fail(peg$
|
|
19773
|
+
peg$fail(peg$c1554);
|
|
19375
19774
|
}
|
|
19376
19775
|
}
|
|
19377
19776
|
return s0;
|
|
@@ -19384,14 +19783,14 @@ function peg$parse(input, options) {
|
|
|
19384
19783
|
s1 = null;
|
|
19385
19784
|
}
|
|
19386
19785
|
if (s1 !== peg$FAILED) {
|
|
19387
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19388
|
-
s2 = peg$
|
|
19786
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
19787
|
+
s2 = peg$c1540;
|
|
19389
19788
|
peg$currPos += 8;
|
|
19390
19789
|
}
|
|
19391
19790
|
else {
|
|
19392
19791
|
s2 = peg$FAILED;
|
|
19393
19792
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19394
|
-
peg$fail(peg$
|
|
19793
|
+
peg$fail(peg$c1541);
|
|
19395
19794
|
}
|
|
19396
19795
|
}
|
|
19397
19796
|
if (s2 !== peg$FAILED) {
|
|
@@ -19418,14 +19817,14 @@ function peg$parse(input, options) {
|
|
|
19418
19817
|
if (s8 !== peg$FAILED) {
|
|
19419
19818
|
s9 = peg$parseWS();
|
|
19420
19819
|
if (s9 !== peg$FAILED) {
|
|
19421
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19422
|
-
s10 = peg$
|
|
19820
|
+
if (input.substr(peg$currPos, 8) === peg$c1543) {
|
|
19821
|
+
s10 = peg$c1543;
|
|
19423
19822
|
peg$currPos += 8;
|
|
19424
19823
|
}
|
|
19425
19824
|
else {
|
|
19426
19825
|
s10 = peg$FAILED;
|
|
19427
19826
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19428
|
-
peg$fail(peg$
|
|
19827
|
+
peg$fail(peg$c1544);
|
|
19429
19828
|
}
|
|
19430
19829
|
}
|
|
19431
19830
|
if (s10 !== peg$FAILED) {
|
|
@@ -19451,7 +19850,7 @@ function peg$parse(input, options) {
|
|
|
19451
19850
|
}
|
|
19452
19851
|
if (s13 !== peg$FAILED) {
|
|
19453
19852
|
peg$savedPos = s0;
|
|
19454
|
-
s1 = peg$
|
|
19853
|
+
s1 = peg$c1560(s4, s8);
|
|
19455
19854
|
s0 = s1;
|
|
19456
19855
|
}
|
|
19457
19856
|
else {
|
|
@@ -19525,14 +19924,14 @@ function peg$parse(input, options) {
|
|
|
19525
19924
|
s1 = null;
|
|
19526
19925
|
}
|
|
19527
19926
|
if (s1 !== peg$FAILED) {
|
|
19528
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19529
|
-
s2 = peg$
|
|
19927
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
19928
|
+
s2 = peg$c1540;
|
|
19530
19929
|
peg$currPos += 8;
|
|
19531
19930
|
}
|
|
19532
19931
|
else {
|
|
19533
19932
|
s2 = peg$FAILED;
|
|
19534
19933
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19535
|
-
peg$fail(peg$
|
|
19934
|
+
peg$fail(peg$c1541);
|
|
19536
19935
|
}
|
|
19537
19936
|
}
|
|
19538
19937
|
if (s2 !== peg$FAILED) {
|
|
@@ -19542,14 +19941,14 @@ function peg$parse(input, options) {
|
|
|
19542
19941
|
if (s4 !== peg$FAILED) {
|
|
19543
19942
|
s5 = peg$parseWS();
|
|
19544
19943
|
if (s5 !== peg$FAILED) {
|
|
19545
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19546
|
-
s6 = peg$
|
|
19944
|
+
if (input.substr(peg$currPos, 8) === peg$c1543) {
|
|
19945
|
+
s6 = peg$c1543;
|
|
19547
19946
|
peg$currPos += 8;
|
|
19548
19947
|
}
|
|
19549
19948
|
else {
|
|
19550
19949
|
s6 = peg$FAILED;
|
|
19551
19950
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19552
|
-
peg$fail(peg$
|
|
19951
|
+
peg$fail(peg$c1544);
|
|
19553
19952
|
}
|
|
19554
19953
|
}
|
|
19555
19954
|
if (s6 !== peg$FAILED) {
|
|
@@ -19575,7 +19974,7 @@ function peg$parse(input, options) {
|
|
|
19575
19974
|
}
|
|
19576
19975
|
if (s9 !== peg$FAILED) {
|
|
19577
19976
|
peg$savedPos = s0;
|
|
19578
|
-
s1 = peg$
|
|
19977
|
+
s1 = peg$c1561(s4);
|
|
19579
19978
|
s0 = s1;
|
|
19580
19979
|
}
|
|
19581
19980
|
else {
|
|
@@ -19629,14 +20028,14 @@ function peg$parse(input, options) {
|
|
|
19629
20028
|
s1 = null;
|
|
19630
20029
|
}
|
|
19631
20030
|
if (s1 !== peg$FAILED) {
|
|
19632
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19633
|
-
s2 = peg$
|
|
20031
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
20032
|
+
s2 = peg$c1540;
|
|
19634
20033
|
peg$currPos += 8;
|
|
19635
20034
|
}
|
|
19636
20035
|
else {
|
|
19637
20036
|
s2 = peg$FAILED;
|
|
19638
20037
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19639
|
-
peg$fail(peg$
|
|
20038
|
+
peg$fail(peg$c1541);
|
|
19640
20039
|
}
|
|
19641
20040
|
}
|
|
19642
20041
|
if (s2 !== peg$FAILED) {
|
|
@@ -19683,7 +20082,7 @@ function peg$parse(input, options) {
|
|
|
19683
20082
|
}
|
|
19684
20083
|
if (s11 !== peg$FAILED) {
|
|
19685
20084
|
peg$savedPos = s0;
|
|
19686
|
-
s1 = peg$
|
|
20085
|
+
s1 = peg$c1562(s4, s8);
|
|
19687
20086
|
s0 = s1;
|
|
19688
20087
|
}
|
|
19689
20088
|
else {
|
|
@@ -19747,14 +20146,14 @@ function peg$parse(input, options) {
|
|
|
19747
20146
|
s1 = null;
|
|
19748
20147
|
}
|
|
19749
20148
|
if (s1 !== peg$FAILED) {
|
|
19750
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19751
|
-
s2 = peg$
|
|
20149
|
+
if (input.substr(peg$currPos, 8) === peg$c1540) {
|
|
20150
|
+
s2 = peg$c1540;
|
|
19752
20151
|
peg$currPos += 8;
|
|
19753
20152
|
}
|
|
19754
20153
|
else {
|
|
19755
20154
|
s2 = peg$FAILED;
|
|
19756
20155
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19757
|
-
peg$fail(peg$
|
|
20156
|
+
peg$fail(peg$c1541);
|
|
19758
20157
|
}
|
|
19759
20158
|
}
|
|
19760
20159
|
if (s2 !== peg$FAILED) {
|
|
@@ -19784,7 +20183,7 @@ function peg$parse(input, options) {
|
|
|
19784
20183
|
}
|
|
19785
20184
|
if (s7 !== peg$FAILED) {
|
|
19786
20185
|
peg$savedPos = s0;
|
|
19787
|
-
s1 = peg$
|
|
20186
|
+
s1 = peg$c1563(s4);
|
|
19788
20187
|
s0 = s1;
|
|
19789
20188
|
}
|
|
19790
20189
|
else {
|
|
@@ -19829,14 +20228,14 @@ function peg$parse(input, options) {
|
|
|
19829
20228
|
function peg$parseRegularArrangeDeclaration() {
|
|
19830
20229
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19831
20230
|
s0 = peg$currPos;
|
|
19832
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
19833
|
-
s1 = peg$
|
|
20231
|
+
if (input.substr(peg$currPos, 7) === peg$c1564) {
|
|
20232
|
+
s1 = peg$c1564;
|
|
19834
20233
|
peg$currPos += 7;
|
|
19835
20234
|
}
|
|
19836
20235
|
else {
|
|
19837
20236
|
s1 = peg$FAILED;
|
|
19838
20237
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19839
|
-
peg$fail(peg$
|
|
20238
|
+
peg$fail(peg$c1565);
|
|
19840
20239
|
}
|
|
19841
20240
|
}
|
|
19842
20241
|
if (s1 !== peg$FAILED) {
|
|
@@ -19869,7 +20268,7 @@ function peg$parse(input, options) {
|
|
|
19869
20268
|
}
|
|
19870
20269
|
if (s6 !== peg$FAILED) {
|
|
19871
20270
|
peg$savedPos = s0;
|
|
19872
|
-
s1 = peg$
|
|
20271
|
+
s1 = peg$c1566(s3);
|
|
19873
20272
|
s0 = s1;
|
|
19874
20273
|
}
|
|
19875
20274
|
else {
|
|
@@ -19906,14 +20305,14 @@ function peg$parse(input, options) {
|
|
|
19906
20305
|
function peg$parseArrangeStartDeclaration() {
|
|
19907
20306
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19908
20307
|
s0 = peg$currPos;
|
|
19909
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
19910
|
-
s1 = peg$
|
|
20308
|
+
if (input.substr(peg$currPos, 13) === peg$c1567) {
|
|
20309
|
+
s1 = peg$c1567;
|
|
19911
20310
|
peg$currPos += 13;
|
|
19912
20311
|
}
|
|
19913
20312
|
else {
|
|
19914
20313
|
s1 = peg$FAILED;
|
|
19915
20314
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19916
|
-
peg$fail(peg$
|
|
20315
|
+
peg$fail(peg$c1568);
|
|
19917
20316
|
}
|
|
19918
20317
|
}
|
|
19919
20318
|
if (s1 !== peg$FAILED) {
|
|
@@ -19946,7 +20345,7 @@ function peg$parse(input, options) {
|
|
|
19946
20345
|
}
|
|
19947
20346
|
if (s6 !== peg$FAILED) {
|
|
19948
20347
|
peg$savedPos = s0;
|
|
19949
|
-
s1 = peg$
|
|
20348
|
+
s1 = peg$c1569(s3);
|
|
19950
20349
|
s0 = s1;
|
|
19951
20350
|
}
|
|
19952
20351
|
else {
|
|
@@ -19983,14 +20382,14 @@ function peg$parse(input, options) {
|
|
|
19983
20382
|
function peg$parseArrangeEndDeclaration() {
|
|
19984
20383
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19985
20384
|
s0 = peg$currPos;
|
|
19986
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
19987
|
-
s1 = peg$
|
|
20385
|
+
if (input.substr(peg$currPos, 11) === peg$c1570) {
|
|
20386
|
+
s1 = peg$c1570;
|
|
19988
20387
|
peg$currPos += 11;
|
|
19989
20388
|
}
|
|
19990
20389
|
else {
|
|
19991
20390
|
s1 = peg$FAILED;
|
|
19992
20391
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
19993
|
-
peg$fail(peg$
|
|
20392
|
+
peg$fail(peg$c1571);
|
|
19994
20393
|
}
|
|
19995
20394
|
}
|
|
19996
20395
|
if (s1 !== peg$FAILED) {
|
|
@@ -20023,7 +20422,7 @@ function peg$parse(input, options) {
|
|
|
20023
20422
|
}
|
|
20024
20423
|
if (s6 !== peg$FAILED) {
|
|
20025
20424
|
peg$savedPos = s0;
|
|
20026
|
-
s1 = peg$
|
|
20425
|
+
s1 = peg$c1572(s3);
|
|
20027
20426
|
s0 = s1;
|
|
20028
20427
|
}
|
|
20029
20428
|
else {
|
|
@@ -20070,7 +20469,7 @@ function peg$parse(input, options) {
|
|
|
20070
20469
|
peg$silentFails--;
|
|
20071
20470
|
if (s0 === peg$FAILED) {
|
|
20072
20471
|
if (peg$silentFails === 0 && peg$currPos >= peg$maxFailPos) {
|
|
20073
|
-
peg$fail(peg$
|
|
20472
|
+
peg$fail(peg$c1573);
|
|
20074
20473
|
}
|
|
20075
20474
|
}
|
|
20076
20475
|
return s0;
|
|
@@ -21983,7 +22382,7 @@ function compile_rule_handler(rule) {
|
|
|
21983
22382
|
'allow_islands', 'default_state_config', 'default_transition_config', 'default_graph_config',
|
|
21984
22383
|
'default_start_state_config', 'default_end_state_config',
|
|
21985
22384
|
'default_hooked_state_config', 'default_active_state_config',
|
|
21986
|
-
'default_terminal_state_config', 'npm_name', 'default_size'
|
|
22385
|
+
'default_terminal_state_config', 'npm_name', 'default_size', 'editor_config'
|
|
21987
22386
|
];
|
|
21988
22387
|
if (tautologies.includes(rule.key)) {
|
|
21989
22388
|
return { agg_as: rule.key, val: rule.value };
|
|
@@ -22190,7 +22589,8 @@ function compile(tree) {
|
|
|
22190
22589
|
group_metadata: [],
|
|
22191
22590
|
hook_decl: [],
|
|
22192
22591
|
allows_override: [],
|
|
22193
|
-
allow_islands: []
|
|
22592
|
+
allow_islands: [],
|
|
22593
|
+
editor_config: []
|
|
22194
22594
|
};
|
|
22195
22595
|
// Build the ordered group registry, reject membership cycles and undeclared
|
|
22196
22596
|
// sub-group members, then resolve/rewrite group references — group targets
|
|
@@ -22320,6 +22720,21 @@ function compile(tree) {
|
|
|
22320
22720
|
if (!result_cfg.default_graph_config.length) {
|
|
22321
22721
|
delete result_cfg.default_graph_config;
|
|
22322
22722
|
}
|
|
22723
|
+
// Fold the `editor: {}` block's flat items into one object the web control
|
|
22724
|
+
// reads (fsl#1334). The grammar only emits the two whitelisted keys, so the
|
|
22725
|
+
// `else` is `panels`.
|
|
22726
|
+
if (results.editor_config.length) {
|
|
22727
|
+
const ec = {};
|
|
22728
|
+
for (const item of results.editor_config) {
|
|
22729
|
+
if (item.key === 'stochastic_run_count') {
|
|
22730
|
+
ec.stochastic_run_count = item.value;
|
|
22731
|
+
}
|
|
22732
|
+
else {
|
|
22733
|
+
ec.panels = item.value;
|
|
22734
|
+
}
|
|
22735
|
+
}
|
|
22736
|
+
result_cfg.editor_config = ec;
|
|
22737
|
+
}
|
|
22323
22738
|
// re-walk state declarations, already wrapped up, to get state properties,
|
|
22324
22739
|
// which go out in a different datastructure
|
|
22325
22740
|
results.state_declaration.forEach(sd => {
|
|
@@ -22956,7 +23371,7 @@ var constants = /*#__PURE__*/Object.freeze({
|
|
|
22956
23371
|
* Useful for runtime diagnostics and for embedding in serialized machine
|
|
22957
23372
|
* snapshots so that deserializers can detect version-skew.
|
|
22958
23373
|
*/
|
|
22959
|
-
const version = "5.
|
|
23374
|
+
const version = "5.150.0";
|
|
22960
23375
|
|
|
22961
23376
|
// whargarbl lots of these return arrays could/should be sets
|
|
22962
23377
|
const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
|
|
@@ -23273,7 +23688,7 @@ function find_connected_components(states, edges) {
|
|
|
23273
23688
|
}
|
|
23274
23689
|
class Machine {
|
|
23275
23690
|
// whargarbl this badly needs to be broken up, monolith master
|
|
23276
|
-
constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, rng_seed, time_source, timeout_source, clear_timeout_source }) {
|
|
23691
|
+
constructor({ start_states, end_states = [], failed_outputs = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }) {
|
|
23277
23692
|
this._time_source = time_source !== null && time_source !== void 0 ? time_source : (() => new Date().getTime());
|
|
23278
23693
|
this._create_started = this._time_source();
|
|
23279
23694
|
this._instance_name = instance_name;
|
|
@@ -23346,6 +23761,7 @@ class Machine {
|
|
|
23346
23761
|
this._code_allows_override = allows_override;
|
|
23347
23762
|
this._config_allows_override = config_allows_override;
|
|
23348
23763
|
this._allow_islands = allow_islands !== null && allow_islands !== void 0 ? allow_islands : true;
|
|
23764
|
+
this._editor_config = editor_config;
|
|
23349
23765
|
if ((allows_override === false) && (config_allows_override === true)) {
|
|
23350
23766
|
throw new JssmError(undefined, "Code specifies no override, but config tries to permit; config may not be less strict than code");
|
|
23351
23767
|
}
|
|
@@ -24251,6 +24667,19 @@ class Machine {
|
|
|
24251
24667
|
machine_name() {
|
|
24252
24668
|
return this._machine_name;
|
|
24253
24669
|
}
|
|
24670
|
+
/** The editor/panel defaults declared in the FSL `editor: {}` block, or
|
|
24671
|
+
* `undefined` when none was given. Read by the all-widgets web control
|
|
24672
|
+
* (fsl#1334) — `panels` drives `request` panel mode.
|
|
24673
|
+
*
|
|
24674
|
+
* @returns `{ stochastic_run_count?, panels? }`, or `undefined`.
|
|
24675
|
+
*
|
|
24676
|
+
* @example
|
|
24677
|
+
* const m = sm`editor: { panels: [history]; }; a -> b;`;
|
|
24678
|
+
* m.editor_config(); // => { panels: ['history'] }
|
|
24679
|
+
*/
|
|
24680
|
+
editor_config() {
|
|
24681
|
+
return this._editor_config;
|
|
24682
|
+
}
|
|
24254
24683
|
/** Get the npm package name associated with the machine. Set via the FSL `npm_name` directive.
|
|
24255
24684
|
* Returns `undefined` when not present.
|
|
24256
24685
|
* @returns The npm package name string, or `undefined`.
|
|
@@ -29055,8 +29484,20 @@ class FslInstance extends i {
|
|
|
29055
29484
|
this._autoMode = 'lr';
|
|
29056
29485
|
/** Window-resize listener installed while `layout="auto"`, or null. */
|
|
29057
29486
|
this._autoListener = null;
|
|
29058
|
-
/**
|
|
29059
|
-
|
|
29487
|
+
/** Per-panel runtime visibility overrides set by the user via the toolbar
|
|
29488
|
+
* toggles; a slot absent here falls back to its mode-resolved base. */
|
|
29489
|
+
this._overrides = new Map();
|
|
29490
|
+
/** Control-level default {@link PanelMode}; {@link panelModes} overrides it
|
|
29491
|
+
* per panel. `default` shows only the editor + renderer; every other panel
|
|
29492
|
+
* starts hidden and is opt-in. */
|
|
29493
|
+
this.panelMode = 'default';
|
|
29494
|
+
/** Per-panel {@link PanelMode} overrides (slot → mode), each overriding the
|
|
29495
|
+
* control-level {@link panelMode}. */
|
|
29496
|
+
this.panelModes = {};
|
|
29497
|
+
/** Panels the FSL "requests" — the embedder-set stand-in for the
|
|
29498
|
+
* editor-defaults-in-FSL mechanism (fsl#1334). `request`-mode panels listed
|
|
29499
|
+
* here are shown; others fall back to the default. */
|
|
29500
|
+
this.requestedPanels = [];
|
|
29060
29501
|
/**
|
|
29061
29502
|
* The underlying machine instance, constructed at `connectedCallback`.
|
|
29062
29503
|
* Exposed raw (not proxied) per the #639/#648 design decision so that
|
|
@@ -29249,39 +29690,67 @@ class FslInstance extends i {
|
|
|
29249
29690
|
this._tab = tab;
|
|
29250
29691
|
this.requestUpdate();
|
|
29251
29692
|
}
|
|
29693
|
+
/** The built-in default hidden state: only the editor + renderer (viz) show. */
|
|
29694
|
+
_defaultHidden(slot) {
|
|
29695
|
+
return slot !== 'viz' && slot !== 'editor';
|
|
29696
|
+
}
|
|
29252
29697
|
/**
|
|
29253
|
-
* Whether the panel slotted under `slot` is currently hidden
|
|
29698
|
+
* Whether the panel slotted under `slot` is currently hidden, resolving its
|
|
29699
|
+
* {@link PanelMode} ({@link panelModes} for the slot, else {@link panelMode}):
|
|
29700
|
+
* `hide`/`show` force the state; otherwise a user toggle wins, then a
|
|
29701
|
+
* `request`ed panel shows, then the built-in default.
|
|
29254
29702
|
*
|
|
29255
29703
|
* @param slot - A panel slot name (e.g. `"viz"`, `"editor"`, `"history"`).
|
|
29256
29704
|
* @returns `true` when the panel is hidden.
|
|
29705
|
+
*
|
|
29706
|
+
* @example
|
|
29707
|
+
* el.panelModes = { history: 'show' };
|
|
29708
|
+
* el.isPanelHidden('history'); // false
|
|
29257
29709
|
*/
|
|
29258
29710
|
isPanelHidden(slot) {
|
|
29259
|
-
|
|
29711
|
+
var _a;
|
|
29712
|
+
const mode = (_a = this.panelModes[slot]) !== null && _a !== void 0 ? _a : this.panelMode;
|
|
29713
|
+
if (mode === 'hide') {
|
|
29714
|
+
return true;
|
|
29715
|
+
}
|
|
29716
|
+
if (mode === 'show') {
|
|
29717
|
+
return false;
|
|
29718
|
+
}
|
|
29719
|
+
const override = this._overrides.get(slot);
|
|
29720
|
+
if (override !== undefined) {
|
|
29721
|
+
return override;
|
|
29722
|
+
}
|
|
29723
|
+
if (mode === 'request' && this.requestedPanels.includes(slot)) {
|
|
29724
|
+
return false;
|
|
29725
|
+
}
|
|
29726
|
+
return this._defaultHidden(slot);
|
|
29260
29727
|
}
|
|
29261
29728
|
/**
|
|
29262
|
-
* Show or hide the panel slotted under `slot
|
|
29263
|
-
* collapses that workbench pane (the other fills); hiding
|
|
29264
|
-
* removes its section. `<fsl-toolbar>` drives this from its
|
|
29729
|
+
* Show or hide the panel slotted under `slot` (a runtime override). Hiding
|
|
29730
|
+
* `viz` or `editor` collapses that workbench pane (the other fills); hiding
|
|
29731
|
+
* an aux panel removes its section. `<fsl-toolbar>` drives this from its
|
|
29732
|
+
* panel toggles.
|
|
29265
29733
|
*
|
|
29266
29734
|
* @param slot - A panel slot name (e.g. `"viz"`, `"editor"`, `"history"`).
|
|
29267
29735
|
* @param hidden - `true` to hide, `false` to show.
|
|
29268
29736
|
*/
|
|
29269
29737
|
setPanelHidden(slot, hidden) {
|
|
29270
|
-
|
|
29271
|
-
this._hiddenPanels.add(slot);
|
|
29272
|
-
}
|
|
29273
|
-
else {
|
|
29274
|
-
this._hiddenPanels.delete(slot);
|
|
29275
|
-
}
|
|
29738
|
+
this._overrides.set(slot, hidden);
|
|
29276
29739
|
this.requestUpdate();
|
|
29277
29740
|
}
|
|
29278
29741
|
/**
|
|
29279
|
-
* Toggle the visibility of the panel slotted under `slot`.
|
|
29742
|
+
* Toggle the visibility of the panel slotted under `slot`. A no-op when the
|
|
29743
|
+
* panel's mode is `hide` or `show` — those lock the visibility.
|
|
29280
29744
|
*
|
|
29281
29745
|
* @param slot - A panel slot name (e.g. `"viz"`, `"editor"`, `"history"`).
|
|
29282
29746
|
*/
|
|
29283
29747
|
togglePanel(slot) {
|
|
29284
|
-
|
|
29748
|
+
var _a;
|
|
29749
|
+
const mode = (_a = this.panelModes[slot]) !== null && _a !== void 0 ? _a : this.panelMode;
|
|
29750
|
+
if (mode === 'hide' || mode === 'show') {
|
|
29751
|
+
return;
|
|
29752
|
+
}
|
|
29753
|
+
this.setPanelHidden(slot, !this.isPanelHidden(slot));
|
|
29285
29754
|
}
|
|
29286
29755
|
/**
|
|
29287
29756
|
* Install or remove the window-resize listener that resolves `layout="auto"`
|
|
@@ -29328,6 +29797,7 @@ class FslInstance extends i {
|
|
|
29328
29797
|
// (The resolver guarantees `fsl` is a non-empty string when error is undefined.)
|
|
29329
29798
|
const fsl_source = resolved.fsl;
|
|
29330
29799
|
this._machine = this._build_machine(fsl_source);
|
|
29800
|
+
this._applyEditorConfig();
|
|
29331
29801
|
// Step 3: paint initial host attributes + CSS custom properties.
|
|
29332
29802
|
this._paint_state_reflection();
|
|
29333
29803
|
// Step 4: shadow DOM render is automatic via Lit; requesting an update
|
|
@@ -29499,6 +29969,17 @@ class FslInstance extends i {
|
|
|
29499
29969
|
? sm `${fsl_source}`
|
|
29500
29970
|
: from(fsl_source, { data: this.data }));
|
|
29501
29971
|
}
|
|
29972
|
+
/** Adopt the FSL's `editor: {}` panel request (fsl#1334): when the machine
|
|
29973
|
+
* declares `panels`, drive {@link requestedPanels} from it so `request` panel
|
|
29974
|
+
* mode honors the source. The embedder's value persists when the FSL is
|
|
29975
|
+
* silent. Called after each (re)build, with `_machine` freshly assigned. */
|
|
29976
|
+
_applyEditorConfig() {
|
|
29977
|
+
var _a;
|
|
29978
|
+
const panels = (_a = this._machine.editor_config()) === null || _a === void 0 ? void 0 : _a.panels;
|
|
29979
|
+
if (panels !== undefined) {
|
|
29980
|
+
this.requestedPanels = panels;
|
|
29981
|
+
}
|
|
29982
|
+
}
|
|
29502
29983
|
_rebuild_machine() {
|
|
29503
29984
|
if (typeof this.fsl !== 'string' || this.fsl.trim().length === 0) {
|
|
29504
29985
|
return;
|
|
@@ -29514,6 +29995,7 @@ class FslInstance extends i {
|
|
|
29514
29995
|
this._unbind_machine_subscriptions();
|
|
29515
29996
|
// Swap to the new machine and re-bind everything machine-scoped.
|
|
29516
29997
|
this._machine = next;
|
|
29998
|
+
this._applyEditorConfig();
|
|
29517
29999
|
this._paint_state_reflection();
|
|
29518
30000
|
this._install_event_reemission();
|
|
29519
30001
|
this._install_declarative_hooks();
|
|
@@ -29739,10 +30221,10 @@ class FslInstance extends i {
|
|
|
29739
30221
|
${header}
|
|
29740
30222
|
${toolbar}
|
|
29741
30223
|
<div class="middle">
|
|
29742
|
-
<section class="dock
|
|
29743
|
-
<slot name="
|
|
30224
|
+
<section class="dock events-dock${this.isPanelHidden('hook-log') ? '' : ' open'}" part="events-dock">
|
|
30225
|
+
<slot name="hook-log"></slot>
|
|
29744
30226
|
</section>
|
|
29745
|
-
<div class="workbench${this.
|
|
30227
|
+
<div class="workbench${this.isPanelHidden('viz') ? ' hide-viz' : ''}${this.isPanelHidden('editor') ? ' hide-editor' : ''}"
|
|
29746
30228
|
data-mode=${mode} style="--fsl-split:${this._split}%">
|
|
29747
30229
|
${mode === 'tabs' ? this._renderTabbar() : ''}
|
|
29748
30230
|
<section class="pane viz" ?hidden=${mode === 'tabs' && this._tab !== 'viz'}>${viz}</section>
|
|
@@ -29751,7 +30233,7 @@ class FslInstance extends i {
|
|
|
29751
30233
|
@dblclick=${this._onGutterReset}></div>
|
|
29752
30234
|
<section class="pane editor" ?hidden=${mode === 'tabs' && this._tab !== 'editor'}>${editor}</section>
|
|
29753
30235
|
</div>
|
|
29754
|
-
<section class="dock data-dock${this.
|
|
30236
|
+
<section class="dock data-dock${this.isPanelHidden('data-inspector') ? '' : ' open'}" part="data-dock">
|
|
29755
30237
|
<slot name="data-inspector"></slot>
|
|
29756
30238
|
</section>
|
|
29757
30239
|
</div>
|
|
@@ -29765,8 +30247,8 @@ class FslInstance extends i {
|
|
|
29765
30247
|
<div class="container">
|
|
29766
30248
|
${header}
|
|
29767
30249
|
${toolbar}
|
|
29768
|
-
<section class="viz" ?hidden=${this.
|
|
29769
|
-
<section class="editor" ?hidden=${this.
|
|
30250
|
+
<section class="viz" ?hidden=${this.isPanelHidden('viz')}>${viz}</section>
|
|
30251
|
+
<section class="editor" ?hidden=${this.isPanelHidden('editor')}>${editor}</section>
|
|
29770
30252
|
${this._renderAuxPanels(false)}
|
|
29771
30253
|
<section class="state-section"><slot name=${state_slot_name}></slot></section>
|
|
29772
30254
|
<footer><slot name="footer"></slot></footer>
|
|
@@ -29774,22 +30256,23 @@ class FslInstance extends i {
|
|
|
29774
30256
|
`;
|
|
29775
30257
|
}
|
|
29776
30258
|
/** The stacked middle panels, shared by both layouts. The toolbar slot is
|
|
29777
|
-
* rendered at the top of {@link render}. In split mode the `
|
|
29778
|
-
* `data-inspector` panels are lifted out into easing side docks, so
|
|
30259
|
+
* rendered at the top of {@link render}. In split mode the `hook-log` (events)
|
|
30260
|
+
* and `data-inspector` panels are lifted out into easing side docks, so
|
|
29779
30261
|
* `docked` is true there and they are skipped here to avoid duplicating
|
|
29780
|
-
* their slots
|
|
29781
|
-
*
|
|
30262
|
+
* their slots; `actions` instead lives here as a horizontal bar. The
|
|
30263
|
+
* state-section + footer stay in {@link render} so the dynamic state-slot
|
|
30264
|
+
* name binds at the top level.
|
|
29782
30265
|
*
|
|
29783
|
-
* @param docked - True when
|
|
30266
|
+
* @param docked - True when hook-log + data-inspector are rendered as side
|
|
29784
30267
|
* docks (split layouts); they are then omitted from this stack. */
|
|
29785
30268
|
_renderAuxPanels(docked) {
|
|
29786
|
-
const h = (slot) => this.
|
|
30269
|
+
const h = (slot) => this.isPanelHidden(slot);
|
|
29787
30270
|
return b `
|
|
29788
|
-
|
|
30271
|
+
<section class="actions" ?hidden=${h('actions')}><slot name="actions"></slot></section>
|
|
29789
30272
|
<section class="info-panel" ?hidden=${h('info-panel')}><slot name="info-panel"></slot></section>
|
|
29790
30273
|
<section class="history" ?hidden=${h('history')}><slot name="history"></slot></section>
|
|
29791
30274
|
${docked ? '' : b `<section class="data-inspector" ?hidden=${h('data-inspector')}><slot name="data-inspector"></slot></section>`}
|
|
29792
|
-
|
|
30275
|
+
${docked ? '' : b `<section class="hook-log" ?hidden=${h('hook-log')}><slot name="hook-log"></slot></section>`}
|
|
29793
30276
|
<section class="effective-properties" ?hidden=${h('effective-properties')}><slot name="effective-properties"></slot></section>
|
|
29794
30277
|
<section class="simulation" ?hidden=${h('simulation')}><slot name="simulation"></slot></section>
|
|
29795
30278
|
<section class="export" ?hidden=${h('export')}><slot name="export"></slot></section>
|
|
@@ -29829,7 +30312,7 @@ FslInstance.styles = i$3 `
|
|
|
29829
30312
|
|
|
29830
30313
|
/* layout modes: lr/rl (row) · tb/bt (column) · editor/viewer (single) · tabs. */
|
|
29831
30314
|
.container.is-split { display: flex; flex-direction: column; }
|
|
29832
|
-
/* the middle band:
|
|
30315
|
+
/* the middle band: events dock | workbench | data dock */
|
|
29833
30316
|
.middle { display: flex; flex: 1 1 auto; min-height: 0; }
|
|
29834
30317
|
.workbench { display: flex; flex: 1 1 auto; min-height: 0; min-width: 0; }
|
|
29835
30318
|
/* side docks ease their width like the help drawer; closed = 0, open = a
|
|
@@ -29840,7 +30323,7 @@ FslInstance.styles = i$3 `
|
|
|
29840
30323
|
transition: flex-basis 0.28s ease;
|
|
29841
30324
|
}
|
|
29842
30325
|
.dock.open { flex-basis: var(--fsl-dock-width, 17em); }
|
|
29843
|
-
.
|
|
30326
|
+
.events-dock.open { border-right: 1px solid var(--fsl-color-border, #e5e5e5); }
|
|
29844
30327
|
.data-dock.open { border-left: 1px solid var(--fsl-color-border, #e5e5e5); }
|
|
29845
30328
|
/* a docked panel fills the band's height; the data inspector then scrolls
|
|
29846
30329
|
to the dock instead of its own 16em cap. */
|
|
@@ -29921,6 +30404,9 @@ FslInstance.properties = {
|
|
|
29921
30404
|
themeName: { type: String, attribute: 'theme-name', reflect: true },
|
|
29922
30405
|
themes: { type: Object, reflect: false },
|
|
29923
30406
|
data: { type: Object, reflect: false },
|
|
30407
|
+
panelMode: { type: String, attribute: 'panel-mode', reflect: true },
|
|
30408
|
+
panelModes: { type: Object, attribute: false },
|
|
30409
|
+
requestedPanels: { type: Array, attribute: false },
|
|
29924
30410
|
};
|
|
29925
30411
|
|
|
29926
30412
|
/**
|