mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
85 lines
1.7 KiB
JSON
85 lines
1.7 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 60,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 15,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0,
|
|
"raw": "10"
|
|
},
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"value": 20.0,
|
|
"raw": "20"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 2,
|
|
"end": 12,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": " /**head ",
|
|
"raw": " /**head "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 37,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": " // still middle ",
|
|
"raw": " // still middle "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 44,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " /* still tail ",
|
|
"raw": " /* still tail "
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|