Ejemplo n.º 1
0
        // ScopeStatement
        private Statement Rewrite(ScopeStatement node)
        {
            Expression scope = RewriteExpressionFreeTemps(node.Scope);
            Statement  body  = RewriteStatement(node.Body);

            if (((object)scope != (object)node.Scope) ||
                ((object)body != (object)node.Body))
            {
                return(Ast.Scope(node.Span, scope, body));
            }
            else
            {
                return(node);
            }
        }