playtest-unity/playtest/Library/PackageCache/com.unity.visualscripting@1.../Runtime/VisualScripting.Flow/Dependencies/NCalc/TernaryExpression.cs

24 lines
737 B
C#
Raw Permalink Normal View History

2023-06-19 23:21:21 -04:00
namespace Unity.VisualScripting.Dependencies.NCalc
{
public class TernaryExpression : LogicalExpression
{
public TernaryExpression(LogicalExpression leftExpression, LogicalExpression middleExpression, LogicalExpression rightExpression)
{
LeftExpression = leftExpression;
MiddleExpression = middleExpression;
RightExpression = rightExpression;
}
public LogicalExpression LeftExpression { get; set; }
public LogicalExpression MiddleExpression { get; set; }
public LogicalExpression RightExpression { get; set; }
public override void Accept(LogicalExpressionVisitor visitor)
{
visitor.Visit(this);
}
}
}