swc/crates/swc_ecma_parser/tests/tsc/templateStringInDeleteExpressionES6.json

73 lines
1.5 KiB
JSON

{
"type": "Script",
"span": {
"start": 17,
"end": 37,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 17,
"end": 37,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 17,
"end": 36,
"ctxt": 0
},
"operator": "delete",
"argument": {
"type": "TemplateLiteral",
"span": {
"start": 24,
"end": 36,
"ctxt": 0
},
"expressions": [
{
"type": "NumericLiteral",
"span": {
"start": 30,
"end": 31,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 25,
"end": 28,
"ctxt": 0
},
"tail": false,
"cooked": "abc",
"raw": "abc"
},
{
"type": "TemplateElement",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"tail": true,
"cooked": "abc",
"raw": "abc"
}
]
}
}
}
],
"interpreter": null
}