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

2665 lines
65 KiB
JSON

{
"type": "Script",
"span": {
"start": 17,
"end": 913,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 17,
"end": 29,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 21,
"end": 28,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 21,
"end": 23,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 26,
"end": 28,
"ctxt": 0
},
"value": 10.0
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 30,
"end": 42,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 34,
"end": 41,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 34,
"end": 36,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 39,
"end": 41,
"ctxt": 0
},
"value": 10.0
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 43,
"end": 49,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 47,
"end": 48,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 47,
"end": 48,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 72,
"end": 92,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 72,
"end": 91,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 81,
"end": 89,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 81,
"end": 83,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 87,
"end": 89,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 73,
"end": 79,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 90,
"end": 90,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 93,
"end": 119,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 93,
"end": 118,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 102,
"end": 116,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 102,
"end": 104,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 108,
"end": 116,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 108,
"end": 110,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 114,
"end": 116,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 94,
"end": 100,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 117,
"end": 117,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 120,
"end": 145,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 120,
"end": 144,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 129,
"end": 142,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 129,
"end": 131,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 134,
"end": 142,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 134,
"end": 136,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 140,
"end": 142,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 121,
"end": 127,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 143,
"end": 143,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 146,
"end": 171,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 146,
"end": 170,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 155,
"end": 168,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 155,
"end": 163,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 155,
"end": 157,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 161,
"end": 163,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 166,
"end": 168,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 147,
"end": 153,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 169,
"end": 169,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 172,
"end": 203,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 172,
"end": 202,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 181,
"end": 199,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 181,
"end": 194,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 181,
"end": 183,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 186,
"end": 194,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 186,
"end": 188,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 192,
"end": 194,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 197,
"end": 199,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 173,
"end": 179,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 201,
"end": 201,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 204,
"end": 240,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 204,
"end": 239,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 213,
"end": 236,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 220,
"end": 236,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 221,
"end": 235,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 221,
"end": 223,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 227,
"end": 235,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 227,
"end": 229,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 233,
"end": 235,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 205,
"end": 211,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 238,
"end": 238,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 241,
"end": 281,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 241,
"end": 280,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 250,
"end": 277,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "NumericLiteral",
"span": {
"start": 250,
"end": 251,
"ctxt": 0
},
"value": 1.0
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 254,
"end": 277,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 261,
"end": 277,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 262,
"end": 276,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 262,
"end": 264,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 268,
"end": 276,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 268,
"end": 270,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 274,
"end": 276,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 242,
"end": 248,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 279,
"end": 279,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 283,
"end": 314,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 283,
"end": 313,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 292,
"end": 300,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 292,
"end": 294,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 298,
"end": 300,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 303,
"end": 311,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 303,
"end": 305,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 309,
"end": 311,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 284,
"end": 290,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 301,
"end": 301,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 312,
"end": 312,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 315,
"end": 358,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 315,
"end": 357,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 324,
"end": 338,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 324,
"end": 326,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 330,
"end": 338,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 330,
"end": 332,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 336,
"end": 338,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 341,
"end": 355,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 341,
"end": 343,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 347,
"end": 355,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 347,
"end": 349,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 353,
"end": 355,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 316,
"end": 322,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 339,
"end": 339,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 356,
"end": 356,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 359,
"end": 400,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 359,
"end": 399,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 368,
"end": 381,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 368,
"end": 370,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 373,
"end": 381,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 373,
"end": 375,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 379,
"end": 381,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 384,
"end": 397,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 384,
"end": 386,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 389,
"end": 397,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 389,
"end": 391,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 395,
"end": 397,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 360,
"end": 366,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 382,
"end": 382,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 398,
"end": 398,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 401,
"end": 442,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 401,
"end": 441,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 410,
"end": 423,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 410,
"end": 418,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 410,
"end": 412,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 416,
"end": 418,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 421,
"end": 423,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 426,
"end": 439,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 426,
"end": 434,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 426,
"end": 428,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 432,
"end": 434,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 437,
"end": 439,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 402,
"end": 408,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 424,
"end": 424,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 440,
"end": 440,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 443,
"end": 494,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 443,
"end": 493,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 452,
"end": 470,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 452,
"end": 465,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 452,
"end": 454,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 457,
"end": 465,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 457,
"end": 459,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 463,
"end": 465,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 468,
"end": 470,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 473,
"end": 491,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 473,
"end": 486,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 473,
"end": 475,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 478,
"end": 486,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 478,
"end": 480,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 484,
"end": 486,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 489,
"end": 491,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 444,
"end": 450,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 471,
"end": 471,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 492,
"end": 492,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 495,
"end": 558,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 495,
"end": 557,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 504,
"end": 527,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 511,
"end": 527,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 512,
"end": 526,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 512,
"end": 514,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 518,
"end": 526,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 518,
"end": 520,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 524,
"end": 526,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
},
{
"type": "UnaryExpression",
"span": {
"start": 531,
"end": 554,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 538,
"end": 554,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 539,
"end": 553,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 539,
"end": 541,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 545,
"end": 553,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 545,
"end": 547,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 551,
"end": 553,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 496,
"end": 502,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 529,
"end": 529,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 556,
"end": 556,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 560,
"end": 604,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 560,
"end": 603,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 569,
"end": 577,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 569,
"end": 571,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 575,
"end": 577,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 593,
"end": 601,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 593,
"end": 595,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 599,
"end": 601,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 561,
"end": 567,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 578,
"end": 591,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 602,
"end": 602,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 605,
"end": 661,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 605,
"end": 660,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 614,
"end": 628,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 614,
"end": 616,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 620,
"end": 628,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 620,
"end": 622,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 626,
"end": 628,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 644,
"end": 658,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 644,
"end": 646,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 650,
"end": 658,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 650,
"end": 652,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 656,
"end": 658,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 606,
"end": 612,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 629,
"end": 642,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 659,
"end": 659,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 662,
"end": 716,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 662,
"end": 715,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 671,
"end": 684,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 671,
"end": 673,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 676,
"end": 684,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 676,
"end": 678,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 682,
"end": 684,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 700,
"end": 713,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 700,
"end": 702,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 705,
"end": 713,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 705,
"end": 707,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 711,
"end": 713,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 663,
"end": 669,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 685,
"end": 698,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 714,
"end": 714,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 717,
"end": 771,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 717,
"end": 770,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 726,
"end": 739,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 726,
"end": 734,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 726,
"end": 728,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 732,
"end": 734,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 737,
"end": 739,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 755,
"end": 768,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 755,
"end": 763,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 755,
"end": 757,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 761,
"end": 763,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 766,
"end": 768,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 718,
"end": 724,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 740,
"end": 753,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 769,
"end": 769,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 772,
"end": 836,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 772,
"end": 835,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 781,
"end": 799,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 781,
"end": 794,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 781,
"end": 783,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 786,
"end": 794,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 786,
"end": 788,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 792,
"end": 794,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 797,
"end": 799,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 815,
"end": 833,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 815,
"end": 828,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 815,
"end": 817,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 820,
"end": 828,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 820,
"end": 822,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 826,
"end": 828,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 831,
"end": 833,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 773,
"end": 779,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 800,
"end": 813,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 834,
"end": 834,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 837,
"end": 913,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 837,
"end": 912,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 846,
"end": 869,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 853,
"end": 869,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 854,
"end": 868,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 854,
"end": 856,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 860,
"end": 868,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 860,
"end": 862,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 866,
"end": 868,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
},
{
"type": "UnaryExpression",
"span": {
"start": 886,
"end": 909,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 893,
"end": 909,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 894,
"end": 908,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 894,
"end": 896,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 900,
"end": 908,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 900,
"end": 902,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 906,
"end": 908,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 838,
"end": 844,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 871,
"end": 884,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 911,
"end": 911,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
}
],
"interpreter": null
}