internal override Expression /*!*/ ToCondition(LexicalScope /*!*/ currentScope) { var newExpression = _expression.ToCondition(currentScope); if (newExpression != _expression) { return(new NotExpression(newExpression, Location)); } return(this); }
internal override Expression /*!*/ ToCondition(LexicalScope /*!*/ currentScope) { var newLeft = _left.ToCondition(currentScope); var newRight = _right.ToCondition(currentScope); if (newLeft != _left || newRight != _right) { return(new AndExpression(newLeft, newRight, Location)); } return(this); }
internal override Expression /*!*/ ToCondition() { _left.ToCondition(); _right.ToCondition(); return(this); }
internal override Expression /*!*/ ToCondition() { _expression.ToCondition(); return(this); }