mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
94 lines
1.9 KiB
JSON
94 lines
1.9 KiB
JSON
{
|
|
"type": "Module",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDefaultDeclaration",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"decl": {
|
|
"type": "FunctionExpression",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Foo",
|
|
"optional": false
|
|
},
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 16,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 39,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDefaultExpression",
|
|
"span": {
|
|
"start": 41,
|
|
"end": 89,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 56,
|
|
"end": 88,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": "uhoh",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"value": "another default",
|
|
"raw": "\"another default\""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|