swc/crates/swc_ecma_parser/tests/tsc/templateStringPlainCharactersThatArePartsOfEscapes02.json
2022-03-22 07:54:08 +00:00

652 lines
14 KiB
JSON

{
"type": "Script",
"span": {
"start": 2,
"end": 286,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 2,
"end": 286,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 2,
"end": 286,
"ctxt": 0
},
"expressions": [
{
"type": "StringLiteral",
"span": {
"start": 7,
"end": 10,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 25,
"end": 28,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 34,
"end": 37,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 43,
"end": 46,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 52,
"end": 55,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 61,
"end": 64,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 70,
"end": 73,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 79,
"end": 82,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 88,
"end": 91,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 98,
"end": 101,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 108,
"end": 111,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 118,
"end": 121,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 128,
"end": 131,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 138,
"end": 141,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 148,
"end": 151,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 158,
"end": 161,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 168,
"end": 171,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 178,
"end": 181,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 188,
"end": 191,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 198,
"end": 201,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 210,
"end": 213,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 222,
"end": 225,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 234,
"end": 237,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 243,
"end": 246,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 252,
"end": 255,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 261,
"end": 264,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 270,
"end": 273,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
},
{
"type": "StringLiteral",
"span": {
"start": 279,
"end": 282,
"ctxt": 0
},
"value": " ",
"raw": "\" \""
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 3,
"end": 4,
"ctxt": 0
},
"tail": false,
"cooked": "0",
"raw": "0"
},
{
"type": "TemplateElement",
"span": {
"start": 12,
"end": 13,
"ctxt": 0
},
"tail": false,
"cooked": "1",
"raw": "1"
},
{
"type": "TemplateElement",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"tail": false,
"cooked": "2",
"raw": "2"
},
{
"type": "TemplateElement",
"span": {
"start": 30,
"end": 31,
"ctxt": 0
},
"tail": false,
"cooked": "3",
"raw": "3"
},
{
"type": "TemplateElement",
"span": {
"start": 39,
"end": 40,
"ctxt": 0
},
"tail": false,
"cooked": "4",
"raw": "4"
},
{
"type": "TemplateElement",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"tail": false,
"cooked": "5",
"raw": "5"
},
{
"type": "TemplateElement",
"span": {
"start": 57,
"end": 58,
"ctxt": 0
},
"tail": false,
"cooked": "6",
"raw": "6"
},
{
"type": "TemplateElement",
"span": {
"start": 66,
"end": 67,
"ctxt": 0
},
"tail": false,
"cooked": "7",
"raw": "7"
},
{
"type": "TemplateElement",
"span": {
"start": 75,
"end": 76,
"ctxt": 0
},
"tail": false,
"cooked": "8",
"raw": "8"
},
{
"type": "TemplateElement",
"span": {
"start": 84,
"end": 85,
"ctxt": 0
},
"tail": false,
"cooked": "9",
"raw": "9"
},
{
"type": "TemplateElement",
"span": {
"start": 93,
"end": 95,
"ctxt": 0
},
"tail": false,
"cooked": "10",
"raw": "10"
},
{
"type": "TemplateElement",
"span": {
"start": 103,
"end": 105,
"ctxt": 0
},
"tail": false,
"cooked": "11",
"raw": "11"
},
{
"type": "TemplateElement",
"span": {
"start": 113,
"end": 115,
"ctxt": 0
},
"tail": false,
"cooked": "12",
"raw": "12"
},
{
"type": "TemplateElement",
"span": {
"start": 123,
"end": 125,
"ctxt": 0
},
"tail": false,
"cooked": "13",
"raw": "13"
},
{
"type": "TemplateElement",
"span": {
"start": 133,
"end": 135,
"ctxt": 0
},
"tail": false,
"cooked": "14",
"raw": "14"
},
{
"type": "TemplateElement",
"span": {
"start": 143,
"end": 145,
"ctxt": 0
},
"tail": false,
"cooked": "15",
"raw": "15"
},
{
"type": "TemplateElement",
"span": {
"start": 153,
"end": 155,
"ctxt": 0
},
"tail": false,
"cooked": "16",
"raw": "16"
},
{
"type": "TemplateElement",
"span": {
"start": 163,
"end": 165,
"ctxt": 0
},
"tail": false,
"cooked": "17",
"raw": "17"
},
{
"type": "TemplateElement",
"span": {
"start": 173,
"end": 175,
"ctxt": 0
},
"tail": false,
"cooked": "18",
"raw": "18"
},
{
"type": "TemplateElement",
"span": {
"start": 183,
"end": 185,
"ctxt": 0
},
"tail": false,
"cooked": "19",
"raw": "19"
},
{
"type": "TemplateElement",
"span": {
"start": 193,
"end": 195,
"ctxt": 0
},
"tail": false,
"cooked": "20",
"raw": "20"
},
{
"type": "TemplateElement",
"span": {
"start": 203,
"end": 207,
"ctxt": 0
},
"tail": false,
"cooked": "2028",
"raw": "2028"
},
{
"type": "TemplateElement",
"span": {
"start": 215,
"end": 219,
"ctxt": 0
},
"tail": false,
"cooked": "2029",
"raw": "2029"
},
{
"type": "TemplateElement",
"span": {
"start": 227,
"end": 231,
"ctxt": 0
},
"tail": false,
"cooked": "0085",
"raw": "0085"
},
{
"type": "TemplateElement",
"span": {
"start": 239,
"end": 240,
"ctxt": 0
},
"tail": false,
"cooked": "t",
"raw": "t"
},
{
"type": "TemplateElement",
"span": {
"start": 248,
"end": 249,
"ctxt": 0
},
"tail": false,
"cooked": "v",
"raw": "v"
},
{
"type": "TemplateElement",
"span": {
"start": 257,
"end": 258,
"ctxt": 0
},
"tail": false,
"cooked": "f",
"raw": "f"
},
{
"type": "TemplateElement",
"span": {
"start": 266,
"end": 267,
"ctxt": 0
},
"tail": false,
"cooked": "b",
"raw": "b"
},
{
"type": "TemplateElement",
"span": {
"start": 275,
"end": 276,
"ctxt": 0
},
"tail": false,
"cooked": "r",
"raw": "r"
},
{
"type": "TemplateElement",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"tail": true,
"cooked": "n",
"raw": "n"
}
]
}
}
],
"interpreter": null
}