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

86 lines
1.7 KiB
JSON
Raw Normal View History

{
"type": "Module",
"span": {
"start": 1,
"end": 77,
"ctxt": 0
},
"body": [
{
"type": "ExportDefaultDeclaration",
"span": {
"start": 1,
"end": 27,
"ctxt": 0
},
"decl": {
"type": "ClassExpression",
"identifier": {
"type": "Identifier",
"span": {
"start": 22,
"end": 23,
"ctxt": 0
},
"value": "C",
"optional": false
},
"span": {
"start": 16,
"end": 27,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
},
{
"type": "ExportDefaultExpression",
"span": {
"start": 29,
"end": 77,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 44,
"end": 76,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 50,
"end": 54,
"ctxt": 0
},
"value": "uhoh",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 56,
"end": 73,
"ctxt": 0
},
"value": "another default",
"raw": "\"another default\""
}
}
]
}
}
],
"interpreter": null
}