{ "type": "Script", "span": { "start": 0, "end": 1320, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 18, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 4, "end": 17, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 4, "end": 8, "ctxt": 0 }, "value": "cond", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 8, "end": 17, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 10, "end": 17, "ctxt": 0 }, "kind": "boolean" } } }, "init": null, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 28, "end": 29, "ctxt": 0 }, "value": "a", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 19, "end": 124, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 32, "end": 124, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 38, "end": 61, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 42, "end": 60, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 42, "end": 43, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 43, "end": 60, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 45, "end": 60, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 45, "end": 51, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 54, "end": 60, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 66, "end": 73, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 66, "end": 72, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 66, "end": 67, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 70, "end": 72, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 78, "end": 122, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 117, "end": 121, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 81, "end": 109, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 91, "end": 93, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 91, "end": 92, "ctxt": 0 }, "value": "x", "optional": false } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 134, "end": 135, "ctxt": 0 }, "value": "b", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 125, "end": 261, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 138, "end": 261, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 144, "end": 167, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 148, "end": 166, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 148, "end": 149, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 149, "end": 166, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 151, "end": 166, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 151, "end": 157, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 160, "end": 166, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 172, "end": 179, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 172, "end": 178, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 172, "end": 173, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 176, "end": 178, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 184, "end": 259, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 254, "end": 258, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 187, "end": 246, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 197, "end": 199, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 197, "end": 198, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 218, "end": 225, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 218, "end": 224, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 218, "end": 219, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 222, "end": 224, "ctxt": 0 }, "value": 42.0 } } }, { "type": "BreakStatement", "span": { "start": 234, "end": 240, "ctxt": 0 }, "label": null } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 271, "end": 272, "ctxt": 0 }, "value": "c", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 262, "end": 450, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 275, "end": 450, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 281, "end": 304, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 285, "end": 303, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 285, "end": 286, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 286, "end": 303, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 288, "end": 303, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 288, "end": 294, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 297, "end": 303, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 309, "end": 316, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 309, "end": 315, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 309, "end": 310, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 313, "end": 315, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 321, "end": 448, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 443, "end": 447, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 324, "end": 435, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 334, "end": 336, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 334, "end": 335, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 355, "end": 369, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 355, "end": 368, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 355, "end": 356, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 359, "end": 368, "ctxt": 0 }, "value": "undefined", "optional": false } } }, { "type": "IfStatement", "span": { "start": 378, "end": 414, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 382, "end": 403, "ctxt": 0 }, "operator": "===", "left": { "type": "UnaryExpression", "span": { "start": 382, "end": 390, "ctxt": 0 }, "operator": "typeof", "argument": { "type": "Identifier", "span": { "start": 389, "end": 390, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "StringLiteral", "span": { "start": 395, "end": 403, "ctxt": 0 }, "value": "string", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, "consequent": { "type": "ContinueStatement", "span": { "start": 405, "end": 414, "ctxt": 0 }, "label": null }, "alternate": null }, { "type": "BreakStatement", "span": { "start": 423, "end": 429, "ctxt": 0 }, "label": null } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 460, "end": 461, "ctxt": 0 }, "value": "d", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 451, "end": 599, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 464, "end": 599, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 470, "end": 493, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 474, "end": 492, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 474, "end": 475, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 475, "end": 492, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 477, "end": 492, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 477, "end": 483, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 486, "end": 492, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 498, "end": 507, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 498, "end": 506, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 498, "end": 499, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 502, "end": 506, "ctxt": 0 }, "value": 1000.0 } } }, { "type": "DoWhileStatement", "span": { "start": 512, "end": 580, "ctxt": 0 }, "test": { "type": "AssignmentExpression", "span": { "start": 567, "end": 579, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 567, "end": 568, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "MemberExpression", "span": { "start": 571, "end": 579, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 571, "end": 572, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 573, "end": 579, "ctxt": 0 }, "value": "length", "optional": false } } }, "body": { "type": "BlockStatement", "span": { "start": 515, "end": 559, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 525, "end": 527, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 525, "end": 526, "ctxt": 0 }, "value": "x", "optional": false } }, { "type": "ExpressionStatement", "span": { "start": 546, "end": 553, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 546, "end": 552, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 546, "end": 547, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 550, "end": 552, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 585, "end": 587, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 585, "end": 586, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 609, "end": 610, "ctxt": 0 }, "value": "e", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 600, "end": 717, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 613, "end": 717, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 619, "end": 642, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 623, "end": 641, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 623, "end": 624, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 624, "end": 641, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 626, "end": 641, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 626, "end": 632, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 635, "end": 641, "ctxt": 0 }, "kind": "number" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 647, "end": 654, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 647, "end": 653, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 647, "end": 648, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 651, "end": 653, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 659, "end": 698, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 693, "end": 697, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 662, "end": 685, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 672, "end": 679, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 672, "end": 678, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 672, "end": 673, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 676, "end": 678, "ctxt": 0 }, "value": 42.0 } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 703, "end": 705, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 703, "end": 704, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 727, "end": 728, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 718, "end": 1028, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 731, "end": 1028, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 737, "end": 790, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 741, "end": 789, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 741, "end": 742, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 742, "end": 789, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 744, "end": 789, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 744, "end": 750, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 753, "end": 759, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 762, "end": 769, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsTypeReference", "span": { "start": 772, "end": 778, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 772, "end": 778, "ctxt": 0 }, "value": "RegExp", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 781, "end": 789, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 781, "end": 789, "ctxt": 0 }, "value": "Function", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 795, "end": 802, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 795, "end": 801, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 795, "end": 796, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 799, "end": 801, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 807, "end": 990, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 985, "end": 989, "ctxt": 0 }, "value": "cond", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 810, "end": 977, "ctxt": 0 }, "stmts": [ { "type": "IfStatement", "span": { "start": 820, "end": 880, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 824, "end": 828, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 830, "end": 880, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 844, "end": 851, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 844, "end": 850, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 844, "end": 845, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 848, "end": 850, "ctxt": 0 }, "value": 42.0 } } }, { "type": "BreakStatement", "span": { "start": 864, "end": 870, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "IfStatement", "span": { "start": 889, "end": 954, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 893, "end": 897, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 899, "end": 954, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 913, "end": 922, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 913, "end": 921, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 913, "end": 914, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "BooleanLiteral", "span": { "start": 917, "end": 921, "ctxt": 0 }, "value": true } } }, { "type": "ContinueStatement", "span": { "start": 935, "end": 944, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "ExpressionStatement", "span": { "start": 963, "end": 971, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 963, "end": 970, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 963, "end": 964, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "RegExpLiteral", "span": { "start": 967, "end": 970, "ctxt": 0 }, "pattern": "a", "flags": "" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 995, "end": 997, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 995, "end": 996, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1038, "end": 1039, "ctxt": 0 }, "value": "g", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 1029, "end": 1320, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1042, "end": 1320, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 1048, "end": 1101, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1052, "end": 1100, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1052, "end": 1053, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1053, "end": 1100, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1055, "end": 1100, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 1055, "end": 1061, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 1064, "end": 1070, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 1073, "end": 1080, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsTypeReference", "span": { "start": 1083, "end": 1089, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1083, "end": 1089, "ctxt": 0 }, "value": "RegExp", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1092, "end": 1100, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1092, "end": 1100, "ctxt": 0 }, "value": "Function", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 1106, "end": 1113, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1106, "end": 1112, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1106, "end": 1107, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 1110, "end": 1112, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "DoWhileStatement", "span": { "start": 1118, "end": 1301, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 1296, "end": 1300, "ctxt": 0 }, "value": true }, "body": { "type": "BlockStatement", "span": { "start": 1121, "end": 1288, "ctxt": 0 }, "stmts": [ { "type": "IfStatement", "span": { "start": 1131, "end": 1191, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1135, "end": 1139, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1141, "end": 1191, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1155, "end": 1162, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1155, "end": 1161, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1155, "end": 1156, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "NumericLiteral", "span": { "start": 1159, "end": 1161, "ctxt": 0 }, "value": 42.0 } } }, { "type": "BreakStatement", "span": { "start": 1175, "end": 1181, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "IfStatement", "span": { "start": 1200, "end": 1265, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1204, "end": 1208, "ctxt": 0 }, "value": "cond", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1210, "end": 1265, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1224, "end": 1233, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1224, "end": 1232, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1224, "end": 1225, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "BooleanLiteral", "span": { "start": 1228, "end": 1232, "ctxt": 0 }, "value": true } } }, { "type": "ContinueStatement", "span": { "start": 1246, "end": 1255, "ctxt": 0 }, "label": null } ] }, "alternate": null }, { "type": "ExpressionStatement", "span": { "start": 1274, "end": 1282, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1274, "end": 1281, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 1274, "end": 1275, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "RegExpLiteral", "span": { "start": 1278, "end": 1281, "ctxt": 0 }, "pattern": "a", "flags": "" } } } ] } }, { "type": "ExpressionStatement", "span": { "start": 1306, "end": 1308, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 1306, "end": 1307, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }