public void Visit(BooleanRangeExpression expression) { string op; switch (expression.RangeType) { case RangeOperatorType.All: op = " ALL"; break; case RangeOperatorType.Any: op = " ANY"; break; case RangeOperatorType.Some: op = " SOME"; break; default: throw new NotSupportedException(); } Visit(expression.Left); Write(op); Write(GetBooleanOperator(expression.Type)); Write("("); WriteLine(); using (Indent(2)) Visit(expression.Subquery); WriteLine(); Write(")"); }
public void Visit(BooleanRangeExpression booleanRangeExpression) { if (_innerVisitor != null) { booleanRangeExpression.Accept(_innerVisitor); } booleanRangeExpression.Left.Accept(this); booleanRangeExpression.Subquery.Accept(this); }
public void Visit(BooleanRangeExpression booleanRangeExpression) { }