mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
85 lines
1.7 KiB
JSON
85 lines
1.7 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TemplateLiteral",
|
|
"span": {
|
|
"start": 17,
|
|
"end": 76,
|
|
"ctxt": 0
|
|
},
|
|
"expressions": [
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 31,
|
|
"end": 33,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0,
|
|
"raw": "10"
|
|
},
|
|
{
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 56,
|
|
"end": 58,
|
|
"ctxt": 0
|
|
},
|
|
"value": 20.0,
|
|
"raw": "20"
|
|
}
|
|
],
|
|
"quasis": [
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 18,
|
|
"end": 28,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": " /**head ",
|
|
"raw": " /**head "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"tail": false,
|
|
"cooked": " // still middle ",
|
|
"raw": " // still middle "
|
|
},
|
|
{
|
|
"type": "TemplateElement",
|
|
"span": {
|
|
"start": 60,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"tail": true,
|
|
"cooked": " /* still tail ",
|
|
"raw": " /* still tail "
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|