mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
119 lines
2.7 KiB
JSON
119 lines
2.7 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 169,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 169,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 168,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 160,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 155,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Import",
|
|
"span": {
|
|
"start": 140,
|
|
"end": 146,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 147,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"value": "./foo",
|
|
"raw": "\"./foo\""
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 156,
|
|
"end": 160,
|
|
"ctxt": 0
|
|
},
|
|
"value": "then",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ArrowFunctionExpression",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 161,
|
|
"end": 162,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 166,
|
|
"end": 167,
|
|
"ctxt": 0
|
|
},
|
|
"value": "x",
|
|
"optional": false
|
|
},
|
|
"async": false,
|
|
"generator": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|