/** Reconstruct the expression. */ protected Cast_c reconstruct(TypeNode castType, Expr expr) { if (castType != this.castType || expr != this.expr) { Cast_c n = (Cast_c) copy(); n.castType = castType; n.expr = expr; return n; } return this; }
/** Set the expression being cast. */ public Cast expr(Expr expr) { Cast_c n = (Cast_c) copy(); n.expr = expr; return n; }
/** Set the cast type of the expression. */ public Cast castType(TypeNode castType) { Cast_c n = (Cast_c) copy(); n.castType = castType; return n; }