swc/crates/swc_ecma_parser/tests/tsc/privateNameFieldAssignment.json

2140 lines
68 KiB
JSON

{
"type": "Script",
"span": {
"start": 20,
"end": 965,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 26,
"end": 27,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 20,
"end": 965,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "PrivateProperty",
"span": {
"start": 34,
"end": 45,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 34,
"end": 40,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 35,
"end": 40,
"ctxt": 0
},
"value": "field",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 43,
"end": 44,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 50,
"end": 906,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 50,
"end": 61,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 64,
"end": 906,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 74,
"end": 90,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 74,
"end": 89,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 74,
"end": 85,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 74,
"end": 78,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 79,
"end": 85,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 80,
"end": 85,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 88,
"end": 89,
"ctxt": 0
},
"value": 1.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 99,
"end": 116,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 99,
"end": 115,
"ctxt": 0
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"span": {
"start": 99,
"end": 110,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 99,
"end": 103,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 104,
"end": 110,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 105,
"end": 110,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"value": 2.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 125,
"end": 142,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 125,
"end": 141,
"ctxt": 0
},
"operator": "-=",
"left": {
"type": "MemberExpression",
"span": {
"start": 125,
"end": 136,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 125,
"end": 129,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 130,
"end": 136,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 131,
"end": 136,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 140,
"end": 141,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 151,
"end": 168,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 151,
"end": 167,
"ctxt": 0
},
"operator": "/=",
"left": {
"type": "MemberExpression",
"span": {
"start": 151,
"end": 162,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 151,
"end": 155,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 156,
"end": 162,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 157,
"end": 162,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 166,
"end": 167,
"ctxt": 0
},
"value": 4.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 177,
"end": 194,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 177,
"end": 193,
"ctxt": 0
},
"operator": "*=",
"left": {
"type": "MemberExpression",
"span": {
"start": 177,
"end": 188,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 177,
"end": 181,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 182,
"end": 188,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 183,
"end": 188,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 192,
"end": 193,
"ctxt": 0
},
"value": 5.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 203,
"end": 221,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 203,
"end": 220,
"ctxt": 0
},
"operator": "**=",
"left": {
"type": "MemberExpression",
"span": {
"start": 203,
"end": 214,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 203,
"end": 207,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 208,
"end": 214,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 209,
"end": 214,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 219,
"end": 220,
"ctxt": 0
},
"value": 6.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 230,
"end": 247,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 230,
"end": 246,
"ctxt": 0
},
"operator": "%=",
"left": {
"type": "MemberExpression",
"span": {
"start": 230,
"end": 241,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 230,
"end": 234,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 235,
"end": 241,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 236,
"end": 241,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 245,
"end": 246,
"ctxt": 0
},
"value": 7.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 256,
"end": 274,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 256,
"end": 273,
"ctxt": 0
},
"operator": "<<=",
"left": {
"type": "MemberExpression",
"span": {
"start": 256,
"end": 267,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 256,
"end": 260,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 261,
"end": 267,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 262,
"end": 267,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"value": 8.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 283,
"end": 301,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 283,
"end": 300,
"ctxt": 0
},
"operator": ">>=",
"left": {
"type": "MemberExpression",
"span": {
"start": 283,
"end": 294,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 283,
"end": 287,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 288,
"end": 294,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 289,
"end": 294,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 299,
"end": 300,
"ctxt": 0
},
"value": 9.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 310,
"end": 330,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 310,
"end": 329,
"ctxt": 0
},
"operator": ">>>=",
"left": {
"type": "MemberExpression",
"span": {
"start": 310,
"end": 321,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 310,
"end": 314,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 315,
"end": 321,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 316,
"end": 321,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 327,
"end": 329,
"ctxt": 0
},
"value": 10.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 339,
"end": 357,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 339,
"end": 356,
"ctxt": 0
},
"operator": "&=",
"left": {
"type": "MemberExpression",
"span": {
"start": 339,
"end": 350,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 339,
"end": 343,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 344,
"end": 350,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 345,
"end": 350,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 354,
"end": 356,
"ctxt": 0
},
"value": 11.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 366,
"end": 384,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 366,
"end": 383,
"ctxt": 0
},
"operator": "|=",
"left": {
"type": "MemberExpression",
"span": {
"start": 366,
"end": 377,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 366,
"end": 370,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 371,
"end": 377,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 372,
"end": 377,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 381,
"end": 383,
"ctxt": 0
},
"value": 12.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 393,
"end": 411,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 393,
"end": 410,
"ctxt": 0
},
"operator": "^=",
"left": {
"type": "MemberExpression",
"span": {
"start": 393,
"end": 404,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 393,
"end": 397,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 398,
"end": 404,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 399,
"end": 404,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 408,
"end": 410,
"ctxt": 0
},
"value": 13.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 420,
"end": 447,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 420,
"end": 446,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 420,
"end": 442,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 420,
"end": 435,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 420,
"end": 433,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 420,
"end": 421,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 422,
"end": 433,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 436,
"end": 442,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 437,
"end": 442,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 445,
"end": 446,
"ctxt": 0
},
"value": 1.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 456,
"end": 484,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 456,
"end": 483,
"ctxt": 0
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"span": {
"start": 456,
"end": 478,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 456,
"end": 471,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 456,
"end": 469,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 456,
"end": 457,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 458,
"end": 469,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 472,
"end": 478,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 473,
"end": 478,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 482,
"end": 483,
"ctxt": 0
},
"value": 2.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 493,
"end": 521,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 493,
"end": 520,
"ctxt": 0
},
"operator": "-=",
"left": {
"type": "MemberExpression",
"span": {
"start": 493,
"end": 515,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 493,
"end": 508,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 493,
"end": 506,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 493,
"end": 494,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 495,
"end": 506,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 509,
"end": 515,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 510,
"end": 515,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 519,
"end": 520,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 530,
"end": 558,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 530,
"end": 557,
"ctxt": 0
},
"operator": "/=",
"left": {
"type": "MemberExpression",
"span": {
"start": 530,
"end": 552,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 530,
"end": 545,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 530,
"end": 543,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 530,
"end": 531,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 532,
"end": 543,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 546,
"end": 552,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 547,
"end": 552,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 556,
"end": 557,
"ctxt": 0
},
"value": 4.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 567,
"end": 595,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 567,
"end": 594,
"ctxt": 0
},
"operator": "*=",
"left": {
"type": "MemberExpression",
"span": {
"start": 567,
"end": 589,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 567,
"end": 582,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 567,
"end": 580,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 569,
"end": 580,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 583,
"end": 589,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 584,
"end": 589,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 593,
"end": 594,
"ctxt": 0
},
"value": 5.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 604,
"end": 633,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 604,
"end": 632,
"ctxt": 0
},
"operator": "**=",
"left": {
"type": "MemberExpression",
"span": {
"start": 604,
"end": 626,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 604,
"end": 619,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 604,
"end": 617,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 604,
"end": 605,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 606,
"end": 617,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 620,
"end": 626,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 621,
"end": 626,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 631,
"end": 632,
"ctxt": 0
},
"value": 6.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 642,
"end": 670,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 642,
"end": 669,
"ctxt": 0
},
"operator": "%=",
"left": {
"type": "MemberExpression",
"span": {
"start": 642,
"end": 664,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 642,
"end": 657,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 642,
"end": 655,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 642,
"end": 643,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 644,
"end": 655,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 658,
"end": 664,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 659,
"end": 664,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 668,
"end": 669,
"ctxt": 0
},
"value": 7.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 679,
"end": 708,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 679,
"end": 707,
"ctxt": 0
},
"operator": "<<=",
"left": {
"type": "MemberExpression",
"span": {
"start": 679,
"end": 701,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 679,
"end": 694,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 679,
"end": 692,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 679,
"end": 680,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 681,
"end": 692,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 695,
"end": 701,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 696,
"end": 701,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 706,
"end": 707,
"ctxt": 0
},
"value": 8.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 717,
"end": 746,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 717,
"end": 745,
"ctxt": 0
},
"operator": ">>=",
"left": {
"type": "MemberExpression",
"span": {
"start": 717,
"end": 739,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 717,
"end": 732,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 717,
"end": 730,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 717,
"end": 718,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 719,
"end": 730,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 733,
"end": 739,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 734,
"end": 739,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 744,
"end": 745,
"ctxt": 0
},
"value": 9.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 755,
"end": 786,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 755,
"end": 785,
"ctxt": 0
},
"operator": ">>>=",
"left": {
"type": "MemberExpression",
"span": {
"start": 755,
"end": 777,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 755,
"end": 770,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 755,
"end": 768,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 755,
"end": 756,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 757,
"end": 768,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 771,
"end": 777,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 772,
"end": 777,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 783,
"end": 785,
"ctxt": 0
},
"value": 10.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 795,
"end": 824,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 795,
"end": 823,
"ctxt": 0
},
"operator": "&=",
"left": {
"type": "MemberExpression",
"span": {
"start": 795,
"end": 817,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 795,
"end": 810,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 795,
"end": 808,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 795,
"end": 796,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 797,
"end": 808,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 811,
"end": 817,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 812,
"end": 817,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 821,
"end": 823,
"ctxt": 0
},
"value": 11.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 833,
"end": 862,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 833,
"end": 861,
"ctxt": 0
},
"operator": "|=",
"left": {
"type": "MemberExpression",
"span": {
"start": 833,
"end": 855,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 833,
"end": 848,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 833,
"end": 846,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 833,
"end": 834,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 835,
"end": 846,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 849,
"end": 855,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 850,
"end": 855,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 859,
"end": 861,
"ctxt": 0
},
"value": 12.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 871,
"end": 900,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 871,
"end": 899,
"ctxt": 0
},
"operator": "^=",
"left": {
"type": "MemberExpression",
"span": {
"start": 871,
"end": 893,
"ctxt": 0
},
"object": {
"type": "CallExpression",
"span": {
"start": 871,
"end": 886,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 871,
"end": 884,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 871,
"end": 872,
"ctxt": 0
},
"value": "A",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 873,
"end": 884,
"ctxt": 0
},
"value": "getInstance",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "PrivateName",
"span": {
"start": 887,
"end": 893,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 888,
"end": 893,
"ctxt": 0
},
"value": "field",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 897,
"end": 899,
"ctxt": 0
},
"value": 13.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 911,
"end": 963,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 918,
"end": 929,
"ctxt": 0
},
"value": "getInstance",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 911,
"end": 963,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 932,
"end": 963,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 942,
"end": 957,
"ctxt": 0
},
"argument": {
"type": "NewExpression",
"span": {
"start": 949,
"end": 956,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 953,
"end": 954,
"ctxt": 0
},
"value": "A",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}