/** 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 cast type of the expression. */ public Cast castType(TypeNode castType) { Cast_c n = (Cast_c) copy(); n.castType = castType; return n; }