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

60 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 29,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 1,
"end": 29,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 8,
"end": 9,
"ctxt": 0
},
"value": "M",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 10,
"end": 29,
"ctxt": 0
},
"body": [
{
"type": "TsExportAssignment",
"span": {
"start": 16,
"end": 27,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 25,
"end": 26,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
]
}
}
],
"interpreter": null
}