mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
194 lines
4.6 KiB
JSON
194 lines
4.6 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 55,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 54,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 5,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 11,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 6,
|
|
"end": 9,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 13,
|
|
"end": 16,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "abc",
|
|
"raw": "abc"
|
|
}
|
|
]
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 36,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 27,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "hello ",
|
|
"raw": "hello "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 29,
|
|
"end": 35,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " world",
|
|
"raw": " world"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 43,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " ",
|
|
"raw": " "
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 45,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 50,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 47,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "1",
|
|
"raw": "1"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "3",
|
|
"raw": "3"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|