You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
737 B
C#
24 lines
737 B
C#
1 year ago
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|