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.

28 lines
624 B
C#

1 year ago
namespace Unity.VisualScripting.Dependencies.NCalc
{
public class UnaryExpression : LogicalExpression
{
public UnaryExpression(UnaryExpressionType type, LogicalExpression expression)
{
Type = type;
Expression = expression;
}
public LogicalExpression Expression { get; set; }
public UnaryExpressionType Type { get; set; }
public override void Accept(LogicalExpressionVisitor visitor)
{
visitor.Visit(this);
}
}
public enum UnaryExpressionType
{
Not,
Negate,
BitwiseNot
}
}