Beispiel #1
0
        /// <summary>
        /// Analyzes the specified expression.
        /// </summary>
        /// <param name="exp">The expression.</param>
        /// <returns>The result of analysis.</returns>
        public string Analyze(Expressions.LogicalAndBitwise.Or exp)
        {
            if (exp.Parent is BinaryExpression)
            {
                return(ToString(exp, "({0} or {1})"));
            }

            return(ToString(exp, "{0} or {1}"));
        }
Beispiel #2
0
 /// <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.LogicalAndBitwise.Or exp)
 {
     throw new NotSupportedException();
 }