Firstborn/Library/PackageCache/com.unity.visualscripting@1.../Runtime/VisualScripting.Flow/Dependencies/NCalc/BinaryExpression.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

47 lines
1.0 KiB
C#

namespace Unity.VisualScripting.Dependencies.NCalc
{
public class BinaryExpression : LogicalExpression
{
public BinaryExpression(BinaryExpressionType type, LogicalExpression leftExpression, LogicalExpression rightExpression)
{
Type = type;
LeftExpression = leftExpression;
RightExpression = rightExpression;
}
public LogicalExpression LeftExpression { get; set; }
public LogicalExpression RightExpression { get; set; }
public BinaryExpressionType Type { get; set; }
public override void Accept(LogicalExpressionVisitor visitor)
{
visitor.Visit(this);
}
}
public enum BinaryExpressionType
{
And,
Or,
NotEqual,
LesserOrEqual,
GreaterOrEqual,
Lesser,
Greater,
Equal,
Minus,
Plus,
Modulo,
Div,
Times,
BitwiseOr,
BitwiseAnd,
BitwiseXOr,
LeftShift,
RightShift,
Unknown
}
}