{ "type": "Script", "span": { "start": 33, "end": 2186, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 33, "end": 64, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 43, "end": 44, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 45, "end": 64, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 51, "end": 62, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 51, "end": 53, "ctxt": 0 }, "value": "id", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 53, "end": 61, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 55, "end": 61, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 72, "end": 73, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 66, "end": 124, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 93, "end": 104, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 93, "end": 95, "ctxt": 0 }, "value": "id", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 95, "end": 103, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 97, "end": 103, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 109, "end": 122, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 109, "end": 113, "ctxt": 0 }, "value": "name", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 113, "end": 121, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 115, "end": 121, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 85, "end": 86, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 85, "end": 86, "ctxt": 0 }, "value": "I", "optional": false }, "typeArguments": null } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 132, "end": 134, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 126, "end": 168, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 151, "end": 166, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 151, "end": 156, "ctxt": 0 }, "value": "valid", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 156, "end": 165, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 158, "end": 165, "ctxt": 0 }, "kind": "boolean" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": { "type": "Identifier", "span": { "start": 143, "end": 144, "ctxt": 0 }, "value": "C", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 176, "end": 177, "ctxt": 0 }, "value": "D", "optional": false }, "declare": false, "span": { "start": 170, "end": 238, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 186, "end": 196, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 186, "end": 192, "ctxt": 0 }, "value": "source", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 192, "end": 195, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 194, "end": 195, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 194, "end": 195, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 201, "end": 215, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 201, "end": 208, "ctxt": 0 }, "value": "recurse", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 208, "end": 214, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 210, "end": 214, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 210, "end": 211, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 211, "end": 214, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 212, "end": 213, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 212, "end": 213, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } ] } } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 220, "end": 236, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 220, "end": 227, "ctxt": 0 }, "value": "wrapped", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 227, "end": 236, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 229, "end": 236, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 229, "end": 230, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 230, "end": 236, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 231, "end": 235, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 231, "end": 232, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 232, "end": 235, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 233, "end": 234, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 233, "end": 234, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } ] } } ] } } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 177, "end": 180, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 178, "end": 179, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 178, "end": 179, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "const": false, "constraint": null, "default": null } ] }, "superTypeParams": null, "implements": [] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "F", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 251, "end": 260, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 251, "end": 260, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 252, "end": 260, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 254, "end": 260, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 240, "end": 284, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 270, "end": 284, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 272, "end": 282, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 279, "end": 281, "ctxt": 0 }, "value": 42.0, "raw": "42" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 261, "end": 269, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 263, "end": 269, "ctxt": 0 }, "kind": "number" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 294, "end": 296, "ctxt": 0 }, "value": "F2", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 297, "end": 306, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 297, "end": 306, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 298, "end": 306, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 300, "end": 306, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 285, "end": 335, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 317, "end": 335, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 319, "end": 333, "ctxt": 0 }, "argument": { "type": "BinaryExpression", "span": { "start": 326, "end": 332, "ctxt": 0 }, "operator": "<", "left": { "type": "Identifier", "span": { "start": 326, "end": 327, "ctxt": 0 }, "value": "x", "optional": false }, "right": { "type": "NumericLiteral", "span": { "start": 330, "end": 332, "ctxt": 0 }, "value": 42.0, "raw": "42" } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 307, "end": 316, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 309, "end": 316, "ctxt": 0 }, "kind": "boolean" } } }, { "type": "TsModuleDeclaration", "span": { "start": 337, "end": 466, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 344, "end": 345, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 346, "end": 466, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 352, "end": 396, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 365, "end": 366, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 359, "end": 396, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 377, "end": 390, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 377, "end": 381, "ctxt": 0 }, "value": "name", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 381, "end": 389, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 383, "end": 389, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "ExportDeclaration", "span": { "start": 402, "end": 464, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 418, "end": 420, "ctxt": 0 }, "value": "F2", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 421, "end": 430, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 421, "end": 430, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 422, "end": 430, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 424, "end": 430, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 409, "end": 464, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 440, "end": 464, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 442, "end": 462, "ctxt": 0 }, "argument": { "type": "CallExpression", "span": { "start": 449, "end": 461, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 449, "end": 459, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 449, "end": 450, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 451, "end": 459, "ctxt": 0 }, "value": "toString", "optional": false } }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 431, "end": 439, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 433, "end": 439, "ctxt": 0 }, "kind": "string" } } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 468, "end": 595, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 475, "end": 476, "ctxt": 0 }, "value": "N", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 477, "end": 595, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 483, "end": 525, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 496, "end": 497, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 490, "end": 525, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 508, "end": 519, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 508, "end": 510, "ctxt": 0 }, "value": "id", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 510, "end": 518, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 512, "end": 518, "ctxt": 0 }, "kind": "number" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "ExportDeclaration", "span": { "start": 531, "end": 593, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 547, "end": 549, "ctxt": 0 }, "value": "F2", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 550, "end": 559, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 550, "end": 559, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 551, "end": 559, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 553, "end": 559, "ctxt": 0 }, "kind": "number" } } } } ], "decorators": [], "span": { "start": 538, "end": 593, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 569, "end": 593, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 571, "end": 591, "ctxt": 0 }, "argument": { "type": "CallExpression", "span": { "start": 578, "end": 590, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 578, "end": 588, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 578, "end": 579, "ctxt": 0 }, "value": "x", "optional": false }, "property": { "type": "Identifier", "span": { "start": 580, "end": 588, "ctxt": 0 }, "value": "toString", "optional": false } }, "arguments": [], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 560, "end": 568, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 562, "end": 568, "ctxt": 0 }, "kind": "string" } } } } ] } }, { "type": "IfStatement", "span": { "start": 609, "end": 622, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 613, "end": 617, "ctxt": 0 }, "value": true }, "consequent": { "type": "BlockStatement", "span": { "start": 619, "end": 622, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 623, "end": 639, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 630, "end": 634, "ctxt": 0 }, "value": true }, "body": { "type": "BlockStatement", "span": { "start": 636, "end": 639, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 640, "end": 657, "ctxt": 0 }, "test": { "type": "BooleanLiteral", "span": { "start": 652, "end": 656, "ctxt": 0 }, "value": true }, "body": { "type": "BlockStatement", "span": { "start": 643, "end": 646, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 659, "end": 672, "ctxt": 0 }, "test": { "type": "NullLiteral", "span": { "start": 663, "end": 667, "ctxt": 0 } }, "consequent": { "type": "BlockStatement", "span": { "start": 669, "end": 672, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 673, "end": 689, "ctxt": 0 }, "test": { "type": "NullLiteral", "span": { "start": 680, "end": 684, "ctxt": 0 } }, "body": { "type": "BlockStatement", "span": { "start": 686, "end": 689, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 690, "end": 707, "ctxt": 0 }, "test": { "type": "NullLiteral", "span": { "start": 702, "end": 706, "ctxt": 0 } }, "body": { "type": "BlockStatement", "span": { "start": 693, "end": 696, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 709, "end": 727, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 713, "end": 722, "ctxt": 0 }, "value": "undefined", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 724, "end": 727, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 728, "end": 749, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 735, "end": 744, "ctxt": 0 }, "value": "undefined", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 746, "end": 749, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 750, "end": 772, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 762, "end": 771, "ctxt": 0 }, "value": "undefined", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 753, "end": 756, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 774, "end": 786, "ctxt": 0 }, "test": { "type": "NumericLiteral", "span": { "start": 778, "end": 781, "ctxt": 0 }, "value": 0.0, "raw": "0.0" }, "consequent": { "type": "BlockStatement", "span": { "start": 783, "end": 786, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 787, "end": 802, "ctxt": 0 }, "test": { "type": "NumericLiteral", "span": { "start": 794, "end": 797, "ctxt": 0 }, "value": 0.0, "raw": "0.0" }, "body": { "type": "BlockStatement", "span": { "start": 799, "end": 802, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 803, "end": 819, "ctxt": 0 }, "test": { "type": "NumericLiteral", "span": { "start": 815, "end": 818, "ctxt": 0 }, "value": 0.0, "raw": "0.0" }, "body": { "type": "BlockStatement", "span": { "start": 806, "end": 809, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 821, "end": 840, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 825, "end": 835, "ctxt": 0 }, "value": "a string", "raw": "'a string'" }, "consequent": { "type": "BlockStatement", "span": { "start": 837, "end": 840, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 841, "end": 863, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 848, "end": 858, "ctxt": 0 }, "value": "a string", "raw": "'a string'" }, "body": { "type": "BlockStatement", "span": { "start": 860, "end": 863, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 864, "end": 887, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 876, "end": 886, "ctxt": 0 }, "value": "a string", "raw": "'a string'" }, "body": { "type": "BlockStatement", "span": { "start": 867, "end": 870, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 889, "end": 900, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 893, "end": 895, "ctxt": 0 }, "value": "", "raw": "''" }, "consequent": { "type": "BlockStatement", "span": { "start": 897, "end": 900, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 901, "end": 915, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 908, "end": 910, "ctxt": 0 }, "value": "", "raw": "''" }, "body": { "type": "BlockStatement", "span": { "start": 912, "end": 915, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 916, "end": 931, "ctxt": 0 }, "test": { "type": "StringLiteral", "span": { "start": 928, "end": 930, "ctxt": 0 }, "value": "", "raw": "''" }, "body": { "type": "BlockStatement", "span": { "start": 919, "end": 922, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 933, "end": 949, "ctxt": 0 }, "test": { "type": "RegExpLiteral", "span": { "start": 937, "end": 944, "ctxt": 0 }, "pattern": "[a-z]", "flags": "" }, "consequent": { "type": "BlockStatement", "span": { "start": 946, "end": 949, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 950, "end": 969, "ctxt": 0 }, "test": { "type": "RegExpLiteral", "span": { "start": 957, "end": 964, "ctxt": 0 }, "pattern": "[a-z]", "flags": "" }, "body": { "type": "BlockStatement", "span": { "start": 966, "end": 969, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 970, "end": 990, "ctxt": 0 }, "test": { "type": "RegExpLiteral", "span": { "start": 982, "end": 989, "ctxt": 0 }, "pattern": "[a-z]", "flags": "" }, "body": { "type": "BlockStatement", "span": { "start": 973, "end": 976, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 992, "end": 1003, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 996, "end": 998, "ctxt": 0 }, "elements": [] }, "consequent": { "type": "BlockStatement", "span": { "start": 1000, "end": 1003, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1004, "end": 1018, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 1011, "end": 1013, "ctxt": 0 }, "elements": [] }, "body": { "type": "BlockStatement", "span": { "start": 1015, "end": 1018, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1019, "end": 1034, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 1031, "end": 1033, "ctxt": 0 }, "elements": [] }, "body": { "type": "BlockStatement", "span": { "start": 1022, "end": 1025, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1036, "end": 1051, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 1040, "end": 1046, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1041, "end": 1042, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1044, "end": 1045, "ctxt": 0 }, "value": 2.0, "raw": "2" } } ] }, "consequent": { "type": "BlockStatement", "span": { "start": 1048, "end": 1051, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1052, "end": 1070, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 1059, "end": 1065, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1060, "end": 1061, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1063, "end": 1064, "ctxt": 0 }, "value": 2.0, "raw": "2" } } ] }, "body": { "type": "BlockStatement", "span": { "start": 1067, "end": 1070, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1071, "end": 1090, "ctxt": 0 }, "test": { "type": "ArrayExpression", "span": { "start": 1083, "end": 1089, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1084, "end": 1085, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1087, "end": 1088, "ctxt": 0 }, "value": 2.0, "raw": "2" } } ] }, "body": { "type": "BlockStatement", "span": { "start": 1074, "end": 1077, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1092, "end": 1103, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1096, "end": 1098, "ctxt": 0 }, "properties": [] }, "consequent": { "type": "BlockStatement", "span": { "start": 1100, "end": 1103, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1104, "end": 1118, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1111, "end": 1113, "ctxt": 0 }, "properties": [] }, "body": { "type": "BlockStatement", "span": { "start": 1115, "end": 1118, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1119, "end": 1134, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1131, "end": 1133, "ctxt": 0 }, "properties": [] }, "body": { "type": "BlockStatement", "span": { "start": 1122, "end": 1125, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1136, "end": 1161, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1140, "end": 1156, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1142, "end": 1143, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1145, "end": 1146, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1148, "end": 1149, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 1151, "end": 1154, "ctxt": 0 }, "value": "a", "raw": "'a'" } } ] }, "consequent": { "type": "BlockStatement", "span": { "start": 1158, "end": 1161, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1162, "end": 1190, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1169, "end": 1185, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1171, "end": 1172, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1174, "end": 1175, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1177, "end": 1178, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 1180, "end": 1183, "ctxt": 0 }, "value": "a", "raw": "'a'" } } ] }, "body": { "type": "BlockStatement", "span": { "start": 1187, "end": 1190, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1191, "end": 1220, "ctxt": 0 }, "test": { "type": "ObjectExpression", "span": { "start": 1203, "end": 1219, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1205, "end": 1206, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1208, "end": 1209, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1211, "end": 1212, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 1214, "end": 1217, "ctxt": 0 }, "value": "a", "raw": "'a'" } } ] }, "body": { "type": "BlockStatement", "span": { "start": 1194, "end": 1197, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1222, "end": 1239, "ctxt": 0 }, "test": { "type": "ArrowFunctionExpression", "span": { "start": 1226, "end": 1234, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 1232, "end": 1234, "ctxt": 0 }, "value": 43.0, "raw": "43" }, "async": false, "generator": false, "typeParameters": null, "returnType": null }, "consequent": { "type": "BlockStatement", "span": { "start": 1236, "end": 1239, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1240, "end": 1260, "ctxt": 0 }, "test": { "type": "ArrowFunctionExpression", "span": { "start": 1247, "end": 1255, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 1253, "end": 1255, "ctxt": 0 }, "value": 43.0, "raw": "43" }, "async": false, "generator": false, "typeParameters": null, "returnType": null }, "body": { "type": "BlockStatement", "span": { "start": 1257, "end": 1260, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1261, "end": 1282, "ctxt": 0 }, "test": { "type": "ArrowFunctionExpression", "span": { "start": 1273, "end": 1281, "ctxt": 0 }, "params": [], "body": { "type": "NumericLiteral", "span": { "start": 1279, "end": 1281, "ctxt": 0 }, "value": 43.0, "raw": "43" }, "async": false, "generator": false, "typeParameters": null, "returnType": null }, "body": { "type": "BlockStatement", "span": { "start": 1264, "end": 1267, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1284, "end": 1300, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1288, "end": 1295, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1292, "end": 1293, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null }, "consequent": { "type": "BlockStatement", "span": { "start": 1297, "end": 1300, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1301, "end": 1320, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1308, "end": 1315, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1312, "end": 1313, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null }, "body": { "type": "BlockStatement", "span": { "start": 1317, "end": 1320, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1321, "end": 1341, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1333, "end": 1340, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1337, "end": 1338, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null }, "body": { "type": "BlockStatement", "span": { "start": 1324, "end": 1327, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 1343, "end": 1362, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1347, "end": 1357, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1351, "end": 1352, "ctxt": 0 }, "value": "D", "optional": false }, "arguments": [], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 1352, "end": 1355, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 1353, "end": 1354, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1353, "end": 1354, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } }, "consequent": { "type": "BlockStatement", "span": { "start": 1359, "end": 1362, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1363, "end": 1385, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1370, "end": 1380, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1374, "end": 1375, "ctxt": 0 }, "value": "D", "optional": false }, "arguments": [], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 1375, "end": 1378, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 1376, "end": 1377, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1376, "end": 1377, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } }, "body": { "type": "BlockStatement", "span": { "start": 1382, "end": 1385, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1386, "end": 1409, "ctxt": 0 }, "test": { "type": "NewExpression", "span": { "start": 1398, "end": 1408, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1402, "end": 1403, "ctxt": 0 }, "value": "D", "optional": false }, "arguments": [], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 1403, "end": 1406, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 1404, "end": 1405, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1404, "end": 1405, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } }, "body": { "type": "BlockStatement", "span": { "start": 1389, "end": 1392, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1425, "end": 1438, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1429, "end": 1437, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1429, "end": 1430, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": { "type": "BooleanLiteral", "span": { "start": 1433, "end": 1437, "ctxt": 0 }, "value": true }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1439, "end": 1449, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1443, "end": 1444, "ctxt": 0 }, "value": "a", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1446, "end": 1449, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1450, "end": 1463, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1457, "end": 1458, "ctxt": 0 }, "value": "a", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1460, "end": 1463, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1464, "end": 1478, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1476, "end": 1477, "ctxt": 0 }, "value": "a", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1467, "end": 1470, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1480, "end": 1493, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1484, "end": 1492, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1484, "end": 1485, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "NullLiteral", "span": { "start": 1488, "end": 1492, "ctxt": 0 } }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1494, "end": 1504, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1498, "end": 1499, "ctxt": 0 }, "value": "b", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1501, "end": 1504, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1505, "end": 1518, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1512, "end": 1513, "ctxt": 0 }, "value": "b", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1515, "end": 1518, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1519, "end": 1533, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1531, "end": 1532, "ctxt": 0 }, "value": "b", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1522, "end": 1525, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1535, "end": 1553, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1539, "end": 1552, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1539, "end": 1540, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "init": { "type": "Identifier", "span": { "start": 1543, "end": 1552, "ctxt": 0 }, "value": "undefined", "optional": false }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1554, "end": 1564, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1558, "end": 1559, "ctxt": 0 }, "value": "c", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1561, "end": 1564, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1565, "end": 1578, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1572, "end": 1573, "ctxt": 0 }, "value": "c", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1575, "end": 1578, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1579, "end": 1593, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1591, "end": 1592, "ctxt": 0 }, "value": "c", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1582, "end": 1585, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1595, "end": 1607, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1599, "end": 1606, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1599, "end": 1600, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 1603, "end": 1606, "ctxt": 0 }, "value": 0.0, "raw": "0.0" }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1608, "end": 1618, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1612, "end": 1613, "ctxt": 0 }, "value": "d", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1615, "end": 1618, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1619, "end": 1632, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1626, "end": 1627, "ctxt": 0 }, "value": "d", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1629, "end": 1632, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1633, "end": 1647, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1645, "end": 1646, "ctxt": 0 }, "value": "d", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1636, "end": 1639, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1649, "end": 1668, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1653, "end": 1667, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1653, "end": 1654, "ctxt": 0 }, "value": "e", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 1657, "end": 1667, "ctxt": 0 }, "value": "a string", "raw": "'a string'" }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1669, "end": 1679, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1673, "end": 1674, "ctxt": 0 }, "value": "e", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1676, "end": 1679, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1680, "end": 1693, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1687, "end": 1688, "ctxt": 0 }, "value": "e", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1690, "end": 1693, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1694, "end": 1708, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1706, "end": 1707, "ctxt": 0 }, "value": "e", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1697, "end": 1700, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1710, "end": 1721, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1714, "end": 1720, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1714, "end": 1715, "ctxt": 0 }, "value": "f", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 1718, "end": 1720, "ctxt": 0 }, "value": "", "raw": "''" }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1722, "end": 1732, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1726, "end": 1727, "ctxt": 0 }, "value": "f", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1729, "end": 1732, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1733, "end": 1746, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1740, "end": 1741, "ctxt": 0 }, "value": "f", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1743, "end": 1746, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1747, "end": 1761, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1759, "end": 1760, "ctxt": 0 }, "value": "f", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1750, "end": 1753, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1763, "end": 1778, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1767, "end": 1778, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1767, "end": 1768, "ctxt": 0 }, "value": "g", "optional": false, "typeAnnotation": null }, "init": { "type": "RegExpLiteral", "span": { "start": 1771, "end": 1778, "ctxt": 0 }, "pattern": "[a-z]", "flags": "" }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1779, "end": 1789, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1783, "end": 1784, "ctxt": 0 }, "value": "g", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1786, "end": 1789, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1790, "end": 1803, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1797, "end": 1798, "ctxt": 0 }, "value": "g", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1800, "end": 1803, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1804, "end": 1818, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1816, "end": 1817, "ctxt": 0 }, "value": "g", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1807, "end": 1810, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1820, "end": 1831, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1824, "end": 1830, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1824, "end": 1825, "ctxt": 0 }, "value": "h", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrayExpression", "span": { "start": 1828, "end": 1830, "ctxt": 0 }, "elements": [] }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1832, "end": 1842, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1836, "end": 1837, "ctxt": 0 }, "value": "h", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1839, "end": 1842, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1843, "end": 1856, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1850, "end": 1851, "ctxt": 0 }, "value": "h", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1853, "end": 1856, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1857, "end": 1871, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1869, "end": 1870, "ctxt": 0 }, "value": "h", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1860, "end": 1863, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1873, "end": 1888, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1877, "end": 1887, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1877, "end": 1878, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrayExpression", "span": { "start": 1881, "end": 1887, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1882, "end": 1883, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 1885, "end": 1886, "ctxt": 0 }, "value": 2.0, "raw": "2" } } ] }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1889, "end": 1899, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1893, "end": 1894, "ctxt": 0 }, "value": "i", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1896, "end": 1899, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1900, "end": 1913, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1907, "end": 1908, "ctxt": 0 }, "value": "i", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1910, "end": 1913, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1914, "end": 1928, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1926, "end": 1927, "ctxt": 0 }, "value": "i", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1917, "end": 1920, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1930, "end": 1941, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1934, "end": 1940, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1934, "end": 1935, "ctxt": 0 }, "value": "j", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 1938, "end": 1940, "ctxt": 0 }, "properties": [] }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1942, "end": 1952, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1946, "end": 1947, "ctxt": 0 }, "value": "j", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 1949, "end": 1952, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 1953, "end": 1966, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1960, "end": 1961, "ctxt": 0 }, "value": "j", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1963, "end": 1966, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 1967, "end": 1981, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 1979, "end": 1980, "ctxt": 0 }, "value": "j", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 1970, "end": 1973, "ctxt": 0 }, "stmts": [] } }, { "type": "VariableDeclaration", "span": { "start": 1983, "end": 2008, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1987, "end": 2007, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1987, "end": 1988, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 1991, "end": 2007, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1993, "end": 1994, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1996, "end": 1997, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1999, "end": 2000, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 2002, "end": 2005, "ctxt": 0 }, "value": "a", "raw": "'a'" } } ] }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 2009, "end": 2019, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2013, "end": 2014, "ctxt": 0 }, "value": "k", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 2016, "end": 2019, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 2020, "end": 2033, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2027, "end": 2028, "ctxt": 0 }, "value": "k", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 2030, "end": 2033, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 2034, "end": 2048, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2046, "end": 2047, "ctxt": 0 }, "value": "k", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 2037, "end": 2040, "ctxt": 0 }, "stmts": [] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 2059, "end": 2061, "ctxt": 0 }, "value": "fn", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 2062, "end": 2072, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 2062, "end": 2072, "ctxt": 0 }, "value": "x", "optional": true, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2064, "end": 2072, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2066, "end": 2072, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 2050, "end": 2093, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 2077, "end": 2093, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 2079, "end": 2091, "ctxt": 0 }, "argument": { "type": "NullLiteral", "span": { "start": 2086, "end": 2090, "ctxt": 0 } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 2073, "end": 2076, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 2075, "end": 2076, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2075, "end": 2076, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null } } }, { "type": "IfStatement", "span": { "start": 2094, "end": 2107, "ctxt": 0 }, "test": { "type": "CallExpression", "span": { "start": 2098, "end": 2102, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 2098, "end": 2100, "ctxt": 0 }, "value": "fn", "optional": false }, "arguments": [], "typeArguments": null }, "consequent": { "type": "BlockStatement", "span": { "start": 2104, "end": 2107, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 2108, "end": 2124, "ctxt": 0 }, "test": { "type": "CallExpression", "span": { "start": 2115, "end": 2119, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 2115, "end": 2117, "ctxt": 0 }, "value": "fn", "optional": false }, "arguments": [], "typeArguments": null }, "body": { "type": "BlockStatement", "span": { "start": 2121, "end": 2124, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 2125, "end": 2142, "ctxt": 0 }, "test": { "type": "CallExpression", "span": { "start": 2137, "end": 2141, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 2137, "end": 2139, "ctxt": 0 }, "value": "fn", "optional": false }, "arguments": [], "typeArguments": null }, "body": { "type": "BlockStatement", "span": { "start": 2128, "end": 2131, "ctxt": 0 }, "stmts": [] } }, { "type": "IfStatement", "span": { "start": 2144, "end": 2155, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2148, "end": 2150, "ctxt": 0 }, "value": "fn", "optional": false }, "consequent": { "type": "BlockStatement", "span": { "start": 2152, "end": 2155, "ctxt": 0 }, "stmts": [] }, "alternate": null }, { "type": "WhileStatement", "span": { "start": 2156, "end": 2170, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2163, "end": 2165, "ctxt": 0 }, "value": "fn", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 2167, "end": 2170, "ctxt": 0 }, "stmts": [] } }, { "type": "DoWhileStatement", "span": { "start": 2171, "end": 2186, "ctxt": 0 }, "test": { "type": "Identifier", "span": { "start": 2183, "end": 2185, "ctxt": 0 }, "value": "fn", "optional": false }, "body": { "type": "BlockStatement", "span": { "start": 2174, "end": 2177, "ctxt": 0 }, "stmts": [] } } ], "interpreter": null }