internal static bool IsConditionless(ISpanContainingQuery q)
        {
            var exclude = q.Little as IQuery;
            var include = q.Big as IQuery;

            return(exclude == null && include == null ||
                   include == null && exclude.Conditionless ||
                   exclude == null && include.Conditionless ||
                   exclude != null && exclude.Conditionless && include != null && include.Conditionless);
        }
Exemplo n.º 2
0
 public virtual void Visit(ISpanContainingQuery query)
 {
 }
		public void Visit(ISpanContainingQuery query) => Write("span_containing");
 public virtual void Visit(ISpanContainingQuery query) => Write("span_containing");
Exemplo n.º 5
0
		public virtual void Visit(ISpanContainingQuery query) { }