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

652 lines
14 KiB
JSON

{
"type": "Script",
"span": {
"start": 3,
"end": 287,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 3,
"end": 287,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 3,
"end": 287,
"ctxt": 0
},
"expressions": [
{
"type": "StringLiteral",
"span": {
"start": 8,
"end": 11,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 17,
"end": 20,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 26,
"end": 29,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 35,
"end": 38,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 44,
"end": 47,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 53,
"end": 56,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 62,
"end": 65,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 71,
"end": 74,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 80,
"end": 83,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 89,
"end": 92,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 99,
"end": 102,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 109,
"end": 112,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 119,
"end": 122,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 129,
"end": 132,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 139,
"end": 142,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 149,
"end": 152,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 159,
"end": 162,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 169,
"end": 172,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 179,
"end": 182,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 189,
"end": 192,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 199,
"end": 202,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 211,
"end": 214,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 223,
"end": 226,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 235,
"end": 238,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 244,
"end": 247,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 253,
"end": 256,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 262,
"end": 265,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 271,
"end": 274,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 280,
"end": 283,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 4,
"end": 5,
"ctxt": 0
},
"tail": false,
"cooked": "0",
"raw": "0"
},
{
"type": "TemplateElement",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"tail": false,
"cooked": "1",
"raw": "1"
},
{
"type": "TemplateElement",
"span": {
"start": 22,
"end": 23,
"ctxt": 0
},
"tail": false,
"cooked": "2",
"raw": "2"
},
{
"type": "TemplateElement",
"span": {
"start": 31,
"end": 32,
"ctxt": 0
},
"tail": false,
"cooked": "3",
"raw": "3"
},
{
"type": "TemplateElement",
"span": {
"start": 40,
"end": 41,
"ctxt": 0
},
"tail": false,
"cooked": "4",
"raw": "4"
},
{
"type": "TemplateElement",
"span": {
"start": 49,
"end": 50,
"ctxt": 0
},
"tail": false,
"cooked": "5",
"raw": "5"
},
{
"type": "TemplateElement",
"span": {
"start": 58,
"end": 59,
"ctxt": 0
},
"tail": false,
"cooked": "6",
"raw": "6"
},
{
"type": "TemplateElement",
"span": {
"start": 67,
"end": 68,
"ctxt": 0
},
"tail": false,
"cooked": "7",
"raw": "7"
},
{
"type": "TemplateElement",
"span": {
"start": 76,
"end": 77,
"ctxt": 0
},
"tail": false,
"cooked": "8",
"raw": "8"
},
{
"type": "TemplateElement",
"span": {
"start": 85,
"end": 86,
"ctxt": 0
},
"tail": false,
"cooked": "9",
"raw": "9"
},
{
"type": "TemplateElement",
"span": {
"start": 94,
"end": 96,
"ctxt": 0
},
"tail": false,
"cooked": "10",
"raw": "10"
},
{
"type": "TemplateElement",
"span": {
"start": 104,
"end": 106,
"ctxt": 0
},
"tail": false,
"cooked": "11",
"raw": "11"
},
{
"type": "TemplateElement",
"span": {
"start": 114,
"end": 116,
"ctxt": 0
},
"tail": false,
"cooked": "12",
"raw": "12"
},
{
"type": "TemplateElement",
"span": {
"start": 124,
"end": 126,
"ctxt": 0
},
"tail": false,
"cooked": "13",
"raw": "13"
},
{
"type": "TemplateElement",
"span": {
"start": 134,
"end": 136,
"ctxt": 0
},
"tail": false,
"cooked": "14",
"raw": "14"
},
{
"type": "TemplateElement",
"span": {
"start": 144,
"end": 146,
"ctxt": 0
},
"tail": false,
"cooked": "15",
"raw": "15"
},
{
"type": "TemplateElement",
"span": {
"start": 154,
"end": 156,
"ctxt": 0
},
"tail": false,
"cooked": "16",
"raw": "16"
},
{
"type": "TemplateElement",
"span": {
"start": 164,
"end": 166,
"ctxt": 0
},
"tail": false,
"cooked": "17",
"raw": "17"
},
{
"type": "TemplateElement",
"span": {
"start": 174,
"end": 176,
"ctxt": 0
},
"tail": false,
"cooked": "18",
"raw": "18"
},
{
"type": "TemplateElement",
"span": {
"start": 184,
"end": 186,
"ctxt": 0
},
"tail": false,
"cooked": "19",
"raw": "19"
},
{
"type": "TemplateElement",
"span": {
"start": 194,
"end": 196,
"ctxt": 0
},
"tail": false,
"cooked": "20",
"raw": "20"
},
{
"type": "TemplateElement",
"span": {
"start": 204,
"end": 208,
"ctxt": 0
},
"tail": false,
"cooked": "2028",
"raw": "2028"
},
{
"type": "TemplateElement",
"span": {
"start": 216,
"end": 220,
"ctxt": 0
},
"tail": false,
"cooked": "2029",
"raw": "2029"
},
{
"type": "TemplateElement",
"span": {
"start": 228,
"end": 232,
"ctxt": 0
},
"tail": false,
"cooked": "0085",
"raw": "0085"
},
{
"type": "TemplateElement",
"span": {
"start": 240,
"end": 241,
"ctxt": 0
},
"tail": false,
"cooked": "t",
"raw": "t"
},
{
"type": "TemplateElement",
"span": {
"start": 249,
"end": 250,
"ctxt": 0
},
"tail": false,
"cooked": "v",
"raw": "v"
},
{
"type": "TemplateElement",
"span": {
"start": 258,
"end": 259,
"ctxt": 0
},
"tail": false,
"cooked": "f",
"raw": "f"
},
{
"type": "TemplateElement",
"span": {
"start": 267,
"end": 268,
"ctxt": 0
},
"tail": false,
"cooked": "b",
"raw": "b"
},
{
"type": "TemplateElement",
"span": {
"start": 276,
"end": 277,
"ctxt": 0
},
"tail": false,
"cooked": "r",
"raw": "r"
},
{
"type": "TemplateElement",
"span": {
"start": 285,
"end": 286,
"ctxt": 0
},
"tail": true,
"cooked": "n",
"raw": "n"
}
]
}
}
],
"interpreter": null
}