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

2491 lines
63 KiB
JSON

{
"type": "Script",
"span": {
"start": 100,
"end": 1646,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 100,
"end": 171,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 100,
"end": 170,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 100,
"end": 121,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 100,
"end": 106,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 107,
"end": 121,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 122,
"end": 136,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 122,
"end": 128,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 129,
"end": 136,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 138,
"end": 141,
"ctxt": 0
},
"value": "a",
"raw": "\"a\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 143,
"end": 169,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 145,
"end": 150,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "FunctionExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 161,
"end": 162,
"ctxt": 0
},
"value": "a",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 152,
"end": 167,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 165,
"end": 167,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 173,
"end": 244,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 173,
"end": 243,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 173,
"end": 194,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 173,
"end": 179,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 180,
"end": 194,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 195,
"end": 209,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 195,
"end": 201,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 202,
"end": 209,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 211,
"end": 214,
"ctxt": 0
},
"value": "b",
"raw": "\"b\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 216,
"end": 242,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 218,
"end": 223,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "FunctionExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 234,
"end": 235,
"ctxt": 0
},
"value": "b",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 225,
"end": 240,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 238,
"end": 240,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 245,
"end": 310,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 245,
"end": 309,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 245,
"end": 266,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 245,
"end": 251,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 252,
"end": 266,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 267,
"end": 283,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 267,
"end": 281,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 267,
"end": 273,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 274,
"end": 281,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 282,
"end": 283,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 285,
"end": 290,
"ctxt": 0
},
"value": "cat",
"raw": "\"cat\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 292,
"end": 308,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 294,
"end": 299,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 301,
"end": 306,
"ctxt": 0
},
"value": "cat",
"raw": "\"cat\""
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 392,
"end": 393,
"ctxt": 0
},
"value": "d",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 394,
"end": 395,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 394,
"end": 395,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 397,
"end": 398,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 397,
"end": 398,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 383,
"end": 434,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 400,
"end": 434,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 402,
"end": 432,
"ctxt": 0
},
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 425,
"end": 431,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 426,
"end": 430,
"ctxt": 0
}
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 435,
"end": 492,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 435,
"end": 491,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 435,
"end": 456,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 442,
"end": 456,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 457,
"end": 471,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 457,
"end": 463,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 464,
"end": 471,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 473,
"end": 476,
"ctxt": 0
},
"value": "d",
"raw": "\"d\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 478,
"end": 490,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 480,
"end": 485,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 487,
"end": 488,
"ctxt": 0
},
"value": "d",
"optional": false
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 581,
"end": 582,
"ctxt": 0
},
"value": "e",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 583,
"end": 584,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 583,
"end": 584,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 586,
"end": 587,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 586,
"end": 587,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 572,
"end": 623,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 589,
"end": 623,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 591,
"end": 621,
"ctxt": 0
},
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 614,
"end": 620,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 615,
"end": 619,
"ctxt": 0
}
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 624,
"end": 681,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 624,
"end": 680,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 624,
"end": 645,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 624,
"end": 630,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 631,
"end": 645,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 646,
"end": 660,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 646,
"end": 652,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 653,
"end": 660,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 662,
"end": 665,
"ctxt": 0
},
"value": "e",
"raw": "\"e\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 667,
"end": 679,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 669,
"end": 674,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 676,
"end": 677,
"ctxt": 0
},
"value": "e",
"optional": false
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 731,
"end": 732,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 733,
"end": 734,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 733,
"end": 734,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 722,
"end": 753,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 736,
"end": 753,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 742,
"end": 751,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 749,
"end": 750,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 754,
"end": 811,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 754,
"end": 810,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 754,
"end": 775,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 754,
"end": 760,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 761,
"end": 775,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 776,
"end": 790,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 776,
"end": 782,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 783,
"end": 790,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 792,
"end": 795,
"ctxt": 0
},
"value": "f",
"raw": "\"f\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 797,
"end": 809,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 799,
"end": 804,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 806,
"end": 807,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 812,
"end": 889,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 812,
"end": 888,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 812,
"end": 833,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 812,
"end": 818,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 819,
"end": 833,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 834,
"end": 850,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 834,
"end": 848,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 834,
"end": 840,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 841,
"end": 848,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 849,
"end": 850,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 852,
"end": 858,
"ctxt": 0
},
"value": "self",
"raw": "\"self\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 860,
"end": 887,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 862,
"end": 867,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 869,
"end": 885,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 869,
"end": 883,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 869,
"end": 875,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 876,
"end": 883,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 884,
"end": 885,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 977,
"end": 978,
"ctxt": 0
},
"value": "g",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 979,
"end": 980,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 979,
"end": 980,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 982,
"end": 983,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 982,
"end": 983,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 968,
"end": 1013,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 985,
"end": 1013,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 991,
"end": 1011,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 998,
"end": 1010,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "MemberExpression",
"span": {
"start": 998,
"end": 1001,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 998,
"end": 999,
"ctxt": 0
},
"value": "a",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1000,
"end": 1001,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "CallExpression",
"span": {
"start": 1005,
"end": 1010,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1005,
"end": 1008,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1005,
"end": 1006,
"ctxt": 0
},
"value": "b",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1007,
"end": 1008,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1014,
"end": 1071,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1014,
"end": 1070,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1014,
"end": 1035,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1014,
"end": 1020,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1021,
"end": 1035,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1036,
"end": 1050,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1036,
"end": 1042,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1043,
"end": 1050,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1052,
"end": 1055,
"ctxt": 0
},
"value": "g",
"raw": "\"g\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1057,
"end": 1069,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1059,
"end": 1064,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1066,
"end": 1067,
"ctxt": 0
},
"value": "g",
"optional": false
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1160,
"end": 1162,
"ctxt": 0
},
"value": "hh",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1163,
"end": 1164,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1163,
"end": 1164,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 1166,
"end": 1167,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1166,
"end": 1167,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1151,
"end": 1197,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1169,
"end": 1197,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1175,
"end": 1195,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 1182,
"end": 1194,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "MemberExpression",
"span": {
"start": 1182,
"end": 1185,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1182,
"end": 1183,
"ctxt": 0
},
"value": "a",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1184,
"end": 1185,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "CallExpression",
"span": {
"start": 1189,
"end": 1194,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1189,
"end": 1192,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1189,
"end": 1190,
"ctxt": 0
},
"value": "b",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1191,
"end": 1192,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1198,
"end": 1256,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1198,
"end": 1255,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1198,
"end": 1219,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1198,
"end": 1204,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1205,
"end": 1219,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1220,
"end": 1234,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1220,
"end": 1226,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1227,
"end": 1234,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1236,
"end": 1239,
"ctxt": 0
},
"value": "h",
"raw": "\"h\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1241,
"end": 1254,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1243,
"end": 1248,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1250,
"end": 1252,
"ctxt": 0
},
"value": "hh",
"optional": false
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1258,
"end": 1328,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1258,
"end": 1327,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1258,
"end": 1279,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1258,
"end": 1264,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1265,
"end": 1279,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1280,
"end": 1294,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1280,
"end": 1286,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1287,
"end": 1294,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1296,
"end": 1299,
"ctxt": 0
},
"value": "i",
"raw": "\"i\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1301,
"end": 1326,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1303,
"end": 1308,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "FunctionExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 1319,
"end": 1320,
"ctxt": 0
},
"value": "i",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 1310,
"end": 1324,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1322,
"end": 1324,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1329,
"end": 1402,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1329,
"end": 1401,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1329,
"end": 1350,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1329,
"end": 1335,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1336,
"end": 1350,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1351,
"end": 1365,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1351,
"end": 1357,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1358,
"end": 1365,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1367,
"end": 1371,
"ctxt": 0
},
"value": "ii",
"raw": "\"ii\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1373,
"end": 1400,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1375,
"end": 1380,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 1382,
"end": 1398,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 1382,
"end": 1396,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1382,
"end": 1388,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1389,
"end": 1396,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1397,
"end": 1398,
"ctxt": 0
},
"value": "i",
"optional": false
}
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1501,
"end": 1574,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1501,
"end": 1573,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1501,
"end": 1522,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1501,
"end": 1507,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1508,
"end": 1522,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1523,
"end": 1537,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1523,
"end": 1529,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1530,
"end": 1537,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1539,
"end": 1543,
"ctxt": 0
},
"value": "jj",
"raw": "\"jj\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1545,
"end": 1572,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1547,
"end": 1552,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 1554,
"end": 1570,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 1554,
"end": 1568,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1554,
"end": 1560,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1561,
"end": 1568,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1569,
"end": 1570,
"ctxt": 0
},
"value": "j",
"optional": false
}
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1575,
"end": 1646,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1575,
"end": 1645,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1575,
"end": 1596,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1575,
"end": 1581,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1582,
"end": 1596,
"ctxt": 0
},
"value": "defineProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1597,
"end": 1611,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1597,
"end": 1603,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1604,
"end": 1611,
"ctxt": 0
},
"value": "exports",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1613,
"end": 1616,
"ctxt": 0
},
"value": "j",
"raw": "\"j\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1618,
"end": 1644,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1620,
"end": 1625,
"ctxt": 0
},
"value": "value",
"optional": false
},
"value": {
"type": "FunctionExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 1636,
"end": 1637,
"ctxt": 0
},
"value": "j",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 1627,
"end": 1642,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1640,
"end": 1642,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
]
}
}
],
"typeArguments": null
}
}
],
"interpreter": null
}