AssertArgument.isNotNull(expr, "expr");
if(expr instanceof LogicalExpr) {
LogicalExpr logicalExpr = (LogicalExpr) expr;
if(logicalExpr.getOperator().equalsIgnoreCase("and")) {
return new AndEvaluator(logicalExpr, selectorStep, namespaces);
} else if(logicalExpr.getOperator().equalsIgnoreCase("or")) {
return new OrEvaluator(logicalExpr, selectorStep, namespaces);
}
} else if(expr instanceof EqualityExpr) {
EqualityExpr equalityExpr = (EqualityExpr) expr;