public IQuery Visit(NotQuery query) { return(new NotQuery(query.Query.Accept(this))); }
public IQuery Visit(NotQuery query) { var modifiedSubquery = query.Query.Accept(this); return(modifiedSubquery == NullQuery.Instance ? NullQuery.Instance : new NotQuery(modifiedSubquery)); }