awv3
Version:
AWV client CAD framework
2,040 lines (2,039 loc) • 2.76 MB
JSON
{
"type": "Program",
"start": 0,
"end": 28328,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 686,
"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": 102,
"end": 164,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 110,
"end": 129,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 110,
"end": 129,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
},
"local": {
"type": "Identifier",
"start": 110,
"end": 129,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 27
}
},
"name": "ConstraintGenerator"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 136,
"end": 163,
"loc": {
"start": {
"line": 2,
"column": 34
},
"end": {
"line": 2,
"column": 61
}
},
"value": "../sketcher/constraintgen",
"rawValue": "../sketcher/constraintgen",
"raw": "'../sketcher/constraintgen'"
}
},
{
"type": "ImportDeclaration",
"start": 166,
"end": 206,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 40
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 173,
"end": 179,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 173,
"end": 179,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 13
}
},
"name": "Sketch"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 185,
"end": 205,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 39
}
},
"value": "../sketcher/sketch",
"rawValue": "../sketcher/sketch",
"raw": "'../sketcher/sketch'"
}
},
{
"type": "ImportDeclaration",
"start": 208,
"end": 256,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 48
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 215,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 215,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 17
}
},
"name": "Constraint"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 231,
"end": 255,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 47
}
},
"value": "../sketcher/constraint",
"rawValue": "../sketcher/constraint",
"raw": "'../sketcher/constraint'"
}
},
{
"type": "ImportDeclaration",
"start": 258,
"end": 307,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 49
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 265,
"end": 278,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 270,
"end": 278,
"loc": {
"start": {
"line": 5,
"column": 12
},
"end": {
"line": 5,
"column": 20
}
},
"name": "Controls"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 284,
"end": 306,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 48
}
},
"value": "../sketcher/controls",
"rawValue": "../sketcher/controls",
"raw": "'../sketcher/controls'"
}
},
{
"type": "ImportDeclaration",
"start": 309,
"end": 366,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
},
"local": {
"type": "Identifier",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 13
}
},
"name": "Point"
}
},
{
"type": "ImportSpecifier",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
},
"local": {
"type": "Identifier",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 19
}
},
"name": "Line"
}
},
{
"type": "ImportSpecifier",
"start": 330,
"end": 333,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 330,
"end": 333,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
},
"local": {
"type": "Identifier",
"start": 330,
"end": 333,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 24
}
},
"name": "Arc"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 340,
"end": 365,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 56
}
},
"value": "../sketcher/geomobjects",
"rawValue": "../sketcher/geomobjects",
"raw": "'../sketcher/geomobjects'"
}
},
{
"type": "ImportDeclaration",
"start": 368,
"end": 406,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 38
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 375,
"end": 380,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 375,
"end": 380,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
},
"name": "Orbit"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 386,
"end": 405,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 37
}
},
"value": "../controls/orbit",
"rawValue": "../controls/orbit",
"raw": "'../controls/orbit'"
}
},
{
"type": "ImportDeclaration",
"start": 408,
"end": 455,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 47
}
},
"specifiers": [
{
"type": "ImportNamespaceSpecifier",
"start": 415,
"end": 428,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 420,
"end": 428,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 20
}
},
"name": "Elements"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 434,
"end": 454,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 46
}
},
"value": "../plugin/elements",
"rawValue": "../plugin/elements",
"raw": "'../plugin/elements'"
}
},
{
"type": "ImportDeclaration",
"start": 457,
"end": 495,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 38
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 464,
"end": 470,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 464,
"end": 470,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 13
}
},
"name": "Plugin"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 476,
"end": 494,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 37
}
},
"value": "../plugin/plugin",
"rawValue": "../plugin/plugin",
"raw": "'../plugin/plugin'"
}
},
{
"type": "ImportDeclaration",
"start": 497,
"end": 536,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 39
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 504,
"end": 511,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 504,
"end": 511,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
},
"name": "Object3"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 517,
"end": 535,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 38
}
},
"value": "../three/object3",
"rawValue": "../three/object3",
"raw": "'../three/object3'"
}
},
{
"type": "ImportDeclaration",
"start": 538,
"end": 564,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 545,
"end": 550,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 545,
"end": 550,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
},
"name": "THREE"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 556,
"end": 563,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 25
}
},
"value": "three",
"rawValue": "three",
"raw": "'three'"
}
},
{
"type": "ImportDeclaration",
"start": 566,
"end": 677,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 111
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 573,
"end": 585,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 573,
"end": 585,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 19
}
},
"name": "SketcherFont"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 591,
"end": 676,
"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": 679,
"end": 721,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 687,
"end": 696,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 687,
"end": 696,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"name": "Timestamp"
},
"local": {
"type": "Identifier",
"start": 687,
"end": 696,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 17
}
},
"name": "Timestamp"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 703,
"end": 720,
"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": 723,
"end": 756,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 33
}
},
"range": [
723,
756
]
}
]
},
{
"type": "ImportDeclaration",
"start": 758,
"end": 822,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 64
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 766,
"end": 777,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 766,
"end": 777,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 19
}
},
"name": "runAllTests",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 766,
"end": 777,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 19
}
},
"name": "runAllTests",
"leadingComments": [
{
"type": "CommentLine",
"value": "note: only for testing purposes",
"start": 723,
"end": 756,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 33
}
},
"range": [
723,
756
]
}
]
},
"leadingComments": null
},
{
"type": "ImportSpecifier",
"start": 779,
"end": 791,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 33
}
},
"imported": {
"type": "Identifier",
"start": 779,
"end": 791,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 33
}
},
"name": "runPerfoTest"
},
"local": {
"type": "Identifier",
"start": 779,
"end": 791,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 33
}
},
"name": "runPerfoTest"
}
}
],
"importKind": "value",
"source": {
"type": "Literal",
"start": 798,
"end": 821,
"loc": {
"start": {
"line": 15,
"column": 40
},
"end": {
"line": 15,
"column": 63
}
},
"value": "../sketcher/unittests",
"rawValue": "../sketcher/unittests",
"raw": "'../sketcher/unittests'"
},
"leadingComments": [
{
"type": "CommentLine",
"value": "note: only for testing purposes",
"start": 723,
"end": 756,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 33
}
},
"range": [
723,
756
]
}
]
},
{
"type": "ClassDeclaration",
"start": 826,
"end": 1319,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 37,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 832,
"end": 846,
"loc": {
"start": {
"line": 17,
"column": 6
},
"end": {
"line": 17,
"column": 20
}
},
"name": "CursorPosition"
},
"superClass": {
"type": "MemberExpression",
"start": 855,
"end": 868,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 855,
"end": 860,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 34
}
},
"name": "THREE"
},
"property": {
"type": "Identifier",
"start": 861,
"end": 868,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 42
}
},
"name": "Vector3"
},
"computed": false
},
"body": {
"type": "ClassBody",
"start": 869,
"end": 1319,
"loc": {
"start": {
"line": 17,
"column": 43
},
"end": {
"line": 37,
"column": 1
}
},
"body": [
{
"type": "MethodDefinition",
"start": 876,
"end": 991,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 876,
"end": 887,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
}
},
"name": "constructor"
},
"static": false,
"kind": "constructor",
"value": {
"type": "FunctionExpression",
"start": 887,
"end": 991,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 22,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 888,
"end": 896,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 24
}
},
"name": "notifier"
}
],
"body": {
"type": "BlockStatement",
"start": 898,
"end": 991,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 22,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 909,
"end": 917,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 909,
"end": 916,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 909,
"end": 914,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 927,
"end": 949,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 927,
"end": 948,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 927,
"end": 934,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 927,
"end": 931,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 932,
"end": 934,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 15
}
},
"name": "_x"
},
"computed": false
},
"right": {
"type": "AssignmentExpression",
"start": 937,
"end": 948,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 937,
"end": 944,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 937,
"end": 941,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 942,
"end": 944,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 25
}
},
"name": "_y"
},
"computed": false
},
"right": {
"type": "Literal",
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
},
"value": 0,
"rawValue": 0,
"raw": "0"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 959,
"end": 984,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 959,
"end": 983,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 959,
"end": 972,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 959,
"end": 963,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 964,
"end": 972,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 21
}
},
"name": "notifier"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 975,
"end": 983,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 32
}
},
"name": "notifier"
}
}
}
]
}
}
},
{
"type": "MethodDefinition",
"start": 997,
"end": 1024,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 31
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 9
}
},
"name": "x"
},
"static": false,
"kind": "get",
"value": {
"type": "FunctionExpression",
"start": 1002,
"end": 1024,
"loc": {
"start": {
"line": 23,
"column": 9
},
"end": {
"line": 23,
"column": 31
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1005,
"end": 1024,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 31
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1007,
"end": 1022,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 29
}
},
"argument": {
"type": "MemberExpression",
"start": 1014,
"end": 1021,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1014,
"end": 1018,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 1019,
"end": 1021,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 23,
"column": 28
}
},
"name": "_x"
},
"computed": false
}