|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jext.dawn.Function
org.jext.dawn.array.LengthFunction
public class LengthFunction
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.
Constructor Summary | |
---|---|
LengthFunction()
|
Method Summary | |
---|---|
void |
invoke(DawnParser parser)
Executes the function. |
Methods inherited from class org.jext.dawn.Function |
---|
getHelp, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LengthFunction()
Method Detail |
---|
public void invoke(DawnParser parser) throws DawnRuntimeException
Function
DawnParser
given as parameter.
invoke
in class Function
parser
- The DawnParser
which inoked the function
DawnRuntimeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |