{ "type": "Script", "span": { "start": 100, "end": 879, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 110, "end": 111, "ctxt": 0 }, "value": "g", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 100, "end": 116, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 114, "end": 116, "ctxt": 0 }, "stmts": [] }, "generator": true, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 191, "end": 195, "ctxt": 0 }, "value": "noop", "optional": false }, "declare": true, "params": [], "decorators": [], "span": { "start": 174, "end": 204, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 197, "end": 203, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 199, "end": 203, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 222, "end": 223, "ctxt": 0 }, "value": "f", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 227, "end": 235, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 227, "end": 235, "ctxt": 0 }, "value": "value", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 232, "end": 235, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 234, "end": 235, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 234, "end": 235, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 205, "end": 243, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 223, "end": 226, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 224, "end": 225, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 224, "end": 225, "ctxt": 0 }, "value": "T", "optional": false }, "in": false, "out": false, "constraint": null, "default": null } ] }, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 236, "end": 242, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 238, "end": 242, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 255, "end": 257, "ctxt": 0 }, "value": "g2", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 245, "end": 311, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 260, "end": 311, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 266, "end": 286, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 272, "end": 285, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 272, "end": 277, "ctxt": 0 }, "value": "value", "optional": false, "typeAnnotation": null }, "init": { "type": "YieldExpression", "span": { "start": 280, "end": 285, "ctxt": 0 }, "argument": null, "delegate": false }, "definite": false } ] } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 323, "end": 325, "ctxt": 0 }, "value": "g3", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 313, "end": 402, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 328, "end": 402, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 334, "end": 362, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 340, "end": 361, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 340, "end": 345, "ctxt": 0 }, "value": "value", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 345, "end": 353, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 347, "end": 353, "ctxt": 0 }, "kind": "string" } } }, "init": { "type": "YieldExpression", "span": { "start": 356, "end": 361, "ctxt": 0 }, "argument": null, "delegate": false }, "definite": false } ] } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 414, "end": 416, "ctxt": 0 }, "value": "g4", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 404, "end": 741, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 419, "end": 741, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 425, "end": 431, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 425, "end": 430, "ctxt": 0 }, "argument": null, "delegate": false } }, { "type": "ExpressionStatement", "span": { "start": 460, "end": 474, "ctxt": 0 }, "expression": { "type": "SequenceExpression", "span": { "start": 460, "end": 473, "ctxt": 0 }, "expressions": [ { "type": "YieldExpression", "span": { "start": 460, "end": 465, "ctxt": 0 }, "argument": null, "delegate": false }, { "type": "CallExpression", "span": { "start": 467, "end": 473, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 467, "end": 471, "ctxt": 0 }, "value": "noop", "optional": false }, "arguments": [], "typeArguments": null } ] } }, { "type": "ExpressionStatement", "span": { "start": 503, "end": 525, "ctxt": 0 }, "expression": { "type": "SequenceExpression", "span": { "start": 503, "end": 524, "ctxt": 0 }, "expressions": [ { "type": "CallExpression", "span": { "start": 503, "end": 509, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 503, "end": 507, "ctxt": 0 }, "value": "noop", "optional": false }, "arguments": [], "typeArguments": null }, { "type": "YieldExpression", "span": { "start": 511, "end": 516, "ctxt": 0 }, "argument": null, "delegate": false }, { "type": "CallExpression", "span": { "start": 518, "end": 524, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 518, "end": 522, "ctxt": 0 }, "value": "noop", "optional": false }, "arguments": [], "typeArguments": null } ] } }, { "type": "ExpressionStatement", "span": { "start": 554, "end": 562, "ctxt": 0 }, "expression": { "type": "ParenthesisExpression", "span": { "start": 554, "end": 561, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 555, "end": 560, "ctxt": 0 }, "argument": null, "delegate": false } } }, { "type": "ExpressionStatement", "span": { "start": 591, "end": 615, "ctxt": 0 }, "expression": { "type": "SequenceExpression", "span": { "start": 591, "end": 614, "ctxt": 0 }, "expressions": [ { "type": "ParenthesisExpression", "span": { "start": 591, "end": 606, "ctxt": 0 }, "expression": { "type": "SequenceExpression", "span": { "start": 592, "end": 605, "ctxt": 0 }, "expressions": [ { "type": "YieldExpression", "span": { "start": 592, "end": 597, "ctxt": 0 }, "argument": null, "delegate": false }, { "type": "CallExpression", "span": { "start": 599, "end": 605, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 599, "end": 603, "ctxt": 0 }, "value": "noop", "optional": false }, "arguments": [], "typeArguments": null } ] } }, { "type": "CallExpression", "span": { "start": 608, "end": 614, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 608, "end": 612, "ctxt": 0 }, "value": "noop", "optional": false }, "arguments": [], "typeArguments": null } ] } }, { "type": "ForStatement", "span": { "start": 644, "end": 669, "ctxt": 0 }, "init": { "type": "YieldExpression", "span": { "start": 648, "end": 653, "ctxt": 0 }, "argument": null, "delegate": false }, "test": { "type": "BooleanLiteral", "span": { "start": 655, "end": 660, "ctxt": 0 }, "value": false }, "update": { "type": "YieldExpression", "span": { "start": 662, "end": 667, "ctxt": 0 }, "argument": null, "delegate": false }, "body": { "type": "EmptyStatement", "span": { "start": 668, "end": 669, "ctxt": 0 } } }, { "type": "ExpressionStatement", "span": { "start": 700, "end": 713, "ctxt": 0 }, "expression": { "type": "UnaryExpression", "span": { "start": 700, "end": 712, "ctxt": 0 }, "operator": "void", "argument": { "type": "ParenthesisExpression", "span": { "start": 705, "end": 712, "ctxt": 0 }, "expression": { "type": "YieldExpression", "span": { "start": 706, "end": 711, "ctxt": 0 }, "argument": null, "delegate": false } } } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 753, "end": 755, "ctxt": 0 }, "value": "g5", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 743, "end": 798, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 758, "end": 798, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 764, "end": 773, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 764, "end": 772, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 764, "end": 765, "ctxt": 0 }, "value": "f", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "YieldExpression", "span": { "start": 766, "end": 771, "ctxt": 0 }, "argument": null, "delegate": false } } ], "typeArguments": null } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 810, "end": 812, "ctxt": 0 }, "value": "g6", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 800, "end": 879, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 815, "end": 879, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 821, "end": 838, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 821, "end": 837, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 821, "end": 822, "ctxt": 0 }, "value": "f", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "YieldExpression", "span": { "start": 831, "end": 836, "ctxt": 0 }, "argument": null, "delegate": false } } ], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 822, "end": 830, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 823, "end": 829, "ctxt": 0 }, "kind": "string" } ] } } } ] }, "generator": true, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }