mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
194 lines
4.6 KiB
JSON
194 lines
4.6 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 71,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 70,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 21,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 22,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 29,
|
|
"end": 32,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
}
|
|
]
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 43,
|
|
"end": 44,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 41,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "hello ",
|
|
"raw": "hello "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 45,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " world",
|
|
"raw": " world"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 55,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " ",
|
|
"raw": " "
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 61,
|
|
"end": 69,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 65,
|
|
"end": 66,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 62,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "1",
|
|
"raw": "1"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 67,
|
|
"end": 68,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "3",
|
|
"raw": "3"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|