|
|||||||||
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.test.IfFunction
public class IfFunction
This class provides an implementation of the if/else statement.
Usage:
if [condition] then [code] else [code] end
else is optional.
Constructor Summary | |
---|---|
IfFunction()
|
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 IfFunction()
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 |