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

119 lines
2.5 KiB
JSON

{
"type": "Script",
"span": {
"start": 79,
"end": 115,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 79,
"end": 107,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 79,
"end": 107,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 79,
"end": 95,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 79,
"end": 93,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 79,
"end": 85,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 86,
"end": 93,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 94,
"end": 95,
"ctxt": 0
},
"value": "D",
"optional": false
}
},
"right": {
"type": "ClassExpression",
"identifier": null,
"span": {
"start": 98,
"end": 107,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 108,
"end": 115,
"ctxt": 0
},
"expression": {
"type": "NewExpression",
"span": {
"start": 108,
"end": 115,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 112,
"end": 113,
"ctxt": 0
},
"value": "D",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}