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

652 lines
14 KiB
JSON

{
"type": "Script",
"span": {
"start": 18,
"end": 302,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 18,
"end": 302,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 18,
"end": 302,
"ctxt": 0
},
"expressions": [
{
"type": "StringLiteral",
"span": {
"start": 23,
"end": 26,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 41,
"end": 44,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 50,
"end": 53,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 59,
"end": 62,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 68,
"end": 71,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 77,
"end": 80,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 86,
"end": 89,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 95,
"end": 98,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 104,
"end": 107,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 114,
"end": 117,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 124,
"end": 127,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 134,
"end": 137,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 144,
"end": 147,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 154,
"end": 157,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 164,
"end": 167,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 174,
"end": 177,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 184,
"end": 187,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 194,
"end": 197,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 204,
"end": 207,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 214,
"end": 217,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 226,
"end": 229,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 238,
"end": 241,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 250,
"end": 253,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 259,
"end": 262,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 268,
"end": 271,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 277,
"end": 280,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 286,
"end": 289,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 295,
"end": 298,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 19,
"end": 20,
"ctxt": 0
},
"tail": false,
"cooked": "0",
"raw": "0"
},
{
"type": "TemplateElement",
"span": {
"start": 28,
"end": 29,
"ctxt": 0
},
"tail": false,
"cooked": "1",
"raw": "1"
},
{
"type": "TemplateElement",
"span": {
"start": 37,
"end": 38,
"ctxt": 0
},
"tail": false,
"cooked": "2",
"raw": "2"
},
{
"type": "TemplateElement",
"span": {
"start": 46,
"end": 47,
"ctxt": 0
},
"tail": false,
"cooked": "3",
"raw": "3"
},
{
"type": "TemplateElement",
"span": {
"start": 55,
"end": 56,
"ctxt": 0
},
"tail": false,
"cooked": "4",
"raw": "4"
},
{
"type": "TemplateElement",
"span": {
"start": 64,
"end": 65,
"ctxt": 0
},
"tail": false,
"cooked": "5",
"raw": "5"
},
{
"type": "TemplateElement",
"span": {
"start": 73,
"end": 74,
"ctxt": 0
},
"tail": false,
"cooked": "6",
"raw": "6"
},
{
"type": "TemplateElement",
"span": {
"start": 82,
"end": 83,
"ctxt": 0
},
"tail": false,
"cooked": "7",
"raw": "7"
},
{
"type": "TemplateElement",
"span": {
"start": 91,
"end": 92,
"ctxt": 0
},
"tail": false,
"cooked": "8",
"raw": "8"
},
{
"type": "TemplateElement",
"span": {
"start": 100,
"end": 101,
"ctxt": 0
},
"tail": false,
"cooked": "9",
"raw": "9"
},
{
"type": "TemplateElement",
"span": {
"start": 109,
"end": 111,
"ctxt": 0
},
"tail": false,
"cooked": "10",
"raw": "10"
},
{
"type": "TemplateElement",
"span": {
"start": 119,
"end": 121,
"ctxt": 0
},
"tail": false,
"cooked": "11",
"raw": "11"
},
{
"type": "TemplateElement",
"span": {
"start": 129,
"end": 131,
"ctxt": 0
},
"tail": false,
"cooked": "12",
"raw": "12"
},
{
"type": "TemplateElement",
"span": {
"start": 139,
"end": 141,
"ctxt": 0
},
"tail": false,
"cooked": "13",
"raw": "13"
},
{
"type": "TemplateElement",
"span": {
"start": 149,
"end": 151,
"ctxt": 0
},
"tail": false,
"cooked": "14",
"raw": "14"
},
{
"type": "TemplateElement",
"span": {
"start": 159,
"end": 161,
"ctxt": 0
},
"tail": false,
"cooked": "15",
"raw": "15"
},
{
"type": "TemplateElement",
"span": {
"start": 169,
"end": 171,
"ctxt": 0
},
"tail": false,
"cooked": "16",
"raw": "16"
},
{
"type": "TemplateElement",
"span": {
"start": 179,
"end": 181,
"ctxt": 0
},
"tail": false,
"cooked": "17",
"raw": "17"
},
{
"type": "TemplateElement",
"span": {
"start": 189,
"end": 191,
"ctxt": 0
},
"tail": false,
"cooked": "18",
"raw": "18"
},
{
"type": "TemplateElement",
"span": {
"start": 199,
"end": 201,
"ctxt": 0
},
"tail": false,
"cooked": "19",
"raw": "19"
},
{
"type": "TemplateElement",
"span": {
"start": 209,
"end": 211,
"ctxt": 0
},
"tail": false,
"cooked": "20",
"raw": "20"
},
{
"type": "TemplateElement",
"span": {
"start": 219,
"end": 223,
"ctxt": 0
},
"tail": false,
"cooked": "2028",
"raw": "2028"
},
{
"type": "TemplateElement",
"span": {
"start": 231,
"end": 235,
"ctxt": 0
},
"tail": false,
"cooked": "2029",
"raw": "2029"
},
{
"type": "TemplateElement",
"span": {
"start": 243,
"end": 247,
"ctxt": 0
},
"tail": false,
"cooked": "0085",
"raw": "0085"
},
{
"type": "TemplateElement",
"span": {
"start": 255,
"end": 256,
"ctxt": 0
},
"tail": false,
"cooked": "t",
"raw": "t"
},
{
"type": "TemplateElement",
"span": {
"start": 264,
"end": 265,
"ctxt": 0
},
"tail": false,
"cooked": "v",
"raw": "v"
},
{
"type": "TemplateElement",
"span": {
"start": 273,
"end": 274,
"ctxt": 0
},
"tail": false,
"cooked": "f",
"raw": "f"
},
{
"type": "TemplateElement",
"span": {
"start": 282,
"end": 283,
"ctxt": 0
},
"tail": false,
"cooked": "b",
"raw": "b"
},
{
"type": "TemplateElement",
"span": {
"start": 291,
"end": 292,
"ctxt": 0
},
"tail": false,
"cooked": "r",
"raw": "r"
},
{
"type": "TemplateElement",
"span": {
"start": 300,
"end": 301,
"ctxt": 0
},
"tail": true,
"cooked": "n",
"raw": "n"
}
]
}
}
],
"interpreter": null
}