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

68 lines
1.4 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 41,
"end": 46,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 41,
"end": 46,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 41,
"end": 46,
"ctxt": 0
},
"expressions": [],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"tail": true,
"cooked": {
"type": "StringLiteral",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"value": "\n",
"hasEscape": true,
"kind": {
"type": "normal",
"containsQuote": false
}
},
"raw": {
"type": "StringLiteral",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"value": "\n\\\n",
"hasEscape": true,
"kind": {
"type": "normal",
"containsQuote": false
}
}
}
]
}
}
],
"interpreter": null
}