swc/crates/swc_ecma_parser/tests/tsc/ambientExternalModuleInsideNonAmbient.json
2022-02-04 17:08:38 +09:00

83 lines
1.7 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 46,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 0,
"end": 46,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 7,
"end": 8,
"ctxt": 0
},
"value": "M",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 9,
"end": 46,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 15,
"end": 44,
"ctxt": 0
},
"declaration": {
"type": "TsModuleDeclaration",
"span": {
"start": 22,
"end": 44,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 37,
"end": 40,
"ctxt": 0
},
"value": "M",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 41,
"end": 44,
"ctxt": 0
},
"body": []
}
}
}
]
}
}
],
"interpreter": null
}