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

45 lines
760 B
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 15,
"end": 20,
"ctxt": 0
},
"value": "Foo",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 21,
"end": 24,
"ctxt": 0
},
"body": []
}
}
],
"interpreter": null
}