diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index bc2071bb..afe8311a 100644 --- a/CHANGELOG.long.md +++ b/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -876 merges; 70 releases +880 merges; 72 releases @@ -12,12 +12,45 @@ All notable changes to this project will be documented in this file. Published tags: -5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + +## [Untagged] - 6/6/2022 5:58:47 PM + +Commit [210a3261fef18f00a01c52c77e2a4f5eb02a486d](https://github.com/StoneCypher/jssm/commit/210a3261fef18f00a01c52c77e2a4f5eb02a486d) + +Author: `John Haugeland ` + +Merges [cfd38c2, 8379506] + + * Merge pull request #492 from StoneCypher/StillMoreShootout + * Still more shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 5:39:43 PM + +Commit [837950689491eb333670a9f028b3668351c9bef1](https://github.com/StoneCypher/jssm/commit/837950689491eb333670a9f028b3668351c9bef1) + +Author: `John Haugeland ` + + * moar docs + + + +     @@ -33,6 +66,26 @@ Author: `John Haugeland ` +  + +  + + + +## [5.67.0] - 6/6/2022 2:49:25 PM + +Commit [cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db](https://github.com/StoneCypher/jssm/commit/cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db) + +Author: `John Haugeland ` + +Merges [ff99397, 7f475f2] + + * Merge pull request #491 from StoneCypher/AddShootout + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     @@ -48,6 +101,26 @@ Author: `John Haugeland ` +  + +  + + + +## [5.66.0] - 6/6/2022 12:31:58 PM + +Commit [ff99397e5e6bc96f5fc1e419a44d1382f49923c5](https://github.com/StoneCypher/jssm/commit/ff99397e5e6bc96f5fc1e419a44d1382f49923c5) + +Author: `John Haugeland ` + +Merges [bcb1eda, 6f51f09] + + * Merge pull request #490 from StoneCypher/FixChangelogAndAddCommunityPage + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 2db0f545..e70f02d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +880 merges; 72 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file. Published tags: -5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 @@ -22,13 +22,16 @@ Published tags:   -## [Untagged] - 6/6/2022 3:41:07 PM +## [Untagged] - 6/6/2022 5:58:47 PM -Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) +Commit [210a3261fef18f00a01c52c77e2a4f5eb02a486d](https://github.com/StoneCypher/jssm/commit/210a3261fef18f00a01c52c77e2a4f5eb02a486d) Author: `John Haugeland ` - * More shootout +Merges [cfd38c2, 8379506] + + * Merge pull request #492 from StoneCypher/StillMoreShootout + * Still more shootout @@ -37,13 +40,13 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 2:47:14 PM +## [Untagged] - 6/6/2022 5:39:43 PM -Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) +Commit [837950689491eb333670a9f028b3668351c9bef1](https://github.com/StoneCypher/jssm/commit/837950689491eb333670a9f028b3668351c9bef1) Author: `John Haugeland ` - * Adds shootout, fixes StoneCypher/fsl#822 + * moar docs @@ -52,13 +55,13 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 12:24:27 PM +## [Untagged] - 6/6/2022 3:41:07 PM -Commit [6f51f095fc292fc44c8c02daf8d976bdec49d4f0](https://github.com/StoneCypher/jssm/commit/6f51f095fc292fc44c8c02daf8d976bdec49d4f0) +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) Author: `John Haugeland ` - * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 + * More shootout @@ -67,15 +70,18 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 11:20:01 AM + -Commit [bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0](https://github.com/StoneCypher/jssm/commit/bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0) +## [5.67.0] - 6/6/2022 2:49:25 PM + +Commit [cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db](https://github.com/StoneCypher/jssm/commit/cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db) Author: `John Haugeland ` -Merges [d19a094, 966e56b] +Merges [ff99397, 7f475f2] - * Merge branch 'main' of github.com:StoneCypher/jssm + * Merge pull request #491 from StoneCypher/AddShootout + * Adds shootout, fixes StoneCypher/fsl#822 @@ -84,13 +90,13 @@ Merges [d19a094, 966e56b]   -## [Untagged] - 6/6/2022 11:19:47 AM +## [Untagged] - 6/6/2022 2:47:14 PM -Commit [d19a0949fdb44e76f946cf0f06020e9a497e8732](https://github.com/StoneCypher/jssm/commit/d19a0949fdb44e76f946cf0f06020e9a497e8732) +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) Author: `John Haugeland ` - * Long and short changelogs to un-break GH releases + * Adds shootout, fixes StoneCypher/fsl#822 @@ -99,33 +105,33 @@ Author: `John Haugeland `   -## [Untagged] - 6/2/2022 7:14:41 PM + -Commit [966e56b5db15b792ee8efc648f76c279dd1c8b0c](https://github.com/StoneCypher/jssm/commit/966e56b5db15b792ee8efc648f76c279dd1c8b0c) +## [5.66.0] - 6/6/2022 12:31:58 PM + +Commit [ff99397e5e6bc96f5fc1e419a44d1382f49923c5](https://github.com/StoneCypher/jssm/commit/ff99397e5e6bc96f5fc1e419a44d1382f49923c5) Author: `John Haugeland ` - * Update README.md +Merges [bcb1eda, 6f51f09] + * Merge pull request #490 from StoneCypher/FixChangelogAndAddCommunityPage + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 -    - +  -## [5.65.14] - 5/25/2022 10:01:42 PM +## [Untagged] - 6/6/2022 12:24:27 PM -Commit [1c597f900bb8daa127d1ec490f1277db0dfc822e](https://github.com/StoneCypher/jssm/commit/1c597f900bb8daa127d1ec490f1277db0dfc822e) +Commit [6f51f095fc292fc44c8c02daf8d976bdec49d4f0](https://github.com/StoneCypher/jssm/commit/6f51f095fc292fc44c8c02daf8d976bdec49d4f0) Author: `John Haugeland ` -Merges [6a6f1c8, 4c2e830] - - * Merge pull request #489 from StoneCypher/ImproveDocumentationLayout - * Improve documentation layout + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 @@ -134,13 +140,15 @@ Merges [6a6f1c8, 4c2e830]   -## [Untagged] - 5/25/2022 9:57:42 PM +## [Untagged] - 6/6/2022 11:20:01 AM -Commit [4c2e830a1a4cfc8f808a67a04cfb0efe7e6993c8](https://github.com/StoneCypher/jssm/commit/4c2e830a1a4cfc8f808a67a04cfb0efe7e6993c8) +Commit [bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0](https://github.com/StoneCypher/jssm/commit/bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0) Author: `John Haugeland ` - * Needed version bump +Merges [d19a094, 966e56b] + + * Merge branch 'main' of github.com:StoneCypher/jssm @@ -149,13 +157,13 @@ Author: `John Haugeland `   -## [Untagged] - 5/25/2022 9:51:54 PM +## [Untagged] - 6/6/2022 11:19:47 AM -Commit [6353caf50948fc5985e1603fc06673add48bc376](https://github.com/StoneCypher/jssm/commit/6353caf50948fc5985e1603fc06673add48bc376) +Commit [d19a0949fdb44e76f946cf0f06020e9a497e8732](https://github.com/StoneCypher/jssm/commit/d19a0949fdb44e76f946cf0f06020e9a497e8732) Author: `John Haugeland ` - * moar dox + * Long and short changelogs to un-break GH releases @@ -164,15 +172,10 @@ Author: `John Haugeland `   - - -## [5.65.12] - 5/22/2022 4:28:55 PM +## [Untagged] - 6/2/2022 7:14:41 PM -Commit [6a6f1c8a256f2f943c3230ec32dd32d2c2344927](https://github.com/StoneCypher/jssm/commit/6a6f1c8a256f2f943c3230ec32dd32d2c2344927) +Commit [966e56b5db15b792ee8efc648f76c279dd1c8b0c](https://github.com/StoneCypher/jssm/commit/966e56b5db15b792ee8efc648f76c279dd1c8b0c) Author: `John Haugeland ` -Merges [e084bf4, f0f3961] - - * Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 \ No newline at end of file + * Update README.md \ No newline at end of file diff --git a/dist/es6/jssm-dot.nonmin.js b/dist/es6/jssm-dot.nonmin.js deleted file mode 100644 index 33c7dd66..00000000 --- a/dist/es6/jssm-dot.nonmin.js +++ /dev/null @@ -1,16085 +0,0 @@ -/* - * Generated by PEG.js 0.10.0. - * - * http://pegjs.org/ - */ -"use strict"; -function peg$subclass(child, parent) { - function ctor() { this.constructor = child; } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); -} -function peg$SyntaxError(message, expected, found, location) { - this.message = message; - this.expected = expected; - this.found = found; - this.location = location; - this.name = "SyntaxError"; - if (typeof Error.captureStackTrace === "function") { - Error.captureStackTrace(this, peg$SyntaxError); - } -} -peg$subclass(peg$SyntaxError, Error); -peg$SyntaxError.buildMessage = function (expected, found) { - var DESCRIBE_EXPECTATION_FNS = { - literal: function (expectation) { - return "\"" + literalEscape(expectation.text) + "\""; - }, - "class": function (expectation) { - var escapedParts = "", i; - for (i = 0; i < expectation.parts.length; i++) { - escapedParts += expectation.parts[i] instanceof Array - ? classEscape(expectation.parts[i][0]) + "-" + classEscape(expectation.parts[i][1]) - : classEscape(expectation.parts[i]); - } - return "[" + (expectation.inverted ? "^" : "") + escapedParts + "]"; - }, - any: function (expectation) { - return "any character"; - }, - end: function (expectation) { - return "end of input"; - }, - other: function (expectation) { - return expectation.description; - } - }; - function hex(ch) { - return ch.charCodeAt(0).toString(16).toUpperCase(); - } - function literalEscape(s) { - return s - .replace(/\\/g, '\\\\') - .replace(/"/g, '\\"') - .replace(/\0/g, '\\0') - .replace(/\t/g, '\\t') - .replace(/\n/g, '\\n') - .replace(/\r/g, '\\r') - .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) - .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); - } - function classEscape(s) { - return s - .replace(/\\/g, '\\\\') - .replace(/\]/g, '\\]') - .replace(/\^/g, '\\^') - .replace(/-/g, '\\-') - .replace(/\0/g, '\\0') - .replace(/\t/g, '\\t') - .replace(/\n/g, '\\n') - .replace(/\r/g, '\\r') - .replace(/[\x00-\x0F]/g, function (ch) { return '\\x0' + hex(ch); }) - .replace(/[\x10-\x1F\x7F-\x9F]/g, function (ch) { return '\\x' + hex(ch); }); - } - function describeExpectation(expectation) { - return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation); - } - function describeExpected(expected) { - var descriptions = new Array(expected.length), i, j; - for (i = 0; i < expected.length; i++) { - descriptions[i] = describeExpectation(expected[i]); - } - descriptions.sort(); - if (descriptions.length > 0) { - for (i = 1, j = 1; i < descriptions.length; i++) { - if (descriptions[i - 1] !== descriptions[i]) { - descriptions[j] = descriptions[i]; - j++; - } - } - descriptions.length = j; - } - switch (descriptions.length) { - case 1: - return descriptions[0]; - case 2: - return descriptions[0] + " or " + descriptions[1]; - default: - return descriptions.slice(0, -1).join(", ") - + ", or " - + descriptions[descriptions.length - 1]; - } - } - function describeFound(found) { - return found ? "\"" + literalEscape(found) + "\"" : "end of input"; - } - return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found."; -}; -function peg$parse(input, options) { - options = options !== void 0 ? options : {}; - var peg$FAILED = {}, peg$startRuleFunctions = { Document: peg$parseDocument }, peg$startRuleFunction = peg$parseDocument, peg$c0 = function (e) { return e; }, peg$c1 = "none", peg$c2 = peg$literalExpectation("none", false), peg$c3 = "default", peg$c4 = peg$literalExpectation("default", false), peg$c5 = "modern", peg$c6 = peg$literalExpectation("modern", false), peg$c7 = "ocean", peg$c8 = peg$literalExpectation("ocean", false), peg$c9 = "box3d", peg$c10 = peg$literalExpectation("box3d", false), peg$c11 = "polygon", peg$c12 = peg$literalExpectation("polygon", false), peg$c13 = "ellipse", peg$c14 = peg$literalExpectation("ellipse", false), peg$c15 = "oval", peg$c16 = peg$literalExpectation("oval", false), peg$c17 = "circle", peg$c18 = peg$literalExpectation("circle", false), peg$c19 = "point", peg$c20 = peg$literalExpectation("point", false), peg$c21 = "egg", peg$c22 = peg$literalExpectation("egg", false), peg$c23 = "triangle", peg$c24 = peg$literalExpectation("triangle", false), peg$c25 = "plaintext", peg$c26 = peg$literalExpectation("plaintext", false), peg$c27 = "plain", peg$c28 = peg$literalExpectation("plain", false), peg$c29 = "diamond", peg$c30 = peg$literalExpectation("diamond", false), peg$c31 = "trapezium", peg$c32 = peg$literalExpectation("trapezium", false), peg$c33 = "parallelogram", peg$c34 = peg$literalExpectation("parallelogram", false), peg$c35 = "house", peg$c36 = peg$literalExpectation("house", false), peg$c37 = "pentagon", peg$c38 = peg$literalExpectation("pentagon", false), peg$c39 = "hexagon", peg$c40 = peg$literalExpectation("hexagon", false), peg$c41 = "septagon", peg$c42 = peg$literalExpectation("septagon", false), peg$c43 = "octagon", peg$c44 = peg$literalExpectation("octagon", false), peg$c45 = "doublecircle", peg$c46 = peg$literalExpectation("doublecircle", false), peg$c47 = "doubleoctagon", peg$c48 = peg$literalExpectation("doubleoctagon", false), peg$c49 = "tripleoctagon", peg$c50 = peg$literalExpectation("tripleoctagon", false), peg$c51 = "invtriangle", peg$c52 = peg$literalExpectation("invtriangle", false), peg$c53 = "invtrapezium", peg$c54 = peg$literalExpectation("invtrapezium", false), peg$c55 = "invhouse", peg$c56 = peg$literalExpectation("invhouse", false), peg$c57 = "Mdiamond", peg$c58 = peg$literalExpectation("Mdiamond", false), peg$c59 = "Msquare", peg$c60 = peg$literalExpectation("Msquare", false), peg$c61 = "Mcircle", peg$c62 = peg$literalExpectation("Mcircle", false), peg$c63 = "rectangle", peg$c64 = peg$literalExpectation("rectangle", false), peg$c65 = "rect", peg$c66 = peg$literalExpectation("rect", false), peg$c67 = "square", peg$c68 = peg$literalExpectation("square", false), peg$c69 = "star", peg$c70 = peg$literalExpectation("star", false), peg$c71 = "underline", peg$c72 = peg$literalExpectation("underline", false), peg$c73 = "cylinder", peg$c74 = peg$literalExpectation("cylinder", false), peg$c75 = "note", peg$c76 = peg$literalExpectation("note", false), peg$c77 = "tab", peg$c78 = peg$literalExpectation("tab", false), peg$c79 = "folder", peg$c80 = peg$literalExpectation("folder", false), peg$c81 = "box", peg$c82 = peg$literalExpectation("box", false), peg$c83 = "component", peg$c84 = peg$literalExpectation("component", false), peg$c85 = "promoter", peg$c86 = peg$literalExpectation("promoter", false), peg$c87 = "cds", peg$c88 = peg$literalExpectation("cds", false), peg$c89 = "terminator", peg$c90 = peg$literalExpectation("terminator", false), peg$c91 = "utr", peg$c92 = peg$literalExpectation("utr", false), peg$c93 = "primersite", peg$c94 = peg$literalExpectation("primersite", false), peg$c95 = "restrictionsite", peg$c96 = peg$literalExpectation("restrictionsite", false), peg$c97 = "fivepoverhang", peg$c98 = peg$literalExpectation("fivepoverhang", false), peg$c99 = "threepoverhang", peg$c100 = peg$literalExpectation("threepoverhang", false), peg$c101 = "noverhang", peg$c102 = peg$literalExpectation("noverhang", false), peg$c103 = "assembly", peg$c104 = peg$literalExpectation("assembly", false), peg$c105 = "signature", peg$c106 = peg$literalExpectation("signature", false), peg$c107 = "insulator", peg$c108 = peg$literalExpectation("insulator", false), peg$c109 = "ribosite", peg$c110 = peg$literalExpectation("ribosite", false), peg$c111 = "rnastab", peg$c112 = peg$literalExpectation("rnastab", false), peg$c113 = "proteasesite", peg$c114 = peg$literalExpectation("proteasesite", false), peg$c115 = "proteinstab", peg$c116 = peg$literalExpectation("proteinstab", false), peg$c117 = "rpromoter", peg$c118 = peg$literalExpectation("rpromoter", false), peg$c119 = "rarrow", peg$c120 = peg$literalExpectation("rarrow", false), peg$c121 = "larrow", peg$c122 = peg$literalExpectation("larrow", false), peg$c123 = "lpromoter", peg$c124 = peg$literalExpectation("lpromoter", false), peg$c125 = "record", peg$c126 = peg$literalExpectation("record", false), peg$c127 = peg$otherExpectation("forward light arrow ->"), peg$c128 = "->", peg$c129 = peg$literalExpectation("->", false), peg$c130 = "\u2192", peg$c131 = peg$literalExpectation("\u2192", false), peg$c132 = function () { return "->"; }, peg$c133 = peg$otherExpectation("two way light arrow <->"), peg$c134 = "<->", peg$c135 = peg$literalExpectation("<->", false), peg$c136 = "\u2194", peg$c137 = peg$literalExpectation("\u2194", false), peg$c138 = function () { return "<->"; }, peg$c139 = peg$otherExpectation("back light arrow <-"), peg$c140 = "<-", peg$c141 = peg$literalExpectation("<-", false), peg$c142 = "\u2190", peg$c143 = peg$literalExpectation("\u2190", false), peg$c144 = function () { return "<-"; }, peg$c145 = peg$otherExpectation("forward fat arrow =>"), peg$c146 = "=>", peg$c147 = peg$literalExpectation("=>", false), peg$c148 = "\u21D2", peg$c149 = peg$literalExpectation("\u21D2", false), peg$c150 = function () { return "=>"; }, peg$c151 = peg$otherExpectation("two way fat arrow <=>"), peg$c152 = "<=>", peg$c153 = peg$literalExpectation("<=>", false), peg$c154 = "\u21D4", peg$c155 = peg$literalExpectation("\u21D4", false), peg$c156 = function () { return "<=>"; }, peg$c157 = peg$otherExpectation("back fat arrow <="), peg$c158 = "<=", peg$c159 = peg$literalExpectation("<=", false), peg$c160 = "\u21D0", peg$c161 = peg$literalExpectation("\u21D0", false), peg$c162 = function () { return "<="; }, peg$c163 = peg$otherExpectation("forward tilde arrow ~>"), peg$c164 = "~>", peg$c165 = peg$literalExpectation("~>", false), peg$c166 = "\u219B", peg$c167 = peg$literalExpectation("\u219B", false), peg$c168 = function () { return "~>"; }, peg$c169 = peg$otherExpectation("two way tilde arrow <~>"), peg$c170 = "<~>", peg$c171 = peg$literalExpectation("<~>", false), peg$c172 = "\u21AE", peg$c173 = peg$literalExpectation("\u21AE", false), peg$c174 = function () { return "<~>"; }, peg$c175 = peg$otherExpectation("back tilde arrow <~"), peg$c176 = "<~", peg$c177 = peg$literalExpectation("<~", false), peg$c178 = "\u219A", peg$c179 = peg$literalExpectation("\u219A", false), peg$c180 = function () { return "<~"; }, peg$c181 = peg$otherExpectation("light fat arrow <-=>"), peg$c182 = "<-=>", peg$c183 = peg$literalExpectation("<-=>", false), peg$c184 = "\u2190\u21D2", peg$c185 = peg$literalExpectation("\u2190\u21D2", false), peg$c186 = function () { return "<-=>"; }, peg$c187 = peg$otherExpectation("light tilde arrow <-~>"), peg$c188 = "<-~>", peg$c189 = peg$literalExpectation("<-~>", false), peg$c190 = "\u2190\u219B", peg$c191 = peg$literalExpectation("\u2190\u219B", false), peg$c192 = function () { return "<-~>"; }, peg$c193 = peg$otherExpectation("fat light arrow <=->"), peg$c194 = "<=->", peg$c195 = peg$literalExpectation("<=->", false), peg$c196 = "\u21D0\u2192", peg$c197 = peg$literalExpectation("\u21D0\u2192", false), peg$c198 = function () { return "<=->"; }, peg$c199 = peg$otherExpectation("fat tilde arrow <=~>"), peg$c200 = "<=~>", peg$c201 = peg$literalExpectation("<=~>", false), peg$c202 = "\u21D0\u219B", peg$c203 = peg$literalExpectation("\u21D0\u219B", false), peg$c204 = function () { return "<=~>"; }, peg$c205 = peg$otherExpectation("tilde light arrow <~->"), peg$c206 = "<~->", peg$c207 = peg$literalExpectation("<~->", false), peg$c208 = "\u219A\u2192", peg$c209 = peg$literalExpectation("\u219A\u2192", false), peg$c210 = function () { return "<~->"; }, peg$c211 = peg$otherExpectation("tilde fat arrow <~=>"), peg$c212 = "<~=>", peg$c213 = peg$literalExpectation("<~=>", false), peg$c214 = "\u219A\u21D2", peg$c215 = peg$literalExpectation("\u219A\u21D2", false), peg$c216 = function () { return "<~=>"; }, peg$c217 = peg$otherExpectation("light arrow"), peg$c218 = peg$otherExpectation("fat arrow"), peg$c219 = peg$otherExpectation("tilde arrow"), peg$c220 = peg$otherExpectation("mixed arrow"), peg$c221 = peg$otherExpectation("arrow"), peg$c222 = "true", peg$c223 = peg$literalExpectation("true", false), peg$c224 = function () { return true; }, peg$c225 = "false", peg$c226 = peg$literalExpectation("false", false), peg$c227 = function () { return false; }, peg$c228 = "regular", peg$c229 = peg$literalExpectation("regular", false), peg$c230 = "rounded", peg$c231 = peg$literalExpectation("rounded", false), peg$c232 = "lined", peg$c233 = peg$literalExpectation("lined", false), peg$c234 = "solid", peg$c235 = peg$literalExpectation("solid", false), peg$c236 = "dotted", peg$c237 = peg$literalExpectation("dotted", false), peg$c238 = "dashed", peg$c239 = peg$literalExpectation("dashed", false), peg$c240 = /^[0-9a-fA-F]/, peg$c241 = peg$classExpectation([["0", "9"], ["a", "f"], ["A", "F"]], false, false), peg$c242 = "\"", peg$c243 = peg$literalExpectation("\"", false), peg$c244 = "\\", peg$c245 = peg$literalExpectation("\\", false), peg$c246 = "/", peg$c247 = peg$literalExpectation("/", false), peg$c248 = "b", peg$c249 = peg$literalExpectation("b", false), peg$c250 = function () { return "\b"; }, peg$c251 = "f", peg$c252 = peg$literalExpectation("f", false), peg$c253 = function () { return "\f"; }, peg$c254 = "n", peg$c255 = peg$literalExpectation("n", false), peg$c256 = function () { return "\n"; }, peg$c257 = "r", peg$c258 = peg$literalExpectation("r", false), peg$c259 = function () { return "\r"; }, peg$c260 = "t", peg$c261 = peg$literalExpectation("t", false), peg$c262 = function () { return "\t"; }, peg$c263 = "v", peg$c264 = peg$literalExpectation("v", false), peg$c265 = function () { return "\v"; }, peg$c266 = "u", peg$c267 = peg$literalExpectation("u", false), peg$c268 = function (digits) { - return String.fromCharCode(parseInt(digits, 16)); - }, peg$c269 = function (Sequence) { return Sequence; }, peg$c270 = /^[ -!#-[\]-\u10FFFF]/, peg$c271 = peg$classExpectation([[" ", "!"], ["#", "["], ["]", "\u10FF"], "F", "F"], false, false), peg$c272 = "'", peg$c273 = peg$literalExpectation("'", false), peg$c274 = /^[ -&(-[\]-\u10FFFF]/, peg$c275 = peg$classExpectation([[" ", "&"], ["(", "["], ["]", "\u10FF"], "F", "F"], false, false), peg$c276 = peg$otherExpectation("action label"), peg$c277 = function (chars) { return chars.join(""); }, peg$c278 = /^[\n\r\u2028\u2029]/, peg$c279 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false), peg$c280 = /^[ \t\n\r\x0B]/, peg$c281 = peg$classExpectation([" ", "\t", "\n", "\r", "\x0B"], false, false), peg$c282 = "*/", peg$c283 = peg$literalExpectation("*/", false), peg$c284 = peg$anyExpectation(), peg$c285 = peg$otherExpectation("block comment"), peg$c286 = "/*", peg$c287 = peg$literalExpectation("/*", false), peg$c288 = peg$otherExpectation("line comment"), peg$c289 = "//", peg$c290 = peg$literalExpectation("//", false), peg$c291 = peg$otherExpectation("whitespace"), peg$c292 = /^[ \t\r\n\x0B]/, peg$c293 = peg$classExpectation([" ", "\t", "\r", "\n", "\x0B"], false, false), peg$c294 = peg$otherExpectation("string"), peg$c295 = /^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/, peg$c296 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "_", "!", "$", "^", "*", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c297 = /^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/, peg$c298 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "+", "=", "_", "^", "(", ")", "*", "&", "$", "#", "@", "!", "?", ",", ["\x80", "\uFFFF"]], false, false), peg$c299 = peg$otherExpectation("atom"), peg$c300 = function (firstletter, text) { - return firstletter + ((text || []).join('')); - }, peg$c301 = peg$otherExpectation("label"), peg$c302 = "0", peg$c303 = peg$literalExpectation("0", false), peg$c304 = /^[0-9]/, peg$c305 = peg$classExpectation([["0", "9"]], false, false), peg$c306 = /^[1-9]/, peg$c307 = peg$classExpectation([["1", "9"]], false, false), peg$c308 = peg$otherExpectation("nonneg number"), peg$c309 = ".", peg$c310 = peg$literalExpectation(".", false), peg$c311 = function () { return parseFloat(text()); }, peg$c312 = function (major, minor, patch) { - return { - major: parseInt(major, 10), - minor: parseInt(minor, 10), - patch: parseInt(patch, 10), - full: text() - }; - }, peg$c313 = "^", peg$c314 = peg$literalExpectation("^", false), peg$c315 = "~", peg$c316 = peg$literalExpectation("~", false), peg$c317 = ">=", peg$c318 = peg$literalExpectation(">=", false), peg$c319 = "<", peg$c320 = peg$literalExpectation("<", false), peg$c321 = ">", peg$c322 = peg$literalExpectation(">", false), peg$c323 = "http://", peg$c324 = peg$literalExpectation("http://", false), peg$c325 = "https://", peg$c326 = peg$literalExpectation("https://", false), peg$c327 = /^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/, peg$c328 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", ":", ";", "@", "&", "=", "+", "$", ",", "/", "?", "#", "[", "]", "_", ".", "~", "-"], false, false), peg$c329 = function (protocol) { return text(); }, peg$c330 = "aliceblue", peg$c331 = peg$literalExpectation("aliceblue", false), peg$c332 = function () { return '#f0f8ffff'; }, peg$c333 = "AliceBlue", peg$c334 = peg$literalExpectation("AliceBlue", false), peg$c335 = "antiquewhite", peg$c336 = peg$literalExpectation("antiquewhite", false), peg$c337 = function () { return '#faebd7ff'; }, peg$c338 = "AntiqueWhite", peg$c339 = peg$literalExpectation("AntiqueWhite", false), peg$c340 = "aquamarine", peg$c341 = peg$literalExpectation("aquamarine", false), peg$c342 = function () { return '#7fffd4ff'; }, peg$c343 = "Aquamarine", peg$c344 = peg$literalExpectation("Aquamarine", false), peg$c345 = "aqua", peg$c346 = peg$literalExpectation("aqua", false), peg$c347 = function () { return '#00ffffff'; }, peg$c348 = "Aqua", peg$c349 = peg$literalExpectation("Aqua", false), peg$c350 = "azure", peg$c351 = peg$literalExpectation("azure", false), peg$c352 = function () { return '#f0ffffff'; }, peg$c353 = "Azure", peg$c354 = peg$literalExpectation("Azure", false), peg$c355 = "beige", peg$c356 = peg$literalExpectation("beige", false), peg$c357 = function () { return '#f5f5dcff'; }, peg$c358 = "Beige", peg$c359 = peg$literalExpectation("Beige", false), peg$c360 = "bisque", peg$c361 = peg$literalExpectation("bisque", false), peg$c362 = function () { return '#ffe4c4ff'; }, peg$c363 = "Bisque", peg$c364 = peg$literalExpectation("Bisque", false), peg$c365 = "black", peg$c366 = peg$literalExpectation("black", false), peg$c367 = function () { return '#000000ff'; }, peg$c368 = "Black", peg$c369 = peg$literalExpectation("Black", false), peg$c370 = "blanchedalmond", peg$c371 = peg$literalExpectation("blanchedalmond", false), peg$c372 = function () { return '#ffebcdff'; }, peg$c373 = "BlanchedAlmond", peg$c374 = peg$literalExpectation("BlanchedAlmond", false), peg$c375 = "blueviolet", peg$c376 = peg$literalExpectation("blueviolet", false), peg$c377 = function () { return '#8a2be2ff'; }, peg$c378 = "BlueViolet", peg$c379 = peg$literalExpectation("BlueViolet", false), peg$c380 = "blue", peg$c381 = peg$literalExpectation("blue", false), peg$c382 = function () { return '#0000ffff'; }, peg$c383 = "Blue", peg$c384 = peg$literalExpectation("Blue", false), peg$c385 = "brown", peg$c386 = peg$literalExpectation("brown", false), peg$c387 = function () { return '#a52a2aff'; }, peg$c388 = "Brown", peg$c389 = peg$literalExpectation("Brown", false), peg$c390 = "burlywood", peg$c391 = peg$literalExpectation("burlywood", false), peg$c392 = function () { return '#deb887ff'; }, peg$c393 = "BurlyWood", peg$c394 = peg$literalExpectation("BurlyWood", false), peg$c395 = "cadetblue", peg$c396 = peg$literalExpectation("cadetblue", false), peg$c397 = function () { return '#5f9ea0ff'; }, peg$c398 = "CadetBlue", peg$c399 = peg$literalExpectation("CadetBlue", false), peg$c400 = "chartreuse", peg$c401 = peg$literalExpectation("chartreuse", false), peg$c402 = function () { return '#7fff00ff'; }, peg$c403 = "Chartreuse", peg$c404 = peg$literalExpectation("Chartreuse", false), peg$c405 = "chocolate", peg$c406 = peg$literalExpectation("chocolate", false), peg$c407 = function () { return '#d2691eff'; }, peg$c408 = "Chocolate", peg$c409 = peg$literalExpectation("Chocolate", false), peg$c410 = "coral", peg$c411 = peg$literalExpectation("coral", false), peg$c412 = function () { return '#ff7f50ff'; }, peg$c413 = "Coral", peg$c414 = peg$literalExpectation("Coral", false), peg$c415 = "cornflowerblue", peg$c416 = peg$literalExpectation("cornflowerblue", false), peg$c417 = function () { return '#6495edff'; }, peg$c418 = "CornflowerBlue", peg$c419 = peg$literalExpectation("CornflowerBlue", false), peg$c420 = "cornsilk", peg$c421 = peg$literalExpectation("cornsilk", false), peg$c422 = function () { return '#fff8dcff'; }, peg$c423 = "Cornsilk", peg$c424 = peg$literalExpectation("Cornsilk", false), peg$c425 = "crimson", peg$c426 = peg$literalExpectation("crimson", false), peg$c427 = function () { return '#dc143cff'; }, peg$c428 = "Crimson", peg$c429 = peg$literalExpectation("Crimson", false), peg$c430 = "cyan", peg$c431 = peg$literalExpectation("cyan", false), peg$c432 = "Cyan", peg$c433 = peg$literalExpectation("Cyan", false), peg$c434 = "darkblue", peg$c435 = peg$literalExpectation("darkblue", false), peg$c436 = function () { return '#00008bff'; }, peg$c437 = "DarkBlue", peg$c438 = peg$literalExpectation("DarkBlue", false), peg$c439 = "darkcyan", peg$c440 = peg$literalExpectation("darkcyan", false), peg$c441 = function () { return '#008b8bff'; }, peg$c442 = "DarkCyan", peg$c443 = peg$literalExpectation("DarkCyan", false), peg$c444 = "darkgoldenrod", peg$c445 = peg$literalExpectation("darkgoldenrod", false), peg$c446 = function () { return '#b8860bff'; }, peg$c447 = "DarkGoldenRod", peg$c448 = peg$literalExpectation("DarkGoldenRod", false), peg$c449 = "darkgray", peg$c450 = peg$literalExpectation("darkgray", false), peg$c451 = function () { return '#a9a9a9ff'; }, peg$c452 = "DarkGray", peg$c453 = peg$literalExpectation("DarkGray", false), peg$c454 = "darkgrey", peg$c455 = peg$literalExpectation("darkgrey", false), peg$c456 = "DarkGrey", peg$c457 = peg$literalExpectation("DarkGrey", false), peg$c458 = "darkgreen", peg$c459 = peg$literalExpectation("darkgreen", false), peg$c460 = function () { return '#006400ff'; }, peg$c461 = "DarkGreen", peg$c462 = peg$literalExpectation("DarkGreen", false), peg$c463 = "darkkhaki", peg$c464 = peg$literalExpectation("darkkhaki", false), peg$c465 = function () { return '#bdb76bff'; }, peg$c466 = "DarkKhaki", peg$c467 = peg$literalExpectation("DarkKhaki", false), peg$c468 = "darkmagenta", peg$c469 = peg$literalExpectation("darkmagenta", false), peg$c470 = function () { return '#8b008bff'; }, peg$c471 = "DarkMagenta", peg$c472 = peg$literalExpectation("DarkMagenta", false), peg$c473 = "darkolivegreen", peg$c474 = peg$literalExpectation("darkolivegreen", false), peg$c475 = function () { return '#556b2fff'; }, peg$c476 = "DarkOliveGreen", peg$c477 = peg$literalExpectation("DarkOliveGreen", false), peg$c478 = "darkorange", peg$c479 = peg$literalExpectation("darkorange", false), peg$c480 = function () { return '#ff8c00ff'; }, peg$c481 = "Darkorange", peg$c482 = peg$literalExpectation("Darkorange", false), peg$c483 = "darkorchid", peg$c484 = peg$literalExpectation("darkorchid", false), peg$c485 = function () { return '#9932ccff'; }, peg$c486 = "DarkOrchid", peg$c487 = peg$literalExpectation("DarkOrchid", false), peg$c488 = "darkred", peg$c489 = peg$literalExpectation("darkred", false), peg$c490 = function () { return '#8b0000ff'; }, peg$c491 = "DarkRed", peg$c492 = peg$literalExpectation("DarkRed", false), peg$c493 = "darksalmon", peg$c494 = peg$literalExpectation("darksalmon", false), peg$c495 = function () { return '#e9967aff'; }, peg$c496 = "DarkSalmon", peg$c497 = peg$literalExpectation("DarkSalmon", false), peg$c498 = "darkseagreen", peg$c499 = peg$literalExpectation("darkseagreen", false), peg$c500 = function () { return '#8fbc8fff'; }, peg$c501 = "DarkSeaGreen", peg$c502 = peg$literalExpectation("DarkSeaGreen", false), peg$c503 = "darkslateblue", peg$c504 = peg$literalExpectation("darkslateblue", false), peg$c505 = function () { return '#483d8bff'; }, peg$c506 = "DarkSlateBlue", peg$c507 = peg$literalExpectation("DarkSlateBlue", false), peg$c508 = "darkslategray", peg$c509 = peg$literalExpectation("darkslategray", false), peg$c510 = function () { return '#2f4f4fff'; }, peg$c511 = "DarkSlateGray", peg$c512 = peg$literalExpectation("DarkSlateGray", false), peg$c513 = "darkslategrey", peg$c514 = peg$literalExpectation("darkslategrey", false), peg$c515 = "DarkSlateGrey", peg$c516 = peg$literalExpectation("DarkSlateGrey", false), peg$c517 = "darkturquoise", peg$c518 = peg$literalExpectation("darkturquoise", false), peg$c519 = function () { return '#00ced1ff'; }, peg$c520 = "DarkTurquoise", peg$c521 = peg$literalExpectation("DarkTurquoise", false), peg$c522 = "darkviolet", peg$c523 = peg$literalExpectation("darkviolet", false), peg$c524 = function () { return '#9400d3ff'; }, peg$c525 = "DarkViolet", peg$c526 = peg$literalExpectation("DarkViolet", false), peg$c527 = "deeppink", peg$c528 = peg$literalExpectation("deeppink", false), peg$c529 = function () { return '#ff1493ff'; }, peg$c530 = "DeepPink", peg$c531 = peg$literalExpectation("DeepPink", false), peg$c532 = "deepskyblue", peg$c533 = peg$literalExpectation("deepskyblue", false), peg$c534 = function () { return '#00bfffff'; }, peg$c535 = "DeepSkyBlue", peg$c536 = peg$literalExpectation("DeepSkyBlue", false), peg$c537 = "dimgray", peg$c538 = peg$literalExpectation("dimgray", false), peg$c539 = function () { return '#696969ff'; }, peg$c540 = "DimGray", peg$c541 = peg$literalExpectation("DimGray", false), peg$c542 = "dimgrey", peg$c543 = peg$literalExpectation("dimgrey", false), peg$c544 = "DimGrey", peg$c545 = peg$literalExpectation("DimGrey", false), peg$c546 = "dodgerblue", peg$c547 = peg$literalExpectation("dodgerblue", false), peg$c548 = function () { return '#1e90ffff'; }, peg$c549 = "DodgerBlue", peg$c550 = peg$literalExpectation("DodgerBlue", false), peg$c551 = "firebrick", peg$c552 = peg$literalExpectation("firebrick", false), peg$c553 = function () { return '#b22222ff'; }, peg$c554 = "FireBrick", peg$c555 = peg$literalExpectation("FireBrick", false), peg$c556 = "floralwhite", peg$c557 = peg$literalExpectation("floralwhite", false), peg$c558 = function () { return '#fffaf0ff'; }, peg$c559 = "FloralWhite", peg$c560 = peg$literalExpectation("FloralWhite", false), peg$c561 = "forestgreen", peg$c562 = peg$literalExpectation("forestgreen", false), peg$c563 = function () { return '#228b22ff'; }, peg$c564 = "ForestGreen", peg$c565 = peg$literalExpectation("ForestGreen", false), peg$c566 = "fuchsia", peg$c567 = peg$literalExpectation("fuchsia", false), peg$c568 = function () { return '#ff00ffff'; }, peg$c569 = "Fuchsia", peg$c570 = peg$literalExpectation("Fuchsia", false), peg$c571 = "gainsboro", peg$c572 = peg$literalExpectation("gainsboro", false), peg$c573 = function () { return '#dcdcdcff'; }, peg$c574 = "Gainsboro", peg$c575 = peg$literalExpectation("Gainsboro", false), peg$c576 = "ghostwhite", peg$c577 = peg$literalExpectation("ghostwhite", false), peg$c578 = function () { return '#f8f8ffff'; }, peg$c579 = "GhostWhite", peg$c580 = peg$literalExpectation("GhostWhite", false), peg$c581 = "goldenrod", peg$c582 = peg$literalExpectation("goldenrod", false), peg$c583 = function () { return '#daa520ff'; }, peg$c584 = "GoldenRod", peg$c585 = peg$literalExpectation("GoldenRod", false), peg$c586 = "gold", peg$c587 = peg$literalExpectation("gold", false), peg$c588 = function () { return '#ffd700ff'; }, peg$c589 = "Gold", peg$c590 = peg$literalExpectation("Gold", false), peg$c591 = "gray", peg$c592 = peg$literalExpectation("gray", false), peg$c593 = function () { return '#808080ff'; }, peg$c594 = "Gray", peg$c595 = peg$literalExpectation("Gray", false), peg$c596 = "grey", peg$c597 = peg$literalExpectation("grey", false), peg$c598 = "Grey", peg$c599 = peg$literalExpectation("Grey", false), peg$c600 = "greenyellow", peg$c601 = peg$literalExpectation("greenyellow", false), peg$c602 = function () { return '#adff2fff'; }, peg$c603 = "GreenYellow", peg$c604 = peg$literalExpectation("GreenYellow", false), peg$c605 = "green", peg$c606 = peg$literalExpectation("green", false), peg$c607 = function () { return '#008000ff'; }, peg$c608 = "Green", peg$c609 = peg$literalExpectation("Green", false), peg$c610 = "honeydew", peg$c611 = peg$literalExpectation("honeydew", false), peg$c612 = function () { return '#f0fff0ff'; }, peg$c613 = "HoneyDew", peg$c614 = peg$literalExpectation("HoneyDew", false), peg$c615 = "hotpink", peg$c616 = peg$literalExpectation("hotpink", false), peg$c617 = function () { return '#ff69b4ff'; }, peg$c618 = "HotPink", peg$c619 = peg$literalExpectation("HotPink", false), peg$c620 = "indianred", peg$c621 = peg$literalExpectation("indianred", false), peg$c622 = function () { return '#cd5c5cff'; }, peg$c623 = "IndianRed", peg$c624 = peg$literalExpectation("IndianRed", false), peg$c625 = "indigo", peg$c626 = peg$literalExpectation("indigo", false), peg$c627 = function () { return '#4b0082ff'; }, peg$c628 = "Indigo", peg$c629 = peg$literalExpectation("Indigo", false), peg$c630 = "ivory", peg$c631 = peg$literalExpectation("ivory", false), peg$c632 = function () { return '#fffff0ff'; }, peg$c633 = "Ivory", peg$c634 = peg$literalExpectation("Ivory", false), peg$c635 = "khaki", peg$c636 = peg$literalExpectation("khaki", false), peg$c637 = function () { return '#f0e68cff'; }, peg$c638 = "Khaki", peg$c639 = peg$literalExpectation("Khaki", false), peg$c640 = "lavenderblush", peg$c641 = peg$literalExpectation("lavenderblush", false), peg$c642 = function () { return '#fff0f5ff'; }, peg$c643 = "LavenderBlush", peg$c644 = peg$literalExpectation("LavenderBlush", false), peg$c645 = "lavender", peg$c646 = peg$literalExpectation("lavender", false), peg$c647 = function () { return '#e6e6faff'; }, peg$c648 = "Lavender", peg$c649 = peg$literalExpectation("Lavender", false), peg$c650 = "lawngreen", peg$c651 = peg$literalExpectation("lawngreen", false), peg$c652 = function () { return '#7cfc00ff'; }, peg$c653 = "LawnGreen", peg$c654 = peg$literalExpectation("LawnGreen", false), peg$c655 = "lemonchiffon", peg$c656 = peg$literalExpectation("lemonchiffon", false), peg$c657 = function () { return '#fffacdff'; }, peg$c658 = "LemonChiffon", peg$c659 = peg$literalExpectation("LemonChiffon", false), peg$c660 = "lightblue", peg$c661 = peg$literalExpectation("lightblue", false), peg$c662 = function () { return '#add8e6ff'; }, peg$c663 = "LightBlue", peg$c664 = peg$literalExpectation("LightBlue", false), peg$c665 = "lightcoral", peg$c666 = peg$literalExpectation("lightcoral", false), peg$c667 = function () { return '#f08080ff'; }, peg$c668 = "LightCoral", peg$c669 = peg$literalExpectation("LightCoral", false), peg$c670 = "lightcyan", peg$c671 = peg$literalExpectation("lightcyan", false), peg$c672 = function () { return '#e0ffffff'; }, peg$c673 = "LightCyan", peg$c674 = peg$literalExpectation("LightCyan", false), peg$c675 = "lightgoldenrodyellow", peg$c676 = peg$literalExpectation("lightgoldenrodyellow", false), peg$c677 = function () { return '#fafad2ff'; }, peg$c678 = "LightGoldenRodYellow", peg$c679 = peg$literalExpectation("LightGoldenRodYellow", false), peg$c680 = "lightgray", peg$c681 = peg$literalExpectation("lightgray", false), peg$c682 = function () { return '#d3d3d3ff'; }, peg$c683 = "LightGray", peg$c684 = peg$literalExpectation("LightGray", false), peg$c685 = "lightgrey", peg$c686 = peg$literalExpectation("lightgrey", false), peg$c687 = "LightGrey", peg$c688 = peg$literalExpectation("LightGrey", false), peg$c689 = "lightgreen", peg$c690 = peg$literalExpectation("lightgreen", false), peg$c691 = function () { return '#90ee90ff'; }, peg$c692 = "LightGreen", peg$c693 = peg$literalExpectation("LightGreen", false), peg$c694 = "lightpink", peg$c695 = peg$literalExpectation("lightpink", false), peg$c696 = function () { return '#ffb6c1ff'; }, peg$c697 = "LightPink", peg$c698 = peg$literalExpectation("LightPink", false), peg$c699 = "lightsalmon", peg$c700 = peg$literalExpectation("lightsalmon", false), peg$c701 = function () { return '#ffa07aff'; }, peg$c702 = "LightSalmon", peg$c703 = peg$literalExpectation("LightSalmon", false), peg$c704 = "lightseagreen", peg$c705 = peg$literalExpectation("lightseagreen", false), peg$c706 = function () { return '#20b2aaff'; }, peg$c707 = "LightSeaGreen", peg$c708 = peg$literalExpectation("LightSeaGreen", false), peg$c709 = "lightskyblue", peg$c710 = peg$literalExpectation("lightskyblue", false), peg$c711 = function () { return '#87cefaff'; }, peg$c712 = "LightSkyBlue", peg$c713 = peg$literalExpectation("LightSkyBlue", false), peg$c714 = "lightslategray", peg$c715 = peg$literalExpectation("lightslategray", false), peg$c716 = function () { return '#778899ff'; }, peg$c717 = "LightSlateGray", peg$c718 = peg$literalExpectation("LightSlateGray", false), peg$c719 = "lightslategrey", peg$c720 = peg$literalExpectation("lightslategrey", false), peg$c721 = "LightSlateGrey", peg$c722 = peg$literalExpectation("LightSlateGrey", false), peg$c723 = "lightsteelblue", peg$c724 = peg$literalExpectation("lightsteelblue", false), peg$c725 = function () { return '#b0c4deff'; }, peg$c726 = "LightSteelBlue", peg$c727 = peg$literalExpectation("LightSteelBlue", false), peg$c728 = "lightyellow", peg$c729 = peg$literalExpectation("lightyellow", false), peg$c730 = function () { return '#ffffe0ff'; }, peg$c731 = "LightYellow", peg$c732 = peg$literalExpectation("LightYellow", false), peg$c733 = "limegreen", peg$c734 = peg$literalExpectation("limegreen", false), peg$c735 = function () { return '#32cd32ff'; }, peg$c736 = "LimeGreen", peg$c737 = peg$literalExpectation("LimeGreen", false), peg$c738 = "lime", peg$c739 = peg$literalExpectation("lime", false), peg$c740 = function () { return '#00ff00ff'; }, peg$c741 = "Lime", peg$c742 = peg$literalExpectation("Lime", false), peg$c743 = "linen", peg$c744 = peg$literalExpectation("linen", false), peg$c745 = function () { return '#faf0e6ff'; }, peg$c746 = "Linen", peg$c747 = peg$literalExpectation("Linen", false), peg$c748 = "magenta", peg$c749 = peg$literalExpectation("magenta", false), peg$c750 = "Magenta", peg$c751 = peg$literalExpectation("Magenta", false), peg$c752 = "maroon", peg$c753 = peg$literalExpectation("maroon", false), peg$c754 = function () { return '#800000ff'; }, peg$c755 = "Maroon", peg$c756 = peg$literalExpectation("Maroon", false), peg$c757 = "mediumaquamarine", peg$c758 = peg$literalExpectation("mediumaquamarine", false), peg$c759 = function () { return '#66cdaaff'; }, peg$c760 = "MediumAquaMarine", peg$c761 = peg$literalExpectation("MediumAquaMarine", false), peg$c762 = "mediumblue", peg$c763 = peg$literalExpectation("mediumblue", false), peg$c764 = function () { return '#0000cdff'; }, peg$c765 = "MediumBlue", peg$c766 = peg$literalExpectation("MediumBlue", false), peg$c767 = "mediumorchid", peg$c768 = peg$literalExpectation("mediumorchid", false), peg$c769 = function () { return '#ba55d3ff'; }, peg$c770 = "MediumOrchid", peg$c771 = peg$literalExpectation("MediumOrchid", false), peg$c772 = "mediumpurple", peg$c773 = peg$literalExpectation("mediumpurple", false), peg$c774 = function () { return '#9370d8ff'; }, peg$c775 = "MediumPurple", peg$c776 = peg$literalExpectation("MediumPurple", false), peg$c777 = "mediumseagreen", peg$c778 = peg$literalExpectation("mediumseagreen", false), peg$c779 = function () { return '#3cb371ff'; }, peg$c780 = "MediumSeaGreen", peg$c781 = peg$literalExpectation("MediumSeaGreen", false), peg$c782 = "mediumslateblue", peg$c783 = peg$literalExpectation("mediumslateblue", false), peg$c784 = function () { return '#7b68eeff'; }, peg$c785 = "MediumSlateBlue", peg$c786 = peg$literalExpectation("MediumSlateBlue", false), peg$c787 = "mediumspringgreen", peg$c788 = peg$literalExpectation("mediumspringgreen", false), peg$c789 = function () { return '#00fa9aff'; }, peg$c790 = "MediumSpringGreen", peg$c791 = peg$literalExpectation("MediumSpringGreen", false), peg$c792 = "mediumturquoise", peg$c793 = peg$literalExpectation("mediumturquoise", false), peg$c794 = function () { return '#48d1ccff'; }, peg$c795 = "MediumTurquoise", peg$c796 = peg$literalExpectation("MediumTurquoise", false), peg$c797 = "mediumvioletred", peg$c798 = peg$literalExpectation("mediumvioletred", false), peg$c799 = function () { return '#c71585ff'; }, peg$c800 = "MediumVioletRed", peg$c801 = peg$literalExpectation("MediumVioletRed", false), peg$c802 = "midnightblue", peg$c803 = peg$literalExpectation("midnightblue", false), peg$c804 = function () { return '#191970ff'; }, peg$c805 = "MidnightBlue", peg$c806 = peg$literalExpectation("MidnightBlue", false), peg$c807 = "mintcream", peg$c808 = peg$literalExpectation("mintcream", false), peg$c809 = function () { return '#f5fffaff'; }, peg$c810 = "MintCream", peg$c811 = peg$literalExpectation("MintCream", false), peg$c812 = "mistyrose", peg$c813 = peg$literalExpectation("mistyrose", false), peg$c814 = function () { return '#ffe4e1ff'; }, peg$c815 = "MistyRose", peg$c816 = peg$literalExpectation("MistyRose", false), peg$c817 = "moccasin", peg$c818 = peg$literalExpectation("moccasin", false), peg$c819 = function () { return '#ffe4b5ff'; }, peg$c820 = "Moccasin", peg$c821 = peg$literalExpectation("Moccasin", false), peg$c822 = "navajowhite", peg$c823 = peg$literalExpectation("navajowhite", false), peg$c824 = function () { return '#ffdeadff'; }, peg$c825 = "NavajoWhite", peg$c826 = peg$literalExpectation("NavajoWhite", false), peg$c827 = "navy", peg$c828 = peg$literalExpectation("navy", false), peg$c829 = function () { return '#000080ff'; }, peg$c830 = "Navy", peg$c831 = peg$literalExpectation("Navy", false), peg$c832 = "oldlace", peg$c833 = peg$literalExpectation("oldlace", false), peg$c834 = function () { return '#fdf5e6ff'; }, peg$c835 = "OldLace", peg$c836 = peg$literalExpectation("OldLace", false), peg$c837 = "olivedrab", peg$c838 = peg$literalExpectation("olivedrab", false), peg$c839 = function () { return '#6b8e23ff'; }, peg$c840 = "OliveDrab", peg$c841 = peg$literalExpectation("OliveDrab", false), peg$c842 = "olive", peg$c843 = peg$literalExpectation("olive", false), peg$c844 = function () { return '#808000ff'; }, peg$c845 = "Olive", peg$c846 = peg$literalExpectation("Olive", false), peg$c847 = "orangered", peg$c848 = peg$literalExpectation("orangered", false), peg$c849 = function () { return '#ff4500ff'; }, peg$c850 = "OrangeRed", peg$c851 = peg$literalExpectation("OrangeRed", false), peg$c852 = "orange", peg$c853 = peg$literalExpectation("orange", false), peg$c854 = function () { return '#ffa500ff'; }, peg$c855 = "Orange", peg$c856 = peg$literalExpectation("Orange", false), peg$c857 = "orchid", peg$c858 = peg$literalExpectation("orchid", false), peg$c859 = function () { return '#da70d6ff'; }, peg$c860 = "Orchid", peg$c861 = peg$literalExpectation("Orchid", false), peg$c862 = "palegoldenrod", peg$c863 = peg$literalExpectation("palegoldenrod", false), peg$c864 = function () { return '#eee8aaff'; }, peg$c865 = "PaleGoldenRod", peg$c866 = peg$literalExpectation("PaleGoldenRod", false), peg$c867 = "palegreen", peg$c868 = peg$literalExpectation("palegreen", false), peg$c869 = function () { return '#98fb98ff'; }, peg$c870 = "PaleGreen", peg$c871 = peg$literalExpectation("PaleGreen", false), peg$c872 = "paleturquoise", peg$c873 = peg$literalExpectation("paleturquoise", false), peg$c874 = function () { return '#afeeeeff'; }, peg$c875 = "PaleTurquoise", peg$c876 = peg$literalExpectation("PaleTurquoise", false), peg$c877 = "palevioletred", peg$c878 = peg$literalExpectation("palevioletred", false), peg$c879 = function () { return '#d87093ff'; }, peg$c880 = "PaleVioletRed", peg$c881 = peg$literalExpectation("PaleVioletRed", false), peg$c882 = "papayawhip", peg$c883 = peg$literalExpectation("papayawhip", false), peg$c884 = function () { return '#ffefd5ff'; }, peg$c885 = "PapayaWhip", peg$c886 = peg$literalExpectation("PapayaWhip", false), peg$c887 = "peachpuff", peg$c888 = peg$literalExpectation("peachpuff", false), peg$c889 = function () { return '#ffdab9ff'; }, peg$c890 = "PeachPuff", peg$c891 = peg$literalExpectation("PeachPuff", false), peg$c892 = "peru", peg$c893 = peg$literalExpectation("peru", false), peg$c894 = function () { return '#cd853fff'; }, peg$c895 = "Peru", peg$c896 = peg$literalExpectation("Peru", false), peg$c897 = "pink", peg$c898 = peg$literalExpectation("pink", false), peg$c899 = function () { return '#ffc0cbff'; }, peg$c900 = "Pink", peg$c901 = peg$literalExpectation("Pink", false), peg$c902 = "plum", peg$c903 = peg$literalExpectation("plum", false), peg$c904 = function () { return '#dda0ddff'; }, peg$c905 = "Plum", peg$c906 = peg$literalExpectation("Plum", false), peg$c907 = "powderblue", peg$c908 = peg$literalExpectation("powderblue", false), peg$c909 = function () { return '#b0e0e6ff'; }, peg$c910 = "PowderBlue", peg$c911 = peg$literalExpectation("PowderBlue", false), peg$c912 = "purple", peg$c913 = peg$literalExpectation("purple", false), peg$c914 = function () { return '#800080ff'; }, peg$c915 = "Purple", peg$c916 = peg$literalExpectation("Purple", false), peg$c917 = "red", peg$c918 = peg$literalExpectation("red", false), peg$c919 = function () { return '#ff0000ff'; }, peg$c920 = "Red", peg$c921 = peg$literalExpectation("Red", false), peg$c922 = "rosybrown", peg$c923 = peg$literalExpectation("rosybrown", false), peg$c924 = function () { return '#bc8f8fff'; }, peg$c925 = "RosyBrown", peg$c926 = peg$literalExpectation("RosyBrown", false), peg$c927 = "royalblue", peg$c928 = peg$literalExpectation("royalblue", false), peg$c929 = function () { return '#4169e1ff'; }, peg$c930 = "RoyalBlue", peg$c931 = peg$literalExpectation("RoyalBlue", false), peg$c932 = "saddlebrown", peg$c933 = peg$literalExpectation("saddlebrown", false), peg$c934 = function () { return '#8b4513ff'; }, peg$c935 = "SaddleBrown", peg$c936 = peg$literalExpectation("SaddleBrown", false), peg$c937 = "salmon", peg$c938 = peg$literalExpectation("salmon", false), peg$c939 = function () { return '#fa8072ff'; }, peg$c940 = "Salmon", peg$c941 = peg$literalExpectation("Salmon", false), peg$c942 = "sandybrown", peg$c943 = peg$literalExpectation("sandybrown", false), peg$c944 = function () { return '#f4a460ff'; }, peg$c945 = "SandyBrown", peg$c946 = peg$literalExpectation("SandyBrown", false), peg$c947 = "seagreen", peg$c948 = peg$literalExpectation("seagreen", false), peg$c949 = function () { return '#2e8b57ff'; }, peg$c950 = "SeaGreen", peg$c951 = peg$literalExpectation("SeaGreen", false), peg$c952 = "seashell", peg$c953 = peg$literalExpectation("seashell", false), peg$c954 = function () { return '#fff5eeff'; }, peg$c955 = "SeaShell", peg$c956 = peg$literalExpectation("SeaShell", false), peg$c957 = "sienna", peg$c958 = peg$literalExpectation("sienna", false), peg$c959 = function () { return '#a0522dff'; }, peg$c960 = "Sienna", peg$c961 = peg$literalExpectation("Sienna", false), peg$c962 = "silver", peg$c963 = peg$literalExpectation("silver", false), peg$c964 = function () { return '#c0c0c0ff'; }, peg$c965 = "Silver", peg$c966 = peg$literalExpectation("Silver", false), peg$c967 = "skyblue", peg$c968 = peg$literalExpectation("skyblue", false), peg$c969 = function () { return '#87ceebff'; }, peg$c970 = "SkyBlue", peg$c971 = peg$literalExpectation("SkyBlue", false), peg$c972 = "slateblue", peg$c973 = peg$literalExpectation("slateblue", false), peg$c974 = function () { return '#6a5acdff'; }, peg$c975 = "SlateBlue", peg$c976 = peg$literalExpectation("SlateBlue", false), peg$c977 = "slategray", peg$c978 = peg$literalExpectation("slategray", false), peg$c979 = function () { return '#708090ff'; }, peg$c980 = "SlateGray", peg$c981 = peg$literalExpectation("SlateGray", false), peg$c982 = "slategrey", peg$c983 = peg$literalExpectation("slategrey", false), peg$c984 = "SlateGrey", peg$c985 = peg$literalExpectation("SlateGrey", false), peg$c986 = "snow", peg$c987 = peg$literalExpectation("snow", false), peg$c988 = function () { return '#fffafaff'; }, peg$c989 = "Snow", peg$c990 = peg$literalExpectation("Snow", false), peg$c991 = "springgreen", peg$c992 = peg$literalExpectation("springgreen", false), peg$c993 = function () { return '#00ff7fff'; }, peg$c994 = "SpringGreen", peg$c995 = peg$literalExpectation("SpringGreen", false), peg$c996 = "steelblue", peg$c997 = peg$literalExpectation("steelblue", false), peg$c998 = function () { return '#4682b4ff'; }, peg$c999 = "SteelBlue", peg$c1000 = peg$literalExpectation("SteelBlue", false), peg$c1001 = "tan", peg$c1002 = peg$literalExpectation("tan", false), peg$c1003 = function () { return '#d2b48cff'; }, peg$c1004 = "Tan", peg$c1005 = peg$literalExpectation("Tan", false), peg$c1006 = "teal", peg$c1007 = peg$literalExpectation("teal", false), peg$c1008 = function () { return '#008080ff'; }, peg$c1009 = "Teal", peg$c1010 = peg$literalExpectation("Teal", false), peg$c1011 = "thistle", peg$c1012 = peg$literalExpectation("thistle", false), peg$c1013 = function () { return '#d8bfd8ff'; }, peg$c1014 = "Thistle", peg$c1015 = peg$literalExpectation("Thistle", false), peg$c1016 = "tomato", peg$c1017 = peg$literalExpectation("tomato", false), peg$c1018 = function () { return '#ff6347ff'; }, peg$c1019 = "Tomato", peg$c1020 = peg$literalExpectation("Tomato", false), peg$c1021 = "turquoise", peg$c1022 = peg$literalExpectation("turquoise", false), peg$c1023 = function () { return '#40e0d0ff'; }, peg$c1024 = "Turquoise", peg$c1025 = peg$literalExpectation("Turquoise", false), peg$c1026 = "violet", peg$c1027 = peg$literalExpectation("violet", false), peg$c1028 = function () { return '#ee82eeff'; }, peg$c1029 = "Violet", peg$c1030 = peg$literalExpectation("Violet", false), peg$c1031 = "wheat", peg$c1032 = peg$literalExpectation("wheat", false), peg$c1033 = function () { return '#f5deb3ff'; }, peg$c1034 = "Wheat", peg$c1035 = peg$literalExpectation("Wheat", false), peg$c1036 = "whitesmoke", peg$c1037 = peg$literalExpectation("whitesmoke", false), peg$c1038 = function () { return '#f5f5f5ff'; }, peg$c1039 = "WhiteSmoke", peg$c1040 = peg$literalExpectation("WhiteSmoke", false), peg$c1041 = "white", peg$c1042 = peg$literalExpectation("white", false), peg$c1043 = function () { return '#ffffffff'; }, peg$c1044 = "White", peg$c1045 = peg$literalExpectation("White", false), peg$c1046 = "yellowgreen", peg$c1047 = peg$literalExpectation("yellowgreen", false), peg$c1048 = function () { return '#9acd32ff'; }, peg$c1049 = "YellowGreen", peg$c1050 = peg$literalExpectation("YellowGreen", false), peg$c1051 = "yellow", peg$c1052 = peg$literalExpectation("yellow", false), peg$c1053 = function () { return '#ffff00ff'; }, peg$c1054 = "Yellow", peg$c1055 = peg$literalExpectation("Yellow", false), peg$c1056 = function (lab) { return lab; }, peg$c1057 = "#", peg$c1058 = peg$literalExpectation("#", false), peg$c1059 = function (r, g, b) { - return `#${r}${r}${g}${g}${b}${b}ff`; - }, peg$c1060 = function (r1, r2, g1, g2, b1, b2) { - return `#${r1}${r2}${g1}${g2}${b1}${b2}ff`; - }, peg$c1061 = function (r, g, b, a) { - return `#${r}${r}${g}${g}${b}${b}${a}${a}`; - }, peg$c1062 = function (r1, r2, g1, g2, b1, b2, a1, a2) { - return `#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`; - }, peg$c1063 = peg$otherExpectation("color"), peg$c1064 = "arc_label", peg$c1065 = peg$literalExpectation("arc_label", false), peg$c1066 = "head_label", peg$c1067 = peg$literalExpectation("head_label", false), peg$c1068 = "tail_label", peg$c1069 = peg$literalExpectation("tail_label", false), peg$c1070 = ":", peg$c1071 = peg$literalExpectation(":", false), peg$c1072 = ";", peg$c1073 = peg$literalExpectation(";", false), peg$c1074 = function (key, value) { return { key: key, value: value }; }, peg$c1075 = peg$otherExpectation("single edge color"), peg$c1076 = "edge_color", peg$c1077 = peg$literalExpectation("edge_color", false), peg$c1078 = function (value) { return { key: 'single_edge_color', value: value }; }, peg$c1079 = peg$otherExpectation("transition line style"), peg$c1080 = "linestyle", peg$c1081 = peg$literalExpectation("linestyle", false), peg$c1082 = function (value) { return { key: 'transition_line_style', value: value }; }, peg$c1083 = "{", peg$c1084 = peg$literalExpectation("{", false), peg$c1085 = "}", peg$c1086 = peg$literalExpectation("}", false), peg$c1087 = function (items) { return items; }, peg$c1088 = "%", peg$c1089 = peg$literalExpectation("%", false), peg$c1090 = function (value) { return { key: 'arrow probability', value: value }; }, peg$c1091 = "[", peg$c1092 = peg$literalExpectation("[", false), peg$c1093 = "]", peg$c1094 = peg$literalExpectation("]", false), peg$c1095 = function (names) { return names.map(i => i[0]); }, peg$c1096 = "+|", peg$c1097 = peg$literalExpectation("+|", false), peg$c1098 = function (nzd, dd) { return { key: 'stripe', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1099 = "-|", peg$c1100 = peg$literalExpectation("-|", false), peg$c1101 = function (nzd, dd) { return { key: 'stripe', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1102 = "+", peg$c1103 = peg$literalExpectation("+", false), peg$c1104 = function (nzd, dd) { return { key: 'cycle', value: parseInt(`${nzd}${dd}`, 10) }; }, peg$c1105 = "-", peg$c1106 = peg$literalExpectation("-", false), peg$c1107 = function (nzd, dd) { return { key: 'cycle', value: -1 * parseInt(`${nzd}${dd}`, 10) }; }, peg$c1108 = "+0", peg$c1109 = peg$literalExpectation("+0", false), peg$c1110 = function () { return { key: 'cycle', value: 0 }; }, peg$c1111 = function (r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) { - // Reminder: remove this type and the one in Exp if you want to work in pegjs online - // TODO: properly type this - const base = { kind: arrow, to: label }; - if (tail && (tail !== [])) { - base.se = tail; - } - if (l_desc) { - base.l_desc = l_desc; - } - if (r_desc) { - base.r_desc = r_desc; - } - if (l_action) { - base.l_action = l_action; - } - if (r_action) { - base.r_action = r_action; - } - if (l_prob) { - base.l_probability = l_prob.value; - } - if (r_prob) { - base.r_probability = r_prob.value; - } - return base; - }, peg$c1112 = function (label, se) { - // Reminder: remove this type and the one in subexp if you want to work in pegjs online - // TODO: properly type this - const base = { key: 'transition', from: label }; - if (se && (se !== [])) { - base.se = se; - } - return base; - }, peg$c1113 = "whargarbl", peg$c1114 = peg$literalExpectation("whargarbl", false), peg$c1115 = "todo", peg$c1116 = peg$literalExpectation("todo", false), peg$c1117 = function (validationkey, value) { return { key: validationkey, value: value }; }, peg$c1118 = "validation", peg$c1119 = peg$literalExpectation("validation", false), peg$c1120 = "};", peg$c1121 = peg$literalExpectation("};", false), peg$c1122 = function (validation_items) { - return { config_kind: "validation", config_items: validation_items || [] }; - }, peg$c1123 = "dot", peg$c1124 = peg$literalExpectation("dot", false), peg$c1125 = "circo", peg$c1126 = peg$literalExpectation("circo", false), peg$c1127 = "fdp", peg$c1128 = peg$literalExpectation("fdp", false), peg$c1129 = "neato", peg$c1130 = peg$literalExpectation("neato", false), peg$c1131 = "shape", peg$c1132 = peg$literalExpectation("shape", false), peg$c1133 = function (value) { return { key: "shape", value: value }; }, peg$c1134 = "state", peg$c1135 = peg$literalExpectation("state", false), peg$c1136 = function (state_items) { - return { key: "state_config", value: { config_kind: "state", config_items: state_items || [] } }; - }, peg$c1137 = "start_state", peg$c1138 = peg$literalExpectation("start_state", false), peg$c1139 = function (state_items) { - return { key: "state_config", value: { config_kind: "in_state", config_items: state_items || [] } }; - }, peg$c1140 = "end_state", peg$c1141 = peg$literalExpectation("end_state", false), peg$c1142 = function (state_items) { - return { key: "state_config", value: { config_kind: "out_state", config_items: state_items || [] } }; - }, peg$c1143 = function (actionkey, value) { return { key: actionkey, value: value }; }, peg$c1144 = "action", peg$c1145 = peg$literalExpectation("action", false), peg$c1146 = function (action_items) { - return { config_kind: "action", config_items: action_items || [] }; - }, peg$c1147 = function (transitionkey, value) { return { key: transitionkey, value: value }; }, peg$c1148 = peg$otherExpectation("graph default edge color"), peg$c1149 = function (value) { return { key: 'graph_default_edge_color', value: value }; }, peg$c1150 = "transition", peg$c1151 = peg$literalExpectation("transition", false), peg$c1152 = function (transition_items) { - return { config_kind: "transition", config_items: transition_items || [] }; - }, peg$c1153 = "graph_layout", peg$c1154 = peg$literalExpectation("graph_layout", false), peg$c1155 = function (value) { return { key: "graph_layout", value: value }; }, peg$c1156 = "start_states", peg$c1157 = peg$literalExpectation("start_states", false), peg$c1158 = function (value) { return { key: "start_states", value: value }; }, peg$c1159 = "end_states", peg$c1160 = peg$literalExpectation("end_states", false), peg$c1161 = function (value) { return { key: "end_states", value: value }; }, peg$c1162 = "graph_bg_color", peg$c1163 = peg$literalExpectation("graph_bg_color", false), peg$c1164 = function (value) { return { key: "graph_bg_color", value: value }; }, peg$c1165 = peg$otherExpectation("configuration"), peg$c1166 = "MIT", peg$c1167 = peg$literalExpectation("MIT", false), peg$c1168 = "BSD 2-clause", peg$c1169 = peg$literalExpectation("BSD 2-clause", false), peg$c1170 = "BSD 3-clause", peg$c1171 = peg$literalExpectation("BSD 3-clause", false), peg$c1172 = "Apache 2.0", peg$c1173 = peg$literalExpectation("Apache 2.0", false), peg$c1174 = "Mozilla 2.0", peg$c1175 = peg$literalExpectation("Mozilla 2.0", false), peg$c1176 = "Public domain", peg$c1177 = peg$literalExpectation("Public domain", false), peg$c1178 = "GPL v2", peg$c1179 = peg$literalExpectation("GPL v2", false), peg$c1180 = "GPL v3", peg$c1181 = peg$literalExpectation("GPL v3", false), peg$c1182 = "LGPL v2.1", peg$c1183 = peg$literalExpectation("LGPL v2.1", false), peg$c1184 = "LGPL v3.0", peg$c1185 = peg$literalExpectation("LGPL v3.0", false), peg$c1186 = "Unknown", peg$c1187 = peg$literalExpectation("Unknown", false), peg$c1188 = peg$otherExpectation("direction"), peg$c1189 = "up", peg$c1190 = peg$literalExpectation("up", false), peg$c1191 = "right", peg$c1192 = peg$literalExpectation("right", false), peg$c1193 = "down", peg$c1194 = peg$literalExpectation("down", false), peg$c1195 = "left", peg$c1196 = peg$literalExpectation("left", false), peg$c1197 = peg$otherExpectation("hook definition (open/closed)"), peg$c1198 = "open", peg$c1199 = peg$literalExpectation("open", false), peg$c1200 = "closed", peg$c1201 = peg$literalExpectation("closed", false), peg$c1202 = "machine_author", peg$c1203 = peg$literalExpectation("machine_author", false), peg$c1204 = function (value) { return { key: "machine_author", value }; }, peg$c1205 = "machine_contributor", peg$c1206 = peg$literalExpectation("machine_contributor", false), peg$c1207 = function (value) { return { key: "machine_contributor", value }; }, peg$c1208 = "machine_comment", peg$c1209 = peg$literalExpectation("machine_comment", false), peg$c1210 = function (value) { return { key: "machine_comment", value }; }, peg$c1211 = "machine_definition", peg$c1212 = peg$literalExpectation("machine_definition", false), peg$c1213 = function (value) { return { key: "machine_definition", value }; }, peg$c1214 = "machine_name", peg$c1215 = peg$literalExpectation("machine_name", false), peg$c1216 = function (value) { return { key: "machine_name", value }; }, peg$c1217 = "machine_reference", peg$c1218 = peg$literalExpectation("machine_reference", false), peg$c1219 = function (value) { return { key: "machine_reference", value }; }, peg$c1220 = "machine_version", peg$c1221 = peg$literalExpectation("machine_version", false), peg$c1222 = function (value) { return { key: "machine_version", value }; }, peg$c1223 = "machine_license", peg$c1224 = peg$literalExpectation("machine_license", false), peg$c1225 = function (value) { return { key: "machine_license", value }; }, peg$c1226 = "machine_language", peg$c1227 = peg$literalExpectation("machine_language", false), peg$c1228 = function (value) { return { key: "machine_language", value }; }, peg$c1229 = "fsl_version", peg$c1230 = peg$literalExpectation("fsl_version", false), peg$c1231 = function (value) { return { key: "fsl_version", value }; }, peg$c1232 = "theme", peg$c1233 = peg$literalExpectation("theme", false), peg$c1234 = function (value) { return { key: "theme", value }; }, peg$c1235 = "flow", peg$c1236 = peg$literalExpectation("flow", false), peg$c1237 = function (value) { return { key: "flow", value }; }, peg$c1238 = "hooks", peg$c1239 = peg$literalExpectation("hooks", false), peg$c1240 = function (value) { return { key: "hook_definition", value }; }, peg$c1241 = "dot_preamble", peg$c1242 = peg$literalExpectation("dot_preamble", false), peg$c1243 = function (value) { return { key: "dot_preamble", value }; }, peg$c1244 = peg$otherExpectation("machine attribute"), peg$c1245 = "color", peg$c1246 = peg$literalExpectation("color", false), peg$c1247 = function (value) { return { key: 'color', value }; }, peg$c1248 = peg$otherExpectation("text color"), peg$c1249 = "text-color", peg$c1250 = peg$literalExpectation("text-color", false), peg$c1251 = function (value) { return { key: 'text-color', value }; }, peg$c1252 = peg$otherExpectation("background color"), peg$c1253 = "background-color", peg$c1254 = peg$literalExpectation("background-color", false), peg$c1255 = function (value) { return { key: 'background-color', value }; }, peg$c1256 = peg$otherExpectation("border color"), peg$c1257 = "border-color", peg$c1258 = peg$literalExpectation("border-color", false), peg$c1259 = function (value) { return { key: 'border-color', value }; }, peg$c1260 = peg$otherExpectation("shape"), peg$c1261 = function (value) { return { key: 'shape', value }; }, peg$c1262 = peg$otherExpectation("corners"), peg$c1263 = "corners", peg$c1264 = peg$literalExpectation("corners", false), peg$c1265 = function (value) { return { key: 'corners', value }; }, peg$c1266 = peg$otherExpectation("linestyle"), peg$c1267 = function (value) { return { key: 'linestyle', value }; }, peg$c1268 = function (name, value) { return { key: 'state_declaration', name, value }; }, peg$c1269 = "&", peg$c1270 = peg$literalExpectation("&", false), peg$c1271 = function (name, value) { return { key: 'named_list', name, value }; }, peg$c1272 = "null", peg$c1273 = peg$literalExpectation("null", false), peg$c1274 = "undefined", peg$c1275 = peg$literalExpectation("undefined", false), peg$c1276 = function () { return parseFloat(text()); }, peg$c1277 = "Infinity", peg$c1278 = peg$literalExpectation("Infinity", false), peg$c1279 = "NegInfinity", peg$c1280 = peg$literalExpectation("NegInfinity", false), peg$c1281 = "NaN", peg$c1282 = peg$literalExpectation("NaN", false), peg$c1283 = "MaxSafeInt", peg$c1284 = peg$literalExpectation("MaxSafeInt", false), peg$c1285 = "MinSafeInt", peg$c1286 = peg$literalExpectation("MinSafeInt", false), peg$c1287 = function (chars) { return chars.join(''); }, peg$c1288 = function (char) { return char; }, peg$c1289 = function (sequence) { return sequence; }, peg$c1290 = function () { return "\b"; }, peg$c1291 = function () { return "\f"; }, peg$c1292 = function () { return "\n"; }, peg$c1293 = function () { return "\r"; }, peg$c1294 = function () { return "\t"; }, peg$c1295 = function () { return "\x0B"; }, peg$c1296 = "property", peg$c1297 = peg$literalExpectation("property", false), peg$c1298 = function (name, default_value) { return { key: 'property_definition', name, default_value }; }, peg$c1299 = function (name) { return { key: 'property_definition', name }; }, peg$c1300 = "arrange", peg$c1301 = peg$literalExpectation("arrange", false), peg$c1302 = function (value) { return { key: 'arrange_declaration', value }; }, peg$c1303 = "arrange-start", peg$c1304 = peg$literalExpectation("arrange-start", false), peg$c1305 = function (value) { return { key: 'arrange_start_declaration', value }; }, peg$c1306 = "arrange-end", peg$c1307 = peg$literalExpectation("arrange-end", false), peg$c1308 = function (value) { return { key: 'arrange_end_declaration', value }; }, peg$c1309 = 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; - if ("startRule" in options) { - if (!(options.startRule in peg$startRuleFunctions)) { - throw new Error("Can't start parsing from rule \"" + options.startRule + "\"."); - } - peg$startRuleFunction = peg$startRuleFunctions[options.startRule]; - } - function text() { - return input.substring(peg$savedPos, peg$currPos); - } - function location() { - return peg$computeLocation(peg$savedPos, peg$currPos); - } - function expected(description, location) { - location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos); - throw peg$buildStructuredError([peg$otherExpectation(description)], input.substring(peg$savedPos, peg$currPos), location); - } - function error(message, location) { - location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos); - throw peg$buildSimpleError(message, location); - } - function peg$literalExpectation(text, ignoreCase) { - return { type: "literal", text: text, ignoreCase: ignoreCase }; - } - function peg$classExpectation(parts, inverted, ignoreCase) { - return { type: "class", parts: parts, inverted: inverted, ignoreCase: ignoreCase }; - } - function peg$anyExpectation() { - return { type: "any" }; - } - function peg$endExpectation() { - return { type: "end" }; - } - function peg$otherExpectation(description) { - return { type: "other", description: description }; - } - function peg$computePosDetails(pos) { - var details = peg$posDetailsCache[pos], p; - if (details) { - return details; - } - else { - p = pos - 1; - while (!peg$posDetailsCache[p]) { - p--; - } - details = peg$posDetailsCache[p]; - details = { - line: details.line, - column: details.column - }; - while (p < pos) { - if (input.charCodeAt(p) === 10) { - details.line++; - details.column = 1; - } - else { - details.column++; - } - p++; - } - peg$posDetailsCache[pos] = details; - return details; - } - } - function peg$computeLocation(startPos, endPos) { - var startPosDetails = peg$computePosDetails(startPos), endPosDetails = peg$computePosDetails(endPos); - return { - start: { - offset: startPos, - line: startPosDetails.line, - column: startPosDetails.column - }, - end: { - offset: endPos, - line: endPosDetails.line, - column: endPosDetails.column - } - }; - } - function peg$fail(expected) { - if (peg$currPos < peg$maxFailPos) { - return; - } - if (peg$currPos > peg$maxFailPos) { - peg$maxFailPos = peg$currPos; - peg$maxFailExpected = []; - } - peg$maxFailExpected.push(expected); - } - function peg$buildSimpleError(message, location) { - return new peg$SyntaxError(message, null, null, location); - } - function peg$buildStructuredError(expected, found, location) { - return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected, found), expected, found, location); - } - function peg$parseDocument() { - var s0, s1, s2, s3; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseTermList(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c0(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTheme() { - var s0; - if (input.substr(peg$currPos, 4) === peg$c1) { - s0 = peg$c1; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c2); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c3) { - s0 = peg$c3; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c4); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c5) { - s0 = peg$c5; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c6); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c7) { - s0 = peg$c7; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c8); - } - } - } - } - } - return s0; - } - function peg$parseGvizShape() { - var s0; - if (input.substr(peg$currPos, 5) === peg$c9) { - s0 = peg$c9; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c10); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c11) { - s0 = peg$c11; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c12); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c13) { - s0 = peg$c13; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c14); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c15) { - s0 = peg$c15; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c16); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c17) { - s0 = peg$c17; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c18); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c19) { - s0 = peg$c19; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c20); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c21) { - s0 = peg$c21; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c22); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c23) { - s0 = peg$c23; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c24); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c25) { - s0 = peg$c25; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c26); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c27) { - s0 = peg$c27; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c28); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c29) { - s0 = peg$c29; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c30); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c31) { - s0 = peg$c31; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c32); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c33) { - s0 = peg$c33; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c34); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c35) { - s0 = peg$c35; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c36); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c37) { - s0 = peg$c37; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c38); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c39) { - s0 = peg$c39; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c40); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c41) { - s0 = peg$c41; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c42); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c43) { - s0 = peg$c43; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c44); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c45) { - s0 = peg$c45; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c46); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c47) { - s0 = peg$c47; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c48); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c49) { - s0 = peg$c49; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c50); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c51) { - s0 = peg$c51; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c52); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c53) { - s0 = peg$c53; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c54); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c55) { - s0 = peg$c55; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c56); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c57) { - s0 = peg$c57; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c58); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c59) { - s0 = peg$c59; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c60); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c61) { - s0 = peg$c61; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c62); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c63) { - s0 = peg$c63; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c64); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c65) { - s0 = peg$c65; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c66); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c67) { - s0 = peg$c67; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c68); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c69) { - s0 = peg$c69; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c70); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1) { - s0 = peg$c1; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c2); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c71) { - s0 = peg$c71; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c72); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c73) { - s0 = peg$c73; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c74); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c75) { - s0 = peg$c75; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c76); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c77) { - s0 = peg$c77; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c78); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c79) { - s0 = peg$c79; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c80); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c81) { - s0 = peg$c81; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c82); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c83) { - s0 = peg$c83; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c84); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c85) { - s0 = peg$c85; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c86); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c87) { - s0 = peg$c87; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c88); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c89) { - s0 = peg$c89; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c90); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c91) { - s0 = peg$c91; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c92); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c93) { - s0 = peg$c93; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c94); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c95) { - s0 = peg$c95; - peg$currPos += 15; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c96); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c97) { - s0 = peg$c97; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c98); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c99) { - s0 = peg$c99; - peg$currPos += 14; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c100); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c101) { - s0 = peg$c101; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c102); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c103) { - s0 = peg$c103; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c104); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c105) { - s0 = peg$c105; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c106); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c107) { - s0 = peg$c107; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c108); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c109) { - s0 = peg$c109; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c110); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c111) { - s0 = peg$c111; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c112); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c113) { - s0 = peg$c113; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c114); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c115) { - s0 = peg$c115; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c116); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c117) { - s0 = peg$c117; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c118); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c119) { - s0 = peg$c119; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c120); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c121) { - s0 = peg$c121; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c122); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c123) { - s0 = peg$c123; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c124); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c125) { - s0 = peg$c125; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c126); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseForwardLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c128) { - s0 = peg$c128; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c129); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8594) { - s1 = peg$c130; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c131); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c132(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c127); - } - } - return s0; - } - function peg$parseTwoWayLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c134) { - s0 = peg$c134; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c135); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8596) { - s1 = peg$c136; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c137); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c138(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c133); - } - } - return s0; - } - function peg$parseBackLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c140) { - s0 = peg$c140; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c141); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8592) { - s1 = peg$c142; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c143); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c144(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c139); - } - } - return s0; - } - function peg$parseForwardFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c146) { - s0 = peg$c146; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c147); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8658) { - s1 = peg$c148; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c149); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c150(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c145); - } - } - return s0; - } - function peg$parseTwoWayFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c152) { - s0 = peg$c152; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c153); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8660) { - s1 = peg$c154; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c155); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c156(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c151); - } - } - return s0; - } - function peg$parseBackFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c158) { - s0 = peg$c158; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c159); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8656) { - s1 = peg$c160; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c161); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c162(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c157); - } - } - return s0; - } - function peg$parseForwardTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c164) { - s0 = peg$c164; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c165); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8603) { - s1 = peg$c166; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c167); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c168(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c163); - } - } - return s0; - } - function peg$parseTwoWayTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 3) === peg$c170) { - s0 = peg$c170; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c171); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8622) { - s1 = peg$c172; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c173); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c174(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c169); - } - } - return s0; - } - function peg$parseBackTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c176) { - s0 = peg$c176; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c177); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 8602) { - s1 = peg$c178; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c179); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c180(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c175); - } - } - return s0; - } - function peg$parseLightFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c182) { - s0 = peg$c182; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c183); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c184) { - s1 = peg$c184; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c185); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c186(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c181); - } - } - return s0; - } - function peg$parseLightTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c188) { - s0 = peg$c188; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c189); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c190) { - s1 = peg$c190; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c191); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c192(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c187); - } - } - return s0; - } - function peg$parseFatLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c194) { - s0 = peg$c194; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c195); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c196) { - s1 = peg$c196; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c197); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c198(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c193); - } - } - return s0; - } - function peg$parseFatTildeArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c200) { - s0 = peg$c200; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c201); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c202) { - s1 = peg$c202; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c203); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c204(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c199); - } - } - return s0; - } - function peg$parseTildeLightArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c206) { - s0 = peg$c206; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c207); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c208) { - s1 = peg$c208; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c209); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c210(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c205); - } - } - return s0; - } - function peg$parseTildeFatArrow() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c212) { - s0 = peg$c212; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c213); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c214) { - s1 = peg$c214; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c215); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c216(); - } - s0 = s1; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c211); - } - } - return s0; - } - function peg$parseLightArrow() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseForwardLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackLightArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c217); - } - } - return s0; - } - function peg$parseFatArrow() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseForwardFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackFatArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c218); - } - } - return s0; - } - function peg$parseTildeArrow() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseForwardTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTwoWayTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseBackTildeArrow(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c219); - } - } - return s0; - } - function peg$parseMixedArrow() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseLightFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseLightTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatTildeArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeFatArrow(); - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c220); - } - } - return s0; - } - function peg$parseArrow() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseMixedArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseLightArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseFatArrow(); - if (s0 === peg$FAILED) { - s0 = peg$parseTildeArrow(); - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c221); - } - } - return s0; - } - function peg$parseBoolean() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c222) { - s1 = peg$c222; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c223); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c224(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c225) { - s1 = peg$c225; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c226); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c227(); - } - s0 = s1; - } - return s0; - } - function peg$parseCorners() { - var s0; - if (input.substr(peg$currPos, 7) === peg$c228) { - s0 = peg$c228; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c229); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c230) { - s0 = peg$c230; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c231); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c232) { - s0 = peg$c232; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c233); - } - } - } - } - return s0; - } - function peg$parseLineStyle() { - var s0; - if (input.substr(peg$currPos, 5) === peg$c234) { - s0 = peg$c234; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c235); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c236) { - s0 = peg$c236; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c237); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c238) { - s0 = peg$c238; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c239); - } - } - } - } - return s0; - } - function peg$parseHexDigit() { - var s0; - if (peg$c240.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c241); - } - } - return s0; - } - function peg$parseChar() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$parseUnescaped(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseEscape(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 34) { - s2 = peg$c242; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c244; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c246; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c247); - } - } - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 98) { - s3 = peg$c248; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c249); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c250(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 102) { - s3 = peg$c251; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c252); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c253(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 110) { - s3 = peg$c254; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c255); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c256(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 114) { - s3 = peg$c257; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c258); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c259(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 116) { - s3 = peg$c260; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c261); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c262(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 118) { - s3 = peg$c263; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c264); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c265(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 117) { - s3 = peg$c266; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c267); - } - } - if (s3 !== peg$FAILED) { - s4 = peg$currPos; - s5 = peg$currPos; - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s6 = [s6, s7, s8, s9]; - s5 = s6; - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - if (s5 !== peg$FAILED) { - s4 = input.substring(s4, peg$currPos); - } - else { - s4 = s5; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c268(s4); - s2 = s3; - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - } - } - } - } - } - } - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c269(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseEscape() { - var s0; - if (input.charCodeAt(peg$currPos) === 92) { - s0 = peg$c244; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - return s0; - } - function peg$parseQuoteMark() { - var s0; - if (input.charCodeAt(peg$currPos) === 34) { - s0 = peg$c242; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - return s0; - } - function peg$parseUnescaped() { - var s0; - if (peg$c270.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c271); - } - } - return s0; - } - function peg$parseActionLabelChar() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$parseActionLabelUnescaped(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseEscape(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 39) { - s2 = peg$c272; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c273); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c244; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 47) { - s2 = peg$c246; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c247); - } - } - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 98) { - s3 = peg$c248; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c249); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c250(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 102) { - s3 = peg$c251; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c252); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c253(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 110) { - s3 = peg$c254; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c255); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c256(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 114) { - s3 = peg$c257; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c258); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c259(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 116) { - s3 = peg$c260; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c261); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c262(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 118) { - s3 = peg$c263; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c264); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c265(); - } - s2 = s3; - if (s2 === peg$FAILED) { - s2 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 117) { - s3 = peg$c266; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c267); - } - } - if (s3 !== peg$FAILED) { - s4 = peg$currPos; - s5 = peg$currPos; - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s6 = [s6, s7, s8, s9]; - s5 = s6; - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - } - else { - peg$currPos = s5; - s5 = peg$FAILED; - } - if (s5 !== peg$FAILED) { - s4 = input.substring(s4, peg$currPos); - } - else { - s4 = s5; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s2; - s3 = peg$c268(s4); - s2 = s3; - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - else { - peg$currPos = s2; - s2 = peg$FAILED; - } - } - } - } - } - } - } - } - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c269(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseActionLabelQuoteMark() { - var s0; - if (input.charCodeAt(peg$currPos) === 39) { - s0 = peg$c272; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c273); - } - } - return s0; - } - function peg$parseActionLabelUnescaped() { - var s0; - if (peg$c274.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c275); - } - } - return s0; - } - function peg$parseActionLabel() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseActionLabelQuoteMark(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseActionLabelChar(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseActionLabelChar(); - } - if (s2 !== peg$FAILED) { - s3 = peg$parseActionLabelQuoteMark(); - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c277(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c276); - } - } - return s0; - } - function peg$parseLineTerminator() { - var s0; - if (peg$c278.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c279); - } - } - return s0; - } - function peg$parseWhitespace() { - var s0, s1; - s0 = []; - if (peg$c280.test(input.charAt(peg$currPos))) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c281); - } - } - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - if (peg$c280.test(input.charAt(peg$currPos))) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c281); - } - } - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseBlockCommentTail() { - var s0, s1, s2; - if (input.substr(peg$currPos, 2) === peg$c282) { - s0 = peg$c282; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c283); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c284); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseBlockCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseBlockComment() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c286) { - s1 = peg$c286; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c287); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseBlockCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c285); - } - } - return s0; - } - function peg$parseEOF() { - var s0, s1; - s0 = peg$currPos; - peg$silentFails++; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c284); - } - } - peg$silentFails--; - if (s1 === peg$FAILED) { - s0 = void 0; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLineCommentTail() { - var s0, s1, s2; - s0 = peg$parseLineTerminator(); - if (s0 === peg$FAILED) { - s0 = peg$parseEOF(); - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.length > peg$currPos) { - s1 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c284); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseLineCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - return s0; - } - function peg$parseLineComment() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c289) { - s1 = peg$c289; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c290); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseLineCommentTail(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c288); - } - } - return s0; - } - function peg$parseWS() { - var s0, s1, s2; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseBlockComment(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseLineComment(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = []; - if (peg$c292.test(input.charAt(peg$currPos))) { - s2 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c293); - } - } - if (s2 !== peg$FAILED) { - while (s2 !== peg$FAILED) { - s1.push(s2); - if (peg$c292.test(input.charAt(peg$currPos))) { - s2 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c293); - } - } - } - } - else { - s1 = peg$FAILED; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c291); - } - } - return s0; - } - function peg$parseString() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseQuoteMark(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseChar(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseChar(); - } - if (s2 !== peg$FAILED) { - s3 = peg$parseQuoteMark(); - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c277(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c294); - } - } - return s0; - } - function peg$parseAtomFirstLetter() { - var s0; - if (peg$c295.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c296); - } - } - return s0; - } - function peg$parseAtomLetter() { - var s0; - if (peg$c297.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c298); - } - } - return s0; - } - function peg$parseAtom() { - var s0, s1, s2, s3; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseAtomFirstLetter(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseAtomLetter(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseAtomLetter(); - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c300(s1, s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c299); - } - } - return s0; - } - function peg$parseLabel() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseAtom(); - if (s0 === peg$FAILED) { - s0 = peg$parseString(); - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c301); - } - } - return s0; - } - function peg$parseIntegerLiteral() { - var s0, s1, s2, s3; - if (input.charCodeAt(peg$currPos) === 48) { - s0 = peg$c302; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c303); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseNonZeroDigit(); - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseDecimalDigit(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseDecimalDigit(); - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseDecimalDigit() { - var s0; - if (peg$c304.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c305); - } - } - return s0; - } - function peg$parseNonZeroDigit() { - var s0; - if (peg$c306.test(input.charAt(peg$currPos))) { - s0 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c307); - } - } - return s0; - } - function peg$parseNonNegNumber() { - var s0, s1, s2, s3, s4; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s2 = peg$c309; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c310); - } - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c311(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c311(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c308); - } - } - return s0; - } - function peg$parseSemVer() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - s1 = peg$parseIntegerLiteral(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s2 = peg$c309; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c310); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseIntegerLiteral(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s4 = peg$c309; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c310); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseIntegerLiteral(); - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c312(s1, s3, s5); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSemVerOper() { - var s0; - if (input.charCodeAt(peg$currPos) === 94) { - s0 = peg$c313; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c314); - } - } - if (s0 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 126) { - s0 = peg$c315; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c316); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c317) { - s0 = peg$c317; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c318); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c158) { - s0 = peg$c158; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c159); - } - } - if (s0 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 60) { - s0 = peg$c319; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c320); - } - } - if (s0 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 62) { - s0 = peg$c321; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c322); - } - } - } - } - } - } - } - return s0; - } - function peg$parseSemVerRule() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseSemVerOper(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseSemVer(); - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSemVerRange() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseSemVerRule(); - if (s1 !== peg$FAILED) { - s2 = peg$parseSemVerRule(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s1 = [s1, s2]; - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseUrlProtocol() { - var s0; - if (input.substr(peg$currPos, 7) === peg$c323) { - s0 = peg$c323; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c324); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c325) { - s0 = peg$c325; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c326); - } - } - } - return s0; - } - function peg$parseURL() { - var s0, s1, s2, s3; - s0 = peg$currPos; - s1 = peg$parseUrlProtocol(); - if (s1 !== peg$FAILED) { - s2 = []; - if (peg$c327.test(input.charAt(peg$currPos))) { - s3 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c328); - } - } - if (s3 !== peg$FAILED) { - while (s3 !== peg$FAILED) { - s2.push(s3); - if (peg$c327.test(input.charAt(peg$currPos))) { - s3 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c328); - } - } - } - } - else { - s2 = peg$FAILED; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c329(s1); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSvgColorLabel() { - var s0, s1; - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c330) { - s1 = peg$c330; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c331); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c332(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c333) { - s1 = peg$c333; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c334); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c332(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c335) { - s1 = peg$c335; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c336); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c337(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c338) { - s1 = peg$c338; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c339); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c337(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c340) { - s1 = peg$c340; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c341); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c342(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c343) { - s1 = peg$c343; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c344); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c342(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c345) { - s1 = peg$c345; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c346); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c347(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c348) { - s1 = peg$c348; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c349); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c347(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c350) { - s1 = peg$c350; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c351); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c352(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c353) { - s1 = peg$c353; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c354); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c352(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c355) { - s1 = peg$c355; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c356); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c357(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c358) { - s1 = peg$c358; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c359); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c357(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c360) { - s1 = peg$c360; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c361); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c362(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c363) { - s1 = peg$c363; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c364); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c362(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c365) { - s1 = peg$c365; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c366); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c367(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c368) { - s1 = peg$c368; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c369); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c367(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c370) { - s1 = peg$c370; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c371); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c372(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c373) { - s1 = peg$c373; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c374); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c372(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c375) { - s1 = peg$c375; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c376); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c377(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c378) { - s1 = peg$c378; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c379); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c377(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c380) { - s1 = peg$c380; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c381); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c382(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c383) { - s1 = peg$c383; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c384); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c382(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c385) { - s1 = peg$c385; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c386); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c387(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c388) { - s1 = peg$c388; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c389); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c387(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c390) { - s1 = peg$c390; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c391); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c392(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c393) { - s1 = peg$c393; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c394); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c392(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c395) { - s1 = peg$c395; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c396); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c397(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c398) { - s1 = peg$c398; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c399); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c397(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c400) { - s1 = peg$c400; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c401); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c402(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c403) { - s1 = peg$c403; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c404); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c402(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c405) { - s1 = peg$c405; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c406); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c407(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c408) { - s1 = peg$c408; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c409); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c407(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c410) { - s1 = peg$c410; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c411); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c412(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c413) { - s1 = peg$c413; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c414); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c412(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c415) { - s1 = peg$c415; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c416); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c417(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c418) { - s1 = peg$c418; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c419); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c417(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c420) { - s1 = peg$c420; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c421); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c422(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c423) { - s1 = peg$c423; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c424); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c422(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c425) { - s1 = peg$c425; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c426); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c427(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c428) { - s1 = peg$c428; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c429); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c427(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c430) { - s1 = peg$c430; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c431); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c347(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c432) { - s1 = peg$c432; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c433); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c347(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c434) { - s1 = peg$c434; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c435); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c436(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c437) { - s1 = peg$c437; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c438); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c436(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c439) { - s1 = peg$c439; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c440); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c441(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c442) { - s1 = peg$c442; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c443); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c441(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c444) { - s1 = peg$c444; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c445); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c446(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c447) { - s1 = peg$c447; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c448); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c446(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c449) { - s1 = peg$c449; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c450); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c451(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c452) { - s1 = peg$c452; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c453); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c451(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c454) { - s1 = peg$c454; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c455); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c451(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c456) { - s1 = peg$c456; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c457); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c451(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c458) { - s1 = peg$c458; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c459); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c460(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c461) { - s1 = peg$c461; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c462); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c460(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c463) { - s1 = peg$c463; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c464); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c465(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c466) { - s1 = peg$c466; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c467); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c465(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c468) { - s1 = peg$c468; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c469); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c470(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c471) { - s1 = peg$c471; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c472); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c470(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c473) { - s1 = peg$c473; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c474); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c475(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c476) { - s1 = peg$c476; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c477); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c475(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c478) { - s1 = peg$c478; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c479); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c480(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c481) { - s1 = peg$c481; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c482); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c480(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c483) { - s1 = peg$c483; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c484); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c485(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c486) { - s1 = peg$c486; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c487); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c485(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c488) { - s1 = peg$c488; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c489); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c490(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c491) { - s1 = peg$c491; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c492); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c490(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c493) { - s1 = peg$c493; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c494); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c495(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c496) { - s1 = peg$c496; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c497); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c495(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c498) { - s1 = peg$c498; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c499); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c500(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c501) { - s1 = peg$c501; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c502); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c500(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c503) { - s1 = peg$c503; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c504); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c505(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c506) { - s1 = peg$c506; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c507); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c505(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c508) { - s1 = peg$c508; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c509); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c510(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c511) { - s1 = peg$c511; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c512); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c510(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c513) { - s1 = peg$c513; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c514); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c510(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c515) { - s1 = peg$c515; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c516); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c510(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c517) { - s1 = peg$c517; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c518); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c519(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c520) { - s1 = peg$c520; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c521); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c519(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c522) { - s1 = peg$c522; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c523); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c524(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c525) { - s1 = peg$c525; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c526); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c524(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c527) { - s1 = peg$c527; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c528); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c529(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c530) { - s1 = peg$c530; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c531); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c529(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c532) { - s1 = peg$c532; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c533); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c534(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c535) { - s1 = peg$c535; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c536); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c534(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c537) { - s1 = peg$c537; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c538); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c539(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c540) { - s1 = peg$c540; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c541); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c539(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c542) { - s1 = peg$c542; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c543); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c539(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c544) { - s1 = peg$c544; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c545); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c539(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c546) { - s1 = peg$c546; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c547); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c548(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c549) { - s1 = peg$c549; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c550); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c548(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c551) { - s1 = peg$c551; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c552); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c553(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c554) { - s1 = peg$c554; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c555); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c553(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c556) { - s1 = peg$c556; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c557); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c558(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c559) { - s1 = peg$c559; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c560); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c558(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c561) { - s1 = peg$c561; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c562); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c563(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c564) { - s1 = peg$c564; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c565); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c563(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c566) { - s1 = peg$c566; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c567); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c568(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c569) { - s1 = peg$c569; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c570); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c568(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c571) { - s1 = peg$c571; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c572); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c573(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c574) { - s1 = peg$c574; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c575); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c573(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c576) { - s1 = peg$c576; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c577); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c578(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c579) { - s1 = peg$c579; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c580); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c578(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c581) { - s1 = peg$c581; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c582); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c583(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c584) { - s1 = peg$c584; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c585); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c583(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c586) { - s1 = peg$c586; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c587); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c588(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c589) { - s1 = peg$c589; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c590); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c588(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c591) { - s1 = peg$c591; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c592); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c593(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c594) { - s1 = peg$c594; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c595); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c593(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c596) { - s1 = peg$c596; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c597); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c593(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c598) { - s1 = peg$c598; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c599); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c593(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c600) { - s1 = peg$c600; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c601); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c602(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c603) { - s1 = peg$c603; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c604); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c602(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c605) { - s1 = peg$c605; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c606); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c607(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c608) { - s1 = peg$c608; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c609); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c607(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c610) { - s1 = peg$c610; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c611); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c612(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c613) { - s1 = peg$c613; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c614); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c612(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c615) { - s1 = peg$c615; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c616); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c617(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c618) { - s1 = peg$c618; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c619); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c617(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c620) { - s1 = peg$c620; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c621); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c622(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c623) { - s1 = peg$c623; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c624); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c622(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c625) { - s1 = peg$c625; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c626); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c627(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c628) { - s1 = peg$c628; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c629); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c627(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c630) { - s1 = peg$c630; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c631); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c632(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c633) { - s1 = peg$c633; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c634); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c632(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c635) { - s1 = peg$c635; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c636); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c637(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c638) { - s1 = peg$c638; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c639); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c637(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c640) { - s1 = peg$c640; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c641); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c642(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c643) { - s1 = peg$c643; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c644); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c642(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c645) { - s1 = peg$c645; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c646); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c647(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c648) { - s1 = peg$c648; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c649); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c647(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c650) { - s1 = peg$c650; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c651); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c652(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c653) { - s1 = peg$c653; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c654); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c652(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c655) { - s1 = peg$c655; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c656); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c657(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c658) { - s1 = peg$c658; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c659); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c657(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c660) { - s1 = peg$c660; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c661); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c662(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c663) { - s1 = peg$c663; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c664); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c662(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c665) { - s1 = peg$c665; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c666); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c667(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c668) { - s1 = peg$c668; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c669); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c667(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c670) { - s1 = peg$c670; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c671); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c672(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c673) { - s1 = peg$c673; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c674); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c672(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 20) === peg$c675) { - s1 = peg$c675; - peg$currPos += 20; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c676); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c677(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 20) === peg$c678) { - s1 = peg$c678; - peg$currPos += 20; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c679); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c677(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c680) { - s1 = peg$c680; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c681); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c682(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c683) { - s1 = peg$c683; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c684); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c682(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c685) { - s1 = peg$c685; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c686); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c682(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c687) { - s1 = peg$c687; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c688); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c682(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c689) { - s1 = peg$c689; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c690); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c691(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c692) { - s1 = peg$c692; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c693); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c691(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c694) { - s1 = peg$c694; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c695); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c696(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c697) { - s1 = peg$c697; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c698); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c696(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c699) { - s1 = peg$c699; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c700); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c701(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c702) { - s1 = peg$c702; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c703); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c701(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c704) { - s1 = peg$c704; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c705); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c706(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c707) { - s1 = peg$c707; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c708); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c706(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c709) { - s1 = peg$c709; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c710); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c711(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c712) { - s1 = peg$c712; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c713); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c711(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c714) { - s1 = peg$c714; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c715); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c716(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c717) { - s1 = peg$c717; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c718); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c716(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c719) { - s1 = peg$c719; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c720); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c716(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c721) { - s1 = peg$c721; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c722); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c716(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c723) { - s1 = peg$c723; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c724); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c725(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c726) { - s1 = peg$c726; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c727); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c725(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c728) { - s1 = peg$c728; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c729); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c730(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c731) { - s1 = peg$c731; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c732); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c730(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c733) { - s1 = peg$c733; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c734); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c735(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c736) { - s1 = peg$c736; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c737); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c735(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c738) { - s1 = peg$c738; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c739); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c740(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c741) { - s1 = peg$c741; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c742); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c740(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c743) { - s1 = peg$c743; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c744); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c745(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c746) { - s1 = peg$c746; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c747); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c745(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c748) { - s1 = peg$c748; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c749); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c568(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c750) { - s1 = peg$c750; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c751); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c568(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c752) { - s1 = peg$c752; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c753); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c754(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c755) { - s1 = peg$c755; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c756); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c754(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 16) === peg$c757) { - s1 = peg$c757; - peg$currPos += 16; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c758); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c759(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 16) === peg$c760) { - s1 = peg$c760; - peg$currPos += 16; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c761); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c759(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c762) { - s1 = peg$c762; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c763); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c764(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c765) { - s1 = peg$c765; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c766); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c764(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c767) { - s1 = peg$c767; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c768); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c769(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c770) { - s1 = peg$c770; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c771); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c769(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c772) { - s1 = peg$c772; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c773); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c774(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c775) { - s1 = peg$c775; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c776); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c774(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c777) { - s1 = peg$c777; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c778); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c779(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 14) === peg$c780) { - s1 = peg$c780; - peg$currPos += 14; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c781); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c779(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c782) { - s1 = peg$c782; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c783); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c784(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c785) { - s1 = peg$c785; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c786); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c784(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 17) === peg$c787) { - s1 = peg$c787; - peg$currPos += 17; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c788); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c789(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 17) === peg$c790) { - s1 = peg$c790; - peg$currPos += 17; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c791); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c789(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c792) { - s1 = peg$c792; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c793); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c794(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c795) { - s1 = peg$c795; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c796); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c794(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c797) { - s1 = peg$c797; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c798); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c799(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 15) === peg$c800) { - s1 = peg$c800; - peg$currPos += 15; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c801); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c799(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c802) { - s1 = peg$c802; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c803); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c804(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 12) === peg$c805) { - s1 = peg$c805; - peg$currPos += 12; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c806); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c804(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c807) { - s1 = peg$c807; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c808); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c809(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c810) { - s1 = peg$c810; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c811); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c809(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c812) { - s1 = peg$c812; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c813); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c814(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c815) { - s1 = peg$c815; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c816); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c814(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c817) { - s1 = peg$c817; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c818); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c819(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c820) { - s1 = peg$c820; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c821); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c819(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c822) { - s1 = peg$c822; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c823); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c824(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c825) { - s1 = peg$c825; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c826); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c824(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c827) { - s1 = peg$c827; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c828); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c829(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c830) { - s1 = peg$c830; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c831); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c829(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c832) { - s1 = peg$c832; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c833); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c834(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c835) { - s1 = peg$c835; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c836); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c834(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c837) { - s1 = peg$c837; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c838); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c839(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c840) { - s1 = peg$c840; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c841); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c839(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c842) { - s1 = peg$c842; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c843); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c844(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c845) { - s1 = peg$c845; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c846); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c844(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c847) { - s1 = peg$c847; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c848); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c849(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c850) { - s1 = peg$c850; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c851); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c849(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c852) { - s1 = peg$c852; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c853); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c854(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c855) { - s1 = peg$c855; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c856); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c854(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c857) { - s1 = peg$c857; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c858); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c859(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c860) { - s1 = peg$c860; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c861); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c859(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c862) { - s1 = peg$c862; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c863); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c864(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c865) { - s1 = peg$c865; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c866); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c864(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c867) { - s1 = peg$c867; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c868); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c869(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c870) { - s1 = peg$c870; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c871); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c869(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c872) { - s1 = peg$c872; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c873); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c874(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c875) { - s1 = peg$c875; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c876); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c874(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c877) { - s1 = peg$c877; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c878); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c879(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c880) { - s1 = peg$c880; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c881); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c879(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c882) { - s1 = peg$c882; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c883); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c884(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c885) { - s1 = peg$c885; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c886); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c884(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c887) { - s1 = peg$c887; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c888); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c889(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c890) { - s1 = peg$c890; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c891); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c889(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c892) { - s1 = peg$c892; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c893); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c894(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c895) { - s1 = peg$c895; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c896); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c894(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c897) { - s1 = peg$c897; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c898); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c899(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c900) { - s1 = peg$c900; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c901); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c899(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c902) { - s1 = peg$c902; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c903); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c904(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c905) { - s1 = peg$c905; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c906); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c904(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c907) { - s1 = peg$c907; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c908); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c909(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c910) { - s1 = peg$c910; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c911); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c909(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c912) { - s1 = peg$c912; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c913); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c914(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c915) { - s1 = peg$c915; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c916); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c914(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c917) { - s1 = peg$c917; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c918); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c919(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c920) { - s1 = peg$c920; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c921); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c919(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c922) { - s1 = peg$c922; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c923); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c924(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c925) { - s1 = peg$c925; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c926); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c924(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c927) { - s1 = peg$c927; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c928); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c929(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c930) { - s1 = peg$c930; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c931); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c929(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c932) { - s1 = peg$c932; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c933); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c934(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c935) { - s1 = peg$c935; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c936); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c934(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c937) { - s1 = peg$c937; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c938); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c939(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c940) { - s1 = peg$c940; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c941); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c939(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c942) { - s1 = peg$c942; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c943); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c944(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c945) { - s1 = peg$c945; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c946); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c944(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c947) { - s1 = peg$c947; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c948); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c949(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c950) { - s1 = peg$c950; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c951); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c949(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c952) { - s1 = peg$c952; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c953); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c954(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 8) === peg$c955) { - s1 = peg$c955; - peg$currPos += 8; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c956); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c954(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c957) { - s1 = peg$c957; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c958); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c959(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c960) { - s1 = peg$c960; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c961); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c959(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c962) { - s1 = peg$c962; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c963); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c964(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c965) { - s1 = peg$c965; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c966); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c964(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c967) { - s1 = peg$c967; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c968); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c969(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c970) { - s1 = peg$c970; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c971); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c969(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c972) { - s1 = peg$c972; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c973); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c974(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c975) { - s1 = peg$c975; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c976); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c974(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c977) { - s1 = peg$c977; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c978); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c979(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c980) { - s1 = peg$c980; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c981); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c979(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c982) { - s1 = peg$c982; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c983); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c979(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c984) { - s1 = peg$c984; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c985); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c979(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c986) { - s1 = peg$c986; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c987); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c988(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c989) { - s1 = peg$c989; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c990); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c988(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c991) { - s1 = peg$c991; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c992); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c993(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c994) { - s1 = peg$c994; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c995); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c993(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c996) { - s1 = peg$c996; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c997); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c998(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c999) { - s1 = peg$c999; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1000); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c998(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1001) { - s1 = peg$c1001; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1002); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1003(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 3) === peg$c1004) { - s1 = peg$c1004; - peg$currPos += 3; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1005); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1003(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1006) { - s1 = peg$c1006; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1007); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1008(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 4) === peg$c1009) { - s1 = peg$c1009; - peg$currPos += 4; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1010); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1008(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1011) { - s1 = peg$c1011; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1012); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1013(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1014) { - s1 = peg$c1014; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1015); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1013(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1016) { - s1 = peg$c1016; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1017); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1018(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1019) { - s1 = peg$c1019; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1020); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1018(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1021) { - s1 = peg$c1021; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1022); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1023(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 9) === peg$c1024) { - s1 = peg$c1024; - peg$currPos += 9; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1025); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1023(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1026) { - s1 = peg$c1026; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1027); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1028(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1029) { - s1 = peg$c1029; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1030); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1028(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1031) { - s1 = peg$c1031; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1032); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1033(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1034) { - s1 = peg$c1034; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1035); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1033(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1036) { - s1 = peg$c1036; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1037); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1038(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 10) === peg$c1039) { - s1 = peg$c1039; - peg$currPos += 10; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1040); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1038(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1041) { - s1 = peg$c1041; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1042); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1043(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 5) === peg$c1044) { - s1 = peg$c1044; - peg$currPos += 5; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1045); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1043(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1046) { - s1 = peg$c1046; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1047); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1048(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1049) { - s1 = peg$c1049; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1050); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1048(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1051) { - s1 = peg$c1051; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1052); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1053(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 6) === peg$c1054) { - s1 = peg$c1054; - peg$currPos += 6; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1055); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1053(); - } - s0 = s1; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseSvgColor() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseSvgColorLabel(); - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1056(s1); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgb3() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1057; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1058); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1059(s2, s3, s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgb6() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1057; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1058); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseWS(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1060(s2, s3, s4, s5, s6, s7); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgba4() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1057; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1058); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1061(s2, s3, s4, s5); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseRgba8() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 35) { - s1 = peg$c1057; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1058); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseHexDigit(); - if (s2 !== peg$FAILED) { - s3 = peg$parseHexDigit(); - if (s3 !== peg$FAILED) { - s4 = peg$parseHexDigit(); - if (s4 !== peg$FAILED) { - s5 = peg$parseHexDigit(); - if (s5 !== peg$FAILED) { - s6 = peg$parseHexDigit(); - if (s6 !== peg$FAILED) { - s7 = peg$parseHexDigit(); - if (s7 !== peg$FAILED) { - s8 = peg$parseHexDigit(); - if (s8 !== peg$FAILED) { - s9 = peg$parseHexDigit(); - if (s9 !== peg$FAILED) { - s10 = peg$parseWS(); - if (s10 === peg$FAILED) { - s10 = null; - } - if (s10 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1062(s2, s3, s4, s5, s6, s7, s8, s9); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseColor() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseSvgColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgba8(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgb6(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgba4(); - if (s0 === peg$FAILED) { - s0 = peg$parseRgb3(); - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1063); - } - } - return s0; - } - function peg$parseArrowItemKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1064) { - s0 = peg$c1064; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1065); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1066) { - s0 = peg$c1066; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1067); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1068) { - s0 = peg$c1068; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1069); - } - } - } - } - return s0; - } - function peg$parseArrowItem() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseArrowItemKey(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1074(s2, s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseSingleEdgeColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1076) { - s2 = peg$c1076; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1077); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1078(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1075); - } - } - return s0; - } - function peg$parseTransitionLineStyle() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1080) { - s2 = peg$c1080; - peg$currPos += 9; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1081); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLineStyle(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1082(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1079); - } - } - return s0; - } - function peg$parseArrowItems() { - var s0, s1; - s0 = peg$parseSingleEdgeColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseTransitionLineStyle(); - if (s0 === peg$FAILED) { - s0 = []; - s1 = peg$parseArrowItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseArrowItem(); - } - } - else { - s0 = peg$FAILED; - } - } - } - return s0; - } - function peg$parseArrowDesc() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 123) { - s1 = peg$c1083; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseArrowItems(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 125) { - s5 = peg$c1085; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1086); - } - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1087(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrowProbability() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$parseNonNegNumber(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 37) { - s2 = peg$c1088; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1089); - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1090(s1); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLabelList() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 91) { - s1 = peg$c1091; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1092); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$currPos; - s5 = peg$parseLabel(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$currPos; - s5 = peg$parseLabel(); - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s5 = [s5, s6]; - s4 = s5; - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - else { - peg$currPos = s4; - s4 = peg$FAILED; - } - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 93) { - s4 = peg$c1093; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1094); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1095(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseLabelOrLabelList() { - var s0; - s0 = peg$parseLabelList(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - } - return s0; - } - function peg$parseStripe() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1096) { - s1 = peg$c1096; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1097); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1098(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1099) { - s1 = peg$c1099; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1100); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1101(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseCycle() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 43) { - s1 = peg$c1102; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1103); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1104(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 45) { - s1 = peg$c1105; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1106); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseNonZeroDigit(); - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseDecimalDigit(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseDecimalDigit(); - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1107(s2, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.substr(peg$currPos, 2) === peg$c1108) { - s1 = peg$c1108; - peg$currPos += 2; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1109); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1110(); - } - s0 = s1; - } - } - return s0; - } - function peg$parseArrowTarget() { - var s0; - s0 = peg$parseStripe(); - if (s0 === peg$FAILED) { - s0 = peg$parseCycle(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabelList(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - } - } - } - return s0; - } - function peg$parseSubexp() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, s17, s18; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseActionLabel(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseArrowProbability(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseArrowDesc(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseArrow(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - s10 = peg$parseArrowDesc(); - if (s10 === peg$FAILED) { - s10 = null; - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - s12 = peg$parseArrowProbability(); - if (s12 === peg$FAILED) { - s12 = null; - } - if (s12 !== peg$FAILED) { - s13 = peg$parseWS(); - if (s13 === peg$FAILED) { - s13 = null; - } - if (s13 !== peg$FAILED) { - s14 = peg$parseActionLabel(); - if (s14 === peg$FAILED) { - s14 = null; - } - if (s14 !== peg$FAILED) { - s15 = peg$parseWS(); - if (s15 === peg$FAILED) { - s15 = null; - } - if (s15 !== peg$FAILED) { - s16 = peg$parseArrowTarget(); - if (s16 !== peg$FAILED) { - s17 = peg$parseWS(); - if (s17 === peg$FAILED) { - s17 = null; - } - if (s17 !== peg$FAILED) { - s18 = peg$parseSubexp(); - if (s18 === peg$FAILED) { - s18 = null; - } - if (s18 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1111(s2, s4, s6, s8, s10, s12, s14, s16, s18); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseExp() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - s1 = peg$parseArrowTarget(); - if (s1 !== peg$FAILED) { - s2 = peg$parseSubexp(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1072; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1112(s1, s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseValidationKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1113) { - s0 = peg$c1113; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1114); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1115) { - s0 = peg$c1115; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1116); - } - } - } - return s0; - } - function peg$parseValidationItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseValidationKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1070; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1072; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1117(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseValidationItems() { - var s0, s1; - s0 = []; - s1 = peg$parseValidationItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseValidationItem(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigValidation() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1118) { - s2 = peg$c1118; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1119); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseValidationItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1122(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseGvizLayout() { - var s0; - if (input.substr(peg$currPos, 3) === peg$c1123) { - s0 = peg$c1123; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1124); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1125) { - s0 = peg$c1125; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1126); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c1127) { - s0 = peg$c1127; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1128); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1129) { - s0 = peg$c1129; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1130); - } - } - } - } - } - return s0; - } - function peg$parseStateItemShapeKey() { - var s0; - if (input.substr(peg$currPos, 5) === peg$c1131) { - s0 = peg$c1131; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1132); - } - } - return s0; - } - function peg$parseStateItemShape() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1131) { - s2 = peg$c1131; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1132); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseGvizShape(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1133(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseStateItems() { - var s0, s1; - s0 = []; - s1 = peg$parseStateItemShape(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseStateItemShape(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1134) { - s2 = peg$c1134; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1135); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1136(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigStartState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1137) { - s2 = peg$c1137; - peg$currPos += 11; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1138); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1139(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigEndState() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1140) { - s2 = peg$c1140; - peg$currPos += 9; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1141); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1142(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigAnyState() { - var s0; - s0 = peg$parseConfigState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigStartState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigEndState(); - } - } - return s0; - } - function peg$parseActionKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1113) { - s0 = peg$c1113; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1114); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1115) { - s0 = peg$c1115; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1116); - } - } - } - return s0; - } - function peg$parseActionItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseActionKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1070; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1072; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1143(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseActionItems() { - var s0, s1; - s0 = []; - s1 = peg$parseActionItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseActionItem(); - } - } - else { - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigAction() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1144) { - s2 = peg$c1144; - peg$currPos += 6; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1145); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseActionItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1146(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTransitionKey() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1113) { - s0 = peg$c1113; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1114); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1115) { - s0 = peg$c1115; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1116); - } - } - } - return s0; - } - function peg$parseTransitionItem() { - var s0, s1, s2, s3, s4; - s0 = peg$currPos; - s1 = peg$parseTransitionKey(); - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s2 = peg$c1070; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabel(); - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s4 = peg$c1072; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s4 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1147(s1, s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseTransitionItems() { - var s0, s1; - s0 = peg$parseGraphDefaultEdgeColor(); - if (s0 === peg$FAILED) { - s0 = []; - s1 = peg$parseTransitionItem(); - if (s1 !== peg$FAILED) { - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseTransitionItem(); - } - } - else { - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseGraphDefaultEdgeColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1076) { - s2 = peg$c1076; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1077); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1149(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1148); - } - } - return s0; - } - function peg$parseConfigTransition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1150) { - s2 = peg$c1150; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1151); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 123) { - s6 = peg$c1083; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseTransitionItems(); - if (s8 === peg$FAILED) { - s8 = null; - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.substr(peg$currPos, 2) === peg$c1120) { - s10 = peg$c1120; - peg$currPos += 2; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1121); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1152(s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigGraphLayout() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1153) { - s2 = peg$c1153; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1154); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseGvizLayout(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1155(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigStartNodes() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1156) { - s2 = peg$c1156; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1157); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1158(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigEndNodes() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1159) { - s2 = peg$c1159; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1160); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1161(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfigGraphBgColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c1162) { - s2 = peg$c1162; - peg$currPos += 14; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1163); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1164(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseConfig() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseConfigGraphLayout(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigStartNodes(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigEndNodes(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigTransition(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigAction(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigAnyState(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigValidation(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfigGraphBgColor(); - } - } - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1165); - } - } - return s0; - } - function peg$parseLicenseOrLabelOrList() { - var s0; - if (input.substr(peg$currPos, 3) === peg$c1166) { - s0 = peg$c1166; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1167); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1168) { - s0 = peg$c1168; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1169); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1170) { - s0 = peg$c1170; - peg$currPos += 12; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1171); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1172) { - s0 = peg$c1172; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1173); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1174) { - s0 = peg$c1174; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1175); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 13) === peg$c1176) { - s0 = peg$c1176; - peg$currPos += 13; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1177); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1178) { - s0 = peg$c1178; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1179); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1180) { - s0 = peg$c1180; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1181); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1182) { - s0 = peg$c1182; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1183); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1184) { - s0 = peg$c1184; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1185); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c1186) { - s0 = peg$c1186; - peg$currPos += 7; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1187); - } - } - if (s0 === peg$FAILED) { - s0 = peg$parseLabel(); - if (s0 === peg$FAILED) { - s0 = peg$parseLabelList(); - } - } - } - } - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseDirection() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 2) === peg$c1189) { - s0 = peg$c1189; - peg$currPos += 2; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1190); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1191) { - s0 = peg$c1191; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1192); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1193) { - s0 = peg$c1193; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1194); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1195) { - s0 = peg$c1195; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1196); - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1188); - } - } - return s0; - } - function peg$parseHookDefinition() { - var s0, s1; - peg$silentFails++; - if (input.substr(peg$currPos, 4) === peg$c1198) { - s0 = peg$c1198; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1199); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 6) === peg$c1200) { - s0 = peg$c1200; - peg$currPos += 6; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1201); - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1197); - } - } - return s0; - } - function peg$parseMachineAuthor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 14) === peg$c1202) { - s2 = peg$c1202; - peg$currPos += 14; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1203); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1204(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineContributor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 19) === peg$c1205) { - s2 = peg$c1205; - peg$currPos += 19; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1206); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1207(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineComment() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1208) { - s2 = peg$c1208; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1209); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1210(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineDefinition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 18) === peg$c1211) { - s2 = peg$c1211; - peg$currPos += 18; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1212); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseURL(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1213(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineName() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1214) { - s2 = peg$c1214; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1215); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1216(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineReference() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 17) === peg$c1217) { - s2 = peg$c1217; - peg$currPos += 17; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1218); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabelOrLabelList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1219(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineVersion() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1220) { - s2 = peg$c1220; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1221); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseSemVer(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1222(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineLicense() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 15) === peg$c1223) { - s2 = peg$c1223; - peg$currPos += 15; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1224); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLicenseOrLabelOrList(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1225(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineLanguage() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c1226) { - s2 = peg$c1226; - peg$currPos += 16; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1227); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLabel(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1228(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseFslVersion() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1229) { - s2 = peg$c1229; - peg$currPos += 11; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1230); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseSemVer(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1231(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineTheme() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1232) { - s2 = peg$c1232; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1233); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseTheme(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1234(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineFlow() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 4) === peg$c1235) { - s2 = peg$c1235; - peg$currPos += 4; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1236); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseDirection(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1237(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineHookDefinition() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1238) { - s2 = peg$c1238; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1239); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseHookDefinition(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1240(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseDotPreamble() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1241) { - s2 = peg$c1241; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1242); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseString(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1243(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachineAttribute() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseFslVersion(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineName(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineAuthor(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineContributor(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineComment(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineDefinition(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineVersion(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineLicense(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineLanguage(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineTheme(); - if (s0 === peg$FAILED) { - s0 = peg$parseDotPreamble(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineFlow(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineHookDefinition(); - } - } - } - } - } - } - } - } - } - } - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1244); - } - } - return s0; - } - function peg$parseSdStateColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1245) { - s2 = peg$c1245; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1246); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1247(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1063); - } - } - return s0; - } - function peg$parseSdStateTextColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1249) { - s2 = peg$c1249; - peg$currPos += 10; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1250); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1251(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1248); - } - } - return s0; - } - function peg$parseSdStateBackgroundColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 16) === peg$c1253) { - s2 = peg$c1253; - peg$currPos += 16; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1254); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1255(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1252); - } - } - return s0; - } - function peg$parseSdStateBorderColor() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 12) === peg$c1257) { - s2 = peg$c1257; - peg$currPos += 12; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1258); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseColor(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1259(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1256); - } - } - return s0; - } - function peg$parseSdStateShape() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1131) { - s2 = peg$c1131; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1132); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseGvizShape(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1261(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1260); - } - } - return s0; - } - function peg$parseSdStateCorners() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c1263) { - s2 = peg$c1263; - peg$currPos += 7; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1264); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseCorners(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1265(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1262); - } - } - return s0; - } - function peg$parseSdStateLineStyle() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9; - peg$silentFails++; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 9) === peg$c1080) { - s2 = peg$c1080; - peg$currPos += 9; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1081); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s4 = peg$c1070; - peg$currPos++; - } - else { - s4 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - s6 = peg$parseLineStyle(); - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s8 = peg$c1072; - peg$currPos++; - } - else { - s8 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1267(s6); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1266); - } - } - return s0; - } - function peg$parseStateDeclarationItems() { - var s0; - s0 = peg$parseSdStateColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateTextColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateBackgroundColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateBorderColor(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateShape(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateCorners(); - if (s0 === peg$FAILED) { - s0 = peg$parseSdStateLineStyle(); - } - } - } - } - } - } - return s0; - } - function peg$parseStateDeclarationDesc() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 123) { - s1 = peg$c1083; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1084); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = []; - s4 = peg$parseStateDeclarationItems(); - while (s4 !== peg$FAILED) { - s3.push(s4); - s4 = peg$parseStateDeclarationItems(); - } - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 125) { - s5 = peg$c1085; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1086); - } - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1087(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseStateDeclaration() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c1134) { - s2 = peg$c1134; - peg$currPos += 5; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1135); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s6 = peg$c1070; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseStateDeclarationDesc(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1072; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1268(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseNamedList() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 38) { - s2 = peg$c1269; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1270); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 58) { - s6 = peg$c1070; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1071); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - s8 = peg$parseLabelOrLabelList(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1072; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1271(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachinePropertyDefaultNull() { - var s0; - if (input.substr(peg$currPos, 4) === peg$c1272) { - s0 = peg$c1272; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1273); - } - } - return s0; - } - function peg$parseMachinePropertyDefaultUndefined() { - var s0; - if (input.substr(peg$currPos, 9) === peg$c1274) { - s0 = peg$c1274; - peg$currPos += 9; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1275); - } - } - return s0; - } - function peg$parseMachinePropertyDefaultBoolean() { - var s0; - if (input.substr(peg$currPos, 4) === peg$c222) { - s0 = peg$c222; - peg$currPos += 4; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c223); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 5) === peg$c225) { - s0 = peg$c225; - peg$currPos += 5; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c226); - } - } - } - return s0; - } - function peg$parseMachinePropertyDefaultNumber() { - var s0, s1, s2, s3, s4, s5; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 45) { - s1 = peg$c1105; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1106); - } - } - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseIntegerLiteral(); - if (s2 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 46) { - s3 = peg$c309; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c310); - } - } - if (s3 !== peg$FAILED) { - s4 = []; - s5 = peg$parseDecimalDigit(); - while (s5 !== peg$FAILED) { - s4.push(s5); - s5 = peg$parseDecimalDigit(); - } - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1276(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 45) { - s1 = peg$c1105; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1106); - } - } - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - s2 = peg$parseIntegerLiteral(); - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1276(); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1277) { - s0 = peg$c1277; - peg$currPos += 8; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1278); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 11) === peg$c1279) { - s0 = peg$c1279; - peg$currPos += 11; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1280); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 3) === peg$c1281) { - s0 = peg$c1281; - peg$currPos += 3; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1282); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1283) { - s0 = peg$c1283; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1284); - } - } - if (s0 === peg$FAILED) { - if (input.substr(peg$currPos, 10) === peg$c1285) { - s0 = peg$c1285; - peg$currPos += 10; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1286); - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseMachinePropertyDefaultString() { - var s0, s1, s2, s3; - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 34) { - s1 = peg$c242; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s1 !== peg$FAILED) { - s2 = []; - s3 = peg$parseMachinePropertyDefaultStringCharacter(); - while (s3 !== peg$FAILED) { - s2.push(s3); - s3 = peg$parseMachinePropertyDefaultStringCharacter(); - } - if (s2 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 34) { - s3 = peg$c242; - peg$currPos++; - } - else { - s3 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s3 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1287(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseMachinePropertyDefaultStringCharacter() { - var s0, s1, s2; - s0 = peg$currPos; - s1 = peg$currPos; - peg$silentFails++; - if (input.charCodeAt(peg$currPos) === 34) { - s2 = peg$c242; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s2 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s2 = peg$c244; - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - } - peg$silentFails--; - if (s2 === peg$FAILED) { - s1 = void 0; - } - else { - peg$currPos = s1; - s1 = peg$FAILED; - } - if (s1 !== peg$FAILED) { - if (input.length > peg$currPos) { - s2 = input.charAt(peg$currPos); - peg$currPos++; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c284); - } - } - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1288(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 92) { - s1 = peg$c244; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseMachinePropertyDefaultStringEscapeSequence(); - if (s2 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1289(s2); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseMachinePropertyDefaultStringEscapeSequence() { - var s0, s1; - if (input.charCodeAt(peg$currPos) === 39) { - s0 = peg$c272; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c273); - } - } - if (s0 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 34) { - s0 = peg$c242; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c243); - } - } - if (s0 === peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 92) { - s0 = peg$c244; - peg$currPos++; - } - else { - s0 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c245); - } - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 98) { - s1 = peg$c248; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c249); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1290(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 102) { - s1 = peg$c251; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c252); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1291(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 110) { - s1 = peg$c254; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c255); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1292(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 114) { - s1 = peg$c257; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c258); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1293(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 116) { - s1 = peg$c260; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c261); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1294(); - } - s0 = s1; - if (s0 === peg$FAILED) { - s0 = peg$currPos; - if (input.charCodeAt(peg$currPos) === 118) { - s1 = peg$c263; - peg$currPos++; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c264); - } - } - if (s1 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1295(); - } - s0 = s1; - } - } - } - } - } - } - } - } - return s0; - } - function peg$parseMachinePropertyDefault() { - var s0; - s0 = peg$parseMachinePropertyDefaultNull(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachinePropertyDefaultUndefined(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachinePropertyDefaultBoolean(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachinePropertyDefaultNumber(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachinePropertyDefaultString(); - } - } - } - } - return s0; - } - function peg$parseMachineProperty() { - var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11; - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1296) { - s2 = peg$c1296; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1297); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.substr(peg$currPos, 7) === peg$c3) { - s6 = peg$c3; - peg$currPos += 7; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c4); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 !== peg$FAILED) { - s8 = peg$parseMachinePropertyDefault(); - if (s8 !== peg$FAILED) { - s9 = peg$parseWS(); - if (s9 === peg$FAILED) { - s9 = null; - } - if (s9 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s10 = peg$c1072; - peg$currPos++; - } - else { - s10 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s10 !== peg$FAILED) { - s11 = peg$parseWS(); - if (s11 === peg$FAILED) { - s11 = null; - } - if (s11 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1298(s4, s8); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - if (s0 === peg$FAILED) { - s0 = peg$currPos; - s1 = peg$parseWS(); - if (s1 === peg$FAILED) { - s1 = null; - } - if (s1 !== peg$FAILED) { - if (input.substr(peg$currPos, 8) === peg$c1296) { - s2 = peg$c1296; - peg$currPos += 8; - } - else { - s2 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1297); - } - } - if (s2 !== peg$FAILED) { - s3 = peg$parseWS(); - if (s3 === peg$FAILED) { - s3 = null; - } - if (s3 !== peg$FAILED) { - s4 = peg$parseLabel(); - if (s4 !== peg$FAILED) { - s5 = peg$parseWS(); - if (s5 === peg$FAILED) { - s5 = null; - } - if (s5 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s6 = peg$c1072; - peg$currPos++; - } - else { - s6 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s6 !== peg$FAILED) { - s7 = peg$parseWS(); - if (s7 === peg$FAILED) { - s7 = null; - } - if (s7 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1299(s4); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - return s0; - } - function peg$parseRegularArrangeDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 7) === peg$c1300) { - s1 = peg$c1300; - peg$currPos += 7; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1301); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1072; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1302(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeStartDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 13) === peg$c1303) { - s1 = peg$c1303; - peg$currPos += 13; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1304); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1072; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1305(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeEndDeclaration() { - var s0, s1, s2, s3, s4, s5, s6; - s0 = peg$currPos; - if (input.substr(peg$currPos, 11) === peg$c1306) { - s1 = peg$c1306; - peg$currPos += 11; - } - else { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1307); - } - } - if (s1 !== peg$FAILED) { - s2 = peg$parseWS(); - if (s2 === peg$FAILED) { - s2 = null; - } - if (s2 !== peg$FAILED) { - s3 = peg$parseLabelOrLabelList(); - if (s3 !== peg$FAILED) { - s4 = peg$parseWS(); - if (s4 === peg$FAILED) { - s4 = null; - } - if (s4 !== peg$FAILED) { - if (input.charCodeAt(peg$currPos) === 59) { - s5 = peg$c1072; - peg$currPos++; - } - else { - s5 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1073); - } - } - if (s5 !== peg$FAILED) { - s6 = peg$parseWS(); - if (s6 === peg$FAILED) { - s6 = null; - } - if (s6 !== peg$FAILED) { - peg$savedPos = s0; - s1 = peg$c1308(s3); - s0 = s1; - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - } - else { - peg$currPos = s0; - s0 = peg$FAILED; - } - return s0; - } - function peg$parseArrangeDeclaration() { - var s0, s1; - peg$silentFails++; - s0 = peg$parseArrangeStartDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseArrangeEndDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseRegularArrangeDeclaration(); - } - } - peg$silentFails--; - if (s0 === peg$FAILED) { - s1 = peg$FAILED; - if (peg$silentFails === 0) { - peg$fail(peg$c1309); - } - } - return s0; - } - function peg$parseTerm() { - var s0; - s0 = peg$parseExp(); - if (s0 === peg$FAILED) { - s0 = peg$parseStateDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseArrangeDeclaration(); - if (s0 === peg$FAILED) { - s0 = peg$parseNamedList(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineAttribute(); - if (s0 === peg$FAILED) { - s0 = peg$parseMachineProperty(); - if (s0 === peg$FAILED) { - s0 = peg$parseConfig(); - } - } - } - } - } - } - return s0; - } - function peg$parseTermList() { - var s0, s1; - s0 = []; - s1 = peg$parseTerm(); - while (s1 !== peg$FAILED) { - s0.push(s1); - s1 = peg$parseTerm(); - } - return s0; - } - peg$result = peg$startRuleFunction(); - if (peg$result !== peg$FAILED && peg$currPos === input.length) { - return peg$result; - } - else { - if (peg$result !== peg$FAILED && peg$currPos < input.length) { - peg$fail(peg$endExpectation()); - } - throw peg$buildStructuredError(peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length - ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) - : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)); - } -} -// this should be added to the end of the peg js output -// after it's renamed ts -export { peg$SyntaxError as SyntaxError, peg$parse as parse }; diff --git a/docs/docs/assets/search.js b/docs/docs/assets/search.js index 2a8c0d54..277591d1 100644 --- a/docs/docs/assets/search.js +++ b/docs/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules.html#transfer_state_properties\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":1,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/Machine.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\",\"isPage\":false},{\"id\":2,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":3,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_theme\",\"url\":\"classes/Machine.html#_theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":47,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":48,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":49,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":50,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":51,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":52,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":53,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":54,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":55,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":56,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":57,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":58,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":59,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":60,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":61,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":62,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":63,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":64,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":65,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":66,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":67,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":68,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":69,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":70,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":71,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":72,\"kind\":2048,\"name\":\"theme\",\"url\":\"classes/Machine.html#theme\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":73,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":74,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":75,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":76,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":77,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":78,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":79,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":80,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":117,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":118,\"kind\":64,\"name\":\"make\",\"url\":\"modules.html#make\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":119,\"kind\":64,\"name\":\"parse\",\"url\":\"modules.html#parse\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":120,\"kind\":64,\"name\":\"compile\",\"url\":\"modules.html#compile\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":121,\"kind\":64,\"name\":\"sm\",\"url\":\"modules.html#sm\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":122,\"kind\":64,\"name\":\"from\",\"url\":\"modules.html#from\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":123,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules.html#arrow_direction\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":124,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules.html#arrow_left_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":125,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules.html#arrow_right_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":126,\"kind\":32,\"name\":\"version\",\"url\":\"modules.html#version\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":127,\"kind\":64,\"name\":\"seq\",\"url\":\"modules.html#seq\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":128,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":129,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules.html#histograph\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":130,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":131,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":132,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules.html#shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":133,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules.html#gviz_shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":134,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules.html#named_colors\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":135,\"kind\":2048,\"name\":\"Page: ☕ Quick Start\",\"url\":\"pages\\\\GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":136,\"kind\":2048,\"name\":\"Page: What are state machines?\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":137,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":138,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":139,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":140,\"kind\":2048,\"name\":\"Page: Environments\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":141,\"kind\":2048,\"name\":\"Page: Bundling\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":142,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":143,\"kind\":2048,\"name\":\"Page: Feature comparison\",\"url\":\"pages\\\\FeatureComparison.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":144,\"kind\":2048,\"name\":\"Page: LOC Shootout\",\"url\":\"pages\\\\Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":145,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages\\\\live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":146,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":147,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages\\\\community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":148,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages\\\\CHANGELOG.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,49.032]],[\"parent/0\",[]],[\"name/1\",[1,2.6]],[\"parent/1\",[]],[\"name/2\",[2,49.032]],[\"parent/2\",[1,0.219]],[\"name/3\",[3,49.032]],[\"parent/3\",[1,0.219]],[\"name/4\",[4,49.032]],[\"parent/4\",[1,0.219]],[\"name/5\",[5,49.032]],[\"parent/5\",[1,0.219]],[\"name/6\",[6,49.032]],[\"parent/6\",[1,0.219]],[\"name/7\",[7,49.032]],[\"parent/7\",[1,0.219]],[\"name/8\",[8,49.032]],[\"parent/8\",[1,0.219]],[\"name/9\",[9,49.032]],[\"parent/9\",[1,0.219]],[\"name/10\",[10,49.032]],[\"parent/10\",[1,0.219]],[\"name/11\",[11,49.032]],[\"parent/11\",[1,0.219]],[\"name/12\",[12,49.032]],[\"parent/12\",[1,0.219]],[\"name/13\",[13,49.032]],[\"parent/13\",[1,0.219]],[\"name/14\",[14,49.032]],[\"parent/14\",[1,0.219]],[\"name/15\",[15,49.032]],[\"parent/15\",[1,0.219]],[\"name/16\",[16,49.032]],[\"parent/16\",[1,0.219]],[\"name/17\",[17,49.032]],[\"parent/17\",[1,0.219]],[\"name/18\",[18,49.032]],[\"parent/18\",[1,0.219]],[\"name/19\",[19,49.032]],[\"parent/19\",[1,0.219]],[\"name/20\",[20,49.032]],[\"parent/20\",[1,0.219]],[\"name/21\",[21,49.032]],[\"parent/21\",[1,0.219]],[\"name/22\",[22,49.032]],[\"parent/22\",[1,0.219]],[\"name/23\",[23,49.032]],[\"parent/23\",[1,0.219]],[\"name/24\",[24,49.032]],[\"parent/24\",[1,0.219]],[\"name/25\",[25,49.032]],[\"parent/25\",[1,0.219]],[\"name/26\",[26,49.032]],[\"parent/26\",[1,0.219]],[\"name/27\",[27,49.032]],[\"parent/27\",[1,0.219]],[\"name/28\",[28,49.032]],[\"parent/28\",[1,0.219]],[\"name/29\",[29,49.032]],[\"parent/29\",[1,0.219]],[\"name/30\",[30,49.032]],[\"parent/30\",[1,0.219]],[\"name/31\",[31,49.032]],[\"parent/31\",[1,0.219]],[\"name/32\",[32,49.032]],[\"parent/32\",[1,0.219]],[\"name/33\",[33,49.032]],[\"parent/33\",[1,0.219]],[\"name/34\",[34,49.032]],[\"parent/34\",[1,0.219]],[\"name/35\",[35,49.032]],[\"parent/35\",[1,0.219]],[\"name/36\",[36,49.032]],[\"parent/36\",[1,0.219]],[\"name/37\",[37,49.032]],[\"parent/37\",[1,0.219]],[\"name/38\",[38,49.032]],[\"parent/38\",[1,0.219]],[\"name/39\",[39,49.032]],[\"parent/39\",[1,0.219]],[\"name/40\",[40,49.032]],[\"parent/40\",[1,0.219]],[\"name/41\",[41,49.032]],[\"parent/41\",[1,0.219]],[\"name/42\",[42,49.032]],[\"parent/42\",[1,0.219]],[\"name/43\",[43,49.032]],[\"parent/43\",[1,0.219]],[\"name/44\",[44,49.032]],[\"parent/44\",[1,0.219]],[\"name/45\",[45,49.032]],[\"parent/45\",[1,0.219]],[\"name/46\",[46,49.032]],[\"parent/46\",[1,0.219]],[\"name/47\",[47,49.032]],[\"parent/47\",[1,0.219]],[\"name/48\",[48,43.593]],[\"parent/48\",[1,0.219]],[\"name/49\",[49,49.032]],[\"parent/49\",[1,0.219]],[\"name/50\",[50,49.032]],[\"parent/50\",[1,0.219]],[\"name/51\",[51,49.032]],[\"parent/51\",[1,0.219]],[\"name/52\",[52,49.032]],[\"parent/52\",[1,0.219]],[\"name/53\",[53,49.032]],[\"parent/53\",[1,0.219]],[\"name/54\",[54,49.032]],[\"parent/54\",[1,0.219]],[\"name/55\",[55,49.032]],[\"parent/55\",[1,0.219]],[\"name/56\",[56,49.032]],[\"parent/56\",[1,0.219]],[\"name/57\",[57,49.032]],[\"parent/57\",[1,0.219]],[\"name/58\",[58,49.032]],[\"parent/58\",[1,0.219]],[\"name/59\",[59,49.032]],[\"parent/59\",[1,0.219]],[\"name/60\",[60,49.032]],[\"parent/60\",[1,0.219]],[\"name/61\",[61,49.032]],[\"parent/61\",[1,0.219]],[\"name/62\",[62,49.032]],[\"parent/62\",[1,0.219]],[\"name/63\",[63,49.032]],[\"parent/63\",[1,0.219]],[\"name/64\",[64,49.032]],[\"parent/64\",[1,0.219]],[\"name/65\",[65,49.032]],[\"parent/65\",[1,0.219]],[\"name/66\",[66,49.032]],[\"parent/66\",[1,0.219]],[\"name/67\",[67,49.032]],[\"parent/67\",[1,0.219]],[\"name/68\",[68,49.032]],[\"parent/68\",[1,0.219]],[\"name/69\",[69,49.032]],[\"parent/69\",[1,0.219]],[\"name/70\",[70,49.032]],[\"parent/70\",[1,0.219]],[\"name/71\",[71,49.032]],[\"parent/71\",[1,0.219]],[\"name/72\",[72,49.032]],[\"parent/72\",[1,0.219]],[\"name/73\",[73,49.032]],[\"parent/73\",[1,0.219]],[\"name/74\",[74,49.032]],[\"parent/74\",[1,0.219]],[\"name/75\",[75,49.032]],[\"parent/75\",[1,0.219]],[\"name/76\",[76,49.032]],[\"parent/76\",[1,0.219]],[\"name/77\",[77,49.032]],[\"parent/77\",[1,0.219]],[\"name/78\",[78,49.032]],[\"parent/78\",[1,0.219]],[\"name/79\",[79,49.032]],[\"parent/79\",[1,0.219]],[\"name/80\",[80,49.032]],[\"parent/80\",[1,0.219]],[\"name/81\",[81,49.032]],[\"parent/81\",[1,0.219]],[\"name/82\",[82,49.032]],[\"parent/82\",[1,0.219]],[\"name/83\",[83,49.032]],[\"parent/83\",[1,0.219]],[\"name/84\",[84,49.032]],[\"parent/84\",[1,0.219]],[\"name/85\",[85,49.032]],[\"parent/85\",[1,0.219]],[\"name/86\",[86,49.032]],[\"parent/86\",[1,0.219]],[\"name/87\",[87,49.032]],[\"parent/87\",[1,0.219]],[\"name/88\",[88,49.032]],[\"parent/88\",[1,0.219]],[\"name/89\",[89,49.032]],[\"parent/89\",[1,0.219]],[\"name/90\",[90,49.032]],[\"parent/90\",[1,0.219]],[\"name/91\",[91,49.032]],[\"parent/91\",[1,0.219]],[\"name/92\",[92,49.032]],[\"parent/92\",[1,0.219]],[\"name/93\",[93,49.032]],[\"parent/93\",[1,0.219]],[\"name/94\",[94,49.032]],[\"parent/94\",[1,0.219]],[\"name/95\",[95,49.032]],[\"parent/95\",[1,0.219]],[\"name/96\",[96,49.032]],[\"parent/96\",[1,0.219]],[\"name/97\",[97,49.032]],[\"parent/97\",[1,0.219]],[\"name/98\",[98,49.032]],[\"parent/98\",[1,0.219]],[\"name/99\",[99,49.032]],[\"parent/99\",[1,0.219]],[\"name/100\",[100,49.032]],[\"parent/100\",[1,0.219]],[\"name/101\",[101,49.032]],[\"parent/101\",[1,0.219]],[\"name/102\",[102,49.032]],[\"parent/102\",[1,0.219]],[\"name/103\",[103,49.032]],[\"parent/103\",[1,0.219]],[\"name/104\",[104,49.032]],[\"parent/104\",[1,0.219]],[\"name/105\",[105,49.032]],[\"parent/105\",[1,0.219]],[\"name/106\",[106,49.032]],[\"parent/106\",[1,0.219]],[\"name/107\",[107,49.032]],[\"parent/107\",[1,0.219]],[\"name/108\",[108,43.593]],[\"parent/108\",[1,0.219]],[\"name/109\",[109,49.032]],[\"parent/109\",[1,0.219]],[\"name/110\",[110,49.032]],[\"parent/110\",[1,0.219]],[\"name/111\",[111,49.032]],[\"parent/111\",[1,0.219]],[\"name/112\",[112,49.032]],[\"parent/112\",[1,0.219]],[\"name/113\",[113,49.032]],[\"parent/113\",[1,0.219]],[\"name/114\",[114,49.032]],[\"parent/114\",[1,0.219]],[\"name/115\",[115,49.032]],[\"parent/115\",[1,0.219]],[\"name/116\",[116,49.032]],[\"parent/116\",[1,0.219]],[\"name/117\",[117,43.593]],[\"parent/117\",[1,0.219]],[\"name/118\",[118,49.032]],[\"parent/118\",[]],[\"name/119\",[119,49.032]],[\"parent/119\",[]],[\"name/120\",[120,49.032]],[\"parent/120\",[]],[\"name/121\",[117,43.593]],[\"parent/121\",[]],[\"name/122\",[121,49.032]],[\"parent/122\",[]],[\"name/123\",[122,49.032]],[\"parent/123\",[]],[\"name/124\",[123,49.032]],[\"parent/124\",[]],[\"name/125\",[124,49.032]],[\"parent/125\",[]],[\"name/126\",[125,49.032]],[\"parent/126\",[]],[\"name/127\",[126,49.032]],[\"parent/127\",[]],[\"name/128\",[127,49.032]],[\"parent/128\",[]],[\"name/129\",[128,49.032]],[\"parent/129\",[]],[\"name/130\",[129,49.032]],[\"parent/130\",[]],[\"name/131\",[130,49.032]],[\"parent/131\",[]],[\"name/132\",[131,49.032]],[\"parent/132\",[]],[\"name/133\",[132,49.032]],[\"parent/133\",[]],[\"name/134\",[133,49.032]],[\"parent/134\",[]],[\"name/135\",[134,117.757,135,232.097,136,232.097,137,232.097]],[\"parent/135\",[]],[\"name/136\",[48,175.537,134,100.172,138,197.438,139,197.438,140,175.537]],[\"parent/136\",[]],[\"name/137\",[134,142.831,141,281.516,142,250.289]],[\"parent/137\",[]],[\"name/138\",[134,142.831,142,250.289,143,281.516]],[\"parent/138\",[]],[\"name/139\",[134,142.831,140,250.289,144,281.516]],[\"parent/139\",[]],[\"name/140\",[134,181.47,145,357.674]],[\"parent/140\",[]],[\"name/141\",[134,181.47,146,357.674]],[\"parent/141\",[]],[\"name/142\",[134,181.47,147,357.674]],[\"parent/142\",[]],[\"name/143\",[134,142.831,148,281.516,149,281.516]],[\"parent/143\",[]],[\"name/144\",[134,142.831,150,281.516,151,281.516]],[\"parent/144\",[]],[\"name/145\",[134,142.831,152,281.516,153,281.516]],[\"parent/145\",[]],[\"name/146\",[108,250.289,134,142.831,154,281.516]],[\"parent/146\",[]],[\"name/147\",[134,181.47,155,357.674]],[\"parent/147\",[]],[\"name/148\",[134,181.47,156,357.674]],[\"parent/148\",[]]],\"invertedIndex\":[[\"\",{\"_index\":135,\"name\":{\"135\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":42,\"name\":{\"42\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":46,\"name\":{\"46\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":25,\"name\":{\"25\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":27,\"name\":{\"27\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":26,\"name\":{\"26\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":24,\"name\":{\"24\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":39,\"name\":{\"39\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":40,\"name\":{\"40\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":29,\"name\":{\"29\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":45,\"name\":{\"45\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":19,\"name\":{\"19\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":41,\"name\":{\"41\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":23,\"name\":{\"23\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":31,\"name\":{\"31\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":33,\"name\":{\"33\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":34,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":35,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":30,\"name\":{\"30\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":32,\"name\":{\"32\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":36,\"name\":{\"36\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":37,\"name\":{\"37\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":22,\"name\":{\"22\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":18,\"name\":{\"18\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":44,\"name\":{\"44\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":38,\"name\":{\"38\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":47,\"name\":{\"47\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":20,\"name\":{\"20\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":43,\"name\":{\"43\":{}},\"parent\":{}}],[\"_state\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":21,\"name\":{\"21\":{}},\"parent\":{}}],[\"_states\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"_theme\",{\"_index\":28,\"name\":{\"28\":{}},\"parent\":{}}],[\"action\",{\"_index\":108,\"name\":{\"108\":{},\"146\":{}},\"parent\":{}}],[\"actions\",{\"_index\":83,\"name\":{\"83\":{}},\"parent\":{}}],[\"api\",{\"_index\":143,\"name\":{\"138\":{}},\"parent\":{}}],[\"are\",{\"_index\":139,\"name\":{\"136\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":122,\"name\":{\"123\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":123,\"name\":{\"124\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":124,\"name\":{\"125\":{}},\"parent\":{}}],[\"bundling\",{\"_index\":146,\"name\":{\"141\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":156,\"name\":{\"148\":{}},\"parent\":{}}],[\"community\",{\"_index\":155,\"name\":{\"147\":{}},\"parent\":{}}],[\"comparison\",{\"_index\":149,\"name\":{\"143\":{}},\"parent\":{}}],[\"compile\",{\"_index\":120,\"name\":{\"120\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":112,\"name\":{\"112\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":111,\"name\":{\"111\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":52,\"name\":{\"52\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":106,\"name\":{\"106\":{}},\"parent\":{}}],[\"editor\",{\"_index\":153,\"name\":{\"145\":{}},\"parent\":{}}],[\"environments\",{\"_index\":145,\"name\":{\"140\":{}},\"parent\":{}}],[\"example\",{\"_index\":144,\"name\":{\"139\":{}},\"parent\":{}}],[\"feature\",{\"_index\":148,\"name\":{\"143\":{}},\"parent\":{}}],[\"flow\",{\"_index\":73,\"name\":{\"73\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":110,\"name\":{\"110\":{}},\"parent\":{}}],[\"from\",{\"_index\":121,\"name\":{\"122\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":64,\"name\":{\"64\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":74,\"name\":{\"74\":{}},\"parent\":{}}],[\"github\",{\"_index\":154,\"name\":{\"146\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":51,\"name\":{\"51\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":132,\"name\":{\"133\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":94,\"name\":{\"94\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":68,\"name\":{\"68\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":91,\"name\":{\"91\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":88,\"name\":{\"88\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":128,\"name\":{\"129\":{}},\"parent\":{}}],[\"hook\",{\"_index\":96,\"name\":{\"96\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":97,\"name\":{\"97\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":99,\"name\":{\"99\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":103,\"name\":{\"103\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":104,\"name\":{\"104\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":105,\"name\":{\"105\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":102,\"name\":{\"102\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":98,\"name\":{\"98\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":101,\"name\":{\"101\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":100,\"name\":{\"100\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":116,\"name\":{\"116\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":92,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":50,\"name\":{\"50\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":89,\"name\":{\"89\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":87,\"name\":{\"87\":{}},\"parent\":{}}],[\"language\",{\"_index\":141,\"name\":{\"137\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":71,\"name\":{\"71\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":69,\"name\":{\"69\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":77,\"name\":{\"77\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":85,\"name\":{\"85\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":78,\"name\":{\"78\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":70,\"name\":{\"70\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":84,\"name\":{\"84\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":76,\"name\":{\"76\":{}},\"parent\":{}}],[\"live\",{\"_index\":152,\"name\":{\"145\":{}},\"parent\":{}}],[\"loc\",{\"_index\":150,\"name\":{\"144\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":75,\"name\":{\"75\":{}},\"parent\":{}}],[\"machine\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{\"2\":{},\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{}}}],[\"machine_author\",{\"_index\":53,\"name\":{\"53\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":54,\"name\":{\"54\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":55,\"name\":{\"55\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":56,\"name\":{\"56\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":57,\"name\":{\"57\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":58,\"name\":{\"58\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":59,\"name\":{\"59\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":65,\"name\":{\"65\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":60,\"name\":{\"60\":{}},\"parent\":{}}],[\"machines\",{\"_index\":140,\"name\":{\"136\":{},\"139\":{}},\"parent\":{}}],[\"make\",{\"_index\":118,\"name\":{\"118\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":133,\"name\":{\"134\":{}},\"parent\":{}}],[\"page\",{\"_index\":134,\"name\":{\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{}},\"parent\":{}}],[\"parse\",{\"_index\":119,\"name\":{\"119\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":82,\"name\":{\"82\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":80,\"name\":{\"80\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":81,\"name\":{\"81\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":86,\"name\":{\"86\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":79,\"name\":{\"79\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":147,\"name\":{\"142\":{}},\"parent\":{}}],[\"quick\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":61,\"name\":{\"61\":{}},\"parent\":{}}],[\"reference\",{\"_index\":142,\"name\":{\"137\":{},\"138\":{}},\"parent\":{}}],[\"seq\",{\"_index\":126,\"name\":{\"127\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":95,\"name\":{\"95\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":131,\"name\":{\"132\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":151,\"name\":{\"144\":{}},\"parent\":{}}],[\"sm\",{\"_index\":117,\"name\":{\"117\":{},\"121\":{}},\"parent\":{}}],[\"start\",{\"_index\":137,\"name\":{\"135\":{}},\"parent\":{}}],[\"state\",{\"_index\":48,\"name\":{\"48\":{},\"136\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":62,\"name\":{\"62\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":63,\"name\":{\"63\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":67,\"name\":{\"67\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":93,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":49,\"name\":{\"49\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":90,\"name\":{\"90\":{}},\"parent\":{}}],[\"states\",{\"_index\":66,\"name\":{\"66\":{}},\"parent\":{}}],[\"theme\",{\"_index\":72,\"name\":{\"72\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"transition\",{\"_index\":109,\"name\":{\"109\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":107,\"name\":{\"107\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":113,\"name\":{\"113\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":115,\"name\":{\"115\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":114,\"name\":{\"114\":{}},\"parent\":{}}],[\"version\",{\"_index\":125,\"name\":{\"126\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":130,\"name\":{\"131\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":127,\"name\":{\"128\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":129,\"name\":{\"130\":{}},\"parent\":{}}],[\"what\",{\"_index\":138,\"name\":{\"136\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = JSON.parse("{\"kinds\":{\"32\":\"Variable\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\"},\"rows\":[{\"id\":0,\"kind\":64,\"name\":\"transfer_state_properties\",\"url\":\"modules.html#transfer_state_properties\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":1,\"kind\":128,\"name\":\"Machine\",\"url\":\"classes/Machine.html\",\"classes\":\"tsd-kind-class tsd-has-type-parameter\",\"isPage\":false},{\"id\":2,\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/Machine.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":3,\"kind\":1024,\"name\":\"_state\",\"url\":\"classes/Machine.html#_state\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":4,\"kind\":1024,\"name\":\"_states\",\"url\":\"classes/Machine.html#_states\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":5,\"kind\":1024,\"name\":\"_edges\",\"url\":\"classes/Machine.html#_edges\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":6,\"kind\":1024,\"name\":\"_edge_map\",\"url\":\"classes/Machine.html#_edge_map\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":7,\"kind\":1024,\"name\":\"_named_transitions\",\"url\":\"classes/Machine.html#_named_transitions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":8,\"kind\":1024,\"name\":\"_actions\",\"url\":\"classes/Machine.html#_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":9,\"kind\":1024,\"name\":\"_reverse_actions\",\"url\":\"classes/Machine.html#_reverse_actions\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":10,\"kind\":1024,\"name\":\"_reverse_action_targets\",\"url\":\"classes/Machine.html#_reverse_action_targets\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":11,\"kind\":1024,\"name\":\"_machine_author\",\"url\":\"classes/Machine.html#_machine_author\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":12,\"kind\":1024,\"name\":\"_machine_comment\",\"url\":\"classes/Machine.html#_machine_comment\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":13,\"kind\":1024,\"name\":\"_machine_contributor\",\"url\":\"classes/Machine.html#_machine_contributor\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":14,\"kind\":1024,\"name\":\"_machine_definition\",\"url\":\"classes/Machine.html#_machine_definition\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":15,\"kind\":1024,\"name\":\"_machine_language\",\"url\":\"classes/Machine.html#_machine_language\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":16,\"kind\":1024,\"name\":\"_machine_license\",\"url\":\"classes/Machine.html#_machine_license\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":17,\"kind\":1024,\"name\":\"_machine_name\",\"url\":\"classes/Machine.html#_machine_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":18,\"kind\":1024,\"name\":\"_machine_version\",\"url\":\"classes/Machine.html#_machine_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":19,\"kind\":1024,\"name\":\"_fsl_version\",\"url\":\"classes/Machine.html#_fsl_version\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":20,\"kind\":1024,\"name\":\"_raw_state_declaration\",\"url\":\"classes/Machine.html#_raw_state_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":21,\"kind\":1024,\"name\":\"_state_declarations\",\"url\":\"classes/Machine.html#_state_declarations\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":22,\"kind\":1024,\"name\":\"_instance_name\",\"url\":\"classes/Machine.html#_instance_name\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":23,\"kind\":1024,\"name\":\"_graph_layout\",\"url\":\"classes/Machine.html#_graph_layout\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":24,\"kind\":1024,\"name\":\"_dot_preamble\",\"url\":\"classes/Machine.html#_dot_preamble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":25,\"kind\":1024,\"name\":\"_arrange_declaration\",\"url\":\"classes/Machine.html#_arrange_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":26,\"kind\":1024,\"name\":\"_arrange_start_declaration\",\"url\":\"classes/Machine.html#_arrange_start_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":27,\"kind\":1024,\"name\":\"_arrange_end_declaration\",\"url\":\"classes/Machine.html#_arrange_end_declaration\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":28,\"kind\":1024,\"name\":\"_theme\",\"url\":\"classes/Machine.html#_theme\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":29,\"kind\":1024,\"name\":\"_flow\",\"url\":\"classes/Machine.html#_flow\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":30,\"kind\":1024,\"name\":\"_has_hooks\",\"url\":\"classes/Machine.html#_has_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":31,\"kind\":1024,\"name\":\"_has_basic_hooks\",\"url\":\"classes/Machine.html#_has_basic_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":32,\"kind\":1024,\"name\":\"_has_named_hooks\",\"url\":\"classes/Machine.html#_has_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":33,\"kind\":1024,\"name\":\"_has_entry_hooks\",\"url\":\"classes/Machine.html#_has_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":34,\"kind\":1024,\"name\":\"_has_exit_hooks\",\"url\":\"classes/Machine.html#_has_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":35,\"kind\":1024,\"name\":\"_has_global_action_hooks\",\"url\":\"classes/Machine.html#_has_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":36,\"kind\":1024,\"name\":\"_has_transition_hooks\",\"url\":\"classes/Machine.html#_has_transition_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":37,\"kind\":1024,\"name\":\"_hooks\",\"url\":\"classes/Machine.html#_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":38,\"kind\":1024,\"name\":\"_named_hooks\",\"url\":\"classes/Machine.html#_named_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":39,\"kind\":1024,\"name\":\"_entry_hooks\",\"url\":\"classes/Machine.html#_entry_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":40,\"kind\":1024,\"name\":\"_exit_hooks\",\"url\":\"classes/Machine.html#_exit_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":41,\"kind\":1024,\"name\":\"_global_action_hooks\",\"url\":\"classes/Machine.html#_global_action_hooks\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":42,\"kind\":1024,\"name\":\"_any_action_hook\",\"url\":\"classes/Machine.html#_any_action_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":43,\"kind\":1024,\"name\":\"_standard_transition_hook\",\"url\":\"classes/Machine.html#_standard_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":44,\"kind\":1024,\"name\":\"_main_transition_hook\",\"url\":\"classes/Machine.html#_main_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":45,\"kind\":1024,\"name\":\"_forced_transition_hook\",\"url\":\"classes/Machine.html#_forced_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":46,\"kind\":1024,\"name\":\"_any_transition_hook\",\"url\":\"classes/Machine.html#_any_transition_hook\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":47,\"kind\":2048,\"name\":\"_new_state\",\"url\":\"classes/Machine.html#_new_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":48,\"kind\":2048,\"name\":\"state\",\"url\":\"classes/Machine.html#state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":49,\"kind\":2048,\"name\":\"state_is_final\",\"url\":\"classes/Machine.html#state_is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":50,\"kind\":2048,\"name\":\"is_final\",\"url\":\"classes/Machine.html#is_final\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":51,\"kind\":2048,\"name\":\"graph_layout\",\"url\":\"classes/Machine.html#graph_layout\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":52,\"kind\":2048,\"name\":\"dot_preamble\",\"url\":\"classes/Machine.html#dot_preamble\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":53,\"kind\":2048,\"name\":\"machine_author\",\"url\":\"classes/Machine.html#machine_author\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":54,\"kind\":2048,\"name\":\"machine_comment\",\"url\":\"classes/Machine.html#machine_comment\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":55,\"kind\":2048,\"name\":\"machine_contributor\",\"url\":\"classes/Machine.html#machine_contributor\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":56,\"kind\":2048,\"name\":\"machine_definition\",\"url\":\"classes/Machine.html#machine_definition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":57,\"kind\":2048,\"name\":\"machine_language\",\"url\":\"classes/Machine.html#machine_language\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":58,\"kind\":2048,\"name\":\"machine_license\",\"url\":\"classes/Machine.html#machine_license\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":59,\"kind\":2048,\"name\":\"machine_name\",\"url\":\"classes/Machine.html#machine_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":60,\"kind\":2048,\"name\":\"machine_version\",\"url\":\"classes/Machine.html#machine_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":61,\"kind\":2048,\"name\":\"raw_state_declarations\",\"url\":\"classes/Machine.html#raw_state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":62,\"kind\":2048,\"name\":\"state_declaration\",\"url\":\"classes/Machine.html#state_declaration\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":63,\"kind\":2048,\"name\":\"state_declarations\",\"url\":\"classes/Machine.html#state_declarations\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":64,\"kind\":2048,\"name\":\"fsl_version\",\"url\":\"classes/Machine.html#fsl_version\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":65,\"kind\":2048,\"name\":\"machine_state\",\"url\":\"classes/Machine.html#machine_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":66,\"kind\":2048,\"name\":\"states\",\"url\":\"classes/Machine.html#states\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":67,\"kind\":2048,\"name\":\"state_for\",\"url\":\"classes/Machine.html#state_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":68,\"kind\":2048,\"name\":\"has_state\",\"url\":\"classes/Machine.html#has_state\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":69,\"kind\":2048,\"name\":\"list_edges\",\"url\":\"classes/Machine.html#list_edges\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":70,\"kind\":2048,\"name\":\"list_named_transitions\",\"url\":\"classes/Machine.html#list_named_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":71,\"kind\":2048,\"name\":\"list_actions\",\"url\":\"classes/Machine.html#list_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":72,\"kind\":2048,\"name\":\"theme\",\"url\":\"classes/Machine.html#theme\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":73,\"kind\":2048,\"name\":\"flow\",\"url\":\"classes/Machine.html#flow\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":74,\"kind\":2048,\"name\":\"get_transition_by_state_names\",\"url\":\"classes/Machine.html#get_transition_by_state_names\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":75,\"kind\":2048,\"name\":\"lookup_transition_for\",\"url\":\"classes/Machine.html#lookup_transition_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":76,\"kind\":2048,\"name\":\"list_transitions\",\"url\":\"classes/Machine.html#list_transitions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":77,\"kind\":2048,\"name\":\"list_entrances\",\"url\":\"classes/Machine.html#list_entrances\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":78,\"kind\":2048,\"name\":\"list_exits\",\"url\":\"classes/Machine.html#list_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":79,\"kind\":2048,\"name\":\"probable_exits_for\",\"url\":\"classes/Machine.html#probable_exits_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":80,\"kind\":2048,\"name\":\"probabilistic_transition\",\"url\":\"classes/Machine.html#probabilistic_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":81,\"kind\":2048,\"name\":\"probabilistic_walk\",\"url\":\"classes/Machine.html#probabilistic_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":82,\"kind\":2048,\"name\":\"probabilistic_histo_walk\",\"url\":\"classes/Machine.html#probabilistic_histo_walk\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":83,\"kind\":2048,\"name\":\"actions\",\"url\":\"classes/Machine.html#actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":84,\"kind\":2048,\"name\":\"list_states_having_action\",\"url\":\"classes/Machine.html#list_states_having_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":85,\"kind\":2048,\"name\":\"list_exit_actions\",\"url\":\"classes/Machine.html#list_exit_actions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":86,\"kind\":2048,\"name\":\"probable_action_exits\",\"url\":\"classes/Machine.html#probable_action_exits\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":87,\"kind\":2048,\"name\":\"is_unenterable\",\"url\":\"classes/Machine.html#is_unenterable\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":88,\"kind\":2048,\"name\":\"has_unenterables\",\"url\":\"classes/Machine.html#has_unenterables\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":89,\"kind\":2048,\"name\":\"is_terminal\",\"url\":\"classes/Machine.html#is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":90,\"kind\":2048,\"name\":\"state_is_terminal\",\"url\":\"classes/Machine.html#state_is_terminal\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":91,\"kind\":2048,\"name\":\"has_terminals\",\"url\":\"classes/Machine.html#has_terminals\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":92,\"kind\":2048,\"name\":\"is_complete\",\"url\":\"classes/Machine.html#is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":93,\"kind\":2048,\"name\":\"state_is_complete\",\"url\":\"classes/Machine.html#state_is_complete\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":94,\"kind\":2048,\"name\":\"has_completes\",\"url\":\"classes/Machine.html#has_completes\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":95,\"kind\":2048,\"name\":\"set_hook\",\"url\":\"classes/Machine.html#set_hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":96,\"kind\":2048,\"name\":\"hook\",\"url\":\"classes/Machine.html#hook\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":97,\"kind\":2048,\"name\":\"hook_action\",\"url\":\"classes/Machine.html#hook_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":98,\"kind\":2048,\"name\":\"hook_global_action\",\"url\":\"classes/Machine.html#hook_global_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":99,\"kind\":2048,\"name\":\"hook_any_action\",\"url\":\"classes/Machine.html#hook_any_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":100,\"kind\":2048,\"name\":\"hook_standard_transition\",\"url\":\"classes/Machine.html#hook_standard_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":101,\"kind\":2048,\"name\":\"hook_main_transition\",\"url\":\"classes/Machine.html#hook_main_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":102,\"kind\":2048,\"name\":\"hook_forced_transition\",\"url\":\"classes/Machine.html#hook_forced_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":103,\"kind\":2048,\"name\":\"hook_any_transition\",\"url\":\"classes/Machine.html#hook_any_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":104,\"kind\":2048,\"name\":\"hook_entry\",\"url\":\"classes/Machine.html#hook_entry\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":105,\"kind\":2048,\"name\":\"hook_exit\",\"url\":\"classes/Machine.html#hook_exit\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":106,\"kind\":2048,\"name\":\"edges_between\",\"url\":\"classes/Machine.html#edges_between\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":107,\"kind\":2048,\"name\":\"transition_impl\",\"url\":\"classes/Machine.html#transition_impl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":108,\"kind\":2048,\"name\":\"action\",\"url\":\"classes/Machine.html#action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":109,\"kind\":2048,\"name\":\"transition\",\"url\":\"classes/Machine.html#transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":110,\"kind\":2048,\"name\":\"force_transition\",\"url\":\"classes/Machine.html#force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":111,\"kind\":2048,\"name\":\"current_action_for\",\"url\":\"classes/Machine.html#current_action_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":112,\"kind\":2048,\"name\":\"current_action_edge_for\",\"url\":\"classes/Machine.html#current_action_edge_for\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":113,\"kind\":2048,\"name\":\"valid_action\",\"url\":\"classes/Machine.html#valid_action\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":114,\"kind\":2048,\"name\":\"valid_transition\",\"url\":\"classes/Machine.html#valid_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":115,\"kind\":2048,\"name\":\"valid_force_transition\",\"url\":\"classes/Machine.html#valid_force_transition\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":116,\"kind\":2048,\"name\":\"instance_name\",\"url\":\"classes/Machine.html#instance_name\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":117,\"kind\":2048,\"name\":\"sm\",\"url\":\"classes/Machine.html#sm\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"isPage\":false,\"parent\":\"Machine\"},{\"id\":118,\"kind\":64,\"name\":\"make\",\"url\":\"modules.html#make\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":119,\"kind\":64,\"name\":\"parse\",\"url\":\"modules.html#parse\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":120,\"kind\":64,\"name\":\"compile\",\"url\":\"modules.html#compile\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":121,\"kind\":64,\"name\":\"sm\",\"url\":\"modules.html#sm\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":122,\"kind\":64,\"name\":\"from\",\"url\":\"modules.html#from\",\"classes\":\"tsd-kind-function tsd-has-type-parameter\",\"isPage\":false},{\"id\":123,\"kind\":64,\"name\":\"arrow_direction\",\"url\":\"modules.html#arrow_direction\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":124,\"kind\":64,\"name\":\"arrow_left_kind\",\"url\":\"modules.html#arrow_left_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":125,\"kind\":64,\"name\":\"arrow_right_kind\",\"url\":\"modules.html#arrow_right_kind\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":126,\"kind\":32,\"name\":\"version\",\"url\":\"modules.html#version\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":127,\"kind\":64,\"name\":\"seq\",\"url\":\"modules.html#seq\",\"classes\":\"tsd-kind-function\",\"isPage\":false},{\"id\":128,\"kind\":32,\"name\":\"weighted_rand_select\",\"url\":\"modules.html#weighted_rand_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":129,\"kind\":32,\"name\":\"histograph\",\"url\":\"modules.html#histograph\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":130,\"kind\":32,\"name\":\"weighted_sample_select\",\"url\":\"modules.html#weighted_sample_select\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":131,\"kind\":32,\"name\":\"weighted_histo_key\",\"url\":\"modules.html#weighted_histo_key\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":132,\"kind\":32,\"name\":\"shapes\",\"url\":\"modules.html#shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":133,\"kind\":32,\"name\":\"gviz_shapes\",\"url\":\"modules.html#gviz_shapes\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":134,\"kind\":32,\"name\":\"named_colors\",\"url\":\"modules.html#named_colors\",\"classes\":\"tsd-kind-variable\",\"isPage\":false},{\"id\":135,\"kind\":2048,\"name\":\"Page: What are state machines?\",\"url\":\"pages\\\\WhatAreStateMachines.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":136,\"kind\":2048,\"name\":\"Page: ☕ Quick Start\",\"url\":\"pages\\\\GettingStarted.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":137,\"kind\":2048,\"name\":\"Page: Language reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":138,\"kind\":2048,\"name\":\"Page: API reference\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":139,\"kind\":2048,\"name\":\"Page: Example machines\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":140,\"kind\":2048,\"name\":\"Page: Environments\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":141,\"kind\":2048,\"name\":\"Page: Bundling\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":142,\"kind\":2048,\"name\":\"Page: Publishing\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":143,\"kind\":2048,\"name\":\"Page: Feature comparison\",\"url\":\"pages\\\\FeatureComparison.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":144,\"kind\":2048,\"name\":\"Page: LOC Shootout\",\"url\":\"pages\\\\Shootout.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":145,\"kind\":2048,\"name\":\"Page: Live Editor\",\"url\":\"pages\\\\live_editor.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":146,\"kind\":2048,\"name\":\"Page: Github Action\",\"url\":\"pages\\\\todo.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":147,\"kind\":2048,\"name\":\"Page: Community\",\"url\":\"pages\\\\community.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true},{\"id\":148,\"kind\":2048,\"name\":\"Page: Changelog\",\"url\":\"pages\\\\CHANGELOG.html\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface tsd-is-inherited tsd-is-external pages-entry\",\"isPage\":true}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"parent\"],\"fieldVectors\":[[\"name/0\",[0,49.032]],[\"parent/0\",[]],[\"name/1\",[1,2.6]],[\"parent/1\",[]],[\"name/2\",[2,49.032]],[\"parent/2\",[1,0.219]],[\"name/3\",[3,49.032]],[\"parent/3\",[1,0.219]],[\"name/4\",[4,49.032]],[\"parent/4\",[1,0.219]],[\"name/5\",[5,49.032]],[\"parent/5\",[1,0.219]],[\"name/6\",[6,49.032]],[\"parent/6\",[1,0.219]],[\"name/7\",[7,49.032]],[\"parent/7\",[1,0.219]],[\"name/8\",[8,49.032]],[\"parent/8\",[1,0.219]],[\"name/9\",[9,49.032]],[\"parent/9\",[1,0.219]],[\"name/10\",[10,49.032]],[\"parent/10\",[1,0.219]],[\"name/11\",[11,49.032]],[\"parent/11\",[1,0.219]],[\"name/12\",[12,49.032]],[\"parent/12\",[1,0.219]],[\"name/13\",[13,49.032]],[\"parent/13\",[1,0.219]],[\"name/14\",[14,49.032]],[\"parent/14\",[1,0.219]],[\"name/15\",[15,49.032]],[\"parent/15\",[1,0.219]],[\"name/16\",[16,49.032]],[\"parent/16\",[1,0.219]],[\"name/17\",[17,49.032]],[\"parent/17\",[1,0.219]],[\"name/18\",[18,49.032]],[\"parent/18\",[1,0.219]],[\"name/19\",[19,49.032]],[\"parent/19\",[1,0.219]],[\"name/20\",[20,49.032]],[\"parent/20\",[1,0.219]],[\"name/21\",[21,49.032]],[\"parent/21\",[1,0.219]],[\"name/22\",[22,49.032]],[\"parent/22\",[1,0.219]],[\"name/23\",[23,49.032]],[\"parent/23\",[1,0.219]],[\"name/24\",[24,49.032]],[\"parent/24\",[1,0.219]],[\"name/25\",[25,49.032]],[\"parent/25\",[1,0.219]],[\"name/26\",[26,49.032]],[\"parent/26\",[1,0.219]],[\"name/27\",[27,49.032]],[\"parent/27\",[1,0.219]],[\"name/28\",[28,49.032]],[\"parent/28\",[1,0.219]],[\"name/29\",[29,49.032]],[\"parent/29\",[1,0.219]],[\"name/30\",[30,49.032]],[\"parent/30\",[1,0.219]],[\"name/31\",[31,49.032]],[\"parent/31\",[1,0.219]],[\"name/32\",[32,49.032]],[\"parent/32\",[1,0.219]],[\"name/33\",[33,49.032]],[\"parent/33\",[1,0.219]],[\"name/34\",[34,49.032]],[\"parent/34\",[1,0.219]],[\"name/35\",[35,49.032]],[\"parent/35\",[1,0.219]],[\"name/36\",[36,49.032]],[\"parent/36\",[1,0.219]],[\"name/37\",[37,49.032]],[\"parent/37\",[1,0.219]],[\"name/38\",[38,49.032]],[\"parent/38\",[1,0.219]],[\"name/39\",[39,49.032]],[\"parent/39\",[1,0.219]],[\"name/40\",[40,49.032]],[\"parent/40\",[1,0.219]],[\"name/41\",[41,49.032]],[\"parent/41\",[1,0.219]],[\"name/42\",[42,49.032]],[\"parent/42\",[1,0.219]],[\"name/43\",[43,49.032]],[\"parent/43\",[1,0.219]],[\"name/44\",[44,49.032]],[\"parent/44\",[1,0.219]],[\"name/45\",[45,49.032]],[\"parent/45\",[1,0.219]],[\"name/46\",[46,49.032]],[\"parent/46\",[1,0.219]],[\"name/47\",[47,49.032]],[\"parent/47\",[1,0.219]],[\"name/48\",[48,43.593]],[\"parent/48\",[1,0.219]],[\"name/49\",[49,49.032]],[\"parent/49\",[1,0.219]],[\"name/50\",[50,49.032]],[\"parent/50\",[1,0.219]],[\"name/51\",[51,49.032]],[\"parent/51\",[1,0.219]],[\"name/52\",[52,49.032]],[\"parent/52\",[1,0.219]],[\"name/53\",[53,49.032]],[\"parent/53\",[1,0.219]],[\"name/54\",[54,49.032]],[\"parent/54\",[1,0.219]],[\"name/55\",[55,49.032]],[\"parent/55\",[1,0.219]],[\"name/56\",[56,49.032]],[\"parent/56\",[1,0.219]],[\"name/57\",[57,49.032]],[\"parent/57\",[1,0.219]],[\"name/58\",[58,49.032]],[\"parent/58\",[1,0.219]],[\"name/59\",[59,49.032]],[\"parent/59\",[1,0.219]],[\"name/60\",[60,49.032]],[\"parent/60\",[1,0.219]],[\"name/61\",[61,49.032]],[\"parent/61\",[1,0.219]],[\"name/62\",[62,49.032]],[\"parent/62\",[1,0.219]],[\"name/63\",[63,49.032]],[\"parent/63\",[1,0.219]],[\"name/64\",[64,49.032]],[\"parent/64\",[1,0.219]],[\"name/65\",[65,49.032]],[\"parent/65\",[1,0.219]],[\"name/66\",[66,49.032]],[\"parent/66\",[1,0.219]],[\"name/67\",[67,49.032]],[\"parent/67\",[1,0.219]],[\"name/68\",[68,49.032]],[\"parent/68\",[1,0.219]],[\"name/69\",[69,49.032]],[\"parent/69\",[1,0.219]],[\"name/70\",[70,49.032]],[\"parent/70\",[1,0.219]],[\"name/71\",[71,49.032]],[\"parent/71\",[1,0.219]],[\"name/72\",[72,49.032]],[\"parent/72\",[1,0.219]],[\"name/73\",[73,49.032]],[\"parent/73\",[1,0.219]],[\"name/74\",[74,49.032]],[\"parent/74\",[1,0.219]],[\"name/75\",[75,49.032]],[\"parent/75\",[1,0.219]],[\"name/76\",[76,49.032]],[\"parent/76\",[1,0.219]],[\"name/77\",[77,49.032]],[\"parent/77\",[1,0.219]],[\"name/78\",[78,49.032]],[\"parent/78\",[1,0.219]],[\"name/79\",[79,49.032]],[\"parent/79\",[1,0.219]],[\"name/80\",[80,49.032]],[\"parent/80\",[1,0.219]],[\"name/81\",[81,49.032]],[\"parent/81\",[1,0.219]],[\"name/82\",[82,49.032]],[\"parent/82\",[1,0.219]],[\"name/83\",[83,49.032]],[\"parent/83\",[1,0.219]],[\"name/84\",[84,49.032]],[\"parent/84\",[1,0.219]],[\"name/85\",[85,49.032]],[\"parent/85\",[1,0.219]],[\"name/86\",[86,49.032]],[\"parent/86\",[1,0.219]],[\"name/87\",[87,49.032]],[\"parent/87\",[1,0.219]],[\"name/88\",[88,49.032]],[\"parent/88\",[1,0.219]],[\"name/89\",[89,49.032]],[\"parent/89\",[1,0.219]],[\"name/90\",[90,49.032]],[\"parent/90\",[1,0.219]],[\"name/91\",[91,49.032]],[\"parent/91\",[1,0.219]],[\"name/92\",[92,49.032]],[\"parent/92\",[1,0.219]],[\"name/93\",[93,49.032]],[\"parent/93\",[1,0.219]],[\"name/94\",[94,49.032]],[\"parent/94\",[1,0.219]],[\"name/95\",[95,49.032]],[\"parent/95\",[1,0.219]],[\"name/96\",[96,49.032]],[\"parent/96\",[1,0.219]],[\"name/97\",[97,49.032]],[\"parent/97\",[1,0.219]],[\"name/98\",[98,49.032]],[\"parent/98\",[1,0.219]],[\"name/99\",[99,49.032]],[\"parent/99\",[1,0.219]],[\"name/100\",[100,49.032]],[\"parent/100\",[1,0.219]],[\"name/101\",[101,49.032]],[\"parent/101\",[1,0.219]],[\"name/102\",[102,49.032]],[\"parent/102\",[1,0.219]],[\"name/103\",[103,49.032]],[\"parent/103\",[1,0.219]],[\"name/104\",[104,49.032]],[\"parent/104\",[1,0.219]],[\"name/105\",[105,49.032]],[\"parent/105\",[1,0.219]],[\"name/106\",[106,49.032]],[\"parent/106\",[1,0.219]],[\"name/107\",[107,49.032]],[\"parent/107\",[1,0.219]],[\"name/108\",[108,43.593]],[\"parent/108\",[1,0.219]],[\"name/109\",[109,49.032]],[\"parent/109\",[1,0.219]],[\"name/110\",[110,49.032]],[\"parent/110\",[1,0.219]],[\"name/111\",[111,49.032]],[\"parent/111\",[1,0.219]],[\"name/112\",[112,49.032]],[\"parent/112\",[1,0.219]],[\"name/113\",[113,49.032]],[\"parent/113\",[1,0.219]],[\"name/114\",[114,49.032]],[\"parent/114\",[1,0.219]],[\"name/115\",[115,49.032]],[\"parent/115\",[1,0.219]],[\"name/116\",[116,49.032]],[\"parent/116\",[1,0.219]],[\"name/117\",[117,43.593]],[\"parent/117\",[1,0.219]],[\"name/118\",[118,49.032]],[\"parent/118\",[]],[\"name/119\",[119,49.032]],[\"parent/119\",[]],[\"name/120\",[120,49.032]],[\"parent/120\",[]],[\"name/121\",[117,43.593]],[\"parent/121\",[]],[\"name/122\",[121,49.032]],[\"parent/122\",[]],[\"name/123\",[122,49.032]],[\"parent/123\",[]],[\"name/124\",[123,49.032]],[\"parent/124\",[]],[\"name/125\",[124,49.032]],[\"parent/125\",[]],[\"name/126\",[125,49.032]],[\"parent/126\",[]],[\"name/127\",[126,49.032]],[\"parent/127\",[]],[\"name/128\",[127,49.032]],[\"parent/128\",[]],[\"name/129\",[128,49.032]],[\"parent/129\",[]],[\"name/130\",[129,49.032]],[\"parent/130\",[]],[\"name/131\",[130,49.032]],[\"parent/131\",[]],[\"name/132\",[131,49.032]],[\"parent/132\",[]],[\"name/133\",[132,49.032]],[\"parent/133\",[]],[\"name/134\",[133,49.032]],[\"parent/134\",[]],[\"name/135\",[48,175.537,134,100.172,135,197.438,136,197.438,137,175.537]],[\"parent/135\",[]],[\"name/136\",[134,117.757,138,232.097,139,232.097,140,232.097]],[\"parent/136\",[]],[\"name/137\",[134,142.831,141,281.516,142,250.289]],[\"parent/137\",[]],[\"name/138\",[134,142.831,142,250.289,143,281.516]],[\"parent/138\",[]],[\"name/139\",[134,142.831,137,250.289,144,281.516]],[\"parent/139\",[]],[\"name/140\",[134,181.47,145,357.674]],[\"parent/140\",[]],[\"name/141\",[134,181.47,146,357.674]],[\"parent/141\",[]],[\"name/142\",[134,181.47,147,357.674]],[\"parent/142\",[]],[\"name/143\",[134,142.831,148,281.516,149,281.516]],[\"parent/143\",[]],[\"name/144\",[134,142.831,150,281.516,151,281.516]],[\"parent/144\",[]],[\"name/145\",[134,142.831,152,281.516,153,281.516]],[\"parent/145\",[]],[\"name/146\",[108,250.289,134,142.831,154,281.516]],[\"parent/146\",[]],[\"name/147\",[134,181.47,155,357.674]],[\"parent/147\",[]],[\"name/148\",[134,181.47,156,357.674]],[\"parent/148\",[]]],\"invertedIndex\":[[\"\",{\"_index\":138,\"name\":{\"136\":{}},\"parent\":{}}],[\"_actions\",{\"_index\":8,\"name\":{\"8\":{}},\"parent\":{}}],[\"_any_action_hook\",{\"_index\":42,\"name\":{\"42\":{}},\"parent\":{}}],[\"_any_transition_hook\",{\"_index\":46,\"name\":{\"46\":{}},\"parent\":{}}],[\"_arrange_declaration\",{\"_index\":25,\"name\":{\"25\":{}},\"parent\":{}}],[\"_arrange_end_declaration\",{\"_index\":27,\"name\":{\"27\":{}},\"parent\":{}}],[\"_arrange_start_declaration\",{\"_index\":26,\"name\":{\"26\":{}},\"parent\":{}}],[\"_dot_preamble\",{\"_index\":24,\"name\":{\"24\":{}},\"parent\":{}}],[\"_edge_map\",{\"_index\":6,\"name\":{\"6\":{}},\"parent\":{}}],[\"_edges\",{\"_index\":5,\"name\":{\"5\":{}},\"parent\":{}}],[\"_entry_hooks\",{\"_index\":39,\"name\":{\"39\":{}},\"parent\":{}}],[\"_exit_hooks\",{\"_index\":40,\"name\":{\"40\":{}},\"parent\":{}}],[\"_flow\",{\"_index\":29,\"name\":{\"29\":{}},\"parent\":{}}],[\"_forced_transition_hook\",{\"_index\":45,\"name\":{\"45\":{}},\"parent\":{}}],[\"_fsl_version\",{\"_index\":19,\"name\":{\"19\":{}},\"parent\":{}}],[\"_global_action_hooks\",{\"_index\":41,\"name\":{\"41\":{}},\"parent\":{}}],[\"_graph_layout\",{\"_index\":23,\"name\":{\"23\":{}},\"parent\":{}}],[\"_has_basic_hooks\",{\"_index\":31,\"name\":{\"31\":{}},\"parent\":{}}],[\"_has_entry_hooks\",{\"_index\":33,\"name\":{\"33\":{}},\"parent\":{}}],[\"_has_exit_hooks\",{\"_index\":34,\"name\":{\"34\":{}},\"parent\":{}}],[\"_has_global_action_hooks\",{\"_index\":35,\"name\":{\"35\":{}},\"parent\":{}}],[\"_has_hooks\",{\"_index\":30,\"name\":{\"30\":{}},\"parent\":{}}],[\"_has_named_hooks\",{\"_index\":32,\"name\":{\"32\":{}},\"parent\":{}}],[\"_has_transition_hooks\",{\"_index\":36,\"name\":{\"36\":{}},\"parent\":{}}],[\"_hooks\",{\"_index\":37,\"name\":{\"37\":{}},\"parent\":{}}],[\"_instance_name\",{\"_index\":22,\"name\":{\"22\":{}},\"parent\":{}}],[\"_machine_author\",{\"_index\":11,\"name\":{\"11\":{}},\"parent\":{}}],[\"_machine_comment\",{\"_index\":12,\"name\":{\"12\":{}},\"parent\":{}}],[\"_machine_contributor\",{\"_index\":13,\"name\":{\"13\":{}},\"parent\":{}}],[\"_machine_definition\",{\"_index\":14,\"name\":{\"14\":{}},\"parent\":{}}],[\"_machine_language\",{\"_index\":15,\"name\":{\"15\":{}},\"parent\":{}}],[\"_machine_license\",{\"_index\":16,\"name\":{\"16\":{}},\"parent\":{}}],[\"_machine_name\",{\"_index\":17,\"name\":{\"17\":{}},\"parent\":{}}],[\"_machine_version\",{\"_index\":18,\"name\":{\"18\":{}},\"parent\":{}}],[\"_main_transition_hook\",{\"_index\":44,\"name\":{\"44\":{}},\"parent\":{}}],[\"_named_hooks\",{\"_index\":38,\"name\":{\"38\":{}},\"parent\":{}}],[\"_named_transitions\",{\"_index\":7,\"name\":{\"7\":{}},\"parent\":{}}],[\"_new_state\",{\"_index\":47,\"name\":{\"47\":{}},\"parent\":{}}],[\"_raw_state_declaration\",{\"_index\":20,\"name\":{\"20\":{}},\"parent\":{}}],[\"_reverse_action_targets\",{\"_index\":10,\"name\":{\"10\":{}},\"parent\":{}}],[\"_reverse_actions\",{\"_index\":9,\"name\":{\"9\":{}},\"parent\":{}}],[\"_standard_transition_hook\",{\"_index\":43,\"name\":{\"43\":{}},\"parent\":{}}],[\"_state\",{\"_index\":3,\"name\":{\"3\":{}},\"parent\":{}}],[\"_state_declarations\",{\"_index\":21,\"name\":{\"21\":{}},\"parent\":{}}],[\"_states\",{\"_index\":4,\"name\":{\"4\":{}},\"parent\":{}}],[\"_theme\",{\"_index\":28,\"name\":{\"28\":{}},\"parent\":{}}],[\"action\",{\"_index\":108,\"name\":{\"108\":{},\"146\":{}},\"parent\":{}}],[\"actions\",{\"_index\":83,\"name\":{\"83\":{}},\"parent\":{}}],[\"api\",{\"_index\":143,\"name\":{\"138\":{}},\"parent\":{}}],[\"are\",{\"_index\":136,\"name\":{\"135\":{}},\"parent\":{}}],[\"arrow_direction\",{\"_index\":122,\"name\":{\"123\":{}},\"parent\":{}}],[\"arrow_left_kind\",{\"_index\":123,\"name\":{\"124\":{}},\"parent\":{}}],[\"arrow_right_kind\",{\"_index\":124,\"name\":{\"125\":{}},\"parent\":{}}],[\"bundling\",{\"_index\":146,\"name\":{\"141\":{}},\"parent\":{}}],[\"changelog\",{\"_index\":156,\"name\":{\"148\":{}},\"parent\":{}}],[\"community\",{\"_index\":155,\"name\":{\"147\":{}},\"parent\":{}}],[\"comparison\",{\"_index\":149,\"name\":{\"143\":{}},\"parent\":{}}],[\"compile\",{\"_index\":120,\"name\":{\"120\":{}},\"parent\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{}},\"parent\":{}}],[\"current_action_edge_for\",{\"_index\":112,\"name\":{\"112\":{}},\"parent\":{}}],[\"current_action_for\",{\"_index\":111,\"name\":{\"111\":{}},\"parent\":{}}],[\"dot_preamble\",{\"_index\":52,\"name\":{\"52\":{}},\"parent\":{}}],[\"edges_between\",{\"_index\":106,\"name\":{\"106\":{}},\"parent\":{}}],[\"editor\",{\"_index\":153,\"name\":{\"145\":{}},\"parent\":{}}],[\"environments\",{\"_index\":145,\"name\":{\"140\":{}},\"parent\":{}}],[\"example\",{\"_index\":144,\"name\":{\"139\":{}},\"parent\":{}}],[\"feature\",{\"_index\":148,\"name\":{\"143\":{}},\"parent\":{}}],[\"flow\",{\"_index\":73,\"name\":{\"73\":{}},\"parent\":{}}],[\"force_transition\",{\"_index\":110,\"name\":{\"110\":{}},\"parent\":{}}],[\"from\",{\"_index\":121,\"name\":{\"122\":{}},\"parent\":{}}],[\"fsl_version\",{\"_index\":64,\"name\":{\"64\":{}},\"parent\":{}}],[\"get_transition_by_state_names\",{\"_index\":74,\"name\":{\"74\":{}},\"parent\":{}}],[\"github\",{\"_index\":154,\"name\":{\"146\":{}},\"parent\":{}}],[\"graph_layout\",{\"_index\":51,\"name\":{\"51\":{}},\"parent\":{}}],[\"gviz_shapes\",{\"_index\":132,\"name\":{\"133\":{}},\"parent\":{}}],[\"has_completes\",{\"_index\":94,\"name\":{\"94\":{}},\"parent\":{}}],[\"has_state\",{\"_index\":68,\"name\":{\"68\":{}},\"parent\":{}}],[\"has_terminals\",{\"_index\":91,\"name\":{\"91\":{}},\"parent\":{}}],[\"has_unenterables\",{\"_index\":88,\"name\":{\"88\":{}},\"parent\":{}}],[\"histograph\",{\"_index\":128,\"name\":{\"129\":{}},\"parent\":{}}],[\"hook\",{\"_index\":96,\"name\":{\"96\":{}},\"parent\":{}}],[\"hook_action\",{\"_index\":97,\"name\":{\"97\":{}},\"parent\":{}}],[\"hook_any_action\",{\"_index\":99,\"name\":{\"99\":{}},\"parent\":{}}],[\"hook_any_transition\",{\"_index\":103,\"name\":{\"103\":{}},\"parent\":{}}],[\"hook_entry\",{\"_index\":104,\"name\":{\"104\":{}},\"parent\":{}}],[\"hook_exit\",{\"_index\":105,\"name\":{\"105\":{}},\"parent\":{}}],[\"hook_forced_transition\",{\"_index\":102,\"name\":{\"102\":{}},\"parent\":{}}],[\"hook_global_action\",{\"_index\":98,\"name\":{\"98\":{}},\"parent\":{}}],[\"hook_main_transition\",{\"_index\":101,\"name\":{\"101\":{}},\"parent\":{}}],[\"hook_standard_transition\",{\"_index\":100,\"name\":{\"100\":{}},\"parent\":{}}],[\"instance_name\",{\"_index\":116,\"name\":{\"116\":{}},\"parent\":{}}],[\"is_complete\",{\"_index\":92,\"name\":{\"92\":{}},\"parent\":{}}],[\"is_final\",{\"_index\":50,\"name\":{\"50\":{}},\"parent\":{}}],[\"is_terminal\",{\"_index\":89,\"name\":{\"89\":{}},\"parent\":{}}],[\"is_unenterable\",{\"_index\":87,\"name\":{\"87\":{}},\"parent\":{}}],[\"language\",{\"_index\":141,\"name\":{\"137\":{}},\"parent\":{}}],[\"list_actions\",{\"_index\":71,\"name\":{\"71\":{}},\"parent\":{}}],[\"list_edges\",{\"_index\":69,\"name\":{\"69\":{}},\"parent\":{}}],[\"list_entrances\",{\"_index\":77,\"name\":{\"77\":{}},\"parent\":{}}],[\"list_exit_actions\",{\"_index\":85,\"name\":{\"85\":{}},\"parent\":{}}],[\"list_exits\",{\"_index\":78,\"name\":{\"78\":{}},\"parent\":{}}],[\"list_named_transitions\",{\"_index\":70,\"name\":{\"70\":{}},\"parent\":{}}],[\"list_states_having_action\",{\"_index\":84,\"name\":{\"84\":{}},\"parent\":{}}],[\"list_transitions\",{\"_index\":76,\"name\":{\"76\":{}},\"parent\":{}}],[\"live\",{\"_index\":152,\"name\":{\"145\":{}},\"parent\":{}}],[\"loc\",{\"_index\":150,\"name\":{\"144\":{}},\"parent\":{}}],[\"lookup_transition_for\",{\"_index\":75,\"name\":{\"75\":{}},\"parent\":{}}],[\"machine\",{\"_index\":1,\"name\":{\"1\":{}},\"parent\":{\"2\":{},\"3\":{},\"4\":{},\"5\":{},\"6\":{},\"7\":{},\"8\":{},\"9\":{},\"10\":{},\"11\":{},\"12\":{},\"13\":{},\"14\":{},\"15\":{},\"16\":{},\"17\":{},\"18\":{},\"19\":{},\"20\":{},\"21\":{},\"22\":{},\"23\":{},\"24\":{},\"25\":{},\"26\":{},\"27\":{},\"28\":{},\"29\":{},\"30\":{},\"31\":{},\"32\":{},\"33\":{},\"34\":{},\"35\":{},\"36\":{},\"37\":{},\"38\":{},\"39\":{},\"40\":{},\"41\":{},\"42\":{},\"43\":{},\"44\":{},\"45\":{},\"46\":{},\"47\":{},\"48\":{},\"49\":{},\"50\":{},\"51\":{},\"52\":{},\"53\":{},\"54\":{},\"55\":{},\"56\":{},\"57\":{},\"58\":{},\"59\":{},\"60\":{},\"61\":{},\"62\":{},\"63\":{},\"64\":{},\"65\":{},\"66\":{},\"67\":{},\"68\":{},\"69\":{},\"70\":{},\"71\":{},\"72\":{},\"73\":{},\"74\":{},\"75\":{},\"76\":{},\"77\":{},\"78\":{},\"79\":{},\"80\":{},\"81\":{},\"82\":{},\"83\":{},\"84\":{},\"85\":{},\"86\":{},\"87\":{},\"88\":{},\"89\":{},\"90\":{},\"91\":{},\"92\":{},\"93\":{},\"94\":{},\"95\":{},\"96\":{},\"97\":{},\"98\":{},\"99\":{},\"100\":{},\"101\":{},\"102\":{},\"103\":{},\"104\":{},\"105\":{},\"106\":{},\"107\":{},\"108\":{},\"109\":{},\"110\":{},\"111\":{},\"112\":{},\"113\":{},\"114\":{},\"115\":{},\"116\":{},\"117\":{}}}],[\"machine_author\",{\"_index\":53,\"name\":{\"53\":{}},\"parent\":{}}],[\"machine_comment\",{\"_index\":54,\"name\":{\"54\":{}},\"parent\":{}}],[\"machine_contributor\",{\"_index\":55,\"name\":{\"55\":{}},\"parent\":{}}],[\"machine_definition\",{\"_index\":56,\"name\":{\"56\":{}},\"parent\":{}}],[\"machine_language\",{\"_index\":57,\"name\":{\"57\":{}},\"parent\":{}}],[\"machine_license\",{\"_index\":58,\"name\":{\"58\":{}},\"parent\":{}}],[\"machine_name\",{\"_index\":59,\"name\":{\"59\":{}},\"parent\":{}}],[\"machine_state\",{\"_index\":65,\"name\":{\"65\":{}},\"parent\":{}}],[\"machine_version\",{\"_index\":60,\"name\":{\"60\":{}},\"parent\":{}}],[\"machines\",{\"_index\":137,\"name\":{\"135\":{},\"139\":{}},\"parent\":{}}],[\"make\",{\"_index\":118,\"name\":{\"118\":{}},\"parent\":{}}],[\"named_colors\",{\"_index\":133,\"name\":{\"134\":{}},\"parent\":{}}],[\"page\",{\"_index\":134,\"name\":{\"135\":{},\"136\":{},\"137\":{},\"138\":{},\"139\":{},\"140\":{},\"141\":{},\"142\":{},\"143\":{},\"144\":{},\"145\":{},\"146\":{},\"147\":{},\"148\":{}},\"parent\":{}}],[\"parse\",{\"_index\":119,\"name\":{\"119\":{}},\"parent\":{}}],[\"probabilistic_histo_walk\",{\"_index\":82,\"name\":{\"82\":{}},\"parent\":{}}],[\"probabilistic_transition\",{\"_index\":80,\"name\":{\"80\":{}},\"parent\":{}}],[\"probabilistic_walk\",{\"_index\":81,\"name\":{\"81\":{}},\"parent\":{}}],[\"probable_action_exits\",{\"_index\":86,\"name\":{\"86\":{}},\"parent\":{}}],[\"probable_exits_for\",{\"_index\":79,\"name\":{\"79\":{}},\"parent\":{}}],[\"publishing\",{\"_index\":147,\"name\":{\"142\":{}},\"parent\":{}}],[\"quick\",{\"_index\":139,\"name\":{\"136\":{}},\"parent\":{}}],[\"raw_state_declarations\",{\"_index\":61,\"name\":{\"61\":{}},\"parent\":{}}],[\"reference\",{\"_index\":142,\"name\":{\"137\":{},\"138\":{}},\"parent\":{}}],[\"seq\",{\"_index\":126,\"name\":{\"127\":{}},\"parent\":{}}],[\"set_hook\",{\"_index\":95,\"name\":{\"95\":{}},\"parent\":{}}],[\"shapes\",{\"_index\":131,\"name\":{\"132\":{}},\"parent\":{}}],[\"shootout\",{\"_index\":151,\"name\":{\"144\":{}},\"parent\":{}}],[\"sm\",{\"_index\":117,\"name\":{\"117\":{},\"121\":{}},\"parent\":{}}],[\"start\",{\"_index\":140,\"name\":{\"136\":{}},\"parent\":{}}],[\"state\",{\"_index\":48,\"name\":{\"48\":{},\"135\":{}},\"parent\":{}}],[\"state_declaration\",{\"_index\":62,\"name\":{\"62\":{}},\"parent\":{}}],[\"state_declarations\",{\"_index\":63,\"name\":{\"63\":{}},\"parent\":{}}],[\"state_for\",{\"_index\":67,\"name\":{\"67\":{}},\"parent\":{}}],[\"state_is_complete\",{\"_index\":93,\"name\":{\"93\":{}},\"parent\":{}}],[\"state_is_final\",{\"_index\":49,\"name\":{\"49\":{}},\"parent\":{}}],[\"state_is_terminal\",{\"_index\":90,\"name\":{\"90\":{}},\"parent\":{}}],[\"states\",{\"_index\":66,\"name\":{\"66\":{}},\"parent\":{}}],[\"theme\",{\"_index\":72,\"name\":{\"72\":{}},\"parent\":{}}],[\"transfer_state_properties\",{\"_index\":0,\"name\":{\"0\":{}},\"parent\":{}}],[\"transition\",{\"_index\":109,\"name\":{\"109\":{}},\"parent\":{}}],[\"transition_impl\",{\"_index\":107,\"name\":{\"107\":{}},\"parent\":{}}],[\"valid_action\",{\"_index\":113,\"name\":{\"113\":{}},\"parent\":{}}],[\"valid_force_transition\",{\"_index\":115,\"name\":{\"115\":{}},\"parent\":{}}],[\"valid_transition\",{\"_index\":114,\"name\":{\"114\":{}},\"parent\":{}}],[\"version\",{\"_index\":125,\"name\":{\"126\":{}},\"parent\":{}}],[\"weighted_histo_key\",{\"_index\":130,\"name\":{\"131\":{}},\"parent\":{}}],[\"weighted_rand_select\",{\"_index\":127,\"name\":{\"128\":{}},\"parent\":{}}],[\"weighted_sample_select\",{\"_index\":129,\"name\":{\"130\":{}},\"parent\":{}}],[\"what\",{\"_index\":135,\"name\":{\"135\":{}},\"parent\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/docs/classes/Machine.html b/docs/docs/classes/Machine.html index c3472d10..cd6143a8 100644 --- a/docs/docs/classes/Machine.html +++ b/docs/docs/classes/Machine.html @@ -1,6 +1,6 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL

