swc/crates/swc_ecma_parser/tests/tsc/multipleExportDefault4.json
2022-03-22 07:54:08 +00:00

86 lines
1.7 KiB
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 76,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 0,
"end": 26,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"value": "C",
"optional": false
},
"span": {
"start": 15,
"end": 26,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ExportDefaultExpression",
"span": {
"start": 28,
"end": 76,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 43,
"end": 75,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 49,
"end": 53,
"ctxt": 0
},
"value": "uhoh",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 55,
"end": 72,
"ctxt": 0
},
"value": "another default",
"raw": "\"another default\""
}
}
]
}
}
],
"interpreter": null
}