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

131 lines
2.7 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 72,
"end": 110,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 72,
"end": 86,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 72,
"end": 85,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 72,
"end": 83,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 72,
"end": 79,
"ctxt": 0
},
"value": "exports",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 80,
"end": 83,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 87,
"end": 110,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 87,
"end": 109,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 87,
"end": 98,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 87,
"end": 94,
"ctxt": 0
},
"value": "exports",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 95,
"end": 98,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 101,
"end": 109,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 101,
"end": 105,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 106,
"end": 109,
"ctxt": 0
},
"value": "min",
"optional": false
}
}
}
}
],
"interpreter": null
}