case XAQLToken.LGNEQ_OPERATOR:
case XAQLToken.LIKE_OPERATOR:
case XAQLToken.MATCHES_OPERATOR:
return new ValueCondition(targetPath, quantifier, negated, new ValueOpFactory().get(operator.value().trim(), tokens.get(index++).value()), valueQuantifier);
case XAQLToken.IN_OPERATOR:
INOp inOp = (INOp)new ValueOpFactory().get(operator.value().trim(), tokens.get(index++).value());
while (index < tokens.size()) {
inOp.add(new ValueOpFactory().get("=", tokens.get(index++).value()));
}
return new ValueCondition(targetPath, quantifier, negated, inOp, valueQuantifier);
default:
throw new WikiFatalException("Unknown operator type");
}