// <summary> // Copies a CastOp // </summary> // <param name="op"> The Op to Copy </param> // <param name="n"> The Node that references the Op </param> // <returns> A copy of the original Node that references a copy of the original Op </returns> public override Node Visit(CastOp op, Node n) { return(CopyDefault(m_destCmd.CreateCastOp(op.Type), n)); }
/// <summary> /// Visitor pattern method for CastOp /// </summary> /// <param name="op"> The CastOp being visited </param> /// <param name="n"> The Node that references the Op </param> public virtual void Visit(CastOp op, Node n) { VisitScalarOpDefault(op, n); }
public virtual void Visit(CastOp op, Node n) { this.VisitScalarOpDefault((ScalarOp)op, n); }
// <summary> // CastOp // </summary> public virtual TResultType Visit(CastOp op, Node n) { return(VisitScalarOpDefault(op, n)); }