{ "type": "Script", "span": { "start": 0, "end": 735, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 9, "end": 12, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 0, "end": 18, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 15, "end": 18, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 25, "end": 26, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 19, "end": 73, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 33, "end": 50, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 40, "end": 41, "ctxt": 0 }, "value": "a", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 41, "end": 49, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 43, "end": 49, "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": 55, "end": 71, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 62, "end": 65, "ctxt": 0 }, "value": "foo", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 55, "end": 71, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 68, "end": 71, "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": 74, "end": 92, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 79, "end": 80, "ctxt": 0 }, "value": "E", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 83, "end": 84, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": "a", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 86, "end": 87, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 86, "end": 87, "ctxt": 0 }, "value": "b", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 89, "end": 90, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 89, "end": 90, "ctxt": 0 }, "value": "c", "optional": false }, "init": null } ] }, { "type": "TsModuleDeclaration", "span": { "start": 93, "end": 118, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 100, "end": 101, "ctxt": 0 }, "value": "M", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 102, "end": 118, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 104, "end": 116, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 111, "end": 116, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 115, "end": 116, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 115, "end": 116, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } } ] } }, { "type": "VariableDeclaration", "span": { "start": 120, "end": 135, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 124, "end": 134, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 124, "end": 125, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 125, "end": 134, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 127, "end": 134, "ctxt": 0 }, "kind": "boolean" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 136, "end": 150, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 140, "end": 149, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 140, "end": 141, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 141, "end": 149, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 143, "end": 149, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 151, "end": 165, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 155, "end": 164, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 155, "end": 156, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 156, "end": 164, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 158, "end": 164, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 158, "end": 164, "ctxt": 0 }, "value": "Object", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 166, "end": 180, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 170, "end": 179, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 170, "end": 171, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 171, "end": 179, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 173, "end": 179, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 173, "end": 179, "ctxt": 0 }, "value": "Number", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 228, "end": 243, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 232, "end": 242, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 232, "end": 234, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 237, "end": 242, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 237, "end": 238, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 241, "end": 242, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 244, "end": 259, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 248, "end": 258, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 248, "end": 250, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 253, "end": 258, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 253, "end": 254, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 257, "end": 258, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 260, "end": 275, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 264, "end": 274, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 264, "end": 266, "ctxt": 0 }, "value": "r3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 269, "end": 274, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 269, "end": 270, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "Identifier", "span": { "start": 273, "end": 274, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 322, "end": 337, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 326, "end": 336, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 326, "end": 328, "ctxt": 0 }, "value": "r4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 331, "end": 336, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 331, "end": 332, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 335, "end": 336, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 338, "end": 353, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 342, "end": 352, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 342, "end": 344, "ctxt": 0 }, "value": "r5", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 347, "end": 352, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 347, "end": 348, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 351, "end": 352, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 382, "end": 397, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 386, "end": 396, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 386, "end": 388, "ctxt": 0 }, "value": "r6", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 391, "end": 396, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 391, "end": 392, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 395, "end": 396, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 444, "end": 459, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 448, "end": 458, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 448, "end": 450, "ctxt": 0 }, "value": "r7", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 453, "end": 458, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 453, "end": 454, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 457, "end": 458, "ctxt": 0 }, "value": "a", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 460, "end": 475, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 464, "end": 474, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 464, "end": 466, "ctxt": 0 }, "value": "r8", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 469, "end": 474, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 469, "end": 470, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 473, "end": 474, "ctxt": 0 }, "value": "b", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 476, "end": 491, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 480, "end": 490, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 480, "end": 482, "ctxt": 0 }, "value": "r9", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 485, "end": 490, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 485, "end": 486, "ctxt": 0 }, "value": "c", "optional": false }, "right": { "type": "Identifier", "span": { "start": 489, "end": 490, "ctxt": 0 }, "value": "c", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 508, "end": 527, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 512, "end": 526, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 512, "end": 515, "ctxt": 0 }, "value": "r10", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 518, "end": 526, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 518, "end": 519, "ctxt": 0 }, "value": "a", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 522, "end": 526, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 528, "end": 551, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 532, "end": 550, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 532, "end": 535, "ctxt": 0 }, "value": "r11", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 538, "end": 550, "ctxt": 0 }, "operator": "+", "left": { "type": "BooleanLiteral", "span": { "start": 538, "end": 542, "ctxt": 0 }, "value": true }, "right": { "type": "BooleanLiteral", "span": { "start": 545, "end": 550, "ctxt": 0 }, "value": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 552, "end": 573, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 556, "end": 572, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 556, "end": 559, "ctxt": 0 }, "value": "r12", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 562, "end": 572, "ctxt": 0 }, "operator": "+", "left": { "type": "BooleanLiteral", "span": { "start": 562, "end": 566, "ctxt": 0 }, "value": true }, "right": { "type": "NumericLiteral", "span": { "start": 569, "end": 572, "ctxt": 0 }, "value": 123.0, "raw": "123" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 574, "end": 592, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 578, "end": 591, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 578, "end": 581, "ctxt": 0 }, "value": "r13", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 584, "end": 591, "ctxt": 0 }, "operator": "+", "left": { "type": "ObjectExpression", "span": { "start": 584, "end": 586, "ctxt": 0 }, "properties": [] }, "right": { "type": "ObjectExpression", "span": { "start": 589, "end": 591, "ctxt": 0 }, "properties": [] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 593, "end": 609, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 597, "end": 608, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 597, "end": 600, "ctxt": 0 }, "value": "r14", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 603, "end": 608, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 603, "end": 604, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 607, "end": 608, "ctxt": 0 }, "value": "d", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 610, "end": 628, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 614, "end": 627, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 614, "end": 617, "ctxt": 0 }, "value": "r15", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 620, "end": 627, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 620, "end": 621, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 624, "end": 627, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 629, "end": 649, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 633, "end": 648, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 633, "end": 636, "ctxt": 0 }, "value": "r16", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 639, "end": 648, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 639, "end": 640, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "CallExpression", "span": { "start": 643, "end": 648, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 643, "end": 646, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 650, "end": 666, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 654, "end": 665, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 654, "end": 657, "ctxt": 0 }, "value": "r17", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 660, "end": 665, "ctxt": 0 }, "operator": "+", "left": { "type": "Identifier", "span": { "start": 660, "end": 661, "ctxt": 0 }, "value": "b", "optional": false }, "right": { "type": "Identifier", "span": { "start": 664, "end": 665, "ctxt": 0 }, "value": "C", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 667, "end": 691, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 671, "end": 690, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 671, "end": 674, "ctxt": 0 }, "value": "r18", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 677, "end": 690, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 677, "end": 680, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 677, "end": 678, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 679, "end": 680, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "NewExpression", "span": { "start": 683, "end": 690, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 687, "end": 688, "ctxt": 0 }, "value": "C", "optional": false }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 692, "end": 716, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 696, "end": 715, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 696, "end": 699, "ctxt": 0 }, "value": "r19", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 702, "end": 715, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 702, "end": 705, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 702, "end": 703, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 704, "end": 705, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "CallExpression", "span": { "start": 708, "end": 715, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 708, "end": 713, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 708, "end": 709, "ctxt": 0 }, "value": "C", "optional": false }, "property": { "type": "Identifier", "span": { "start": 710, "end": 713, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 717, "end": 735, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 721, "end": 734, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 721, "end": 724, "ctxt": 0 }, "value": "r20", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 727, "end": 734, "ctxt": 0 }, "operator": "+", "left": { "type": "MemberExpression", "span": { "start": 727, "end": 730, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 727, "end": 728, "ctxt": 0 }, "value": "E", "optional": false }, "property": { "type": "Identifier", "span": { "start": 729, "end": 730, "ctxt": 0 }, "value": "a", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 733, "end": 734, "ctxt": 0 }, "value": "M", "optional": false } }, "definite": false } ] } ], "interpreter": null }