// <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)); }
// <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); }
public override void Visit(ComparisonOp op, Node n) { VisitScalarOpDefault(op, n); AssertBooleanOp(op); AssertEqualTypes(n.Child0.Op.Type, n.Child1.Op.Type); }
/// <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); }
// <summary> // ComparisonOp // </summary> public virtual TResultType Visit(ComparisonOp op, Node n) { return(VisitScalarOpDefault(op, n)); }