예제 #1
0
 // <summary>
 // Copies a ComparisonOp
 // </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(ComparisonOp op, Node n)
 {
     return(CopyDefault(m_destCmd.CreateComparisonOp(op.OpType, op.UseDatabaseNullSemantics), n));
 }
예제 #2
0
 // <summary>
 // Copies a ComparisonOp
 // </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(ComparisonOp op, Node n)
 {
     return(CopyDefault(m_destCmd.CreateComparisonOp(op.OpType), n));
 }
 public virtual void Visit(ComparisonOp op, Node n)
 {
     this.VisitScalarOpDefault((ScalarOp)op, n);
 }
예제 #4
0
 public override void Visit(ComparisonOp op, Node n)
 {
     VisitScalarOpDefault(op, n);
     AssertBooleanOp(op);
     AssertEqualTypes(n.Child0.Op.Type, n.Child1.Op.Type);
 }
예제 #5
0
 /// <summary>
 ///     Visitor pattern method for ComparisonOp
 /// </summary>
 /// <param name="op"> The ComparisonOp being visited </param>
 /// <param name="n"> The Node that references the Op </param>
 public virtual void Visit(ComparisonOp op, Node n)
 {
     VisitScalarOpDefault(op, n);
 }
예제 #6
0
 // <summary>
 // ComparisonOp
 // </summary>
 public virtual TResultType Visit(ComparisonOp op, Node n)
 {
     return(VisitScalarOpDefault(op, n));
 }