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

64 lines
1.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 31,
"ctxt": 0
},
"body": [
{
"type": "TsExportAssignment",
"span": {
"start": 0,
"end": 11,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "B",
"optional": false
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 13,
"end": 31,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 26,
"end": 27,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 20,
"end": 31,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
],
"interpreter": null
}