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

2668 lines
65 KiB
JSON

{
"type": "Script",
"span": {
"start": 18,
"end": 914,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 18,
"end": 30,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 22,
"end": 29,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 22,
"end": 24,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 27,
"end": 29,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 31,
"end": 43,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 35,
"end": 42,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 35,
"end": 37,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 40,
"end": 42,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 44,
"end": 50,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 73,
"end": 93,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 73,
"end": 92,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 82,
"end": 90,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 82,
"end": 84,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 88,
"end": 90,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 74,
"end": 80,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 91,
"end": 91,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 94,
"end": 120,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 94,
"end": 119,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 103,
"end": 117,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 103,
"end": 105,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 109,
"end": 117,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 109,
"end": 111,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 115,
"end": 117,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 95,
"end": 101,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 118,
"end": 118,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 121,
"end": 146,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 121,
"end": 145,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 130,
"end": 143,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 130,
"end": 132,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 135,
"end": 143,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 135,
"end": 137,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 141,
"end": 143,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 122,
"end": 128,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 144,
"end": 144,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 147,
"end": 172,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 147,
"end": 171,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 156,
"end": 169,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 156,
"end": 164,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 156,
"end": 158,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 162,
"end": 164,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 167,
"end": 169,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 148,
"end": 154,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 170,
"end": 170,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 173,
"end": 204,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 173,
"end": 203,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 182,
"end": 200,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 182,
"end": 195,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 182,
"end": 184,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 187,
"end": 195,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 187,
"end": 189,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 193,
"end": 195,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 198,
"end": 200,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 174,
"end": 180,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 202,
"end": 202,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 205,
"end": 241,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 205,
"end": 240,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 214,
"end": 237,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 221,
"end": 237,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 222,
"end": 236,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 222,
"end": 224,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 228,
"end": 236,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 228,
"end": 230,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 234,
"end": 236,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 206,
"end": 212,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 239,
"end": 239,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 242,
"end": 282,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 242,
"end": 281,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 251,
"end": 278,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "NumericLiteral",
"span": {
"start": 251,
"end": 252,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 255,
"end": 278,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 262,
"end": 278,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 263,
"end": 277,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 263,
"end": 265,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 269,
"end": 277,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 275,
"end": 277,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 243,
"end": 249,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 280,
"end": 280,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 284,
"end": 315,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 284,
"end": 314,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 293,
"end": 301,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 293,
"end": 295,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 299,
"end": 301,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 304,
"end": 312,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 304,
"end": 306,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 310,
"end": 312,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 285,
"end": 291,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 302,
"end": 302,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 313,
"end": 313,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 316,
"end": 359,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 316,
"end": 358,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 325,
"end": 339,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 325,
"end": 327,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 331,
"end": 339,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 331,
"end": 333,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 337,
"end": 339,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 342,
"end": 356,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 342,
"end": 344,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 348,
"end": 356,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 348,
"end": 350,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 354,
"end": 356,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 317,
"end": 323,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 340,
"end": 340,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 357,
"end": 357,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 360,
"end": 401,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 360,
"end": 400,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 369,
"end": 382,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 369,
"end": 371,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 374,
"end": 382,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 374,
"end": 376,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 380,
"end": 382,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 385,
"end": 398,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 385,
"end": 387,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 390,
"end": 398,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 390,
"end": 392,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 396,
"end": 398,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 361,
"end": 367,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 383,
"end": 383,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 399,
"end": 399,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 402,
"end": 443,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 402,
"end": 442,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 411,
"end": 424,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 411,
"end": 419,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 411,
"end": 413,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 417,
"end": 419,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 422,
"end": 424,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 427,
"end": 440,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 427,
"end": 435,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 427,
"end": 429,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 433,
"end": 435,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 438,
"end": 440,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 403,
"end": 409,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 425,
"end": 425,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 441,
"end": 441,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 444,
"end": 495,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 444,
"end": 494,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 453,
"end": 471,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 453,
"end": 466,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 453,
"end": 455,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 458,
"end": 466,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 458,
"end": 460,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 464,
"end": 466,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 469,
"end": 471,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 474,
"end": 492,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 474,
"end": 487,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 474,
"end": 476,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 479,
"end": 487,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 479,
"end": 481,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 485,
"end": 487,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 490,
"end": 492,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 445,
"end": 451,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 472,
"end": 472,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 493,
"end": 493,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 496,
"end": 559,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 496,
"end": 558,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 505,
"end": 528,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 512,
"end": 528,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 513,
"end": 527,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 513,
"end": 515,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 519,
"end": 527,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 519,
"end": 521,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 525,
"end": 527,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
},
{
"type": "UnaryExpression",
"span": {
"start": 532,
"end": 555,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 539,
"end": 555,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 540,
"end": 554,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 540,
"end": 542,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 546,
"end": 554,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 546,
"end": 548,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 552,
"end": 554,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 497,
"end": 503,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 530,
"end": 530,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 557,
"end": 557,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 561,
"end": 605,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 561,
"end": 604,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 570,
"end": 578,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 570,
"end": 572,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 576,
"end": 578,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 594,
"end": 602,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 594,
"end": 596,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 600,
"end": 602,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 562,
"end": 568,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 579,
"end": 592,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 603,
"end": 603,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 606,
"end": 662,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 606,
"end": 661,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 615,
"end": 629,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 615,
"end": 617,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 621,
"end": 629,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 621,
"end": 623,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 627,
"end": 629,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 645,
"end": 659,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 645,
"end": 647,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 651,
"end": 659,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 651,
"end": 653,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 657,
"end": 659,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 607,
"end": 613,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 630,
"end": 643,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 660,
"end": 660,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 663,
"end": 717,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 663,
"end": 716,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 672,
"end": 685,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 672,
"end": 674,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 677,
"end": 685,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 677,
"end": 679,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 683,
"end": 685,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 701,
"end": 714,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 701,
"end": 703,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 706,
"end": 714,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 706,
"end": 708,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 712,
"end": 714,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 664,
"end": 670,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 686,
"end": 699,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 715,
"end": 715,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 718,
"end": 772,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 718,
"end": 771,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 727,
"end": 740,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 727,
"end": 735,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 727,
"end": 729,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 733,
"end": 735,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 738,
"end": 740,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 756,
"end": 769,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 756,
"end": 764,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 756,
"end": 758,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 762,
"end": 764,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 767,
"end": 769,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 719,
"end": 725,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 741,
"end": 754,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 770,
"end": 770,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 773,
"end": 837,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 773,
"end": 836,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 782,
"end": 800,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 782,
"end": 795,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 782,
"end": 784,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 787,
"end": 795,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 787,
"end": 789,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 793,
"end": 795,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 798,
"end": 800,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 816,
"end": 834,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 816,
"end": 829,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 816,
"end": 818,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 821,
"end": 829,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 821,
"end": 823,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 827,
"end": 829,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 832,
"end": 834,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 774,
"end": 780,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 801,
"end": 814,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 835,
"end": 835,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 838,
"end": 914,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 838,
"end": 913,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 847,
"end": 870,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 854,
"end": 870,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 855,
"end": 869,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 855,
"end": 857,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 861,
"end": 869,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 861,
"end": 863,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 867,
"end": 869,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
},
{
"type": "UnaryExpression",
"span": {
"start": 887,
"end": 910,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 894,
"end": 910,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 895,
"end": 909,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 895,
"end": 897,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 901,
"end": 909,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 901,
"end": 903,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 907,
"end": 909,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 839,
"end": 845,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 872,
"end": 885,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 912,
"end": 912,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
}
],
"interpreter": null
}