mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 29,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 13,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 7,
|
|
"end": 8,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 5,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 9,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"value": "indexOf",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 23,
|
|
"end": 26,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|