public class LMAP extends NamedWarpScriptFunction implements WarpScriptStackFunction
2: list 1: macro LMAP
The macro and the list are popped out of the stack. The macro is called for each element of 'list' with the index of the current element, by default, and the element itself on the stack.
| Constructor and Description |
|---|
LMAP(java.lang.String name) |
LMAP(java.lang.String name,
boolean flat) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(WarpScriptStack stack) |
getName, refSnapshot, setName, toStringpublic LMAP(java.lang.String name)
public LMAP(java.lang.String name,
boolean flat)
public java.lang.Object apply(WarpScriptStack stack) throws WarpScriptException
apply in interface WarpScriptStackFunctionWarpScriptException