{ "type": "Script", "span": { "start": 1, "end": 736, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 10, "end": 13, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 1, "end": 19, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 16, "end": 19, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 27, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 20, "end": 74, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 34, "end": 51, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 41, "end": 42, "ctxt": 0 }, "value": "a", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 42, "end": 50, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 44, "end": 50, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": "public", "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassMethod", "span": { "start": 56, "end": 72, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 63, "end": 66, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 56, "end": 72, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 69, "end": 72, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": true, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsEnumDeclaration", "span": { "start": 75, "end": 93, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 80, "end": 81, "ctxt": 0 }, "value": "E", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 84, "end": 85, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 84, "end": 85, "ctxt": 0 }, "value": "a", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 87, "end": 88, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 87, "end": 88, "ctxt": 0 }, "value": "b", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 90, "end": 91, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 90, "end": 91, "ctxt": 0 }, "value": "c", "optional": false }, "init": null } ] }, { "type": "TsModuleDeclaration", "span": { "start": 94, "end": 119, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 101, "end": 102, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 103, "end": 119, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 105, "end": 117, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 112, "end": 117, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 116, "end": 117, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 116, "end": 117, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } } ] } }, { "type": "VariableDeclaration", "span": { "start": 121, "end": 136, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 125, "end": 135, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 126, "end": 135, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 128, "end": 135, "ctxt": 0 }, "kind": "boolean" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 137, "end": 151, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 141, "end": 150, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 141, "end": 142, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 142, "end": 150, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 144, "end": 150, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 152, "end": 166, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 156, "end": 165, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 156, "end": 157, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 157, "end": 165, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 159, "end": 165, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 159, "end": 165, "ctxt": 0 }, "value": "Object", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 167, "end": 181, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 171, "end": 180, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 171, "end": 172, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 172, "end": 180, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 174, "end": 180, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 174, "end": 180, "ctxt": 0 }, "value": "Number", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 229, "end": 244, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 233, "end": 243, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 233, "end": 235, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 238, "end": 243, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 238, "end": 239, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 242, "end": 243, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 245, "end": 260, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 249, "end": 259, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 249, "end": 251, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 254, "end": 259, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 254, "end": 255, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 258, "end": 259, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 261, "end": 276, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 265, "end": 275, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 265, "end": 267, "ctxt": 0 }, "value": "r3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 270, "end": 275, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 270, "end": 271, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 274, "end": 275, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 323, "end": 338, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 327, "end": 337, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 327, "end": 329, "ctxt": 0 }, "value": "r4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 332, "end": 337, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 332, "end": 333, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 336, "end": 337, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 339, "end": 354, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 343, "end": 353, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 343, "end": 345, "ctxt": 0 }, "value": "r5", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 348, "end": 353, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 348, "end": 349, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 352, "end": 353, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 383, "end": 398, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 387, "end": 397, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 387, "end": 389, "ctxt": 0 }, "value": "r6", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 392, "end": 397, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 392, "end": 393, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 396, "end": 397, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 445, "end": 460, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 449, "end": 459, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 449, "end": 451, "ctxt": 0 }, "value": "r7", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 454, "end": 459, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 454, "end": 455, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 458, "end": 459, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 461, "end": 476, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 465, "end": 475, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 465, "end": 467, "ctxt": 0 }, "value": "r8", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 470, "end": 475, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 470, "end": 471, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 474, "end": 475, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 477, "end": 492, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 481, "end": 491, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 481, "end": 483, "ctxt": 0 }, "value": "r9", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 486, "end": 491, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 486, "end": 487, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 490, "end": 491, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 509, "end": 528, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 513, "end": 527, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 513, "end": 516, "ctxt": 0 }, "value": "r10", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 519, "end": 527, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 519, "end": 520, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 523, "end": 527, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 529, "end": 552, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 533, "end": 551, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 533, "end": 536, "ctxt": 0 }, "value": "r11", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 539, "end": 551, "ctxt": 0 }, "operator": "+", "left": { "type": "BooleanLiteral", "span": { "start": 539, "end": 543, "ctxt": 0 }, "value": true }, "right": { "type": "BooleanLiteral", "span": { "start": 546, "end": 551, "ctxt": 0 }, "value": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 553, "end": 574, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 557, "end": 573, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 557, "end": 560, "ctxt": 0 }, "value": "r12", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 563, "end": 573, "ctxt": 0 }, "operator": "+", "left": { "type": "BooleanLiteral", "span": { "start": 563, "end": 567, "ctxt": 0 }, "value": true }, "right": { "type": "NumericLiteral", "span": { "start": 570, "end": 573, "ctxt": 0 }, "value": 123.0, "raw": "123" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 575, "end": 593, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 579, "end": 592, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 579, "end": 582, "ctxt": 0 }, "value": "r13", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 585, "end": 592, "ctxt": 0 }, "operator": "+", "left": { "type": "ObjectExpression", "span": { "start": 585, "end": 587, "ctxt": 0 }, "properties": [] }, "right": { "type": "ObjectExpression", "span": { "start": 590, "end": 592, "ctxt": 0 }, "properties": [] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 594, "end": 610, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 598, "end": 609, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 598, "end": 601, "ctxt": 0 }, "value": "r14", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 604, "end": 609, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 604, "end": 605, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 608, "end": 609, "ctxt": 0 }, "value": "d", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 611, "end": 629, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 615, "end": 628, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 615, "end": 618, "ctxt": 0 }, "value": "r15", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 621, "end": 628, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 621, "end": 622, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 625, "end": 628, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 630, "end": 650, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 634, "end": 649, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 634, "end": 637, "ctxt": 0 }, "value": "r16", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 640, "end": 649, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 640, "end": 641, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "CallExpression", "span": { "start": 644, "end": 649, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 644, "end": 647, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 651, "end": 667, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 655, "end": 666, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 655, "end": 658, "ctxt": 0 }, "value": "r17", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 661, "end": 666, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 661, "end": 662, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 665, "end": 666, "ctxt": 0 }, "value": "C", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 668, "end": 692, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 672, "end": 691, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 672, "end": 675, "ctxt": 0 }, "value": "r18", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 678, "end": 691, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 678, "end": 681, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 678, "end": 679, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 680, "end": 681, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "NewExpression", "span": { "start": 684, "end": 691, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 688, "end": 689, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 693, "end": 717, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 697, "end": 716, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 697, "end": 700, "ctxt": 0 }, "value": "r19", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 703, "end": 716, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 703, "end": 706, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 703, "end": 704, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 705, "end": 706, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "CallExpression", "span": { "start": 709, "end": 716, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 709, "end": 714, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 709, "end": 710, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 711, "end": 714, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 718, "end": 736, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 722, "end": 735, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 722, "end": 725, "ctxt": 0 }, "value": "r20", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 728, "end": 735, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 728, "end": 731, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 728, "end": 729, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 730, "end": 731, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 734, "end": 735, "ctxt": 0 }, "value": "M", "optional": false } }, "definite": false } ] } ], "interpreter": null }