Class FOR_WhileElt<T>
java.lang.Object
simula.runtime.FOR_Element
simula.runtime.FOR_WhileElt<T>
- Type Parameters:
T
- the type of this element
For-statement While element, not text
For i:=while
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe condition that determines whether to continue.The for-statement control variable.A Value expression.Fields inherited from class simula.runtime.FOR_Element
more
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class simula.runtime.FOR_Element
hasNext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
cvar
-
expr
-
cond
-
-
Constructor Details
-
FOR_WhileElt
-
-
Method Details
-
next
Update the control variable with the next value if any.- Returns:
true
if the control variable was updated; otherwisefalse
.
-