java.lang.Object
org.jext.dawn.Function
org.jext.dawn.array.LengthFunction
- public class LengthFunction
- extends org.jext.dawn.Function
Returns the length of a given array. The length of an array
represents the total amount of elements put in it.
Usage:
array length
Then this function pushes the array length AND the array on stack.
| Fields inherited from class org.jext.dawn.Function |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LengthFunction
public LengthFunction()
invoke
public void invoke(org.jext.dawn.DawnParser parser)
throws org.jext.dawn.DawnRuntimeException
- Description copied from class:
org.jext.dawn.Function
- Executes the function. Usually, the function should make use of
the
DawnParser given as parameter.