mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
98 lines
2.0 KiB
JSON
98 lines
2.0 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDefaultExpression",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"value": "uhoh",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"value": "another default",
|
|
"hasEscape": false,
|
|
"kind": {
|
|
"type": "normal",
|
|
"containsQuote": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"span": {
|
|
"start": 50,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"decl": {
|
|
"type": "FunctionExpression",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 74,
|
|
"end": 77,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Foo",
|
|
"optional": false
|
|
},
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 65,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 80,
|
|
"end": 83,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|