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

104 lines
2.0 KiB
JSON

{
"type": "Module",
"span": {
"start": 137,
"end": 236,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 143,
"end": 144,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 137,
"end": 147,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ExportDeclaration",
"span": {
"start": 196,
"end": 217,
"ctxt": 0
},
"declaration": {
"type": "VariableDeclaration",
"span": {
"start": 203,
"end": 217,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 207,
"end": 216,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 207,
"end": 209,
"ctxt": 0
},
"value": "el",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NullLiteral",
"span": {
"start": 212,
"end": 216,
"ctxt": 0
}
},
"definite": false
}
]
}
},
{
"type": "ExportDefaultExpression",
"span": {
"start": 219,
"end": 236,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 234,
"end": 235,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
],
"interpreter": null
}