swc/crates/swc_ecma_parser/tests/tsc/templateStringInDeleteExpression.json
2022-03-22 07:54:08 +00:00

72 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 20,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 20,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 0,
"end": 19,
"ctxt": 0
},
"operator": "delete",
"argument": {
"type": "TemplateLiteral",
"span": {
"start": 7,
"end": 19,
"ctxt": 0
},
"expressions": [
{
"type": "NumericLiteral",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"value": 0.0
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 8,
"end": 11,
"ctxt": 0
},
"tail": false,
"cooked": "abc",
"raw": "abc"
},
{
"type": "TemplateElement",
"span": {
"start": 15,
"end": 18,
"ctxt": 0
},
"tail": true,
"cooked": "abc",
"raw": "abc"
}
]
}
}
}
],
"interpreter": null
}