Ejemplo n.º 1
0
        public virtual Expr Visit(ForeachExpr e)
        {
            var vV = (AccessorLetExpr)VisitExpr(e.Variable);
            var gV = VisitExpr(e.Generator);
            var cV = VisitExpr(e.Code);

            return(vV == e.Variable && gV == e.Generator && cV == e.Code ? e : new ForeachExpr(e.Location, vV, gV, cV));
        }
Ejemplo n.º 2
0
 public PExpr Visit(ForeachExpr e) => Run(new ForeachExprFrame(this, e));