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

103 lines
2.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 89,
"end": 128,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 95,
"end": 96,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 89,
"end": 100,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ExpressionStatement",
"span": {
"start": 101,
"end": 128,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 101,
"end": 127,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 101,
"end": 115,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 101,
"end": 107,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 108,
"end": 115,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 118,
"end": 127,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 124,
"end": 125,
"ctxt": 0
},
"value": "C",
"optional": false
}
]
}
}
}
],
"interpreter": null
}