Map a function over a value sequence, yielding a new sequence.
Normally, the function takes one argument, the item in the sequence.
If startCounter is non-negative, a position index is also passed.
Used to implement XQuery's 'for' form.

Field Detail

valuesMap

valuesMapWithPos

Method Detail

numArgs

Return minArgs()|(maxArgs<<12).
We use a single virtual function to reduce the number of methods
in the system, as well as the number of virtual method table entries.
We shift by 12 so the number can normally be represented using a
sipush instruction, without requiring a constant pool entry.