public override bool Interpret(Context context, AbstractExpression left, AbstractExpression right) { return(left.Interpret(context) || right.Interpret(context)); }
public UnaryExpression(AbstractExpression expression, AbstractUnaryOperator unaryOperator) { this.expression = expression; this.unaryOperator = unaryOperator; }
public override bool Interpret(Context context, AbstractExpression left, AbstractExpression right) { return left.Interpret(context) && right.Interpret(context); }
public UnaryExpression(AbstractExpression expression, AbstractUnaryOperator unaryOperator) { this.expression = expression; this.unaryOperator = unaryOperator; }
public abstract bool Interpret(Context context, AbstractExpression left, AbstractExpression right);
public abstract bool Interpret(Context context, AbstractExpression expression);
public BinaryExpression(AbstractExpression left, AbstractExpression right, AbstractBinaryOperator binaryOperator) { leftExpression = left; rightExpression = right; this.binaryOperator = binaryOperator; }
public abstract bool Interpret(Context context, AbstractExpression left, AbstractExpression right);
public override bool Interpret(Context context, AbstractExpression expression) { return(!expression.Interpret(context)); }
public override bool Interpret(Context context, AbstractExpression expression) { return !expression.Interpret( context ); }
public abstract bool Interpret(Context context, AbstractExpression expression);
public BinaryExpression(AbstractExpression left, AbstractExpression right, AbstractBinaryOperator binaryOperator) { leftExpression = left; rightExpression = right; this.binaryOperator = binaryOperator; }