コード例 #1
0
 // <summary>
 // Copies a NullOp
 // </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(NullOp op, Node n)
 {
     return(m_destCmd.CreateNode(m_destCmd.CreateNullOp(op.Type)));
 }
コード例 #2
0
 public virtual void Visit(NullOp op, Node n)
 {
     this.VisitConstantOp((ConstantBaseOp)op, n);
 }
コード例 #3
0
 // <summary>
 // NullOp
 // </summary>
 public virtual TResultType Visit(NullOp op, Node n)
 {
     return(VisitConstantOp(op, n));
 }
コード例 #4
0
 /// <summary>
 ///     Visitor pattern method for NullOp
 /// </summary>
 /// <param name="op"> The NullOp being visited </param>
 /// <param name="n"> The Node that references the Op </param>
 public virtual void Visit(NullOp op, Node n)
 {
     VisitConstantOp(op, n);
 }
コード例 #5
0
 public virtual TResultType Visit(NullOp op, Node n)
 {
     return(this.VisitConstantOp((ConstantBaseOp)op, n));
 }