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

103 lines
2.1 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 90,
"end": 129,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 96,
"end": 97,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 90,
"end": 101,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ExpressionStatement",
"span": {
"start": 102,
"end": 129,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 102,
"end": 128,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 102,
"end": 116,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 102,
"end": 108,
"ctxt": 0
},
"value": "module",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 109,
"end": 116,
"ctxt": 0
},
"value": "exports",
"optional": false
}
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 119,
"end": 128,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "C",
"optional": false
}
]
}
}
}
],
"interpreter": null
}