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

68 lines
1.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 55,
"end": 127,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 55,
"end": 78,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": null,
"span": {
"start": 70,
"end": 78,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 99,
"end": 127,
"ctxt": 0
},
"decl": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 114,
"end": 127,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 125,
"end": 127,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
],
"interpreter": null
}