UNPKG

awv3

Version:
2,145 lines (2,144 loc) 3.63 MB
{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "'use strict'", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, "range": [ 0, 13 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 13 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Object", "range": [ 13, 19 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 19 } } }, "property": { "type": "Identifier", "name": "defineProperty", "range": [ 20, 34 ], "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 34 } } }, "range": [ 13, 34 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 34 } } }, "arguments": [ { "type": "Identifier", "name": "exports", "range": [ 35, 42 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 42 } } }, { "type": "Literal", "value": "__esModule", "raw": "'__esModule'", "range": [ 43, 55 ], "loc": { "start": { "line": 1, "column": 43 }, "end": { "line": 1, "column": 55 } } }, { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "value", "range": [ 57, 62 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 62 } } }, "value": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "Literal", "value": 0, "raw": "0", "range": [ 64, 65 ], "loc": { "start": { "line": 1, "column": 64 }, "end": { "line": 1, "column": 65 } } }, "prefix": true, "range": [ 63, 65 ], "loc": { "start": { "line": 1, "column": 63 }, "end": { "line": 1, "column": 65 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 57, 65 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 65 } } } ], "range": [ 56, 66 ], "loc": { "start": { "line": 1, "column": 56 }, "end": { "line": 1, "column": 66 } } } ], "range": [ 13, 67 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 67 } } }, "range": [ 13, 68 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 68 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_regenerator", "range": [ 72, 84 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 84 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 85, 92 ], "loc": { "start": { "line": 1, "column": 85 }, "end": { "line": 1, "column": 92 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/regenerator", "raw": "'babel-runtime/regenerator'", "range": [ 93, 120 ], "loc": { "start": { "line": 1, "column": 93 }, "end": { "line": 1, "column": 120 } } } ], "range": [ 85, 121 ], "loc": { "start": { "line": 1, "column": 85 }, "end": { "line": 1, "column": 121 } } }, "range": [ 72, 121 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 121 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_regenerator2", "range": [ 122, 135 ], "loc": { "start": { "line": 1, "column": 122 }, "end": { "line": 1, "column": 135 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 136, 158 ], "loc": { "start": { "line": 1, "column": 136 }, "end": { "line": 1, "column": 158 } } }, "arguments": [ { "type": "Identifier", "name": "_regenerator", "range": [ 159, 171 ], "loc": { "start": { "line": 1, "column": 159 }, "end": { "line": 1, "column": 171 } } } ], "range": [ 136, 172 ], "loc": { "start": { "line": 1, "column": 136 }, "end": { "line": 1, "column": 172 } } }, "range": [ 122, 172 ], "loc": { "start": { "line": 1, "column": 122 }, "end": { "line": 1, "column": 172 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator2", "range": [ 173, 186 ], "loc": { "start": { "line": 1, "column": 173 }, "end": { "line": 1, "column": 186 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 187, 194 ], "loc": { "start": { "line": 1, "column": 187 }, "end": { "line": 1, "column": 194 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/get-iterator", "raw": "'babel-runtime/core-js/get-iterator'", "range": [ 195, 231 ], "loc": { "start": { "line": 1, "column": 195 }, "end": { "line": 1, "column": 231 } } } ], "range": [ 187, 232 ], "loc": { "start": { "line": 1, "column": 187 }, "end": { "line": 1, "column": 232 } } }, "range": [ 173, 232 ], "loc": { "start": { "line": 1, "column": 173 }, "end": { "line": 1, "column": 232 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator3", "range": [ 233, 246 ], "loc": { "start": { "line": 1, "column": 233 }, "end": { "line": 1, "column": 246 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 247, 269 ], "loc": { "start": { "line": 1, "column": 247 }, "end": { "line": 1, "column": 269 } } }, "arguments": [ { "type": "Identifier", "name": "_getIterator2", "range": [ 270, 283 ], "loc": { "start": { "line": 1, "column": 270 }, "end": { "line": 1, "column": 283 } } } ], "range": [ 247, 284 ], "loc": { "start": { "line": 1, "column": 247 }, "end": { "line": 1, "column": 284 } } }, "range": [ 233, 284 ], "loc": { "start": { "line": 1, "column": 233 }, "end": { "line": 1, "column": 284 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_asyncToGenerator2", "range": [ 285, 303 ], "loc": { "start": { "line": 1, "column": 285 }, "end": { "line": 1, "column": 303 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 304, 311 ], "loc": { "start": { "line": 1, "column": 304 }, "end": { "line": 1, "column": 311 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/asyncToGenerator", "raw": "'babel-runtime/helpers/asyncToGenerator'", "range": [ 312, 352 ], "loc": { "start": { "line": 1, "column": 312 }, "end": { "line": 1, "column": 352 } } } ], "range": [ 304, 353 ], "loc": { "start": { "line": 1, "column": 304 }, "end": { "line": 1, "column": 353 } } }, "range": [ 285, 353 ], "loc": { "start": { "line": 1, "column": 285 }, "end": { "line": 1, "column": 353 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_asyncToGenerator3", "range": [ 354, 372 ], "loc": { "start": { "line": 1, "column": 354 }, "end": { "line": 1, "column": 372 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 373, 395 ], "loc": { "start": { "line": 1, "column": 373 }, "end": { "line": 1, "column": 395 } } }, "arguments": [ { "type": "Identifier", "name": "_asyncToGenerator2", "range": [ 396, 414 ], "loc": { "start": { "line": 1, "column": 396 }, "end": { "line": 1, "column": 414 } } } ], "range": [ 373, 415 ], "loc": { "start": { "line": 1, "column": 373 }, "end": { "line": 1, "column": 415 } } }, "range": [ 354, 415 ], "loc": { "start": { "line": 1, "column": 354 }, "end": { "line": 1, "column": 415 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_promise", "range": [ 416, 424 ], "loc": { "start": { "line": 1, "column": 416 }, "end": { "line": 1, "column": 424 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 425, 432 ], "loc": { "start": { "line": 1, "column": 425 }, "end": { "line": 1, "column": 432 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/promise", "raw": "'babel-runtime/core-js/promise'", "range": [ 433, 464 ], "loc": { "start": { "line": 1, "column": 433 }, "end": { "line": 1, "column": 464 } } } ], "range": [ 425, 465 ], "loc": { "start": { "line": 1, "column": 425 }, "end": { "line": 1, "column": 465 } } }, "range": [ 416, 465 ], "loc": { "start": { "line": 1, "column": 416 }, "end": { "line": 1, "column": 465 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_promise2", "range": [ 466, 475 ], "loc": { "start": { "line": 1, "column": 466 }, "end": { "line": 1, "column": 475 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 476, 498 ], "loc": { "start": { "line": 1, "column": 476 }, "end": { "line": 1, "column": 498 } } }, "arguments": [ { "type": "Identifier", "name": "_promise", "range": [ 499, 507 ], "loc": { "start": { "line": 1, "column": 499 }, "end": { "line": 1, "column": 507 } } } ], "range": [ 476, 508 ], "loc": { "start": { "line": 1, "column": 476 }, "end": { "line": 1, "column": 508 } } }, "range": [ 466, 508 ], "loc": { "start": { "line": 1, "column": 466 }, "end": { "line": 1, "column": 508 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 509, 525 ], "loc": { "start": { "line": 1, "column": 509 }, "end": { "line": 1, "column": 525 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 526, 533 ], "loc": { "start": { "line": 1, "column": 526 }, "end": { "line": 1, "column": 533 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 534, 572 ], "loc": { "start": { "line": 1, "column": 534 }, "end": { "line": 1, "column": 572 } } } ], "range": [ 526, 573 ], "loc": { "start": { "line": 1, "column": 526 }, "end": { "line": 1, "column": 573 } } }, "range": [ 509, 573 ], "loc": { "start": { "line": 1, "column": 509 }, "end": { "line": 1, "column": 573 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 574, 590 ], "loc": { "start": { "line": 1, "column": 574 }, "end": { "line": 1, "column": 590 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 591, 613 ], "loc": { "start": { "line": 1, "column": 591 }, "end": { "line": 1, "column": 613 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 614, 630 ], "loc": { "start": { "line": 1, "column": 614 }, "end": { "line": 1, "column": 630 } } } ], "range": [ 591, 631 ], "loc": { "start": { "line": 1, "column": 591 }, "end": { "line": 1, "column": 631 } } }, "range": [ 574, 631 ], "loc": { "start": { "line": 1, "column": 574 }, "end": { "line": 1, "column": 631 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 632, 645 ], "loc": { "start": { "line": 1, "column": 632 }, "end": { "line": 1, "column": 645 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 646, 653 ], "loc": { "start": { "line": 1, "column": 646 }, "end": { "line": 1, "column": 653 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 654, 689 ], "loc": { "start": { "line": 1, "column": 654 }, "end": { "line": 1, "column": 689 } } } ], "range": [ 646, 690 ], "loc": { "start": { "line": 1, "column": 646 }, "end": { "line": 1, "column": 690 } } }, "range": [ 632, 690 ], "loc": { "start": { "line": 1, "column": 632 }, "end": { "line": 1, "column": 690 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 691, 704 ], "loc": { "start": { "line": 1, "column": 691 }, "end": { "line": 1, "column": 704 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 705, 727 ], "loc": { "start": { "line": 1, "column": 705 }, "end": { "line": 1, "column": 727 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 728, 741 ], "loc": { "start": { "line": 1, "column": 728 }, "end": { "line": 1, "column": 741 } } } ], "range": [ 705, 742 ], "loc": { "start": { "line": 1, "column": 705 }, "end": { "line": 1, "column": 742 } } }, "range": [ 691, 742 ], "loc": { "start": { "line": 1, "column": 691 }, "end": { "line": 1, "column": 742 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_expressions", "range": [ 743, 755 ], "loc": { "start": { "line": 1, "column": 743 }, "end": { "line": 1, "column": 755 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 756, 763 ], "loc": { "start": { "line": 1, "column": 756 }, "end": { "line": 1, "column": 763 } } }, "arguments": [ { "type": "Literal", "value": "./expressions", "raw": "'./expressions'", "range": [ 764, 779 ], "loc": { "start": { "line": 1, "column": 764 }, "end": { "line": 1, "column": 779 } } } ], "range": [ 756, 780 ], "loc": { "start": { "line": 1, "column": 756 }, "end": { "line": 1, "column": 780 } } }, "range": [ 743, 780 ], "loc": { "start": { "line": 1, "column": 743 }, "end": { "line": 1, "column": 780 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_statements", "range": [ 781, 792 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 792 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 793, 800 ], "loc": { "start": { "line": 1, "column": 793 }, "end": { "line": 1, "column": 800 } } }, "arguments": [ { "type": "Literal", "value": "./statements", "raw": "'./statements'", "range": [ 801, 815 ], "loc": { "start": { "line": 1, "column": 801 }, "end": { "line": 1, "column": 815 } } } ], "range": [ 793, 816 ], "loc": { "start": { "line": 1, "column": 793 }, "end": { "line": 1, "column": 816 } } }, "range": [ 781, 816 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 816 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_statements2", "range": [ 817, 829 ], "loc": { "start": { "line": 1, "column": 817 }, "end": { "line": 1, "column": 829 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 830, 852 ], "loc": { "start": { "line": 1, "column": 830 }, "end": { "line": 1, "column": 852 } } }, "arguments": [ { "type": "Identifier", "name": "_statements", "range": [ 853, 864 ], "loc": { "start": { "line": 1, "column": 853 }, "end": { "line": 1, "column": 864 } } } ], "range": [ 830, 865 ], "loc": { "start": { "line": 1, "column": 830 }, "end": { "line": 1, "column": 865 } } }, "range": [ 817, 865 ], "loc": { "start": { "line": 1, "column": 817 }, "end": { "line": 1, "column": 865 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_sketcher", "range": [ 866, 875 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 875 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 876, 883 ], "loc": { "start": { "line": 1, "column": 876 }, "end": { "line": 1, "column": 883 } } }, "arguments": [ { "type": "Literal", "value": "../sketcher", "raw": "'../sketcher'", "range": [ 884, 897 ], "loc": { "start": { "line": 1, "column": 884 }, "end": { "line": 1, "column": 897 } } } ], "range": [ 876, 898 ], "loc": { "start": { "line": 1, "column": 876 }, "end": { "line": 1, "column": 898 } } }, "range": [ 866, 898 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 898 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_sketcher2", "range": [ 899, 909 ], "loc": { "start": { "line": 1, "column": 899 }, "end": { "line": 1, "column": 909 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 910, 932 ], "loc": { "start": { "line": 1, "column": 910 }, "end": { "line": 1, "column": 932 } } }, "arguments": [ { "type": "Identifier", "name": "_sketcher", "range": [ 933, 942 ], "loc": { "start": { "line": 1, "column": 933 }, "end": { "line": 1, "column": 942 } } } ], "range": [ 910, 943 ], "loc": { "start": { "line": 1, "column": 910 }, "end": { "line": 1, "column": 943 } } }, "range": [ 899, 943 ], "loc": { "start": { "line": 1, "column": 899 }, "end": { "line": 1, "column": 943 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_constraint", "range": [ 944, 955 ], "loc": { "start": { "line": 1, "column": 944 }, "end": { "line": 1, "column": 955 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 956, 963 ], "loc": { "start": { "line": 1, "column": 956 }, "end": { "line": 1, "column": 963 } } }, "arguments": [ { "type": "Literal", "value": "../sketcher/constraint", "raw": "'../sketcher/constraint'", "range": [ 964, 988 ], "loc": { "start": { "line": 1, "column": 964 }, "end": { "line": 1, "column": 988 } } } ], "range": [ 956, 989 ], "loc": { "start": { "line": 1, "column": 956 }, "end": { "line": 1, "column": 989 } } }, "range": [ 944, 989 ], "loc": { "start": { "line": 1, "column": 944 }, "end": { "line": 1, "column": 989 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_constraint2", "range": [ 990, 1002 ], "loc": { "start": { "line": 1, "column": 990 }, "end": { "line": 1, "column": 1002 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 1003, 1025 ], "loc": { "start": { "line": 1, "column": 1003 }, "end": { "line": 1, "column": 1025 } } }, "arguments": [ { "type": "Identifier", "name": "_constraint", "range": [ 1026, 1037 ], "loc": { "start": { "line": 1, "column": 1026 }, "end": { "line": 1, "column": 1037 } } } ], "range": [ 1003, 1038 ], "loc": { "start": { "line": 1, "column": 1003 }, "end": { "line": 1, "column": 1038 } } }, "range": [ 990, 1038 ], "loc": { "start": { "line": 1, "column": 990 }, "end": { "line": 1, "column": 1038 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_constraintgen", "range": [ 1039, 1053 ], "loc": { "start": { "line": 1, "column": 1039 }, "end": { "line": 1, "column": 1053 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 1054, 1061 ], "loc": { "start": { "line": 1, "column": 1054 }, "end": { "line": 1, "column": 1061 } } }, "arguments": [ { "type": "Literal", "value": "../sketcher/constraintgen", "raw": "'../sketcher/constraintgen'", "range": [ 1062, 1089 ], "loc": { "start": { "line": 1, "column": 1062 }, "end": { "line": 1, "column": 1089 } } } ], "range": [ 1054, 1090 ], "loc": { "start": { "line": 1, "column": 1054 }, "end": { "line": 1, "column": 1090 } } }, "range": [ 1039, 1090 ], "loc": { "start": { "line": 1, "column": 1039 }, "end": { "line": 1, "column": 1090 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_point", "range": [ 1091, 1097 ], "loc": { "start": { "line": 1, "column": 1091 }, "end": { "line": 1, "column": 1097 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 1098, 1105 ], "loc": { "start": { "line": 1, "column": 1098 }, "end": { "line": 1, "column": 1105 } } }, "arguments": [ { "type": "Literal", "value": "../sketcher/graphics/point", "raw": "'../sketcher/graphics/point'", "range": [ 1106, 1134 ], "loc": { "start": { "line": 1, "column": 1106 }, "end": { "line": 1, "column": 1134 } } } ], "range": [ 1098, 1135 ], "loc": { "start": { "line": 1,