function forEachReturnStatement(body, visitor) {
        return traverse(body);
        function traverse(node) {
            switch (node.kind) {
                case 204 /* ReturnStatement */:
                    return visitor(node);
                case 220 /* CaseBlock */:
                case 192 /* Block */:
                case 196 /* IfStatement */:
                case 197 /* DoStatement */:
                case 198 /* WhileStatement */:
                case 199 /* ForStatement */:
                case 200 /* ForInStatement */:
                case 201 /* ForOfStatement */:
                case 205 /* WithStatement */:
                case 206 /* SwitchStatement */:
                case 241 /* CaseClause */:
                case 242 /* DefaultClause */:
                case 207 /* LabeledStatement */:
                case 209 /* TryStatement */:
                case 244 /* CatchClause */:
                    return ts.forEachChild(node, traverse);
            }
        }
    }