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

2461 lines
62 KiB
JSON

{
"type": "Script",
"span": {
"start": 18,
"end": 829,
"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": 94,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 73,
"end": 93,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 76,
"end": 85,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 76,
"end": 78,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 82,
"end": 85,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 83,
"end": 85,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 74,
"end": 74,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 86,
"end": 92,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 95,
"end": 123,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 95,
"end": 122,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 98,
"end": 114,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 98,
"end": 109,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 98,
"end": 103,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 99,
"end": 102,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 100,
"end": 102,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 107,
"end": 109,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 112,
"end": 114,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 96,
"end": 96,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 115,
"end": 121,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 124,
"end": 154,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 124,
"end": 153,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 127,
"end": 145,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 127,
"end": 140,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 127,
"end": 134,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 128,
"end": 133,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 129,
"end": 133,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 131,
"end": 133,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 138,
"end": 140,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 143,
"end": 145,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 125,
"end": 125,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 146,
"end": 152,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 155,
"end": 185,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 155,
"end": 184,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 158,
"end": 176,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 158,
"end": 171,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 158,
"end": 165,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 159,
"end": 164,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 160,
"end": 164,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"span": {
"start": 160,
"end": 162,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 169,
"end": 171,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 174,
"end": 176,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 156,
"end": 156,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 177,
"end": 183,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 186,
"end": 218,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 186,
"end": 217,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 189,
"end": 208,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 189,
"end": 194,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 190,
"end": 193,
"ctxt": 0
},
"operator": "~",
"argument": {
"type": "Identifier",
"span": {
"start": 191,
"end": 193,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 198,
"end": 208,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 198,
"end": 200,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "UpdateExpression",
"span": {
"start": 204,
"end": 208,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 206,
"end": 208,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 187,
"end": 187,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 210,
"end": 216,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 219,
"end": 255,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 219,
"end": 254,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 222,
"end": 245,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 229,
"end": 245,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 230,
"end": 244,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 230,
"end": 232,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 236,
"end": 244,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 236,
"end": 238,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 242,
"end": 244,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 220,
"end": 220,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 247,
"end": 253,
"ctxt": 0
},
"tail": true,
"cooked": " world",
"raw": " world"
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 296,
"end": 336,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 296,
"end": 335,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 299,
"end": 308,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 299,
"end": 301,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 305,
"end": 308,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 306,
"end": 308,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 324,
"end": 333,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 324,
"end": 326,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 330,
"end": 333,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 331,
"end": 333,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 297,
"end": 297,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 309,
"end": 322,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 334,
"end": 334,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 337,
"end": 391,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 337,
"end": 390,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 340,
"end": 356,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 340,
"end": 351,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 340,
"end": 345,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 341,
"end": 344,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 342,
"end": 344,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 349,
"end": 351,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 354,
"end": 356,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 372,
"end": 388,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 372,
"end": 383,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 372,
"end": 377,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 373,
"end": 376,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 374,
"end": 376,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 381,
"end": 383,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 386,
"end": 388,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 338,
"end": 338,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 357,
"end": 370,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 389,
"end": 389,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 392,
"end": 452,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 392,
"end": 451,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 395,
"end": 413,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 395,
"end": 408,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 395,
"end": 402,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 396,
"end": 401,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 397,
"end": 401,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 399,
"end": 401,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 406,
"end": 408,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 411,
"end": 413,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 429,
"end": 449,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 429,
"end": 431,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 435,
"end": 449,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 435,
"end": 442,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 436,
"end": 441,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 437,
"end": 441,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 439,
"end": 441,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 445,
"end": 449,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 447,
"end": 449,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 393,
"end": 393,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 414,
"end": 427,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 450,
"end": 450,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 453,
"end": 515,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 453,
"end": 514,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 456,
"end": 474,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 456,
"end": 469,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 456,
"end": 463,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 457,
"end": 462,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 458,
"end": 462,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"span": {
"start": 458,
"end": 460,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 467,
"end": 469,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 472,
"end": 474,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"type": "BinaryExpression",
"span": {
"start": 490,
"end": 512,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 490,
"end": 492,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 496,
"end": 512,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 496,
"end": 503,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 497,
"end": 502,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 498,
"end": 502,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"span": {
"start": 498,
"end": 500,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "UnaryExpression",
"span": {
"start": 508,
"end": 512,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 510,
"end": 512,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 454,
"end": 454,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 475,
"end": 488,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 513,
"end": 513,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 516,
"end": 578,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 516,
"end": 577,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 519,
"end": 538,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 519,
"end": 524,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 520,
"end": 523,
"ctxt": 0
},
"operator": "~",
"argument": {
"type": "Identifier",
"span": {
"start": 521,
"end": 523,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 528,
"end": 538,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 528,
"end": 530,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "UpdateExpression",
"span": {
"start": 534,
"end": 538,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 536,
"end": 538,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
{
"type": "BinaryExpression",
"span": {
"start": 555,
"end": 574,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 555,
"end": 560,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 556,
"end": 559,
"ctxt": 0
},
"operator": "~",
"argument": {
"type": "Identifier",
"span": {
"start": 557,
"end": 559,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 564,
"end": 574,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 564,
"end": 566,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "UpdateExpression",
"span": {
"start": 570,
"end": 574,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 572,
"end": 574,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 517,
"end": 517,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 540,
"end": 553,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 576,
"end": 576,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 579,
"end": 647,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 579,
"end": 646,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 582,
"end": 605,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 589,
"end": 605,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 590,
"end": 604,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 590,
"end": 592,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 596,
"end": 604,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 596,
"end": 598,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 602,
"end": 604,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
},
{
"type": "UnaryExpression",
"span": {
"start": 621,
"end": 644,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 628,
"end": 644,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 629,
"end": 643,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 629,
"end": 631,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 635,
"end": 643,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 635,
"end": 637,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 641,
"end": 643,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 580,
"end": 580,
"ctxt": 0
},
"tail": false,
"cooked": "",
"raw": ""
},
{
"type": "TemplateElement",
"span": {
"start": 606,
"end": 619,
"ctxt": 0
},
"tail": false,
"cooked": " hello world ",
"raw": " hello world "
},
{
"type": "TemplateElement",
"span": {
"start": 645,
"end": 645,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 670,
"end": 698,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 670,
"end": 697,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 679,
"end": 695,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 679,
"end": 690,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 679,
"end": 684,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 680,
"end": 683,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "Identifier",
"span": {
"start": 681,
"end": 683,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 688,
"end": 690,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 693,
"end": 695,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 671,
"end": 677,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 696,
"end": 696,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 699,
"end": 729,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 699,
"end": 728,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 708,
"end": 726,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 708,
"end": 721,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 708,
"end": 715,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 709,
"end": 714,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 710,
"end": 714,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 712,
"end": 714,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 719,
"end": 721,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 724,
"end": 726,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 700,
"end": 706,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 727,
"end": 727,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 730,
"end": 760,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 730,
"end": 759,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 739,
"end": 757,
"ctxt": 0
},
"operator": "-",
"left": {
"type": "BinaryExpression",
"span": {
"start": 739,
"end": 752,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 739,
"end": 746,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 740,
"end": 745,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "UpdateExpression",
"span": {
"start": 741,
"end": 745,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"span": {
"start": 741,
"end": 743,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 750,
"end": 752,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 755,
"end": 757,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 731,
"end": 737,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 758,
"end": 758,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 761,
"end": 793,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 761,
"end": 792,
"ctxt": 0
},
"expressions": [
{
"type": "BinaryExpression",
"span": {
"start": 770,
"end": 789,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "ParenthesisExpression",
"span": {
"start": 770,
"end": 775,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 771,
"end": 774,
"ctxt": 0
},
"operator": "~",
"argument": {
"type": "Identifier",
"span": {
"start": 772,
"end": 774,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 779,
"end": 789,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 779,
"end": 781,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "UpdateExpression",
"span": {
"start": 785,
"end": 789,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "Identifier",
"span": {
"start": 787,
"end": 789,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 762,
"end": 768,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 791,
"end": 791,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 794,
"end": 829,
"ctxt": 0
},
"expression": {
"type": "TemplateLiteral",
"span": {
"start": 794,
"end": 828,
"ctxt": 0
},
"expressions": [
{
"type": "UnaryExpression",
"span": {
"start": 803,
"end": 826,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "ParenthesisExpression",
"span": {
"start": 810,
"end": 826,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 811,
"end": 825,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 811,
"end": 813,
"ctxt": 0
},
"value": "t1",
"optional": false
},
"right": {
"type": "BinaryExpression",
"span": {
"start": 817,
"end": 825,
"ctxt": 0
},
"operator": "**",
"left": {
"type": "Identifier",
"span": {
"start": 817,
"end": 819,
"ctxt": 0
},
"value": "t2",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 823,
"end": 825,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
}
}
],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 795,
"end": 801,
"ctxt": 0
},
"tail": false,
"cooked": "hello ",
"raw": "hello "
},
{
"type": "TemplateElement",
"span": {
"start": 827,
"end": 827,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
}
],
"interpreter": null
}