public override QueryNode Visit(UnaryOperatorNode nodeIn)
        {
            Debug.Assert(nodeIn.OperatorKind == UnaryOperatorKind.Not);

            this.Expression.Append("not(");

            nodeIn.Operand.Accept(this);

            this.Expression.Append(")");

            return(nodeIn);
        }
Esempio n. 2
0
 /// <summary>
 /// Visit a UnaryOperatorNode
 /// </summary>
 /// <param name="nodeIn">the node to visit</param>
 /// <returns>Defined by the implementer</returns>
 public virtual T Visit(UnaryOperatorNode nodeIn)
 {
     throw new NotImplementedException();
 }