Type parameters

  • mDT

Hierarchy

  • Machine

Index

Constructors

Properties

Methods

Constructors

  • new Machine<mDT>(__namedParameters: JssmGenericConfig<mDT>): Machine<mDT>
  • Type parameters

    • mDT

    Parameters

    • __namedParameters: JssmGenericConfig<mDT>

    Returns Machine<mDT>

Properties

_actions: Map<string, Map<string, number>>
_any_action_hook: Function
_any_transition_hook: Function
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<mDT>[]
_entry_hooks: Map<string, Function>
_exit_hooks: Map<string, Function>
_flow: FslDirection
_forced_transition_hook: Function
_fsl_version?: string
_global_action_hooks: Map<string, Function>
_graph_layout: JssmLayout
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_global_action_hooks: boolean
_has_hooks: boolean
_has_named_hooks: boolean
_has_transition_hooks: boolean
_hooks: Map<string, Function>
_instance_name: string
_machine_author?: string[]
_machine_comment?: string
_machine_contributor?: string[]
_machine_definition?: string
_machine_language?: string
_machine_license?: string
_machine_name?: string
_machine_version?: string
_main_transition_hook: Function
_named_hooks: Map<string, Function>
_named_transitions: Map<string, number>
_raw_state_declaration?: Object[]
_reverse_action_targets: Map<string, Map<string, number>>
_reverse_actions: Map<string, Map<string, number>>
_standard_transition_hook: Function
_state: string
_state_declarations: Map<string, JssmStateDeclaration>
_states: Map<string, JssmGenericState>
_theme: FslTheme

