21 lines
629 B
C#
21 lines
629 B
C#
using System.Diagnostics;
|
|
|
|
namespace Strata.SqlTools.Rules.Rule.Expression;
|
|
|
|
/// <summary>
|
|
/// Represents a logical OR operation between two BoolExpr expressions.
|
|
/// </summary>
|
|
[DebuggerDisplay("{Left} OR {Right}")]
|
|
public class Or : Logical
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="Or"/> class.
|
|
/// </summary>
|
|
/// <param name="left">The left operand.</param>
|
|
/// <param name="right">The right operand.</param>
|
|
public Or(BoolExpr left, BoolExpr right) : base(left, right) { }
|
|
|
|
/// <inheritdoc/>
|
|
public override T Accept<T>(IVisitor<T> visitor) => visitor.VisitOr(this);
|
|
}
|