예제 #1
0
        // ReturnStatement
        private Statement Rewrite(ReturnStatement node)
        {
            Expression expression = RewriteExpressionFreeTemps(node.Expression);

            if ((object)expression != (object)node.Expression)
            {
                return(Ast.Return(node.Span, expression));
            }
            else
            {
                return(node);
            }
        }