/// <summary> /// Analyzes the specified expression. /// </summary> /// <param name="exp">The expression.</param> /// <returns>The result of analysis.</returns> public string Analyze(Expressions.Programming.And exp) { if (exp.Parent is BinaryExpression) { return(ToString(exp, "({0} && {1})")); } return(ToString(exp, "{0} && {1}")); }
/// <summary> /// Analyzes the specified expression. /// </summary> /// <param name="exp">The expression.</param> /// <returns> /// The result of analysis. /// </returns> /// <exception cref="System.NotSupportedException">Always.</exception> public virtual TResult Analyze(Expressions.Programming.And exp) { throw new NotSupportedException(); }