aspoev.interpreter.base
Class WhileElement
java.lang.Object
aspoev.interpreter.base.Element
aspoev.interpreter.base.StatementElement
aspoev.interpreter.base.BranchElement
aspoev.interpreter.base.WhileElement
- All Implemented Interfaces:
- java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
- public class WhileElement
- extends BranchElement
- implements pJ.jasmine.PRI
An Element class that executes its child elements as long as its
conditional is 'true'.
- See Also:
- Serialized Form
| Fields inherited from class aspoev.interpreter.base.Element |
parent |
| Fields inherited from interface pJ.jasmine.PRI |
DELETECHANGE, MODIFYCHANGE, NOCHANGE |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WhileElement
public WhileElement(ConditionalElement cond,
BlockElement body)
clone
public java.lang.Object clone()
- Specified by:
clone in class Element
executeElement
protected java.lang.Object executeElement()
- Overrides:
executeElement in class StatementElement
getCodeString
public java.lang.String getCodeString()
- Specified by:
getCodeString in class Element