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

119 lines
2.5 KiB
JSON

{
"type": "Script",
"span": {
"start": 80,
"end": 116,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 80,
"end": 108,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 80,
"end": 108,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 80,
"end": 96,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 80,
"end": 94,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 80,
"end": 86,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 87,
"end": 94,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"property": {
"type": "Identifier",
"span": {
"start": 95,
"end": 96,
"ctxt": 0
},
"value": "D",
"optional": false
}
},
"right": {
"type": "ClassExpression",
"identifier": null,
"span": {
"start": 99,
"end": 108,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 109,
"end": 116,
"ctxt": 0
},
"expression": {
"type": "NewExpression",
"span": {
"start": 109,
"end": 116,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "D",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}