final String calledAs = getSignature().getName().getLocalName();
return RangeIndexModule.OPERATOR_MAP.get(calledAs);
}
private AtomicValue[] getKeys(Sequence contextSequence) throws XPathException {
RangeIndexConfigElement config = findConfiguration(contextSequence);
int targetType = config != null ? config.getType() : Type.ITEM;
Sequence keySeq = getArgument(1).eval(contextSequence);
AtomicValue[] keys = new AtomicValue[keySeq.getItemCount()];
for (int i = 0; i < keys.length; i++) {
if (targetType == Type.ITEM) {
keys[i] = (AtomicValue) keySeq.itemAt(i);