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

64 lines
1.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 31,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 0,
"end": 18,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 7,
"end": 18,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "TsExportAssignment",
"span": {
"start": 20,
"end": 31,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 29,
"end": 30,
"ctxt": 0
},
"value": "B",
"optional": false
}
}
],
"interpreter": null
}