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

64 lines
1.2 KiB
JSON

{
"type": "Module",
"span": {
"start": 1,
"end": 32,
"ctxt": 0
},
"body": [
{
"type": "TsExportAssignment",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 10,
"end": 11,
"ctxt": 0
},
"value": "B",
"optional": false
}
},
{
"type": "ExportDeclaration",
"span": {
"start": 14,
"end": 32,
"ctxt": 0
},
"declaration": {
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 27,
"end": 28,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 21,
"end": 32,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
}
],
"interpreter": null
}