internal override void RewriteBody(TotemAst.LookupVisitor visitor) { _dlrBody = null; // clear the cached body if we've been reduced Expression funcCode = GlobalParent.Constant(GetOrMakeFunctionCode()); FuncCodeExpr = funcCode; Body = new TotemAst.RewrittenBodyStmt(Body, visitor.Visit(Body)); }