21 lines
631 B
C#
21 lines
631 B
C#
using System.Diagnostics;
|
|
|
|
namespace Strata.SqlTools.Rules.Rule.Expression;
|
|
|
|
/// <summary>
|
|
/// Represents a WITH operation for sequential rule evaluation.
|
|
/// </summary>
|
|
[DebuggerDisplay("{Left} WITH {Right}")]
|
|
public class With : Logical
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="With"/> class.
|
|
/// </summary>
|
|
/// <param name="left">The left operand.</param>
|
|
/// <param name="right">The right operand.</param>
|
|
public With(BoolExpr left, BoolExpr right) : base(left, right) { }
|
|
|
|
/// <inheritdoc/>
|
|
public override T Accept<T>(IVisitor<T> visitor) => visitor.VisitWith(this);
|
|
}
|