| }
}
}
public Expression compile(Executable exec) throws XPathException {
NumberInstruction expr = new NumberInstruction (exec.getConfiguration(),
select,
level,
count,
from,
value,
format,
groupSize,
groupSeparator,
letterValue,
ordinal,
lang,
formatter,
numberer,
hasVariablesInPatterns,
backwardsCompatibleModeIsEnabled());
int loc = getStaticContext().getLocationMap().allocateLocationId(getSystemId(), getLineNumber());
expr.setLocationId(loc);
ValueOf inst = new ValueOf(expr, false, false);
inst.setLocationId(allocateLocationId(getSystemId(), getLineNumber()));
inst.setIsNumberingInstruction();
return inst;
}
|