示例#1
0
 // <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));
 }
示例#2
0
 /// <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);
 }
示例#4
0
 // <summary>
 // CastOp
 // </summary>
 public virtual TResultType Visit(CastOp op, Node n)
 {
     return(VisitScalarOpDefault(op, n));
 }