Пример #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));
 }