jssm 5.142.0 → 5.142.1
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 +4 -4
- package/dist/cdn/instance.js +280 -154
- package/dist/cdn/viz.js +280 -154
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/deno/README.md +7 -7
- package/dist/deno/jssm.d.ts +8 -1
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_types.d.ts +1 -0
- 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/jssm.es5.d.cts +9 -1
- package/jssm.es6.d.ts +9 -1
- package/jssm_viz.es5.d.cts +9 -1
- package/jssm_viz.es6.d.ts +9 -1
- package/package.json +1 -1
package/dist/cdn/instance.js
CHANGED
|
@@ -428,11 +428,11 @@ function peg$parse(input, options) {
|
|
|
428
428
|
return { config_kind: "action", config_items: action_items || [] };
|
|
429
429
|
}, peg$c1359 = function (key, value) { return { key, value }; }, peg$c1360 = peg$otherExpectation("graph default edge color"), peg$c1361 = function (value) { return { key: 'graph_default_edge_color', value }; }, peg$c1362 = "transition", peg$c1363 = peg$literalExpectation("transition", false), peg$c1364 = function (transition_items) {
|
|
430
430
|
return { config_kind: "transition", config_items: transition_items || [] };
|
|
431
|
-
}, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "graph_bg_color", peg$c1375 = peg$literalExpectation("graph_bg_color", false), peg$c1376 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1377 = "allows_override", peg$c1378 = peg$literalExpectation("allows_override", false), peg$c1379 = function (value) { return { key: "allows_override", value: value }; }, peg$c1380 = function () { return true; }, peg$c1381 = function () { return false; }, peg$c1382 = peg$otherExpectation("configuration"), peg$c1383 = "MIT", peg$c1384 = peg$literalExpectation("MIT", false), peg$c1385 = "BSD 2-clause", peg$c1386 = peg$literalExpectation("BSD 2-clause", false), peg$c1387 = "BSD 3-clause", peg$c1388 = peg$literalExpectation("BSD 3-clause", false), peg$c1389 = "Apache 2.0", peg$c1390 = peg$literalExpectation("Apache 2.0", false), peg$c1391 = "Mozilla 2.0", peg$c1392 = peg$literalExpectation("Mozilla 2.0", false), peg$c1393 = "Public domain", peg$c1394 = peg$literalExpectation("Public domain", false), peg$c1395 = "GPL v2", peg$c1396 = peg$literalExpectation("GPL v2", false), peg$c1397 = "GPL v3", peg$c1398 = peg$literalExpectation("GPL v3", false), peg$c1399 = "LGPL v2.1", peg$c1400 = peg$literalExpectation("LGPL v2.1", false), peg$c1401 = "LGPL v3.0", peg$c1402 = peg$literalExpectation("LGPL v3.0", false), peg$c1403 = "Unknown", peg$c1404 = peg$literalExpectation("Unknown", false), peg$c1405 = peg$otherExpectation("direction"), peg$c1406 = "up", peg$c1407 = peg$literalExpectation("up", false), peg$c1408 = "right", peg$c1409 = peg$literalExpectation("right", false), peg$c1410 = "down", peg$c1411 = peg$literalExpectation("down", false), peg$c1412 = "left", peg$c1413 = peg$literalExpectation("left", false), peg$c1414 = peg$otherExpectation("hook definition (open/closed)"), peg$c1415 = "open", peg$c1416 = peg$literalExpectation("open", false), peg$c1417 = "closed", peg$c1418 = peg$literalExpectation("closed", false), peg$c1419 = "machine_author", peg$c1420 = peg$literalExpectation("machine_author", false), peg$c1421 = function (value) { return { key: "machine_author", value }; }, peg$c1422 = "machine_contributor", peg$c1423 = peg$literalExpectation("machine_contributor", false), peg$c1424 = function (value) { return { key: "machine_contributor", value }; }, peg$c1425 = "machine_comment", peg$c1426 = peg$literalExpectation("machine_comment", false), peg$c1427 = function (value) { return { key: "machine_comment", value }; }, peg$c1428 = "machine_definition", peg$c1429 = peg$literalExpectation("machine_definition", false), peg$c1430 = function (value) { return { key: "machine_definition", value }; }, peg$c1431 = "machine_name", peg$c1432 = peg$literalExpectation("machine_name", false), peg$c1433 = function (value) { return { key: "machine_name", value }; }, peg$c1434 = "
|
|
431
|
+
}, peg$c1365 = "graph_layout", peg$c1366 = peg$literalExpectation("graph_layout", false), peg$c1367 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1368 = "start_states", peg$c1369 = peg$literalExpectation("start_states", false), peg$c1370 = function (value) { return { key: "start_states", value: value }; }, peg$c1371 = "end_states", peg$c1372 = peg$literalExpectation("end_states", false), peg$c1373 = function (value) { return { key: "end_states", value: value }; }, peg$c1374 = "graph_bg_color", peg$c1375 = peg$literalExpectation("graph_bg_color", false), peg$c1376 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1377 = "allows_override", peg$c1378 = peg$literalExpectation("allows_override", false), peg$c1379 = function (value) { return { key: "allows_override", value: value }; }, peg$c1380 = function () { return true; }, peg$c1381 = function () { return false; }, peg$c1382 = peg$otherExpectation("configuration"), peg$c1383 = "MIT", peg$c1384 = peg$literalExpectation("MIT", false), peg$c1385 = "BSD 2-clause", peg$c1386 = peg$literalExpectation("BSD 2-clause", false), peg$c1387 = "BSD 3-clause", peg$c1388 = peg$literalExpectation("BSD 3-clause", false), peg$c1389 = "Apache 2.0", peg$c1390 = peg$literalExpectation("Apache 2.0", false), peg$c1391 = "Mozilla 2.0", peg$c1392 = peg$literalExpectation("Mozilla 2.0", false), peg$c1393 = "Public domain", peg$c1394 = peg$literalExpectation("Public domain", false), peg$c1395 = "GPL v2", peg$c1396 = peg$literalExpectation("GPL v2", false), peg$c1397 = "GPL v3", peg$c1398 = peg$literalExpectation("GPL v3", false), peg$c1399 = "LGPL v2.1", peg$c1400 = peg$literalExpectation("LGPL v2.1", false), peg$c1401 = "LGPL v3.0", peg$c1402 = peg$literalExpectation("LGPL v3.0", false), peg$c1403 = "Unknown", peg$c1404 = peg$literalExpectation("Unknown", false), peg$c1405 = peg$otherExpectation("direction"), peg$c1406 = "up", peg$c1407 = peg$literalExpectation("up", false), peg$c1408 = "right", peg$c1409 = peg$literalExpectation("right", false), peg$c1410 = "down", peg$c1411 = peg$literalExpectation("down", false), peg$c1412 = "left", peg$c1413 = peg$literalExpectation("left", false), peg$c1414 = peg$otherExpectation("hook definition (open/closed)"), peg$c1415 = "open", peg$c1416 = peg$literalExpectation("open", false), peg$c1417 = "closed", peg$c1418 = peg$literalExpectation("closed", false), peg$c1419 = "machine_author", peg$c1420 = peg$literalExpectation("machine_author", false), peg$c1421 = function (value) { return { key: "machine_author", value }; }, peg$c1422 = "machine_contributor", peg$c1423 = peg$literalExpectation("machine_contributor", false), peg$c1424 = function (value) { return { key: "machine_contributor", value }; }, peg$c1425 = "machine_comment", peg$c1426 = peg$literalExpectation("machine_comment", false), peg$c1427 = function (value) { return { key: "machine_comment", value }; }, peg$c1428 = "machine_definition", peg$c1429 = peg$literalExpectation("machine_definition", false), peg$c1430 = function (value) { return { key: "machine_definition", value }; }, peg$c1431 = "machine_name", peg$c1432 = peg$literalExpectation("machine_name", false), peg$c1433 = function (value) { return { key: "machine_name", value }; }, peg$c1434 = "npm_name", peg$c1435 = peg$literalExpectation("npm_name", false), peg$c1436 = function (value) { return { key: "npm_name", value }; }, peg$c1437 = "machine_reference", peg$c1438 = peg$literalExpectation("machine_reference", false), peg$c1439 = function (value) { return { key: "machine_reference", value }; }, peg$c1440 = "machine_version", peg$c1441 = peg$literalExpectation("machine_version", false), peg$c1442 = function (value) { return { key: "machine_version", value }; }, peg$c1443 = "machine_license", peg$c1444 = peg$literalExpectation("machine_license", false), peg$c1445 = function (value) { return { key: "machine_license", value }; }, peg$c1446 = "machine_language", peg$c1447 = peg$literalExpectation("machine_language", false), peg$c1448 = function (value) { return { key: "machine_language", value }; }, peg$c1449 = "fsl_version", peg$c1450 = peg$literalExpectation("fsl_version", false), peg$c1451 = function (value) { return { key: "fsl_version", value }; }, peg$c1452 = "theme", peg$c1453 = peg$literalExpectation("theme", false), peg$c1454 = function (value) { return { key: "theme", value }; }, peg$c1455 = "flow", peg$c1456 = peg$literalExpectation("flow", false), peg$c1457 = function (value) { return { key: "flow", value }; }, peg$c1458 = "hooks", peg$c1459 = peg$literalExpectation("hooks", false), peg$c1460 = function (value) { return { key: "hook_definition", value }; }, peg$c1461 = "dot_preamble", peg$c1462 = peg$literalExpectation("dot_preamble", false), peg$c1463 = function (value) { return { key: "dot_preamble", value }; }, peg$c1464 = peg$otherExpectation("machine attribute"), peg$c1465 = "label", peg$c1466 = peg$literalExpectation("label", false), peg$c1467 = function (value) { return { key: 'state-label', value }; }, peg$c1468 = "color", peg$c1469 = peg$literalExpectation("color", false), peg$c1470 = function (value) { return { key: 'color', value }; }, peg$c1471 = peg$otherExpectation("text color"), peg$c1472 = "text-color", peg$c1473 = peg$literalExpectation("text-color", false), peg$c1474 = function (value) { return { key: 'text-color', value }; }, peg$c1475 = peg$otherExpectation("background color"), peg$c1476 = "background-color", peg$c1477 = peg$literalExpectation("background-color", false), peg$c1478 = function (value) { return { key: 'background-color', value }; }, peg$c1479 = peg$otherExpectation("border color"), peg$c1480 = "border-color", peg$c1481 = peg$literalExpectation("border-color", false), peg$c1482 = function (value) { return { key: 'border-color', value }; }, peg$c1483 = peg$otherExpectation("shape"), peg$c1484 = "shape", peg$c1485 = peg$literalExpectation("shape", false), peg$c1486 = function (value) { return { key: 'shape', value }; }, peg$c1487 = peg$otherExpectation("corners"), peg$c1488 = "corners", peg$c1489 = peg$literalExpectation("corners", false), peg$c1490 = function (value) { return { key: 'corners', value }; }, peg$c1491 = peg$otherExpectation("linestyle"), peg$c1492 = function (value) { return { key: 'line-style', value }; }, peg$c1493 = "linestyle", peg$c1494 = peg$literalExpectation("linestyle", false), peg$c1495 = peg$otherExpectation("image"), peg$c1496 = "image", peg$c1497 = peg$literalExpectation("image", false), peg$c1498 = function (value) { return { key: 'image', value }; }, peg$c1499 = peg$otherExpectation("url"), peg$c1500 = "url", peg$c1501 = peg$literalExpectation("url", false), peg$c1502 = function (value) { return { key: 'url', value }; }, peg$c1503 = peg$otherExpectation("state property"), peg$c1504 = "property", peg$c1505 = peg$literalExpectation("property", false), peg$c1506 = function (name, value) {
|
|
432
432
|
return { key: 'state_property', name, value };
|
|
433
|
-
}, peg$
|
|
433
|
+
}, peg$c1507 = "required", peg$c1508 = peg$literalExpectation("required", false), peg$c1509 = function (name, value) {
|
|
434
434
|
return { key: 'state_property', name, value, required: true };
|
|
435
|
-
}, peg$
|
|
435
|
+
}, peg$c1510 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1511 = "&", peg$c1512 = peg$literalExpectation("&", false), peg$c1513 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1514 = function (name, default_value) { return { key: 'property_definition', name, default_value, required: true }; }, peg$c1515 = function (name) { return { key: 'property_definition', name, required: true }; }, peg$c1516 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1517 = function (name) { return { key: 'property_definition', name }; }, peg$c1518 = "arrange", peg$c1519 = peg$literalExpectation("arrange", false), peg$c1520 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1521 = "arrange-start", peg$c1522 = peg$literalExpectation("arrange-start", false), peg$c1523 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1524 = "arrange-end", peg$c1525 = peg$literalExpectation("arrange-end", false), peg$c1526 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1527 = 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;
|
|
436
436
|
if ("startRule" in options) {
|
|
437
437
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
438
438
|
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
@@ -15734,7 +15734,7 @@ function peg$parse(input, options) {
|
|
|
15734
15734
|
}
|
|
15735
15735
|
return s0;
|
|
15736
15736
|
}
|
|
15737
|
-
function peg$
|
|
15737
|
+
function peg$parseNpmName() {
|
|
15738
15738
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
15739
15739
|
s0 = peg$currPos;
|
|
15740
15740
|
s1 = peg$parseWS();
|
|
@@ -15742,9 +15742,9 @@ function peg$parse(input, options) {
|
|
|
15742
15742
|
s1 = null;
|
|
15743
15743
|
}
|
|
15744
15744
|
if (s1 !== peg$FAILED) {
|
|
15745
|
-
if (input.substr(peg$currPos,
|
|
15745
|
+
if (input.substr(peg$currPos, 8) === peg$c1434) {
|
|
15746
15746
|
s2 = peg$c1434;
|
|
15747
|
-
peg$currPos +=
|
|
15747
|
+
peg$currPos += 8;
|
|
15748
15748
|
}
|
|
15749
15749
|
else {
|
|
15750
15750
|
s2 = peg$FAILED;
|
|
@@ -15774,7 +15774,7 @@ function peg$parse(input, options) {
|
|
|
15774
15774
|
s5 = null;
|
|
15775
15775
|
}
|
|
15776
15776
|
if (s5 !== peg$FAILED) {
|
|
15777
|
-
s6 = peg$
|
|
15777
|
+
s6 = peg$parseLabel();
|
|
15778
15778
|
if (s6 !== peg$FAILED) {
|
|
15779
15779
|
s7 = peg$parseWS();
|
|
15780
15780
|
if (s7 === peg$FAILED) {
|
|
@@ -15847,7 +15847,7 @@ function peg$parse(input, options) {
|
|
|
15847
15847
|
}
|
|
15848
15848
|
return s0;
|
|
15849
15849
|
}
|
|
15850
|
-
function peg$
|
|
15850
|
+
function peg$parseMachineReference() {
|
|
15851
15851
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
15852
15852
|
s0 = peg$currPos;
|
|
15853
15853
|
s1 = peg$parseWS();
|
|
@@ -15855,9 +15855,9 @@ function peg$parse(input, options) {
|
|
|
15855
15855
|
s1 = null;
|
|
15856
15856
|
}
|
|
15857
15857
|
if (s1 !== peg$FAILED) {
|
|
15858
|
-
if (input.substr(peg$currPos,
|
|
15858
|
+
if (input.substr(peg$currPos, 17) === peg$c1437) {
|
|
15859
15859
|
s2 = peg$c1437;
|
|
15860
|
-
peg$currPos +=
|
|
15860
|
+
peg$currPos += 17;
|
|
15861
15861
|
}
|
|
15862
15862
|
else {
|
|
15863
15863
|
s2 = peg$FAILED;
|
|
@@ -15887,7 +15887,7 @@ function peg$parse(input, options) {
|
|
|
15887
15887
|
s5 = null;
|
|
15888
15888
|
}
|
|
15889
15889
|
if (s5 !== peg$FAILED) {
|
|
15890
|
-
s6 = peg$
|
|
15890
|
+
s6 = peg$parseLabelOrLabelList();
|
|
15891
15891
|
if (s6 !== peg$FAILED) {
|
|
15892
15892
|
s7 = peg$parseWS();
|
|
15893
15893
|
if (s7 === peg$FAILED) {
|
|
@@ -15960,7 +15960,7 @@ function peg$parse(input, options) {
|
|
|
15960
15960
|
}
|
|
15961
15961
|
return s0;
|
|
15962
15962
|
}
|
|
15963
|
-
function peg$
|
|
15963
|
+
function peg$parseMachineVersion() {
|
|
15964
15964
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
15965
15965
|
s0 = peg$currPos;
|
|
15966
15966
|
s1 = peg$parseWS();
|
|
@@ -16000,7 +16000,7 @@ function peg$parse(input, options) {
|
|
|
16000
16000
|
s5 = null;
|
|
16001
16001
|
}
|
|
16002
16002
|
if (s5 !== peg$FAILED) {
|
|
16003
|
-
s6 = peg$
|
|
16003
|
+
s6 = peg$parseSemVer();
|
|
16004
16004
|
if (s6 !== peg$FAILED) {
|
|
16005
16005
|
s7 = peg$parseWS();
|
|
16006
16006
|
if (s7 === peg$FAILED) {
|
|
@@ -16073,7 +16073,7 @@ function peg$parse(input, options) {
|
|
|
16073
16073
|
}
|
|
16074
16074
|
return s0;
|
|
16075
16075
|
}
|
|
16076
|
-
function peg$
|
|
16076
|
+
function peg$parseMachineLicense() {
|
|
16077
16077
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16078
16078
|
s0 = peg$currPos;
|
|
16079
16079
|
s1 = peg$parseWS();
|
|
@@ -16081,9 +16081,9 @@ function peg$parse(input, options) {
|
|
|
16081
16081
|
s1 = null;
|
|
16082
16082
|
}
|
|
16083
16083
|
if (s1 !== peg$FAILED) {
|
|
16084
|
-
if (input.substr(peg$currPos,
|
|
16084
|
+
if (input.substr(peg$currPos, 15) === peg$c1443) {
|
|
16085
16085
|
s2 = peg$c1443;
|
|
16086
|
-
peg$currPos +=
|
|
16086
|
+
peg$currPos += 15;
|
|
16087
16087
|
}
|
|
16088
16088
|
else {
|
|
16089
16089
|
s2 = peg$FAILED;
|
|
@@ -16113,7 +16113,7 @@ function peg$parse(input, options) {
|
|
|
16113
16113
|
s5 = null;
|
|
16114
16114
|
}
|
|
16115
16115
|
if (s5 !== peg$FAILED) {
|
|
16116
|
-
s6 = peg$
|
|
16116
|
+
s6 = peg$parseLicenseOrLabelOrList();
|
|
16117
16117
|
if (s6 !== peg$FAILED) {
|
|
16118
16118
|
s7 = peg$parseWS();
|
|
16119
16119
|
if (s7 === peg$FAILED) {
|
|
@@ -16186,7 +16186,7 @@ function peg$parse(input, options) {
|
|
|
16186
16186
|
}
|
|
16187
16187
|
return s0;
|
|
16188
16188
|
}
|
|
16189
|
-
function peg$
|
|
16189
|
+
function peg$parseMachineLanguage() {
|
|
16190
16190
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16191
16191
|
s0 = peg$currPos;
|
|
16192
16192
|
s1 = peg$parseWS();
|
|
@@ -16194,9 +16194,9 @@ function peg$parse(input, options) {
|
|
|
16194
16194
|
s1 = null;
|
|
16195
16195
|
}
|
|
16196
16196
|
if (s1 !== peg$FAILED) {
|
|
16197
|
-
if (input.substr(peg$currPos,
|
|
16197
|
+
if (input.substr(peg$currPos, 16) === peg$c1446) {
|
|
16198
16198
|
s2 = peg$c1446;
|
|
16199
|
-
peg$currPos +=
|
|
16199
|
+
peg$currPos += 16;
|
|
16200
16200
|
}
|
|
16201
16201
|
else {
|
|
16202
16202
|
s2 = peg$FAILED;
|
|
@@ -16226,7 +16226,7 @@ function peg$parse(input, options) {
|
|
|
16226
16226
|
s5 = null;
|
|
16227
16227
|
}
|
|
16228
16228
|
if (s5 !== peg$FAILED) {
|
|
16229
|
-
s6 = peg$
|
|
16229
|
+
s6 = peg$parseLabel();
|
|
16230
16230
|
if (s6 !== peg$FAILED) {
|
|
16231
16231
|
s7 = peg$parseWS();
|
|
16232
16232
|
if (s7 === peg$FAILED) {
|
|
@@ -16299,7 +16299,7 @@ function peg$parse(input, options) {
|
|
|
16299
16299
|
}
|
|
16300
16300
|
return s0;
|
|
16301
16301
|
}
|
|
16302
|
-
function peg$
|
|
16302
|
+
function peg$parseFslVersion() {
|
|
16303
16303
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16304
16304
|
s0 = peg$currPos;
|
|
16305
16305
|
s1 = peg$parseWS();
|
|
@@ -16307,9 +16307,9 @@ function peg$parse(input, options) {
|
|
|
16307
16307
|
s1 = null;
|
|
16308
16308
|
}
|
|
16309
16309
|
if (s1 !== peg$FAILED) {
|
|
16310
|
-
if (input.substr(peg$currPos,
|
|
16310
|
+
if (input.substr(peg$currPos, 11) === peg$c1449) {
|
|
16311
16311
|
s2 = peg$c1449;
|
|
16312
|
-
peg$currPos +=
|
|
16312
|
+
peg$currPos += 11;
|
|
16313
16313
|
}
|
|
16314
16314
|
else {
|
|
16315
16315
|
s2 = peg$FAILED;
|
|
@@ -16339,7 +16339,7 @@ function peg$parse(input, options) {
|
|
|
16339
16339
|
s5 = null;
|
|
16340
16340
|
}
|
|
16341
16341
|
if (s5 !== peg$FAILED) {
|
|
16342
|
-
s6 = peg$
|
|
16342
|
+
s6 = peg$parseSemVer();
|
|
16343
16343
|
if (s6 !== peg$FAILED) {
|
|
16344
16344
|
s7 = peg$parseWS();
|
|
16345
16345
|
if (s7 === peg$FAILED) {
|
|
@@ -16412,7 +16412,7 @@ function peg$parse(input, options) {
|
|
|
16412
16412
|
}
|
|
16413
16413
|
return s0;
|
|
16414
16414
|
}
|
|
16415
|
-
function peg$
|
|
16415
|
+
function peg$parseMachineTheme() {
|
|
16416
16416
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16417
16417
|
s0 = peg$currPos;
|
|
16418
16418
|
s1 = peg$parseWS();
|
|
@@ -16420,9 +16420,9 @@ function peg$parse(input, options) {
|
|
|
16420
16420
|
s1 = null;
|
|
16421
16421
|
}
|
|
16422
16422
|
if (s1 !== peg$FAILED) {
|
|
16423
|
-
if (input.substr(peg$currPos,
|
|
16423
|
+
if (input.substr(peg$currPos, 5) === peg$c1452) {
|
|
16424
16424
|
s2 = peg$c1452;
|
|
16425
|
-
peg$currPos +=
|
|
16425
|
+
peg$currPos += 5;
|
|
16426
16426
|
}
|
|
16427
16427
|
else {
|
|
16428
16428
|
s2 = peg$FAILED;
|
|
@@ -16452,7 +16452,7 @@ function peg$parse(input, options) {
|
|
|
16452
16452
|
s5 = null;
|
|
16453
16453
|
}
|
|
16454
16454
|
if (s5 !== peg$FAILED) {
|
|
16455
|
-
s6 = peg$
|
|
16455
|
+
s6 = peg$parseThemeOrThemeList();
|
|
16456
16456
|
if (s6 !== peg$FAILED) {
|
|
16457
16457
|
s7 = peg$parseWS();
|
|
16458
16458
|
if (s7 === peg$FAILED) {
|
|
@@ -16525,7 +16525,7 @@ function peg$parse(input, options) {
|
|
|
16525
16525
|
}
|
|
16526
16526
|
return s0;
|
|
16527
16527
|
}
|
|
16528
|
-
function peg$
|
|
16528
|
+
function peg$parseMachineFlow() {
|
|
16529
16529
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16530
16530
|
s0 = peg$currPos;
|
|
16531
16531
|
s1 = peg$parseWS();
|
|
@@ -16533,9 +16533,9 @@ function peg$parse(input, options) {
|
|
|
16533
16533
|
s1 = null;
|
|
16534
16534
|
}
|
|
16535
16535
|
if (s1 !== peg$FAILED) {
|
|
16536
|
-
if (input.substr(peg$currPos,
|
|
16536
|
+
if (input.substr(peg$currPos, 4) === peg$c1455) {
|
|
16537
16537
|
s2 = peg$c1455;
|
|
16538
|
-
peg$currPos +=
|
|
16538
|
+
peg$currPos += 4;
|
|
16539
16539
|
}
|
|
16540
16540
|
else {
|
|
16541
16541
|
s2 = peg$FAILED;
|
|
@@ -16565,7 +16565,7 @@ function peg$parse(input, options) {
|
|
|
16565
16565
|
s5 = null;
|
|
16566
16566
|
}
|
|
16567
16567
|
if (s5 !== peg$FAILED) {
|
|
16568
|
-
s6 = peg$
|
|
16568
|
+
s6 = peg$parseDirection();
|
|
16569
16569
|
if (s6 !== peg$FAILED) {
|
|
16570
16570
|
s7 = peg$parseWS();
|
|
16571
16571
|
if (s7 === peg$FAILED) {
|
|
@@ -16638,7 +16638,7 @@ function peg$parse(input, options) {
|
|
|
16638
16638
|
}
|
|
16639
16639
|
return s0;
|
|
16640
16640
|
}
|
|
16641
|
-
function peg$
|
|
16641
|
+
function peg$parseMachineHookDefinition() {
|
|
16642
16642
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16643
16643
|
s0 = peg$currPos;
|
|
16644
16644
|
s1 = peg$parseWS();
|
|
@@ -16646,9 +16646,9 @@ function peg$parse(input, options) {
|
|
|
16646
16646
|
s1 = null;
|
|
16647
16647
|
}
|
|
16648
16648
|
if (s1 !== peg$FAILED) {
|
|
16649
|
-
if (input.substr(peg$currPos,
|
|
16649
|
+
if (input.substr(peg$currPos, 5) === peg$c1458) {
|
|
16650
16650
|
s2 = peg$c1458;
|
|
16651
|
-
peg$currPos +=
|
|
16651
|
+
peg$currPos += 5;
|
|
16652
16652
|
}
|
|
16653
16653
|
else {
|
|
16654
16654
|
s2 = peg$FAILED;
|
|
@@ -16678,7 +16678,7 @@ function peg$parse(input, options) {
|
|
|
16678
16678
|
s5 = null;
|
|
16679
16679
|
}
|
|
16680
16680
|
if (s5 !== peg$FAILED) {
|
|
16681
|
-
s6 = peg$
|
|
16681
|
+
s6 = peg$parseHookDefinition();
|
|
16682
16682
|
if (s6 !== peg$FAILED) {
|
|
16683
16683
|
s7 = peg$parseWS();
|
|
16684
16684
|
if (s7 === peg$FAILED) {
|
|
@@ -16751,6 +16751,119 @@ function peg$parse(input, options) {
|
|
|
16751
16751
|
}
|
|
16752
16752
|
return s0;
|
|
16753
16753
|
}
|
|
16754
|
+
function peg$parseDotPreamble() {
|
|
16755
|
+
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
16756
|
+
s0 = peg$currPos;
|
|
16757
|
+
s1 = peg$parseWS();
|
|
16758
|
+
if (s1 === peg$FAILED) {
|
|
16759
|
+
s1 = null;
|
|
16760
|
+
}
|
|
16761
|
+
if (s1 !== peg$FAILED) {
|
|
16762
|
+
if (input.substr(peg$currPos, 12) === peg$c1461) {
|
|
16763
|
+
s2 = peg$c1461;
|
|
16764
|
+
peg$currPos += 12;
|
|
16765
|
+
}
|
|
16766
|
+
else {
|
|
16767
|
+
s2 = peg$FAILED;
|
|
16768
|
+
if (peg$silentFails === 0) {
|
|
16769
|
+
peg$fail(peg$c1462);
|
|
16770
|
+
}
|
|
16771
|
+
}
|
|
16772
|
+
if (s2 !== peg$FAILED) {
|
|
16773
|
+
s3 = peg$parseWS();
|
|
16774
|
+
if (s3 === peg$FAILED) {
|
|
16775
|
+
s3 = null;
|
|
16776
|
+
}
|
|
16777
|
+
if (s3 !== peg$FAILED) {
|
|
16778
|
+
if (input.charCodeAt(peg$currPos) === 58) {
|
|
16779
|
+
s4 = peg$c1206;
|
|
16780
|
+
peg$currPos++;
|
|
16781
|
+
}
|
|
16782
|
+
else {
|
|
16783
|
+
s4 = peg$FAILED;
|
|
16784
|
+
if (peg$silentFails === 0) {
|
|
16785
|
+
peg$fail(peg$c1207);
|
|
16786
|
+
}
|
|
16787
|
+
}
|
|
16788
|
+
if (s4 !== peg$FAILED) {
|
|
16789
|
+
s5 = peg$parseWS();
|
|
16790
|
+
if (s5 === peg$FAILED) {
|
|
16791
|
+
s5 = null;
|
|
16792
|
+
}
|
|
16793
|
+
if (s5 !== peg$FAILED) {
|
|
16794
|
+
s6 = peg$parseString();
|
|
16795
|
+
if (s6 !== peg$FAILED) {
|
|
16796
|
+
s7 = peg$parseWS();
|
|
16797
|
+
if (s7 === peg$FAILED) {
|
|
16798
|
+
s7 = null;
|
|
16799
|
+
}
|
|
16800
|
+
if (s7 !== peg$FAILED) {
|
|
16801
|
+
if (input.charCodeAt(peg$currPos) === 59) {
|
|
16802
|
+
s8 = peg$c1208;
|
|
16803
|
+
peg$currPos++;
|
|
16804
|
+
}
|
|
16805
|
+
else {
|
|
16806
|
+
s8 = peg$FAILED;
|
|
16807
|
+
if (peg$silentFails === 0) {
|
|
16808
|
+
peg$fail(peg$c1209);
|
|
16809
|
+
}
|
|
16810
|
+
}
|
|
16811
|
+
if (s8 !== peg$FAILED) {
|
|
16812
|
+
s9 = peg$parseWS();
|
|
16813
|
+
if (s9 === peg$FAILED) {
|
|
16814
|
+
s9 = null;
|
|
16815
|
+
}
|
|
16816
|
+
if (s9 !== peg$FAILED) {
|
|
16817
|
+
peg$savedPos = s0;
|
|
16818
|
+
s1 = peg$c1463(s6);
|
|
16819
|
+
s0 = s1;
|
|
16820
|
+
}
|
|
16821
|
+
else {
|
|
16822
|
+
peg$currPos = s0;
|
|
16823
|
+
s0 = peg$FAILED;
|
|
16824
|
+
}
|
|
16825
|
+
}
|
|
16826
|
+
else {
|
|
16827
|
+
peg$currPos = s0;
|
|
16828
|
+
s0 = peg$FAILED;
|
|
16829
|
+
}
|
|
16830
|
+
}
|
|
16831
|
+
else {
|
|
16832
|
+
peg$currPos = s0;
|
|
16833
|
+
s0 = peg$FAILED;
|
|
16834
|
+
}
|
|
16835
|
+
}
|
|
16836
|
+
else {
|
|
16837
|
+
peg$currPos = s0;
|
|
16838
|
+
s0 = peg$FAILED;
|
|
16839
|
+
}
|
|
16840
|
+
}
|
|
16841
|
+
else {
|
|
16842
|
+
peg$currPos = s0;
|
|
16843
|
+
s0 = peg$FAILED;
|
|
16844
|
+
}
|
|
16845
|
+
}
|
|
16846
|
+
else {
|
|
16847
|
+
peg$currPos = s0;
|
|
16848
|
+
s0 = peg$FAILED;
|
|
16849
|
+
}
|
|
16850
|
+
}
|
|
16851
|
+
else {
|
|
16852
|
+
peg$currPos = s0;
|
|
16853
|
+
s0 = peg$FAILED;
|
|
16854
|
+
}
|
|
16855
|
+
}
|
|
16856
|
+
else {
|
|
16857
|
+
peg$currPos = s0;
|
|
16858
|
+
s0 = peg$FAILED;
|
|
16859
|
+
}
|
|
16860
|
+
}
|
|
16861
|
+
else {
|
|
16862
|
+
peg$currPos = s0;
|
|
16863
|
+
s0 = peg$FAILED;
|
|
16864
|
+
}
|
|
16865
|
+
return s0;
|
|
16866
|
+
}
|
|
16754
16867
|
function peg$parseMachineAttribute() {
|
|
16755
16868
|
var s0;
|
|
16756
16869
|
peg$silentFails++;
|
|
@@ -16758,29 +16871,32 @@ function peg$parse(input, options) {
|
|
|
16758
16871
|
if (s0 === peg$FAILED) {
|
|
16759
16872
|
s0 = peg$parseMachineName();
|
|
16760
16873
|
if (s0 === peg$FAILED) {
|
|
16761
|
-
s0 = peg$
|
|
16874
|
+
s0 = peg$parseNpmName();
|
|
16762
16875
|
if (s0 === peg$FAILED) {
|
|
16763
|
-
s0 = peg$
|
|
16876
|
+
s0 = peg$parseMachineAuthor();
|
|
16764
16877
|
if (s0 === peg$FAILED) {
|
|
16765
|
-
s0 = peg$
|
|
16878
|
+
s0 = peg$parseMachineContributor();
|
|
16766
16879
|
if (s0 === peg$FAILED) {
|
|
16767
|
-
s0 = peg$
|
|
16880
|
+
s0 = peg$parseMachineComment();
|
|
16768
16881
|
if (s0 === peg$FAILED) {
|
|
16769
|
-
s0 = peg$
|
|
16882
|
+
s0 = peg$parseMachineDefinition();
|
|
16770
16883
|
if (s0 === peg$FAILED) {
|
|
16771
|
-
s0 = peg$
|
|
16884
|
+
s0 = peg$parseMachineReference();
|
|
16772
16885
|
if (s0 === peg$FAILED) {
|
|
16773
|
-
s0 = peg$
|
|
16886
|
+
s0 = peg$parseMachineVersion();
|
|
16774
16887
|
if (s0 === peg$FAILED) {
|
|
16775
|
-
s0 = peg$
|
|
16888
|
+
s0 = peg$parseMachineLicense();
|
|
16776
16889
|
if (s0 === peg$FAILED) {
|
|
16777
|
-
s0 = peg$
|
|
16890
|
+
s0 = peg$parseMachineLanguage();
|
|
16778
16891
|
if (s0 === peg$FAILED) {
|
|
16779
|
-
s0 = peg$
|
|
16892
|
+
s0 = peg$parseMachineTheme();
|
|
16780
16893
|
if (s0 === peg$FAILED) {
|
|
16781
|
-
s0 = peg$
|
|
16894
|
+
s0 = peg$parseDotPreamble();
|
|
16782
16895
|
if (s0 === peg$FAILED) {
|
|
16783
|
-
s0 = peg$
|
|
16896
|
+
s0 = peg$parseMachineFlow();
|
|
16897
|
+
if (s0 === peg$FAILED) {
|
|
16898
|
+
s0 = peg$parseMachineHookDefinition();
|
|
16899
|
+
}
|
|
16784
16900
|
}
|
|
16785
16901
|
}
|
|
16786
16902
|
}
|
|
@@ -16797,7 +16913,7 @@ function peg$parse(input, options) {
|
|
|
16797
16913
|
peg$silentFails--;
|
|
16798
16914
|
if (s0 === peg$FAILED) {
|
|
16799
16915
|
if (peg$silentFails === 0) {
|
|
16800
|
-
peg$fail(peg$
|
|
16916
|
+
peg$fail(peg$c1464);
|
|
16801
16917
|
}
|
|
16802
16918
|
}
|
|
16803
16919
|
return s0;
|
|
@@ -16828,14 +16944,14 @@ function peg$parse(input, options) {
|
|
|
16828
16944
|
s1 = null;
|
|
16829
16945
|
}
|
|
16830
16946
|
if (s1 !== peg$FAILED) {
|
|
16831
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
16832
|
-
s2 = peg$
|
|
16947
|
+
if (input.substr(peg$currPos, 5) === peg$c1465) {
|
|
16948
|
+
s2 = peg$c1465;
|
|
16833
16949
|
peg$currPos += 5;
|
|
16834
16950
|
}
|
|
16835
16951
|
else {
|
|
16836
16952
|
s2 = peg$FAILED;
|
|
16837
16953
|
if (peg$silentFails === 0) {
|
|
16838
|
-
peg$fail(peg$
|
|
16954
|
+
peg$fail(peg$c1466);
|
|
16839
16955
|
}
|
|
16840
16956
|
}
|
|
16841
16957
|
if (s2 !== peg$FAILED) {
|
|
@@ -16884,7 +17000,7 @@ function peg$parse(input, options) {
|
|
|
16884
17000
|
}
|
|
16885
17001
|
if (s9 !== peg$FAILED) {
|
|
16886
17002
|
peg$savedPos = s0;
|
|
16887
|
-
s1 = peg$
|
|
17003
|
+
s1 = peg$c1467(s6);
|
|
16888
17004
|
s0 = s1;
|
|
16889
17005
|
}
|
|
16890
17006
|
else {
|
|
@@ -16949,14 +17065,14 @@ function peg$parse(input, options) {
|
|
|
16949
17065
|
s1 = null;
|
|
16950
17066
|
}
|
|
16951
17067
|
if (s1 !== peg$FAILED) {
|
|
16952
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
16953
|
-
s2 = peg$
|
|
17068
|
+
if (input.substr(peg$currPos, 5) === peg$c1468) {
|
|
17069
|
+
s2 = peg$c1468;
|
|
16954
17070
|
peg$currPos += 5;
|
|
16955
17071
|
}
|
|
16956
17072
|
else {
|
|
16957
17073
|
s2 = peg$FAILED;
|
|
16958
17074
|
if (peg$silentFails === 0) {
|
|
16959
|
-
peg$fail(peg$
|
|
17075
|
+
peg$fail(peg$c1469);
|
|
16960
17076
|
}
|
|
16961
17077
|
}
|
|
16962
17078
|
if (s2 !== peg$FAILED) {
|
|
@@ -17005,7 +17121,7 @@ function peg$parse(input, options) {
|
|
|
17005
17121
|
}
|
|
17006
17122
|
if (s9 !== peg$FAILED) {
|
|
17007
17123
|
peg$savedPos = s0;
|
|
17008
|
-
s1 = peg$
|
|
17124
|
+
s1 = peg$c1470(s6);
|
|
17009
17125
|
s0 = s1;
|
|
17010
17126
|
}
|
|
17011
17127
|
else {
|
|
@@ -17070,14 +17186,14 @@ function peg$parse(input, options) {
|
|
|
17070
17186
|
s1 = null;
|
|
17071
17187
|
}
|
|
17072
17188
|
if (s1 !== peg$FAILED) {
|
|
17073
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
17074
|
-
s2 = peg$
|
|
17189
|
+
if (input.substr(peg$currPos, 10) === peg$c1472) {
|
|
17190
|
+
s2 = peg$c1472;
|
|
17075
17191
|
peg$currPos += 10;
|
|
17076
17192
|
}
|
|
17077
17193
|
else {
|
|
17078
17194
|
s2 = peg$FAILED;
|
|
17079
17195
|
if (peg$silentFails === 0) {
|
|
17080
|
-
peg$fail(peg$
|
|
17196
|
+
peg$fail(peg$c1473);
|
|
17081
17197
|
}
|
|
17082
17198
|
}
|
|
17083
17199
|
if (s2 !== peg$FAILED) {
|
|
@@ -17126,7 +17242,7 @@ function peg$parse(input, options) {
|
|
|
17126
17242
|
}
|
|
17127
17243
|
if (s9 !== peg$FAILED) {
|
|
17128
17244
|
peg$savedPos = s0;
|
|
17129
|
-
s1 = peg$
|
|
17245
|
+
s1 = peg$c1474(s6);
|
|
17130
17246
|
s0 = s1;
|
|
17131
17247
|
}
|
|
17132
17248
|
else {
|
|
@@ -17177,7 +17293,7 @@ function peg$parse(input, options) {
|
|
|
17177
17293
|
if (s0 === peg$FAILED) {
|
|
17178
17294
|
s1 = peg$FAILED;
|
|
17179
17295
|
if (peg$silentFails === 0) {
|
|
17180
|
-
peg$fail(peg$
|
|
17296
|
+
peg$fail(peg$c1471);
|
|
17181
17297
|
}
|
|
17182
17298
|
}
|
|
17183
17299
|
return s0;
|
|
@@ -17191,14 +17307,14 @@ function peg$parse(input, options) {
|
|
|
17191
17307
|
s1 = null;
|
|
17192
17308
|
}
|
|
17193
17309
|
if (s1 !== peg$FAILED) {
|
|
17194
|
-
if (input.substr(peg$currPos, 16) === peg$
|
|
17195
|
-
s2 = peg$
|
|
17310
|
+
if (input.substr(peg$currPos, 16) === peg$c1476) {
|
|
17311
|
+
s2 = peg$c1476;
|
|
17196
17312
|
peg$currPos += 16;
|
|
17197
17313
|
}
|
|
17198
17314
|
else {
|
|
17199
17315
|
s2 = peg$FAILED;
|
|
17200
17316
|
if (peg$silentFails === 0) {
|
|
17201
|
-
peg$fail(peg$
|
|
17317
|
+
peg$fail(peg$c1477);
|
|
17202
17318
|
}
|
|
17203
17319
|
}
|
|
17204
17320
|
if (s2 !== peg$FAILED) {
|
|
@@ -17247,7 +17363,7 @@ function peg$parse(input, options) {
|
|
|
17247
17363
|
}
|
|
17248
17364
|
if (s9 !== peg$FAILED) {
|
|
17249
17365
|
peg$savedPos = s0;
|
|
17250
|
-
s1 = peg$
|
|
17366
|
+
s1 = peg$c1478(s6);
|
|
17251
17367
|
s0 = s1;
|
|
17252
17368
|
}
|
|
17253
17369
|
else {
|
|
@@ -17298,7 +17414,7 @@ function peg$parse(input, options) {
|
|
|
17298
17414
|
if (s0 === peg$FAILED) {
|
|
17299
17415
|
s1 = peg$FAILED;
|
|
17300
17416
|
if (peg$silentFails === 0) {
|
|
17301
|
-
peg$fail(peg$
|
|
17417
|
+
peg$fail(peg$c1475);
|
|
17302
17418
|
}
|
|
17303
17419
|
}
|
|
17304
17420
|
return s0;
|
|
@@ -17312,14 +17428,14 @@ function peg$parse(input, options) {
|
|
|
17312
17428
|
s1 = null;
|
|
17313
17429
|
}
|
|
17314
17430
|
if (s1 !== peg$FAILED) {
|
|
17315
|
-
if (input.substr(peg$currPos, 12) === peg$
|
|
17316
|
-
s2 = peg$
|
|
17431
|
+
if (input.substr(peg$currPos, 12) === peg$c1480) {
|
|
17432
|
+
s2 = peg$c1480;
|
|
17317
17433
|
peg$currPos += 12;
|
|
17318
17434
|
}
|
|
17319
17435
|
else {
|
|
17320
17436
|
s2 = peg$FAILED;
|
|
17321
17437
|
if (peg$silentFails === 0) {
|
|
17322
|
-
peg$fail(peg$
|
|
17438
|
+
peg$fail(peg$c1481);
|
|
17323
17439
|
}
|
|
17324
17440
|
}
|
|
17325
17441
|
if (s2 !== peg$FAILED) {
|
|
@@ -17368,7 +17484,7 @@ function peg$parse(input, options) {
|
|
|
17368
17484
|
}
|
|
17369
17485
|
if (s9 !== peg$FAILED) {
|
|
17370
17486
|
peg$savedPos = s0;
|
|
17371
|
-
s1 = peg$
|
|
17487
|
+
s1 = peg$c1482(s6);
|
|
17372
17488
|
s0 = s1;
|
|
17373
17489
|
}
|
|
17374
17490
|
else {
|
|
@@ -17419,7 +17535,7 @@ function peg$parse(input, options) {
|
|
|
17419
17535
|
if (s0 === peg$FAILED) {
|
|
17420
17536
|
s1 = peg$FAILED;
|
|
17421
17537
|
if (peg$silentFails === 0) {
|
|
17422
|
-
peg$fail(peg$
|
|
17538
|
+
peg$fail(peg$c1479);
|
|
17423
17539
|
}
|
|
17424
17540
|
}
|
|
17425
17541
|
return s0;
|
|
@@ -17433,14 +17549,14 @@ function peg$parse(input, options) {
|
|
|
17433
17549
|
s1 = null;
|
|
17434
17550
|
}
|
|
17435
17551
|
if (s1 !== peg$FAILED) {
|
|
17436
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17437
|
-
s2 = peg$
|
|
17552
|
+
if (input.substr(peg$currPos, 5) === peg$c1484) {
|
|
17553
|
+
s2 = peg$c1484;
|
|
17438
17554
|
peg$currPos += 5;
|
|
17439
17555
|
}
|
|
17440
17556
|
else {
|
|
17441
17557
|
s2 = peg$FAILED;
|
|
17442
17558
|
if (peg$silentFails === 0) {
|
|
17443
|
-
peg$fail(peg$
|
|
17559
|
+
peg$fail(peg$c1485);
|
|
17444
17560
|
}
|
|
17445
17561
|
}
|
|
17446
17562
|
if (s2 !== peg$FAILED) {
|
|
@@ -17489,7 +17605,7 @@ function peg$parse(input, options) {
|
|
|
17489
17605
|
}
|
|
17490
17606
|
if (s9 !== peg$FAILED) {
|
|
17491
17607
|
peg$savedPos = s0;
|
|
17492
|
-
s1 = peg$
|
|
17608
|
+
s1 = peg$c1486(s6);
|
|
17493
17609
|
s0 = s1;
|
|
17494
17610
|
}
|
|
17495
17611
|
else {
|
|
@@ -17540,7 +17656,7 @@ function peg$parse(input, options) {
|
|
|
17540
17656
|
if (s0 === peg$FAILED) {
|
|
17541
17657
|
s1 = peg$FAILED;
|
|
17542
17658
|
if (peg$silentFails === 0) {
|
|
17543
|
-
peg$fail(peg$
|
|
17659
|
+
peg$fail(peg$c1483);
|
|
17544
17660
|
}
|
|
17545
17661
|
}
|
|
17546
17662
|
return s0;
|
|
@@ -17554,14 +17670,14 @@ function peg$parse(input, options) {
|
|
|
17554
17670
|
s1 = null;
|
|
17555
17671
|
}
|
|
17556
17672
|
if (s1 !== peg$FAILED) {
|
|
17557
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
17558
|
-
s2 = peg$
|
|
17673
|
+
if (input.substr(peg$currPos, 7) === peg$c1488) {
|
|
17674
|
+
s2 = peg$c1488;
|
|
17559
17675
|
peg$currPos += 7;
|
|
17560
17676
|
}
|
|
17561
17677
|
else {
|
|
17562
17678
|
s2 = peg$FAILED;
|
|
17563
17679
|
if (peg$silentFails === 0) {
|
|
17564
|
-
peg$fail(peg$
|
|
17680
|
+
peg$fail(peg$c1489);
|
|
17565
17681
|
}
|
|
17566
17682
|
}
|
|
17567
17683
|
if (s2 !== peg$FAILED) {
|
|
@@ -17610,7 +17726,7 @@ function peg$parse(input, options) {
|
|
|
17610
17726
|
}
|
|
17611
17727
|
if (s9 !== peg$FAILED) {
|
|
17612
17728
|
peg$savedPos = s0;
|
|
17613
|
-
s1 = peg$
|
|
17729
|
+
s1 = peg$c1490(s6);
|
|
17614
17730
|
s0 = s1;
|
|
17615
17731
|
}
|
|
17616
17732
|
else {
|
|
@@ -17661,7 +17777,7 @@ function peg$parse(input, options) {
|
|
|
17661
17777
|
if (s0 === peg$FAILED) {
|
|
17662
17778
|
s1 = peg$FAILED;
|
|
17663
17779
|
if (peg$silentFails === 0) {
|
|
17664
|
-
peg$fail(peg$
|
|
17780
|
+
peg$fail(peg$c1487);
|
|
17665
17781
|
}
|
|
17666
17782
|
}
|
|
17667
17783
|
return s0;
|
|
@@ -17731,7 +17847,7 @@ function peg$parse(input, options) {
|
|
|
17731
17847
|
}
|
|
17732
17848
|
if (s9 !== peg$FAILED) {
|
|
17733
17849
|
peg$savedPos = s0;
|
|
17734
|
-
s1 = peg$
|
|
17850
|
+
s1 = peg$c1492(s6);
|
|
17735
17851
|
s0 = s1;
|
|
17736
17852
|
}
|
|
17737
17853
|
else {
|
|
@@ -17785,14 +17901,14 @@ function peg$parse(input, options) {
|
|
|
17785
17901
|
s1 = null;
|
|
17786
17902
|
}
|
|
17787
17903
|
if (s1 !== peg$FAILED) {
|
|
17788
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
17789
|
-
s2 = peg$
|
|
17904
|
+
if (input.substr(peg$currPos, 9) === peg$c1493) {
|
|
17905
|
+
s2 = peg$c1493;
|
|
17790
17906
|
peg$currPos += 9;
|
|
17791
17907
|
}
|
|
17792
17908
|
else {
|
|
17793
17909
|
s2 = peg$FAILED;
|
|
17794
17910
|
if (peg$silentFails === 0) {
|
|
17795
|
-
peg$fail(peg$
|
|
17911
|
+
peg$fail(peg$c1494);
|
|
17796
17912
|
}
|
|
17797
17913
|
}
|
|
17798
17914
|
if (s2 !== peg$FAILED) {
|
|
@@ -17841,7 +17957,7 @@ function peg$parse(input, options) {
|
|
|
17841
17957
|
}
|
|
17842
17958
|
if (s9 !== peg$FAILED) {
|
|
17843
17959
|
peg$savedPos = s0;
|
|
17844
|
-
s1 = peg$
|
|
17960
|
+
s1 = peg$c1492(s6);
|
|
17845
17961
|
s0 = s1;
|
|
17846
17962
|
}
|
|
17847
17963
|
else {
|
|
@@ -17893,7 +18009,7 @@ function peg$parse(input, options) {
|
|
|
17893
18009
|
if (s0 === peg$FAILED) {
|
|
17894
18010
|
s1 = peg$FAILED;
|
|
17895
18011
|
if (peg$silentFails === 0) {
|
|
17896
|
-
peg$fail(peg$
|
|
18012
|
+
peg$fail(peg$c1491);
|
|
17897
18013
|
}
|
|
17898
18014
|
}
|
|
17899
18015
|
return s0;
|
|
@@ -17907,14 +18023,14 @@ function peg$parse(input, options) {
|
|
|
17907
18023
|
s1 = null;
|
|
17908
18024
|
}
|
|
17909
18025
|
if (s1 !== peg$FAILED) {
|
|
17910
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
17911
|
-
s2 = peg$
|
|
18026
|
+
if (input.substr(peg$currPos, 5) === peg$c1496) {
|
|
18027
|
+
s2 = peg$c1496;
|
|
17912
18028
|
peg$currPos += 5;
|
|
17913
18029
|
}
|
|
17914
18030
|
else {
|
|
17915
18031
|
s2 = peg$FAILED;
|
|
17916
18032
|
if (peg$silentFails === 0) {
|
|
17917
|
-
peg$fail(peg$
|
|
18033
|
+
peg$fail(peg$c1497);
|
|
17918
18034
|
}
|
|
17919
18035
|
}
|
|
17920
18036
|
if (s2 !== peg$FAILED) {
|
|
@@ -17963,7 +18079,7 @@ function peg$parse(input, options) {
|
|
|
17963
18079
|
}
|
|
17964
18080
|
if (s9 !== peg$FAILED) {
|
|
17965
18081
|
peg$savedPos = s0;
|
|
17966
|
-
s1 = peg$
|
|
18082
|
+
s1 = peg$c1498(s6);
|
|
17967
18083
|
s0 = s1;
|
|
17968
18084
|
}
|
|
17969
18085
|
else {
|
|
@@ -18014,7 +18130,7 @@ function peg$parse(input, options) {
|
|
|
18014
18130
|
if (s0 === peg$FAILED) {
|
|
18015
18131
|
s1 = peg$FAILED;
|
|
18016
18132
|
if (peg$silentFails === 0) {
|
|
18017
|
-
peg$fail(peg$
|
|
18133
|
+
peg$fail(peg$c1495);
|
|
18018
18134
|
}
|
|
18019
18135
|
}
|
|
18020
18136
|
return s0;
|
|
@@ -18028,14 +18144,14 @@ function peg$parse(input, options) {
|
|
|
18028
18144
|
s1 = null;
|
|
18029
18145
|
}
|
|
18030
18146
|
if (s1 !== peg$FAILED) {
|
|
18031
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18032
|
-
s2 = peg$
|
|
18147
|
+
if (input.substr(peg$currPos, 3) === peg$c1500) {
|
|
18148
|
+
s2 = peg$c1500;
|
|
18033
18149
|
peg$currPos += 3;
|
|
18034
18150
|
}
|
|
18035
18151
|
else {
|
|
18036
18152
|
s2 = peg$FAILED;
|
|
18037
18153
|
if (peg$silentFails === 0) {
|
|
18038
|
-
peg$fail(peg$
|
|
18154
|
+
peg$fail(peg$c1501);
|
|
18039
18155
|
}
|
|
18040
18156
|
}
|
|
18041
18157
|
if (s2 !== peg$FAILED) {
|
|
@@ -18084,7 +18200,7 @@ function peg$parse(input, options) {
|
|
|
18084
18200
|
}
|
|
18085
18201
|
if (s9 !== peg$FAILED) {
|
|
18086
18202
|
peg$savedPos = s0;
|
|
18087
|
-
s1 = peg$
|
|
18203
|
+
s1 = peg$c1502(s6);
|
|
18088
18204
|
s0 = s1;
|
|
18089
18205
|
}
|
|
18090
18206
|
else {
|
|
@@ -18135,7 +18251,7 @@ function peg$parse(input, options) {
|
|
|
18135
18251
|
if (s0 === peg$FAILED) {
|
|
18136
18252
|
s1 = peg$FAILED;
|
|
18137
18253
|
if (peg$silentFails === 0) {
|
|
18138
|
-
peg$fail(peg$
|
|
18254
|
+
peg$fail(peg$c1499);
|
|
18139
18255
|
}
|
|
18140
18256
|
}
|
|
18141
18257
|
return s0;
|
|
@@ -18149,14 +18265,14 @@ function peg$parse(input, options) {
|
|
|
18149
18265
|
s1 = null;
|
|
18150
18266
|
}
|
|
18151
18267
|
if (s1 !== peg$FAILED) {
|
|
18152
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18153
|
-
s2 = peg$
|
|
18268
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
18269
|
+
s2 = peg$c1504;
|
|
18154
18270
|
peg$currPos += 8;
|
|
18155
18271
|
}
|
|
18156
18272
|
else {
|
|
18157
18273
|
s2 = peg$FAILED;
|
|
18158
18274
|
if (peg$silentFails === 0) {
|
|
18159
|
-
peg$fail(peg$
|
|
18275
|
+
peg$fail(peg$c1505);
|
|
18160
18276
|
}
|
|
18161
18277
|
}
|
|
18162
18278
|
if (s2 !== peg$FAILED) {
|
|
@@ -18209,7 +18325,7 @@ function peg$parse(input, options) {
|
|
|
18209
18325
|
}
|
|
18210
18326
|
if (s11 !== peg$FAILED) {
|
|
18211
18327
|
peg$savedPos = s0;
|
|
18212
|
-
s1 = peg$
|
|
18328
|
+
s1 = peg$c1506(s6, s8);
|
|
18213
18329
|
s0 = s1;
|
|
18214
18330
|
}
|
|
18215
18331
|
else {
|
|
@@ -18273,14 +18389,14 @@ function peg$parse(input, options) {
|
|
|
18273
18389
|
s1 = null;
|
|
18274
18390
|
}
|
|
18275
18391
|
if (s1 !== peg$FAILED) {
|
|
18276
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18277
|
-
s2 = peg$
|
|
18392
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
18393
|
+
s2 = peg$c1504;
|
|
18278
18394
|
peg$currPos += 8;
|
|
18279
18395
|
}
|
|
18280
18396
|
else {
|
|
18281
18397
|
s2 = peg$FAILED;
|
|
18282
18398
|
if (peg$silentFails === 0) {
|
|
18283
|
-
peg$fail(peg$
|
|
18399
|
+
peg$fail(peg$c1505);
|
|
18284
18400
|
}
|
|
18285
18401
|
}
|
|
18286
18402
|
if (s2 !== peg$FAILED) {
|
|
@@ -18313,14 +18429,14 @@ function peg$parse(input, options) {
|
|
|
18313
18429
|
if (s8 !== peg$FAILED) {
|
|
18314
18430
|
s9 = peg$parseWS();
|
|
18315
18431
|
if (s9 !== peg$FAILED) {
|
|
18316
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18317
|
-
s10 = peg$
|
|
18432
|
+
if (input.substr(peg$currPos, 8) === peg$c1507) {
|
|
18433
|
+
s10 = peg$c1507;
|
|
18318
18434
|
peg$currPos += 8;
|
|
18319
18435
|
}
|
|
18320
18436
|
else {
|
|
18321
18437
|
s10 = peg$FAILED;
|
|
18322
18438
|
if (peg$silentFails === 0) {
|
|
18323
|
-
peg$fail(peg$
|
|
18439
|
+
peg$fail(peg$c1508);
|
|
18324
18440
|
}
|
|
18325
18441
|
}
|
|
18326
18442
|
if (s10 !== peg$FAILED) {
|
|
@@ -18346,7 +18462,7 @@ function peg$parse(input, options) {
|
|
|
18346
18462
|
}
|
|
18347
18463
|
if (s13 !== peg$FAILED) {
|
|
18348
18464
|
peg$savedPos = s0;
|
|
18349
|
-
s1 = peg$
|
|
18465
|
+
s1 = peg$c1509(s6, s8);
|
|
18350
18466
|
s0 = s1;
|
|
18351
18467
|
}
|
|
18352
18468
|
else {
|
|
@@ -18418,7 +18534,7 @@ function peg$parse(input, options) {
|
|
|
18418
18534
|
if (s0 === peg$FAILED) {
|
|
18419
18535
|
s1 = peg$FAILED;
|
|
18420
18536
|
if (peg$silentFails === 0) {
|
|
18421
|
-
peg$fail(peg$
|
|
18537
|
+
peg$fail(peg$c1503);
|
|
18422
18538
|
}
|
|
18423
18539
|
}
|
|
18424
18540
|
return s0;
|
|
@@ -18598,7 +18714,7 @@ function peg$parse(input, options) {
|
|
|
18598
18714
|
}
|
|
18599
18715
|
if (s11 !== peg$FAILED) {
|
|
18600
18716
|
peg$savedPos = s0;
|
|
18601
|
-
s1 = peg$
|
|
18717
|
+
s1 = peg$c1510(s4, s8);
|
|
18602
18718
|
s0 = s1;
|
|
18603
18719
|
}
|
|
18604
18720
|
else {
|
|
@@ -18666,13 +18782,13 @@ function peg$parse(input, options) {
|
|
|
18666
18782
|
}
|
|
18667
18783
|
if (s1 !== peg$FAILED) {
|
|
18668
18784
|
if (input.charCodeAt(peg$currPos) === 38) {
|
|
18669
|
-
s2 = peg$
|
|
18785
|
+
s2 = peg$c1511;
|
|
18670
18786
|
peg$currPos++;
|
|
18671
18787
|
}
|
|
18672
18788
|
else {
|
|
18673
18789
|
s2 = peg$FAILED;
|
|
18674
18790
|
if (peg$silentFails === 0) {
|
|
18675
|
-
peg$fail(peg$
|
|
18791
|
+
peg$fail(peg$c1512);
|
|
18676
18792
|
}
|
|
18677
18793
|
}
|
|
18678
18794
|
if (s2 !== peg$FAILED) {
|
|
@@ -18728,7 +18844,7 @@ function peg$parse(input, options) {
|
|
|
18728
18844
|
}
|
|
18729
18845
|
if (s11 !== peg$FAILED) {
|
|
18730
18846
|
peg$savedPos = s0;
|
|
18731
|
-
s1 = peg$
|
|
18847
|
+
s1 = peg$c1513(s4, s8);
|
|
18732
18848
|
s0 = s1;
|
|
18733
18849
|
}
|
|
18734
18850
|
else {
|
|
@@ -18795,14 +18911,14 @@ function peg$parse(input, options) {
|
|
|
18795
18911
|
s1 = null;
|
|
18796
18912
|
}
|
|
18797
18913
|
if (s1 !== peg$FAILED) {
|
|
18798
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18799
|
-
s2 = peg$
|
|
18914
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
18915
|
+
s2 = peg$c1504;
|
|
18800
18916
|
peg$currPos += 8;
|
|
18801
18917
|
}
|
|
18802
18918
|
else {
|
|
18803
18919
|
s2 = peg$FAILED;
|
|
18804
18920
|
if (peg$silentFails === 0) {
|
|
18805
|
-
peg$fail(peg$
|
|
18921
|
+
peg$fail(peg$c1505);
|
|
18806
18922
|
}
|
|
18807
18923
|
}
|
|
18808
18924
|
if (s2 !== peg$FAILED) {
|
|
@@ -18829,14 +18945,14 @@ function peg$parse(input, options) {
|
|
|
18829
18945
|
if (s8 !== peg$FAILED) {
|
|
18830
18946
|
s9 = peg$parseWS();
|
|
18831
18947
|
if (s9 !== peg$FAILED) {
|
|
18832
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18833
|
-
s10 = peg$
|
|
18948
|
+
if (input.substr(peg$currPos, 8) === peg$c1507) {
|
|
18949
|
+
s10 = peg$c1507;
|
|
18834
18950
|
peg$currPos += 8;
|
|
18835
18951
|
}
|
|
18836
18952
|
else {
|
|
18837
18953
|
s10 = peg$FAILED;
|
|
18838
18954
|
if (peg$silentFails === 0) {
|
|
18839
|
-
peg$fail(peg$
|
|
18955
|
+
peg$fail(peg$c1508);
|
|
18840
18956
|
}
|
|
18841
18957
|
}
|
|
18842
18958
|
if (s10 !== peg$FAILED) {
|
|
@@ -18862,7 +18978,7 @@ function peg$parse(input, options) {
|
|
|
18862
18978
|
}
|
|
18863
18979
|
if (s13 !== peg$FAILED) {
|
|
18864
18980
|
peg$savedPos = s0;
|
|
18865
|
-
s1 = peg$
|
|
18981
|
+
s1 = peg$c1514(s4, s8);
|
|
18866
18982
|
s0 = s1;
|
|
18867
18983
|
}
|
|
18868
18984
|
else {
|
|
@@ -18936,14 +19052,14 @@ function peg$parse(input, options) {
|
|
|
18936
19052
|
s1 = null;
|
|
18937
19053
|
}
|
|
18938
19054
|
if (s1 !== peg$FAILED) {
|
|
18939
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18940
|
-
s2 = peg$
|
|
19055
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
19056
|
+
s2 = peg$c1504;
|
|
18941
19057
|
peg$currPos += 8;
|
|
18942
19058
|
}
|
|
18943
19059
|
else {
|
|
18944
19060
|
s2 = peg$FAILED;
|
|
18945
19061
|
if (peg$silentFails === 0) {
|
|
18946
|
-
peg$fail(peg$
|
|
19062
|
+
peg$fail(peg$c1505);
|
|
18947
19063
|
}
|
|
18948
19064
|
}
|
|
18949
19065
|
if (s2 !== peg$FAILED) {
|
|
@@ -18953,14 +19069,14 @@ function peg$parse(input, options) {
|
|
|
18953
19069
|
if (s4 !== peg$FAILED) {
|
|
18954
19070
|
s5 = peg$parseWS();
|
|
18955
19071
|
if (s5 !== peg$FAILED) {
|
|
18956
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
18957
|
-
s6 = peg$
|
|
19072
|
+
if (input.substr(peg$currPos, 8) === peg$c1507) {
|
|
19073
|
+
s6 = peg$c1507;
|
|
18958
19074
|
peg$currPos += 8;
|
|
18959
19075
|
}
|
|
18960
19076
|
else {
|
|
18961
19077
|
s6 = peg$FAILED;
|
|
18962
19078
|
if (peg$silentFails === 0) {
|
|
18963
|
-
peg$fail(peg$
|
|
19079
|
+
peg$fail(peg$c1508);
|
|
18964
19080
|
}
|
|
18965
19081
|
}
|
|
18966
19082
|
if (s6 !== peg$FAILED) {
|
|
@@ -18986,7 +19102,7 @@ function peg$parse(input, options) {
|
|
|
18986
19102
|
}
|
|
18987
19103
|
if (s9 !== peg$FAILED) {
|
|
18988
19104
|
peg$savedPos = s0;
|
|
18989
|
-
s1 = peg$
|
|
19105
|
+
s1 = peg$c1515(s4);
|
|
18990
19106
|
s0 = s1;
|
|
18991
19107
|
}
|
|
18992
19108
|
else {
|
|
@@ -19040,14 +19156,14 @@ function peg$parse(input, options) {
|
|
|
19040
19156
|
s1 = null;
|
|
19041
19157
|
}
|
|
19042
19158
|
if (s1 !== peg$FAILED) {
|
|
19043
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19044
|
-
s2 = peg$
|
|
19159
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
19160
|
+
s2 = peg$c1504;
|
|
19045
19161
|
peg$currPos += 8;
|
|
19046
19162
|
}
|
|
19047
19163
|
else {
|
|
19048
19164
|
s2 = peg$FAILED;
|
|
19049
19165
|
if (peg$silentFails === 0) {
|
|
19050
|
-
peg$fail(peg$
|
|
19166
|
+
peg$fail(peg$c1505);
|
|
19051
19167
|
}
|
|
19052
19168
|
}
|
|
19053
19169
|
if (s2 !== peg$FAILED) {
|
|
@@ -19094,7 +19210,7 @@ function peg$parse(input, options) {
|
|
|
19094
19210
|
}
|
|
19095
19211
|
if (s11 !== peg$FAILED) {
|
|
19096
19212
|
peg$savedPos = s0;
|
|
19097
|
-
s1 = peg$
|
|
19213
|
+
s1 = peg$c1516(s4, s8);
|
|
19098
19214
|
s0 = s1;
|
|
19099
19215
|
}
|
|
19100
19216
|
else {
|
|
@@ -19158,14 +19274,14 @@ function peg$parse(input, options) {
|
|
|
19158
19274
|
s1 = null;
|
|
19159
19275
|
}
|
|
19160
19276
|
if (s1 !== peg$FAILED) {
|
|
19161
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
19162
|
-
s2 = peg$
|
|
19277
|
+
if (input.substr(peg$currPos, 8) === peg$c1504) {
|
|
19278
|
+
s2 = peg$c1504;
|
|
19163
19279
|
peg$currPos += 8;
|
|
19164
19280
|
}
|
|
19165
19281
|
else {
|
|
19166
19282
|
s2 = peg$FAILED;
|
|
19167
19283
|
if (peg$silentFails === 0) {
|
|
19168
|
-
peg$fail(peg$
|
|
19284
|
+
peg$fail(peg$c1505);
|
|
19169
19285
|
}
|
|
19170
19286
|
}
|
|
19171
19287
|
if (s2 !== peg$FAILED) {
|
|
@@ -19195,7 +19311,7 @@ function peg$parse(input, options) {
|
|
|
19195
19311
|
}
|
|
19196
19312
|
if (s7 !== peg$FAILED) {
|
|
19197
19313
|
peg$savedPos = s0;
|
|
19198
|
-
s1 = peg$
|
|
19314
|
+
s1 = peg$c1517(s4);
|
|
19199
19315
|
s0 = s1;
|
|
19200
19316
|
}
|
|
19201
19317
|
else {
|
|
@@ -19240,14 +19356,14 @@ function peg$parse(input, options) {
|
|
|
19240
19356
|
function peg$parseRegularArrangeDeclaration() {
|
|
19241
19357
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19242
19358
|
s0 = peg$currPos;
|
|
19243
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
19244
|
-
s1 = peg$
|
|
19359
|
+
if (input.substr(peg$currPos, 7) === peg$c1518) {
|
|
19360
|
+
s1 = peg$c1518;
|
|
19245
19361
|
peg$currPos += 7;
|
|
19246
19362
|
}
|
|
19247
19363
|
else {
|
|
19248
19364
|
s1 = peg$FAILED;
|
|
19249
19365
|
if (peg$silentFails === 0) {
|
|
19250
|
-
peg$fail(peg$
|
|
19366
|
+
peg$fail(peg$c1519);
|
|
19251
19367
|
}
|
|
19252
19368
|
}
|
|
19253
19369
|
if (s1 !== peg$FAILED) {
|
|
@@ -19280,7 +19396,7 @@ function peg$parse(input, options) {
|
|
|
19280
19396
|
}
|
|
19281
19397
|
if (s6 !== peg$FAILED) {
|
|
19282
19398
|
peg$savedPos = s0;
|
|
19283
|
-
s1 = peg$
|
|
19399
|
+
s1 = peg$c1520(s3);
|
|
19284
19400
|
s0 = s1;
|
|
19285
19401
|
}
|
|
19286
19402
|
else {
|
|
@@ -19317,14 +19433,14 @@ function peg$parse(input, options) {
|
|
|
19317
19433
|
function peg$parseArrangeStartDeclaration() {
|
|
19318
19434
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19319
19435
|
s0 = peg$currPos;
|
|
19320
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
19321
|
-
s1 = peg$
|
|
19436
|
+
if (input.substr(peg$currPos, 13) === peg$c1521) {
|
|
19437
|
+
s1 = peg$c1521;
|
|
19322
19438
|
peg$currPos += 13;
|
|
19323
19439
|
}
|
|
19324
19440
|
else {
|
|
19325
19441
|
s1 = peg$FAILED;
|
|
19326
19442
|
if (peg$silentFails === 0) {
|
|
19327
|
-
peg$fail(peg$
|
|
19443
|
+
peg$fail(peg$c1522);
|
|
19328
19444
|
}
|
|
19329
19445
|
}
|
|
19330
19446
|
if (s1 !== peg$FAILED) {
|
|
@@ -19357,7 +19473,7 @@ function peg$parse(input, options) {
|
|
|
19357
19473
|
}
|
|
19358
19474
|
if (s6 !== peg$FAILED) {
|
|
19359
19475
|
peg$savedPos = s0;
|
|
19360
|
-
s1 = peg$
|
|
19476
|
+
s1 = peg$c1523(s3);
|
|
19361
19477
|
s0 = s1;
|
|
19362
19478
|
}
|
|
19363
19479
|
else {
|
|
@@ -19394,14 +19510,14 @@ function peg$parse(input, options) {
|
|
|
19394
19510
|
function peg$parseArrangeEndDeclaration() {
|
|
19395
19511
|
var s0, s1, s2, s3, s4, s5, s6;
|
|
19396
19512
|
s0 = peg$currPos;
|
|
19397
|
-
if (input.substr(peg$currPos, 11) === peg$
|
|
19398
|
-
s1 = peg$
|
|
19513
|
+
if (input.substr(peg$currPos, 11) === peg$c1524) {
|
|
19514
|
+
s1 = peg$c1524;
|
|
19399
19515
|
peg$currPos += 11;
|
|
19400
19516
|
}
|
|
19401
19517
|
else {
|
|
19402
19518
|
s1 = peg$FAILED;
|
|
19403
19519
|
if (peg$silentFails === 0) {
|
|
19404
|
-
peg$fail(peg$
|
|
19520
|
+
peg$fail(peg$c1525);
|
|
19405
19521
|
}
|
|
19406
19522
|
}
|
|
19407
19523
|
if (s1 !== peg$FAILED) {
|
|
@@ -19434,7 +19550,7 @@ function peg$parse(input, options) {
|
|
|
19434
19550
|
}
|
|
19435
19551
|
if (s6 !== peg$FAILED) {
|
|
19436
19552
|
peg$savedPos = s0;
|
|
19437
|
-
s1 = peg$
|
|
19553
|
+
s1 = peg$c1526(s3);
|
|
19438
19554
|
s0 = s1;
|
|
19439
19555
|
}
|
|
19440
19556
|
else {
|
|
@@ -19481,7 +19597,7 @@ function peg$parse(input, options) {
|
|
|
19481
19597
|
peg$silentFails--;
|
|
19482
19598
|
if (s0 === peg$FAILED) {
|
|
19483
19599
|
if (peg$silentFails === 0) {
|
|
19484
|
-
peg$fail(peg$
|
|
19600
|
+
peg$fail(peg$c1527);
|
|
19485
19601
|
}
|
|
19486
19602
|
}
|
|
19487
19603
|
return s0;
|
|
@@ -20805,7 +20921,7 @@ function compile_rule_handler(rule) {
|
|
|
20805
20921
|
'flow', 'dot_preamble', 'allows_override', 'default_state_config',
|
|
20806
20922
|
'default_start_state_config', 'default_end_state_config',
|
|
20807
20923
|
'default_hooked_state_config', 'default_active_state_config',
|
|
20808
|
-
'default_terminal_state_config'
|
|
20924
|
+
'default_terminal_state_config', 'npm_name'
|
|
20809
20925
|
];
|
|
20810
20926
|
if (tautologies.includes(rule.key)) {
|
|
20811
20927
|
return { agg_as: rule.key, val: rule.value };
|
|
@@ -20880,6 +20996,7 @@ function compile(tree) {
|
|
|
20880
20996
|
machine_license: [],
|
|
20881
20997
|
machine_name: [],
|
|
20882
20998
|
machine_reference: [],
|
|
20999
|
+
npm_name: [],
|
|
20883
21000
|
property_definition: [],
|
|
20884
21001
|
state_property: {},
|
|
20885
21002
|
theme: [],
|
|
@@ -20915,7 +21032,7 @@ function compile(tree) {
|
|
|
20915
21032
|
const oneOnlyKeys = [
|
|
20916
21033
|
'graph_layout', 'machine_name', 'machine_version', 'machine_comment',
|
|
20917
21034
|
'fsl_version', 'machine_license', 'machine_definition', 'machine_language',
|
|
20918
|
-
'flow', 'dot_preamble', 'allows_override'
|
|
21035
|
+
'flow', 'dot_preamble', 'allows_override', 'npm_name'
|
|
20919
21036
|
];
|
|
20920
21037
|
oneOnlyKeys.map((oneOnlyKey) => {
|
|
20921
21038
|
if (results[oneOnlyKey].length > 1) {
|
|
@@ -21430,7 +21547,7 @@ var constants = /*#__PURE__*/Object.freeze({
|
|
|
21430
21547
|
* Useful for runtime diagnostics and for embedding in serialized machine
|
|
21431
21548
|
* snapshots so that deserializers can detect version-skew.
|
|
21432
21549
|
*/
|
|
21433
|
-
const version = "5.142.
|
|
21550
|
+
const version = "5.142.1";
|
|
21434
21551
|
|
|
21435
21552
|
// whargarbl lots of these return arrays could/should be sets
|
|
21436
21553
|
const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
|
|
@@ -21622,7 +21739,7 @@ function state_style_condense(jssk, machine) {
|
|
|
21622
21739
|
*/
|
|
21623
21740
|
class Machine {
|
|
21624
21741
|
// whargarbl this badly needs to be broken up, monolith master
|
|
21625
|
-
constructor({ start_states, end_states = [], initial_state, start_states_no_enforce, complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, 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, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, rng_seed, time_source, timeout_source, clear_timeout_source }) {
|
|
21742
|
+
constructor({ start_states, end_states = [], 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, 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, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, rng_seed, time_source, timeout_source, clear_timeout_source }) {
|
|
21626
21743
|
this._time_source = () => new Date().getTime();
|
|
21627
21744
|
this._create_started = this._time_source();
|
|
21628
21745
|
this._instance_name = instance_name;
|
|
@@ -21645,6 +21762,7 @@ class Machine {
|
|
|
21645
21762
|
this._machine_license = machine_license;
|
|
21646
21763
|
this._machine_name = machine_name;
|
|
21647
21764
|
this._machine_version = machine_version;
|
|
21765
|
+
this._npm_name = npm_name;
|
|
21648
21766
|
this._raw_state_declaration = state_declaration || [];
|
|
21649
21767
|
this._fsl_version = fsl_version;
|
|
21650
21768
|
this._arrange_declaration = arrange_declaration;
|
|
@@ -22390,6 +22508,14 @@ class Machine {
|
|
|
22390
22508
|
machine_name() {
|
|
22391
22509
|
return this._machine_name;
|
|
22392
22510
|
}
|
|
22511
|
+
/** Get the npm package name associated with the machine. Set via the FSL `npm_name` directive.
|
|
22512
|
+
* Returns `undefined` when not present.
|
|
22513
|
+
* @returns The npm package name string, or `undefined`.
|
|
22514
|
+
* @see machine_name
|
|
22515
|
+
*/
|
|
22516
|
+
npm_name() {
|
|
22517
|
+
return this._npm_name;
|
|
22518
|
+
}
|
|
22393
22519
|
/** Get the machine's version string. Set via the FSL `machine_version` directive.
|
|
22394
22520
|
* @returns The version string.
|
|
22395
22521
|
*/
|