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

68 lines
1.3 KiB
JSON

{
"type": "Module",
"span": {
"start": 52,
"end": 124,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 52,
"end": 75,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": null,
"span": {
"start": 67,
"end": 75,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 96,
"end": 124,
"ctxt": 0
},
"decl": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 111,
"end": 124,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 122,
"end": 124,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
],
"interpreter": null
}