awv3
Version:
AWV client CAD framework
2,034 lines (2,033 loc) • 2.39 MB
JSON
{
"type": "Program",
"start": 0,
"end": 27713,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 701,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 100,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 100
}
},
"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": 36,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 36
}
},
"imported": {
"type": "Identifier",
"start": 22,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 36
}
},
"name": "parseToChildOf"
},
"local": {
"type": "Identifier",
"start": 22,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 36
}
},
"name": "parseToChildOf"
}
},
{
"type": "ImportSpecifier",
"start": 38,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 48
}
},
"imported": {
"type": "Identifier",
"start": 38,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 48
}
},
"name": "Expression"
},
"local": {
"type": "Identifier",
"start": 38,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 48
}
},
"name": "Expression"
}
},
{
"type": "ImportSpecifier",
"start": 50,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 50
},
"end": {
"line": 1,
"column": 59
}
},
"imported": {
"type": "Identifier",
"start": 50,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 50
},
"end": {
"line": 1,
"column": 59
}
},
"name": "Statement"
},
"local": {
"type": "Identifier",
"start": 50,
"end": 59,
"loc": {
"start": {
"line": 1,
"column": 50
},
"end": {
"line": 1,
"column": 59
}
},
"name": "Statement"
}
},
{
"type": "ImportSpecifier",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 69
}
},
"imported": {
"type": "Identifier",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 69
}
},
"name": "logLevel"
},
"local": {
"type": "Identifier",
"start": 61,
"end": 69,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 69
}
},
"name": "logLevel"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 76,
"end": 99,
"loc": {
"start": {
"line": 1,
"column": 76
},
"end": {
"line": 1,
"column": 99
}
},
"value": "../sketcher/cchelpers",
"rawValue": "../sketcher/cchelpers",
"raw": "'../sketcher/cchelpers'"
}
},
{
"type": "ImportDeclaration",
"start": 101,
"end": 163,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 109,
"end": 128,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 109,
"end": 128,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
},
"local": {
"type": "Identifier",
"start": 109,
"end": 128,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 135,
"end": 162,
"loc": {
"start": {
"line": 2,
"column": 34
},
"end": {
"line": 2,
"column": 61
}
},
"value": "../sketcher/constraintgen",
"rawValue": "../sketcher/constraintgen",
"raw": "'../sketcher/constraintgen'"
}
},
{
"type": "ImportDeclaration",
"start": 164,
"end": 204,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 40
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 171,
"end": 177,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 171,
"end": 177,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Sketch"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 183,
"end": 203,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 39
}
},
"value": "../sketcher/sketch",
"rawValue": "../sketcher/sketch",
"raw": "'../sketcher/sketch'"
}
},
{
"type": "ImportDeclaration",
"start": 205,
"end": 253,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 48
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 212,
"end": 222,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 212,
"end": 222,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"name": "Constraint"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 228,
"end": 252,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 47
}
},
"value": "../sketcher/constraint",
"rawValue": "../sketcher/constraint",
"raw": "'../sketcher/constraint'"
}
},
{
"type": "ImportDeclaration",
"start": 254,
"end": 303,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 49
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 261,
"end": 274,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 266,
"end": 274,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 20
}
},
"name": "Controls"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 280,
"end": 302,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 48
}
},
"value": "../sketcher/controls",
"rawValue": "../sketcher/controls",
"raw": "'../sketcher/controls'"
}
},
{
"type": "ImportDeclaration",
"start": 304,
"end": 361,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 312,
"end": 317,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 312,
"end": 317,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
},
"local": {
"type": "Identifier",
"start": 312,
"end": 317,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
}
},
{
"type": "ImportSpecifier",
"start": 319,
"end": 323,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 319,
"end": 323,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
},
"local": {
"type": "Identifier",
"start": 319,
"end": 323,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
}
},
{
"type": "ImportSpecifier",
"start": 325,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 325,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
},
"local": {
"type": "Identifier",
"start": 325,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 335,
"end": 360,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 56
}
},
"value": "../sketcher/geomobjects",
"rawValue": "../sketcher/geomobjects",
"raw": "'../sketcher/geomobjects'"
}
},
{
"type": "ImportDeclaration",
"start": 362,
"end": 400,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 38
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 369,
"end": 374,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 369,
"end": 374,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"name": "Orbit"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 380,
"end": 399,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 37
}
},
"value": "../controls/orbit",
"rawValue": "../controls/orbit",
"raw": "'../controls/orbit'"
}
},
{
"type": "ImportDeclaration",
"start": 401,
"end": 448,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 47
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 408,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 413,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 20
}
},
"name": "Elements"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 427,
"end": 447,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 46
}
},
"value": "../plugin/elements",
"rawValue": "../plugin/elements",
"raw": "'../plugin/elements'"
}
},
{
"type": "ImportDeclaration",
"start": 449,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 38
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 456,
"end": 462,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 456,
"end": 462,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"name": "Plugin"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 468,
"end": 486,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 37
}
},
"value": "../plugin/plugin",
"rawValue": "../plugin/plugin",
"raw": "'../plugin/plugin'"
}
},
{
"type": "ImportDeclaration",
"start": 488,
"end": 527,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 495,
"end": 502,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 495,
"end": 502,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 508,
"end": 526,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 38
}
},
"value": "../three/object3",
"rawValue": "../three/object3",
"raw": "'../three/object3'"
}
},
{
"type": "ImportDeclaration",
"start": 528,
"end": 554,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 535,
"end": 540,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 535,
"end": 540,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 546,
"end": 553,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 555,
"end": 666,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 111
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 562,
"end": 574,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 562,
"end": 574,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 19
}
},
"name": "SketcherFont"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 580,
"end": 665,
"loc": {
"start": {
"line": 12,
"column": 25
},
"end": {
"line": 12,
"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": 667,
"end": 709,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 675,
"end": 684,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 675,
"end": 684,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"name": "Timestamp"
},
"local": {
"type": "Identifier",
"start": 675,
"end": 684,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"name": "Timestamp"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 691,
"end": 708,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 41
}
},
"value": "../core/helpers",
"rawValue": "../core/helpers",
"raw": "'../core/helpers'"
},
"trailingComments": [
{
"type": "CommentLine",
"value": "note: only for testing purposes",
"start": 710,
"end": 743,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 33
}
},
"range": [
710,
743
]
}
]
},
{
"type": "ImportDeclaration",
"start": 744,
"end": 792,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 48
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 751,
"end": 762,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 18
}
},
"local": {
"type": "Identifier",
"start": 751,
"end": 762,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 18
}
},
"name": "RunAllTests",
"leadingComments": null
},
"leadingComments": null
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 768,
"end": 791,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 47
}
},
"value": "../sketcher/unittests",
"rawValue": "../sketcher/unittests",
"raw": "'../sketcher/unittests'"
},
"leadingComments": [
{
"type": "CommentLine",
"value": "note: only for testing purposes",
"start": 710,
"end": 743,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 33
}
},
"range": [
710,
743
]
}
]
},
{
"type": "ClassDeclaration",
"start": 794,
"end": 1267,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 37,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 800,
"end": 814,
"loc": {
"start": {
"line": 17,
"column": 6
},
"end": {
"line": 17,
"column": 20
}
},
"name": "CursorPosition"
},
"superClass": {
"type": "MemberExpression",
"start": 823,
"end": 836,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 823,
"end": 828,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 34
}
},
"name": "THREE"
},
"property": {
"type": "Identifier",
"start": 829,
"end": 836,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 42
}
},
"name": "Vector3"
},
"computed": false
},
"body": {
"type": "ClassBody",
"start": 837,
"end": 1267,
"loc": {
"start": {
"line": 17,
"column": 43
},
"end": {
"line": 37,
"column": 1
}
},
"body": [
{
"type": "MethodDefinition",
"start": 843,
"end": 954,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 843,
"end": 854,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
}
},
"name": "constructor"
},
"static": false,
"kind": "constructor",
"value": {
"type": "FunctionExpression",
"start": 854,
"end": 954,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 22,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 855,
"end": 863,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 24
}
},
"name": "notifier"
}
],
"body": {
"type": "BlockStatement",
"start": 865,
"end": 954,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 22,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 875,
"end": 883,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 875,
"end": 882,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 875,
"end": 880,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 892,
"end": 914,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 892,
"end": 913,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 892,
"end": 899,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 892,
"end": 896,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 897,
"end": 899,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 15
}
},
"name": "_x"
},
"computed": false
},
"right": {
"type": "AssignmentExpression",
"start": 902,
"end": 913,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 902,
"end": 909,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 902,
"end": 906,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 907,
"end": 909,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 25
}
},
"name": "_y"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 923,
"end": 948,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 923,
"end": 947,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 923,
"end": 936,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 923,
"end": 927,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 928,
"end": 936,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 21
}
},
"name": "notifier"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 939,
"end": 947,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 32
}
},
"name": "notifier"
}
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 959,
"end": 986,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 31
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 963,
"end": 964,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 9
}
},
"name": "x"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 964,
"end": 986,
"loc": {
"start": {
"line": 23,
"column": 9
},
"end": {
"line": 23,
"column": 31
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 967,
"end": 986,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 31
}
},
"body": [
{
"type": "ReturnStatement",
"start": 969,
"end": 984,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 29
}
},
"argument": {
"type": "MemberExpression",
"start": 976,
"end": 983,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 976,
"end": 980,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 981,
"end": 983,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 23,
"column": 28
}
},
"name": "_x"
},
"computed": false
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 991,
"end": 1018,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 31
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 995,
"end": 996,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 9
}
},
"name": "y"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 996,
"end": 1018,
"loc": {
"start": {
"line": 24,
"column": 9
},
"end": {
"line": 24,
"column": 31
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 999,
"end": 1018,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 31
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1001,
"end": 1016,
"loc": {
"start": {
"line": 24,