_hasContextualFilter = true;
continue;
}
} else if(e instanceof FunctionCall) {
FunctionCall fc = (FunctionCall) e;
BuiltInFunction fnlast = PredefinedFunctions.lookup(Last.SYMBOL);
if(fnlast.getName().equals(fc.getFuncName())) { // if fn:last()
final LastFilter filter = new LastFilter(baseType);
_predicates.set(i, filter);
baseType = filter.getType();
_hasContextualFilter = true;
continue;