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

68 lines
1.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 51,
"end": 123,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 51,
"end": 74,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": null,
"span": {
"start": 66,
"end": 74,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 95,
"end": 123,
"ctxt": 0
},
"decl": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 110,
"end": 123,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 121,
"end": 123,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
],
"interpreter": null
}