java.lang.Object
simula.runtime.RTS_RTObject.ForElt
simula.runtime.RTS_RTObject.WhileElt<T>
- Type Parameters:
T
- the type of this element
- Enclosing class:
RTS_RTObject
For-statement While element, not text
For i:= <Expr> while <Cond>
-
Field Summary
Modifier and TypeFieldDescription(package private) RTS_RTObject.RTS_NAME
<Boolean> The condition that determines whether to continue.(package private) final RTS_RTObject.RTS_NAME
<T> The for-statement control variable.(package private) final RTS_RTObject.RTS_NAME
<T> A Value expression.Fields inherited from class simula.runtime.RTS_RTObject.ForElt
more
-
Constructor Summary
ConstructorDescriptionWhileElt
(RTS_RTObject.RTS_NAME<T> cvar, RTS_RTObject.RTS_NAME<T> expr, RTS_RTObject.RTS_NAME<Boolean> cond) Create While element. -
Method Summary
Methods inherited from class simula.runtime.RTS_RTObject.ForElt
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
The for-statement control variable. -
expr
A Value expression. -
cond
RTS_RTObject.RTS_NAME<Boolean> condThe condition that determines whether to continue.
-
-
Constructor Details
-
WhileElt
public WhileElt(RTS_RTObject.RTS_NAME<T> cvar, RTS_RTObject.RTS_NAME<T> expr, RTS_RTObject.RTS_NAME<Boolean> cond) Create While element.- Parameters:
cvar
- the for-statement control variableexpr
- a Value expressioncond
- a Boolean exppression
-
-
Method Details
-
next
-