mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 110,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 109,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0
|
|
},
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 79,
|
|
"end": 81,
|
|
"ctxt": 0
|
|
},
|
|
"value": 20.0
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 1,
|
|
"end": 5,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "head",
|
|
"raw": "head"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 42,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": "\nmiddle",
|
|
"raw": "\nmiddle"
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 103,
|
|
"end": 108,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": "\ntail",
|
|
"raw": "\ntail"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|