aspoev.interpreter.base
Class ForElement
java.lang.Object
aspoev.interpreter.base.Element
aspoev.interpreter.base.StatementElement
aspoev.interpreter.base.BranchElement
aspoev.interpreter.base.ForElement
- All Implemented Interfaces:
- java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable
- public class ForElement
- 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 |
initialization
protected StatementElement initialization
increment
protected StatementElement increment
ForElement
public ForElement(StatementElement init,
ConditionalElement cond,
StatementElement incr,
BlockElement block)
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
toString
public java.lang.String toString()
- Overrides:
toString in class Element