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

131 lines
2.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 73,
"end": 111,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 73,
"end": 87,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 73,
"end": 86,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 73,
"end": 84,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 73,
"end": 80,
"ctxt": 0
},
"value": "exports",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 81,
"end": 84,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 88,
"end": 111,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 88,
"end": 110,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 88,
"end": 99,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 88,
"end": 95,
"ctxt": 0
},
"value": "exports",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 96,
"end": 99,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 102,
"end": 110,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 102,
"end": 106,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 107,
"end": 110,
"ctxt": 0
},
"value": "min",
"optional": false
}
}
}
}
],
"interpreter": null
}