mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 126,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 125,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 47,
|
|
"end": 49,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0
|
|
},
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 97,
|
|
"ctxt": 0
|
|
},
|
|
"value": 20.0
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 21,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "head",
|
|
"raw": "head"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 51,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "\nmiddle",
|
|
"raw": "\nmiddle"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 119,
|
|
"end": 124,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "\ntail",
|
|
"raw": "\ntail"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|