awv3
Version:
AWV client CAD framework
1,972 lines • 2.05 MB
JSON
{
"type": "Program",
"start": 0,
"end": 25013,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 663,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 67,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 67
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"name": "trackPromise"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 20
}
},
"name": "trackPromise"
}
},
{
"type": "ImportSpecifier",
"start": 22,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 22,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 29
}
},
"name": "Interop"
},
"local": {
"type": "Identifier",
"start": 22,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 29
}
},
"name": "Interop"
}
},
{
"type": "ImportSpecifier",
"start": 31,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 39
}
},
"imported": {
"type": "Identifier",
"start": 31,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 39
}
},
"name": "logLevel"
},
"local": {
"type": "Identifier",
"start": 31,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 39
}
},
"name": "logLevel"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 46,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"column": 66
}
},
"value": "sketcher/cchelpers",
"rawValue": "sketcher/cchelpers",
"raw": "'sketcher/cchelpers'"
}
},
{
"type": "ImportDeclaration",
"start": 68,
"end": 127,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 76,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 76,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
},
"local": {
"type": "Identifier",
"start": 76,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 102,
"end": 126,
"loc": {
"start": {
"line": 2,
"column": 34
},
"end": {
"line": 2,
"column": 58
}
},
"value": "sketcher/constraintgen",
"rawValue": "sketcher/constraintgen",
"raw": "'sketcher/constraintgen'"
}
},
{
"type": "ImportDeclaration",
"start": 128,
"end": 165,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 37
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 135,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 135,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Sketch"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 147,
"end": 164,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 36
}
},
"value": "sketcher/sketch",
"rawValue": "sketcher/sketch",
"raw": "'sketcher/sketch'"
}
},
{
"type": "ImportDeclaration",
"start": 166,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 45
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 173,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 173,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"name": "Constraint"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 189,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 44
}
},
"value": "sketcher/constraint",
"rawValue": "sketcher/constraint",
"raw": "'sketcher/constraint'"
}
},
{
"type": "ImportDeclaration",
"start": 212,
"end": 258,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 46
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 219,
"end": 232,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 224,
"end": 232,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 20
}
},
"name": "Controls"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 238,
"end": 257,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 45
}
},
"value": "sketcher/controls",
"rawValue": "sketcher/controls",
"raw": "'sketcher/controls'"
}
},
{
"type": "ImportDeclaration",
"start": 259,
"end": 313,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 54
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 267,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 267,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
},
"local": {
"type": "Identifier",
"start": 267,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
}
},
{
"type": "ImportSpecifier",
"start": 274,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 274,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
},
"local": {
"type": "Identifier",
"start": 274,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
}
},
{
"type": "ImportSpecifier",
"start": 280,
"end": 283,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 280,
"end": 283,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
},
"local": {
"type": "Identifier",
"start": 280,
"end": 283,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 290,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 53
}
},
"value": "sketcher/geomobjects",
"rawValue": "sketcher/geomobjects",
"raw": "'sketcher/geomobjects'"
}
},
{
"type": "ImportDeclaration",
"start": 314,
"end": 349,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 35
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 321,
"end": 326,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 321,
"end": 326,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"name": "Orbit"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 332,
"end": 348,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 34
}
},
"value": "controls/orbit",
"rawValue": "controls/orbit",
"raw": "'controls/orbit'"
}
},
{
"type": "ImportDeclaration",
"start": 350,
"end": 383,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 13
}
},
"name": "Plugin"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 369,
"end": 382,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 32
}
},
"value": "core/plugin",
"rawValue": "core/plugin",
"raw": "'core/plugin'"
}
},
{
"type": "ImportDeclaration",
"start": 384,
"end": 420,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 36
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 391,
"end": 398,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 391,
"end": 398,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 404,
"end": 419,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 35
}
},
"value": "three/object3",
"rawValue": "three/object3",
"raw": "'three/object3'"
}
},
{
"type": "ImportDeclaration",
"start": 421,
"end": 447,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 428,
"end": 433,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 428,
"end": 433,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 439,
"end": 446,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 448,
"end": 559,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 111
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 455,
"end": 467,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 455,
"end": 467,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 19
}
},
"name": "SketcherFont"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 473,
"end": 558,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 110
}
},
"value": "json!../../node_modules/three/examples/fonts/droid/droid_sans_regular.typeface.json",
"rawValue": "json!../../node_modules/three/examples/fonts/droid/droid_sans_regular.typeface.json",
"raw": "'json!../../node_modules/three/examples/fonts/droid/droid_sans_regular.typeface.json'"
}
},
{
"type": "ImportDeclaration",
"start": 560,
"end": 599,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 568,
"end": 577,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 568,
"end": 577,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"name": "Timestamp"
},
"local": {
"type": "Identifier",
"start": 568,
"end": 577,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 17
}
},
"name": "Timestamp"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 584,
"end": 598,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 38
}
},
"value": "core/helpers",
"rawValue": "core/helpers",
"raw": "'core/helpers'"
}
},
{
"type": "ClassDeclaration",
"start": 601,
"end": 1074,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 34,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 607,
"end": 621,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 20
}
},
"name": "CursorPosition"
},
"superClass": {
"type": "MemberExpression",
"start": 630,
"end": 643,
"loc": {
"start": {
"line": 14,
"column": 29
},
"end": {
"line": 14,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 630,
"end": 635,
"loc": {
"start": {
"line": 14,
"column": 29
},
"end": {
"line": 14,
"column": 34
}
},
"name": "THREE"
},
"property": {
"type": "Identifier",
"start": 636,
"end": 643,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 42
}
},
"name": "Vector3"
},
"computed": false
},
"body": {
"type": "ClassBody",
"start": 644,
"end": 1074,
"loc": {
"start": {
"line": 14,
"column": 43
},
"end": {
"line": 34,
"column": 1
}
},
"body": [
{
"type": "MethodDefinition",
"start": 650,
"end": 761,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 650,
"end": 661,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 15
}
},
"name": "constructor"
},
"static": false,
"kind": "constructor",
"value": {
"type": "FunctionExpression",
"start": 661,
"end": 761,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 19,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 662,
"end": 670,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 24
}
},
"name": "notifier"
}
],
"body": {
"type": "BlockStatement",
"start": 672,
"end": 761,
"loc": {
"start": {
"line": 15,
"column": 26
},
"end": {
"line": 19,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 682,
"end": 690,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 682,
"end": 689,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 682,
"end": 687,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 699,
"end": 721,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 699,
"end": 720,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 699,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 699,
"end": 703,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 704,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 15
}
},
"name": "_x"
},
"computed": false
},
"right": {
"type": "AssignmentExpression",
"start": 709,
"end": 720,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 709,
"end": 716,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 709,
"end": 713,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 714,
"end": 716,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 25
}
},
"name": "_y"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 17,
"column": 28
},
"end": {
"line": 17,
"column": 29
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 730,
"end": 755,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 730,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 730,
"end": 743,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 730,
"end": 734,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 735,
"end": 743,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 21
}
},
"name": "notifier"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 746,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 32
}
},
"name": "notifier"
}
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 766,
"end": 793,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 31
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 9
}
},
"name": "x"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 771,
"end": 793,
"loc": {
"start": {
"line": 20,
"column": 9
},
"end": {
"line": 20,
"column": 31
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 774,
"end": 793,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 31
}
},
"body": [
{
"type": "ReturnStatement",
"start": 776,
"end": 791,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 29
}
},
"argument": {
"type": "MemberExpression",
"start": 783,
"end": 790,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 783,
"end": 787,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 788,
"end": 790,
"loc": {
"start": {
"line": 20,
"column": 26
},
"end": {
"line": 20,
"column": 28
}
},
"name": "_x"
},
"computed": false
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 798,
"end": 825,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 31
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 802,
"end": 803,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
},
"name": "y"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 803,
"end": 825,
"loc": {
"start": {
"line": 21,
"column": 9
},
"end": {
"line": 21,
"column": 31
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 806,
"end": 825,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 31
}
},
"body": [
{
"type": "ReturnStatement",
"start": 808,
"end": 823,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 29
}
},
"argument": {
"type": "MemberExpression",
"start": 815,
"end": 822,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 815,
"end": 819,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 820,
"end": 822,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 28
}
},
"name": "_y"
},
"computed": false
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 830,
"end": 851,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 25
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 834,
"end": 835,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 9
}
},
"name": "z"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 835,
"end": 851,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 25
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 838,
"end": 851,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 25
}
},
"body": [
{
"type": "ReturnStatement",
"start": 840,
"end": 849,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 23
}
},
"argument": {
"type": "Literal",
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 22
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 856,
"end": 940,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 27,
"column": 5
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
},
"name": "set"
},
"static": false,
"kind": "method",
"value": {
"type": "FunctionExpression",
"start": 859,
"end": 940,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 27,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false