Methods

  • _new_state(state_config: JssmGenericState): string
  • actions(whichState?: string): string[]

Returns boolean

  • actions(whichState?: string): string[]
  • List all actions available from this state. Please note that the order of the actions is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('next'); // true
    console.log( machine.state() ); // logs 'green'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('shutdown'); // true
    console.log( machine.state() ); // logs 'off'
    console.log( machine.actions() ); // logs ['start']

    machine.action('start'); // true
    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    Parameters

    • whichState: string = ...

      The state whose actions to have listed

      -

    Returns string[]

  • current_action_edge_for(action: string): JssmTransition<mDT>
  • Parameters

    • action: string

    Returns JssmTransition<mDT>

  • current_action_for(action: string): number
  • Parameters

    • action: string

    Returns number

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<mDT>[]
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>[]

  • flow(): FslDirection
  • force_transition(newState: string, newData?: mDT): boolean

Returns string[]

  • current_action_edge_for(action: string): JssmTransition<mDT>
  • Parameters

    • action: string

    Returns JssmTransition<mDT>

  • current_action_for(action: string): number
  • Parameters

    • action: string

    Returns number

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<mDT>[]
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>[]

  • flow(): FslDirection
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -24,43 +24,43 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • Parameters

    • from: string
    • to: string

    Returns number

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • Parameters

    • from: string
    • to: string

    Returns number

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const switch = jssm.from('on <=> off;');

    console.log( switch.has_state('off') ); // true
    console.log( switch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook(from: string, to: string, handler: Function): Machine<mDT>
  • hook_action(from: string, to: string, action: string, handler: Function): Machine<mDT>
  • Parameters

    • from: string
    • to: string
    • action: string
    • handler: Function

    Returns Machine<mDT>

  • hook_any_action(handler: Function): Machine<mDT>
  • hook_any_transition(handler: Function): Machine<mDT>
  • hook_entry(to: string, handler: Function): Machine<mDT>
  • hook_exit(from: string, handler: Function): Machine<mDT>
  • hook_forced_transition(handler: Function): Machine<mDT>
  • hook_global_action(action: string, handler: Function): Machine<mDT>
  • hook_main_transition(handler: Function): Machine<mDT>
  • hook_standard_transition(handler: Function): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_final(): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook(from: string, to: string, handler: Function): Machine<mDT>
  • hook_action(from: string, to: string, action: string, handler: Function): Machine<mDT>
  • Parameters

    • from: string
    • to: string
    • action: string
    • handler: Function

    Returns Machine<mDT>

  • hook_any_action(handler: Function): Machine<mDT>
  • hook_any_transition(handler: Function): Machine<mDT>
  • hook_entry(to: string, handler: Function): Machine<mDT>
  • hook_exit(from: string, handler: Function): Machine<mDT>
  • hook_forced_transition(handler: Function): Machine<mDT>
  • hook_global_action(action: string, handler: Function): Machine<mDT>
  • hook_main_transition(handler: Function): Machine<mDT>
  • hook_standard_transition(handler: Function): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • list_actions(): string[]
  • list_edges(): JssmTransition<mDT>[]
  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • list_actions(): string[]
  • list_edges(): JssmTransition<mDT>[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined.

    import { sm } from 'jssm';

    const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.list_entrances(); // [ 'yellow', 'off' ]

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • Parameters

    • whichState: string = ...

    Returns string[]

  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • Parameters

    • whichState: string = ...

    Returns string[]

  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined.

    import { sm } from 'jssm';

    const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.list_exits(); // [ 'green', 'off' ]

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

  • list_transitions(whichState?: string): JssmTransitionList

Returns string[]

  • list_transitions(whichState?: string): JssmTransitionList
  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -68,23 +68,23 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<mDT>
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>

  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_state(): JssmMachineInternalState<mDT>
  • Returns JssmMachineInternalState<mDT>

  • machine_version(): string
  • probabilistic_histo_walk(n: number): Map<string, number>
  • Parameters

    • n: number

    Returns Map<string, number>

  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • Parameters

    • whichState: string = ...

    Returns any[]

  • probable_exits_for(whichState: string): JssmTransition<mDT>[]
  • Parameters

    • whichState: string

    Returns JssmTransition<mDT>[]

  • raw_state_declarations(): Object[]
  • set_hook(HookDesc: HookDescription): void
  • Parameters

    • HookDesc: HookDescription

    Returns void

  • sm(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Parameters

    • template_strings: TemplateStringsArray
    • Rest ...remainder: any[]

    Returns Machine<mDT>

  • state(): string

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<mDT>
  • Parameters

    • from: string
    • to: string

    Returns JssmTransition<mDT>

  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_state(): JssmMachineInternalState<mDT>
  • Returns JssmMachineInternalState<mDT>

  • machine_version(): string
  • probabilistic_histo_walk(n: number): Map<string, number>
  • Parameters

    • n: number

    Returns Map<string, number>

  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • Parameters

    • whichState: string = ...

    Returns any[]

  • probable_exits_for(whichState: string): JssmTransition<mDT>[]
  • Parameters

    • whichState: string

    Returns JssmTransition<mDT>[]

  • raw_state_declarations(): Object[]
  • set_hook(HookDesc: HookDescription): void
  • Parameters

    • HookDesc: HookDescription

    Returns void

  • sm(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Parameters

    • template_strings: TemplateStringsArray
    • Rest ...remainder: any[]

    Returns Machine<mDT>

  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const switch = jssm.from('on <=> off;');
    console.log( switch.state() ); // 'on'

    switch.transition('off');
    console.log( switch.state() ); // 'off'
    -

    Returns string

  • state_declaration(which: string): JssmStateDeclaration
  • Parameters

    • which: string

    Returns JssmStateDeclaration

  • state_declarations(): Map<string, JssmStateDeclaration>
  • Returns Map<string, JssmStateDeclaration>

  • state_for(whichState: string): JssmGenericState
  • Parameters

    • whichState: string

    Returns JssmGenericState

  • state_is_complete(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • state_is_final(whichState: string): boolean
  • state_declaration(which: string): JssmStateDeclaration
  • Parameters

    • which: string

    Returns JssmStateDeclaration

  • state_declarations(): Map<string, JssmStateDeclaration>
  • Returns Map<string, JssmStateDeclaration>

  • state_for(whichState: string): JssmGenericState
  • Parameters

    • whichState: string

    Returns JssmGenericState

  • state_is_complete(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • Parameters

    • whichState: string

    Returns boolean

  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const switch = jssm.from('on <=> off;');
    console.log( switch.states() ); // ['on', 'off']
    -

    Returns string[]

  • theme(): FslTheme
  • transition(newState: string, newData?: mDT): boolean
  • theme(): FslTheme
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('green'); // true
    light.state(); // 'green'
    @@ -92,4 +92,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • Parameters

    • action: string
    • Optional _newData: mDT

    Returns boolean

  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

  • valid_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • Parameters

    • action: string
    • Optional _newData: mDT

    Returns boolean

  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

  • valid_transition(newState: string, _newData?: mDT): boolean
  • Parameters

    • newState: string
    • Optional _newData: mDT

    Returns boolean

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/index.html b/docs/docs/index.html index d4ead9b4..b017fccc 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -114,4 +114,4 @@

High speed

Correct. Easy. Brief. Powerful. Fast.

Meet your new state machine.

Let's get started.

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/modules.html b/docs/docs/modules.html index 3e0a7c2a..e20706c2 100644 --- a/docs/docs/modules.html +++ b/docs/docs/modules.html @@ -1,27 +1,27 @@ -JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

JSSM, a JavaScript state machine - the FSM for FSL

Index

Variables

gviz_shapes: string[] = ...
histograph: Function = ...
+JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

JSSM, a JavaScript state machine - the FSM for FSL

Index

Variables

gviz_shapes: string[] = ...
histograph: Function = ...

Returns the histograph of an array as a Map. Makes no attempt to cope with deep equality; will fail for complex contents, as such.

import { histograph } from './jssm';

histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map()
-
named_colors: string[] = ...
shapes: string[] = gviz_shapes
version: string = "5.67.2"
weighted_histo_key: Function = ...
weighted_rand_select: Function = ...
weighted_sample_select: Function = ...

Functions

  • arrow_direction(arrow: JssmArrow): JssmArrowDirection
named_colors: string[] = ...
shapes: string[] = gviz_shapes
version: string = "5.67.2"
weighted_histo_key: Function = ...
weighted_rand_select: Function = ...
weighted_sample_select: Function = ...

Functions

  • arrow_direction(arrow: JssmArrow): JssmArrowDirection
  • Return the direction of an arrow - right, left, or both.

    import { arrow_direction } from 'jssm';

    arrow_direction('->'); // 'right'
    arrow_direction('<~=>'); // 'both'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowDirection

  • arrow_left_kind(arrow: JssmArrow): JssmArrowKind

Returns JssmArrowDirection

  • arrow_left_kind(arrow: JssmArrow): JssmArrowKind
  • Return the direction of an arrow - right, left, or both.

    import { arrow_left_kind } from 'jssm';

    arrow_left_kind('<-'); // 'legal'
    arrow_left_kind('<='); // 'main'
    arrow_left_kind('<~'); // 'forced'
    arrow_left_kind('<->'); // 'legal'
    arrow_left_kind('->'); // 'none'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowKind

  • arrow_right_kind(arrow: JssmArrow): JssmArrowKind

Returns JssmArrowKind

  • arrow_right_kind(arrow: JssmArrow): JssmArrowKind
  • Return the direction of an arrow - right, left, or both.

    import { arrow_left_kind } from 'jssm';

    arrow_left_kind('->'); // 'legal'
    arrow_left_kind('=>'); // 'main'
    arrow_left_kind('~>'); // 'forced'
    arrow_left_kind('<->'); // 'legal'
    arrow_left_kind('<-'); // 'none'

    Parameters

    • arrow: JssmArrow

      The arrow to be evaluated

      -

    Returns JssmArrowKind

  • compile<mDT>(tree: JssmParseTree): JssmGenericConfig<mDT>

Returns JssmArrowKind

  • compile<mDT>(tree: JssmParseTree): JssmGenericConfig<mDT>
  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -48,7 +48,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<mDT>

  • from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>>): Machine<mDT>

Returns JssmGenericConfig<mDT>

  • from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>>): Machine<mDT>
  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -62,7 +62,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • make<mDT>(plan: string): JssmGenericConfig<mDT>

Returns Machine<mDT>

  • make<mDT>(plan: string): JssmGenericConfig<mDT>
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -70,7 +70,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<mDT>

  • parse(input: string, options?: Object): any

Returns JssmGenericConfig<mDT>

  • parse(input: string, options?: Object): any
  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -101,11 +101,11 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: Object

    Things to control about the instance

    -

Returns any

  • seq(n: number): number[]

Returns any

  • seq(n: number): number[]
  • Returns, for a non-negative integer argument n, the series [0 .. n].

    import { seq } from './jssm';

    seq(5); // [0, 1, 2, 3, 4]
    seq(0); // []
    -

    Parameters

    • n: number

    Returns number[]

  • sm<mDT>(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • +

    Parameters

    • n: number

    Returns number[]

  • sm<mDT>(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>
  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside {@link from}.

    Use this method when you want to work directly and conveniently with a @@ -119,8 +119,8 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

  • transfer_state_properties(state_decl: JssmStateDeclaration): JssmStateDeclaration

Returns Machine<mDT>

  • transfer_state_properties(state_decl: JssmStateDeclaration): JssmStateDeclaration
  • An internal method meant to take a series of declarations and fold them into a single multi-faceted declaration, in the process of building a state. Not generally meant for external use.

    -
    internal

    Parameters

    • state_decl: JssmStateDeclaration

    Returns JssmStateDeclaration

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +
internal

Parameters

  • state_decl: JssmStateDeclaration

Returns JssmStateDeclaration

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/CHANGELOG.html b/docs/docs/pages/CHANGELOG.html index 4534ba64..ca34f7d1 100644 --- a/docs/docs/pages/CHANGELOG.html +++ b/docs/docs/pages/CHANGELOG.html @@ -3,128 +3,130 @@

Changelog

All notable changes to this project will be documented in this file.

-

876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at CHANGELOG.long.md

+

880 merges; 72 releases; Changlogging the last 10 commits; Full changelog at CHANGELOG.long.md

 

 

Published tags:

-

5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0

+

5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0

 

 

- -

[Untagged] - 6/6/2022 3:41:07 PM

+
+

[Untagged] - 6/6/2022 5:58:47 PM

-

Commit 91e2c2f27ec0b200380b8871bacd2d6476e1ab4e

+

Commit 210a3261fef18f00a01c52c77e2a4f5eb02a486d

Author: John Haugeland <stonecypher@gmail.com>

+

Merges [cfd38c2, 8379506]

    -
  • More shootout
  • +
  • Merge pull request #492 from StoneCypher/StillMoreShootout
  • +
  • Still more shootout

 

 

- -

[Untagged] - 6/6/2022 2:47:14 PM

+
+

[Untagged] - 6/6/2022 5:39:43 PM

-

Commit 7f475f2a684856889fa56317ce30d5296ca2a47d

+

Commit 837950689491eb333670a9f028b3668351c9bef1

Author: John Haugeland <stonecypher@gmail.com>

    -
  • Adds shootout, fixes StoneCypher/fsl#822
  • +
  • moar docs

 

 

- -

[Untagged] - 6/6/2022 12:24:27 PM

+
+

[Untagged] - 6/6/2022 3:41:07 PM

-

Commit 6f51f095fc292fc44c8c02daf8d976bdec49d4f0

+

Commit 91e2c2f27ec0b200380b8871bacd2d6476e1ab4e

Author: John Haugeland <stonecypher@gmail.com>

    -
  • Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825
  • +
  • More shootout

 

 

+ - -

[Untagged] - 6/6/2022 11:20:01 AM

+ +
+

[5.67.0] - 6/6/2022 2:49:25 PM

-

Commit bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0

+

Commit cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db

Author: John Haugeland <stonecypher@gmail.com>

-

Merges [d19a094, 966e56b]

+

Merges [ff99397, 7f475f2]

    -
  • Merge branch 'main' of github.com:StoneCypher/jssm
  • +
  • Merge pull request #491 from StoneCypher/AddShootout
  • +
  • Adds shootout, fixes StoneCypher/fsl#822

 

 

- -

[Untagged] - 6/6/2022 11:19:47 AM

+
+

[Untagged] - 6/6/2022 2:47:14 PM

-

Commit d19a0949fdb44e76f946cf0f06020e9a497e8732

+

Commit 7f475f2a684856889fa56317ce30d5296ca2a47d

Author: John Haugeland <stonecypher@gmail.com>

    -
  • Long and short changelogs to un-break GH releases
  • +
  • Adds shootout, fixes StoneCypher/fsl#822

 

 

+ - -

[Untagged] - 6/2/2022 7:14:41 PM

+ +
+

[5.66.0] - 6/6/2022 12:31:58 PM

-

Commit 966e56b5db15b792ee8efc648f76c279dd1c8b0c

+

Commit ff99397e5e6bc96f5fc1e419a44d1382f49923c5

Author: John Haugeland <stonecypher@gmail.com>

+

Merges [bcb1eda, 6f51f09]

    -
  • Update README.md
  • +
  • Merge pull request #490 from StoneCypher/FixChangelogAndAddCommunityPage
  • +
  • Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825

 

 

- - - -

[5.65.14] - 5/25/2022 10:01:42 PM

+
+

[Untagged] - 6/6/2022 12:24:27 PM

-

Commit 1c597f900bb8daa127d1ec490f1277db0dfc822e

+

Commit 6f51f095fc292fc44c8c02daf8d976bdec49d4f0

Author: John Haugeland <stonecypher@gmail.com>

-

Merges [6a6f1c8, 4c2e830]

    -
  • Merge pull request #489 from StoneCypher/ImproveDocumentationLayout
  • -
  • Improve documentation layout
  • +
  • Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825

 

 

- -

[Untagged] - 5/25/2022 9:57:42 PM

+
+

[Untagged] - 6/6/2022 11:20:01 AM

-

Commit 4c2e830a1a4cfc8f808a67a04cfb0efe7e6993c8

+

Commit bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0

Author: John Haugeland <stonecypher@gmail.com>

+

Merges [d19a094, 966e56b]

    -
  • Needed version bump
  • +
  • Merge branch 'main' of github.com:StoneCypher/jssm

 

 

- -

[Untagged] - 5/25/2022 9:51:54 PM

+
+

[Untagged] - 6/6/2022 11:19:47 AM

-

Commit 6353caf50948fc5985e1603fc06673add48bc376

+

Commit d19a0949fdb44e76f946cf0f06020e9a497e8732

Author: John Haugeland <stonecypher@gmail.com>

    -
  • moar dox
  • +
  • Long and short changelogs to un-break GH releases

 

 

- - - -

[5.65.12] - 5/22/2022 4:28:55 PM

+
+

[Untagged] - 6/2/2022 7:14:41 PM

-

Commit 6a6f1c8a256f2f943c3230ec32dd32d2c2344927

+

Commit 966e56b5db15b792ee8efc648f76c279dd1c8b0c

Author: John Haugeland <stonecypher@gmail.com>

-

Merges [e084bf4, f0f3961]

    -
  • Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition
  • -
  • Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803
  • +
  • Update README.md
-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/FeatureComparison.html b/docs/docs/pages/FeatureComparison.html index 1fb30e4a..59547ff4 100644 --- a/docs/docs/pages/FeatureComparison.html +++ b/docs/docs/pages/FeatureComparison.html @@ -7,4 +7,4 @@

Feature Comparison

TODO

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/GettingStarted.html b/docs/docs/pages/GettingStarted.html index 73092349..8e46df12 100644 --- a/docs/docs/pages/GettingStarted.html +++ b/docs/docs/pages/GettingStarted.html @@ -2,4 +2,4 @@

Getting Started

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/Shootout.html b/docs/docs/pages/Shootout.html index 0fb80b08..4f78e456 100644 --- a/docs/docs/pages/Shootout.html +++ b/docs/docs/pages/Shootout.html @@ -147,6 +147,10 @@

Toggle machine

8 +nanostate +8 + + xstate 16 @@ -155,10 +159,6 @@

Toggle machine

17 -nanostate -8 - - machina 20 @@ -286,33 +286,33 @@

Traffic light

10 -stately -18 +javascript-state-machine +13 nanostate 12 -javascript-state-machine -13 - - faste 14 -robot -24 +stately +18 -machina -26 +robot +24 xstate 36 + +machina +26 +

 

@@ -470,7 +470,7 @@

States of Matter

machina -36 +36

 

@@ -584,4 +584,4 @@

machina states of matter, 36 lines, ❌ cannot implement

grounds, machina cannot implement this machine correctly.

export const matter = new machina.Fsm({
initialState: "solid",
states: {
uninitialized: {
"*": function () {
this.deferUntilTransition();
this.transition("solid");
},
},
solid: {
_melt: "liquid",
},
liquid: {
_freeze: "solid",
_vaporize: "gas",
},
gas: {
_condense: "liquid",
_onEnter: function () {
console.log("Red light!");
},
},
},
melt: function () {
this.handle("_melt");
},
freeze: function () {
this.handle("_freeze");
},
vaporize: function () {
this.handle("_vaporize");
},
condense: function () {
this.handle("_condense");
},
});
-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/WhatAreStateMachines.html b/docs/docs/pages/WhatAreStateMachines.html new file mode 100644 index 00000000..a4e4c493 --- /dev/null +++ b/docs/docs/pages/WhatAreStateMachines.html @@ -0,0 +1,6 @@ +What are state machines? | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/community.html b/docs/docs/pages/community.html index 5cfbcad7..416f2756 100644 --- a/docs/docs/pages/community.html +++ b/docs/docs/pages/community.html @@ -11,4 +11,4 @@

Discord

Please join us on Discord! https://discord.gg/9P95USqnMK

Discord community

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/live_editor.html b/docs/docs/pages/live_editor.html index ed2b856f..a7f6612c 100644 --- a/docs/docs/pages/live_editor.html +++ b/docs/docs/pages/live_editor.html @@ -6,4 +6,4 @@

Live Editor

sharing.

Try the live editor now.

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/pages/todo.html b/docs/docs/pages/todo.html index 34401a2f..b51e51a0 100644 --- a/docs/docs/pages/todo.html +++ b/docs/docs/pages/todo.html @@ -3,4 +3,4 @@

todo

This help page has not yet been written.

-

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Legend

  • Property
  • Method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/package.json b/package.json index 8d8d3c3e..304fb8f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jssm", - "version": "5.67.2", + "version": "5.68.0", "engines": { "node": ">=10.0.0" }, @@ -23,6 +23,7 @@ "description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.", "main": "dist/jssm.es5.cjs.js", "module": "dist/es6/jssm.js", + "browser": "dist/jssm.es5.iife.js", "types": "./jssm.d.ts", "scripts": { "jest-spec": "jest -c jest-spec.config.js --color --verbose", @@ -39,7 +40,7 @@ "make_iife": "rollup -c rollup.config.iife.js", "typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .", "makever": "node src/buildjs/makever.js", - "make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs", + "make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs && rm ./dist/es6/*.nonmin.js", "eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts", "audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}", "vet": "npm run eslint && npm run audit", @@ -84,6 +85,8 @@ "moore-machine", "graphviz", "viz.js", + "fsl", + "finite-state-language", "flowchart", "visualization", "TypeScript", diff --git a/src/doc_md/CHANGELOG.long.md b/src/doc_md/CHANGELOG.long.md index bc2071bb..afe8311a 100644 --- a/src/doc_md/CHANGELOG.long.md +++ b/src/doc_md/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -876 merges; 70 releases +880 merges; 72 releases @@ -12,12 +12,45 @@ All notable changes to this project will be documented in this file. Published tags: -5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + +## [Untagged] - 6/6/2022 5:58:47 PM + +Commit [210a3261fef18f00a01c52c77e2a4f5eb02a486d](https://github.com/StoneCypher/jssm/commit/210a3261fef18f00a01c52c77e2a4f5eb02a486d) + +Author: `John Haugeland ` + +Merges [cfd38c2, 8379506] + + * Merge pull request #492 from StoneCypher/StillMoreShootout + * Still more shootout + + + + +  + +  + +## [Untagged] - 6/6/2022 5:39:43 PM + +Commit [837950689491eb333670a9f028b3668351c9bef1](https://github.com/StoneCypher/jssm/commit/837950689491eb333670a9f028b3668351c9bef1) + +Author: `John Haugeland ` + + * moar docs + + + +     @@ -33,6 +66,26 @@ Author: `John Haugeland ` +  + +  + + + +## [5.67.0] - 6/6/2022 2:49:25 PM + +Commit [cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db](https://github.com/StoneCypher/jssm/commit/cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db) + +Author: `John Haugeland ` + +Merges [ff99397, 7f475f2] + + * Merge pull request #491 from StoneCypher/AddShootout + * Adds shootout, fixes StoneCypher/fsl#822 + + + +     @@ -48,6 +101,26 @@ Author: `John Haugeland ` +  + +  + + + +## [5.66.0] - 6/6/2022 12:31:58 PM + +Commit [ff99397e5e6bc96f5fc1e419a44d1382f49923c5](https://github.com/StoneCypher/jssm/commit/ff99397e5e6bc96f5fc1e419a44d1382f49923c5) + +Author: `John Haugeland ` + +Merges [bcb1eda, 6f51f09] + + * Merge pull request #490 from StoneCypher/FixChangelogAndAddCommunityPage + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 + + + +     diff --git a/src/doc_md/CHANGELOG.md b/src/doc_md/CHANGELOG.md index 2db0f545..e70f02d2 100644 --- a/src/doc_md/CHANGELOG.md +++ b/src/doc_md/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -876 merges; 70 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +880 merges; 72 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file. Published tags: -5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 @@ -22,13 +22,16 @@ Published tags:   -## [Untagged] - 6/6/2022 3:41:07 PM +## [Untagged] - 6/6/2022 5:58:47 PM -Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) +Commit [210a3261fef18f00a01c52c77e2a4f5eb02a486d](https://github.com/StoneCypher/jssm/commit/210a3261fef18f00a01c52c77e2a4f5eb02a486d) Author: `John Haugeland ` - * More shootout +Merges [cfd38c2, 8379506] + + * Merge pull request #492 from StoneCypher/StillMoreShootout + * Still more shootout @@ -37,13 +40,13 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 2:47:14 PM +## [Untagged] - 6/6/2022 5:39:43 PM -Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) +Commit [837950689491eb333670a9f028b3668351c9bef1](https://github.com/StoneCypher/jssm/commit/837950689491eb333670a9f028b3668351c9bef1) Author: `John Haugeland ` - * Adds shootout, fixes StoneCypher/fsl#822 + * moar docs @@ -52,13 +55,13 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 12:24:27 PM +## [Untagged] - 6/6/2022 3:41:07 PM -Commit [6f51f095fc292fc44c8c02daf8d976bdec49d4f0](https://github.com/StoneCypher/jssm/commit/6f51f095fc292fc44c8c02daf8d976bdec49d4f0) +Commit [91e2c2f27ec0b200380b8871bacd2d6476e1ab4e](https://github.com/StoneCypher/jssm/commit/91e2c2f27ec0b200380b8871bacd2d6476e1ab4e) Author: `John Haugeland ` - * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 + * More shootout @@ -67,15 +70,18 @@ Author: `John Haugeland `   -## [Untagged] - 6/6/2022 11:20:01 AM + -Commit [bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0](https://github.com/StoneCypher/jssm/commit/bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0) +## [5.67.0] - 6/6/2022 2:49:25 PM + +Commit [cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db](https://github.com/StoneCypher/jssm/commit/cfd38c2d2d3ca7f4e3874cc6cfc71d2cfb5922db) Author: `John Haugeland ` -Merges [d19a094, 966e56b] +Merges [ff99397, 7f475f2] - * Merge branch 'main' of github.com:StoneCypher/jssm + * Merge pull request #491 from StoneCypher/AddShootout + * Adds shootout, fixes StoneCypher/fsl#822 @@ -84,13 +90,13 @@ Merges [d19a094, 966e56b]   -## [Untagged] - 6/6/2022 11:19:47 AM +## [Untagged] - 6/6/2022 2:47:14 PM -Commit [d19a0949fdb44e76f946cf0f06020e9a497e8732](https://github.com/StoneCypher/jssm/commit/d19a0949fdb44e76f946cf0f06020e9a497e8732) +Commit [7f475f2a684856889fa56317ce30d5296ca2a47d](https://github.com/StoneCypher/jssm/commit/7f475f2a684856889fa56317ce30d5296ca2a47d) Author: `John Haugeland ` - * Long and short changelogs to un-break GH releases + * Adds shootout, fixes StoneCypher/fsl#822 @@ -99,33 +105,33 @@ Author: `John Haugeland `   -## [Untagged] - 6/2/2022 7:14:41 PM + -Commit [966e56b5db15b792ee8efc648f76c279dd1c8b0c](https://github.com/StoneCypher/jssm/commit/966e56b5db15b792ee8efc648f76c279dd1c8b0c) +## [5.66.0] - 6/6/2022 12:31:58 PM + +Commit [ff99397e5e6bc96f5fc1e419a44d1382f49923c5](https://github.com/StoneCypher/jssm/commit/ff99397e5e6bc96f5fc1e419a44d1382f49923c5) Author: `John Haugeland ` - * Update README.md +Merges [bcb1eda, 6f51f09] + * Merge pull request #490 from StoneCypher/FixChangelogAndAddCommunityPage + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 -    - +  -## [5.65.14] - 5/25/2022 10:01:42 PM +## [Untagged] - 6/6/2022 12:24:27 PM -Commit [1c597f900bb8daa127d1ec490f1277db0dfc822e](https://github.com/StoneCypher/jssm/commit/1c597f900bb8daa127d1ec490f1277db0dfc822e) +Commit [6f51f095fc292fc44c8c02daf8d976bdec49d4f0](https://github.com/StoneCypher/jssm/commit/6f51f095fc292fc44c8c02daf8d976bdec49d4f0) Author: `John Haugeland ` -Merges [6a6f1c8, 4c2e830] - - * Merge pull request #489 from StoneCypher/ImproveDocumentationLayout - * Improve documentation layout + * Adds community page to docs; adds short changelog to address block. fixes StoneCypher/fsl#824, fixes StoneCypher/fsl#825 @@ -134,13 +140,15 @@ Merges [6a6f1c8, 4c2e830]   -## [Untagged] - 5/25/2022 9:57:42 PM +## [Untagged] - 6/6/2022 11:20:01 AM -Commit [4c2e830a1a4cfc8f808a67a04cfb0efe7e6993c8](https://github.com/StoneCypher/jssm/commit/4c2e830a1a4cfc8f808a67a04cfb0efe7e6993c8) +Commit [bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0](https://github.com/StoneCypher/jssm/commit/bcb1edaf59fbbd0a9fcfbb293d3ba1cfca129aa0) Author: `John Haugeland ` - * Needed version bump +Merges [d19a094, 966e56b] + + * Merge branch 'main' of github.com:StoneCypher/jssm @@ -149,13 +157,13 @@ Author: `John Haugeland `   -## [Untagged] - 5/25/2022 9:51:54 PM +## [Untagged] - 6/6/2022 11:19:47 AM -Commit [6353caf50948fc5985e1603fc06673add48bc376](https://github.com/StoneCypher/jssm/commit/6353caf50948fc5985e1603fc06673add48bc376) +Commit [d19a0949fdb44e76f946cf0f06020e9a497e8732](https://github.com/StoneCypher/jssm/commit/d19a0949fdb44e76f946cf0f06020e9a497e8732) Author: `John Haugeland ` - * moar dox + * Long and short changelogs to un-break GH releases @@ -164,15 +172,10 @@ Author: `John Haugeland `   - - -## [5.65.12] - 5/22/2022 4:28:55 PM +## [Untagged] - 6/2/2022 7:14:41 PM -Commit [6a6f1c8a256f2f943c3230ec32dd32d2c2344927](https://github.com/StoneCypher/jssm/commit/6a6f1c8a256f2f943c3230ec32dd32d2c2344927) +Commit [966e56b5db15b792ee8efc648f76c279dd1c8b0c](https://github.com/StoneCypher/jssm/commit/966e56b5db15b792ee8efc648f76c279dd1c8b0c) Author: `John Haugeland ` -Merges [e084bf4, f0f3961] - - * Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceTransition - * Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803 \ No newline at end of file + * Update README.md \ No newline at end of file diff --git a/src/doc_md/DocLandingPage.md b/src/doc_md/DocLandingPage.md index 2bb839ac..b7ffa954 100644 --- a/src/doc_md/DocLandingPage.md +++ b/src/doc_md/DocLandingPage.md @@ -70,6 +70,8 @@ LogState(); // logs "Yellow" To make the point, please consider the light switch from our language, as compared to the example given by a popular alternative library. +If you'd like more detailed comparisons, please see {@page Shootout.md the line-of-code shootout}. +   ### JSSM @@ -172,4 +174,4 @@ Correct. Easy. Brief. Powerful. Fast. Meet your new state machine. -{@page GettingStarted.md Let's get started}. +`Next`: {@page GettingStarted.md Let's get started}. diff --git a/src/doc_md/Shootout.md b/src/doc_md/Shootout.md index d6713f6c..a904a78d 100644 --- a/src/doc_md/Shootout.md +++ b/src/doc_md/Shootout.md @@ -61,9 +61,9 @@ linking them with actions. | finity | 7 | | javascript-state-machine | 7 | | stately | 8 | +| nanostate | 8 | | xstate | 16 | | robot | 17 | -| nanostate | 8 | | machina | 20 |   @@ -281,13 +281,13 @@ systems' lingo.) | jssm | 2 | | state-machine | 8 | | finity | 10 | -| stately | 18 | -| nanostate | 12 | | javascript-state-machine | 13 | +| nanostate | 12 | | faste | 14 | +| stately | 18 | | robot | 24 | -| machina | 26 | | xstate | 36 | +| machina | 26 |   @@ -592,7 +592,7 @@ or an edge, in other machines' terminology.) | finity | 28 | | robot | 31 | | xstate | 35 | -| machina | 36 | +| machina | 36 ❌ |   diff --git a/src/doc_md/WhatAreStateMachines.md b/src/doc_md/WhatAreStateMachines.md new file mode 100644 index 00000000..05e8428e --- /dev/null +++ b/src/doc_md/WhatAreStateMachines.md @@ -0,0 +1,3 @@ +# todo + +This help page has not yet been written. \ No newline at end of file diff --git a/typedoc-options.js b/typedoc-options.js index f971d2b0..cc90f98a 100644 --- a/typedoc-options.js +++ b/typedoc-options.js @@ -11,8 +11,8 @@ module.exports = { source: './src/doc_md/', pages: [ { title: 'Tutorials', childrenDir: './', children: [ + { title: 'What are state machines?', source: 'WhatAreStateMachines.md' }, { title: '☕ Quick Start', source: 'GettingStarted.md' }, - { title: 'What are state machines?', source: 'todo.md' }, { title: 'Language reference', source: 'todo.md' }, { title: 'API reference', source: 'todo.md' }, { title: 'Example machines', source: 'todo.md' }, @@ -34,7 +34,7 @@ module.exports = { { title: 'Community', source: 'community.md' } ] }, { title: 'VIRTUAL', childrenDir: './', children: [ - { title: 'Changelog', source: 'CHANGELOG.md' } + { title: 'Changelog', source: 'CHANGELOG.long.md' } ] }, // { title: '@knodes/typedoc-plugin-code-blocks', source: 'readme-extras.md', children: [ // { title: 'Using options', source: 'options.md' },