Ejemplo n.º 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.And exp)
        {
            if (exp.Parent is BinaryExpression)
            {
                return(ToString(exp, "({0} and {1})"));
            }

            return(ToString(exp, "{0} and {1}"));
        }
Ejemplo n.º 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.And exp)
 {
     throw new NotSupportedException();
 }