swc/crates/swc_ecma_parser/tests/tsc/parserModuleDeclaration4.d.json

71 lines
1.4 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 1,
"end": 39,
"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": 39,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 14,
"end": 37,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 29,
"end": 31,
"ctxt": 0
},
"value": "M1",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 32,
"end": 37,
"ctxt": 0
},
"body": []
}
}
]
}
}
],
"interpreter": null
}