swc/crates/swc_ecma_parser/tests/tsc/templateStringMultiline3.json
2022-02-04 17:08:38 +09:00

68 lines
1.4 KiB
JSON

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