예제 #1
0
        public virtual Expr Visit(WithExpr e)
        {
            var oV = VisitExpr(e.Obj);
            var cV = VisitExpr(e.Code);

            return(oV == e.Obj && cV == e.Code ? e : new WithExpr(e.Location, oV, cV));
        }
예제 #2
0
 public PExpr Visit(WithExpr e)
 {
     return(Run(new WithExprFrame(this, e)));
 }