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

64 lines
1.2 KiB
JSON
Raw Normal View History

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