|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmodesteditor.core.stepsimulation.SimulationNode
modesteditor.core.stepsimulation.AltNode
modesteditor.core.stepsimulation.DoNode
public class DoNode
Class representing an do loop statement in the step simulation tree.
| Field Summary |
|---|
| Fields inherited from class modesteditor.core.stepsimulation.AltNode |
|---|
activeChild |
| Fields inherited from class modesteditor.core.stepsimulation.SimulationNode |
|---|
alphabet, children, column, guard, hidden, isActive, length, line, newLabel, parent |
| Constructor Summary | |
|---|---|
DoNode(int line,
int column,
SimulationNode parent)
Default constructor |
|
| Method Summary | |
|---|---|
void |
breakTransitionTaken()
If a break is taken in the scope of the do statement, all other statements in the scope are released and the node is completed. |
void |
childIsFinished(SimulationNode child)
Method ensures that if a child is finished, all other children are set active again. |
java.util.List<ParTransition> |
collectParTransitions()
Abstract method for generating the list of parallel transitions of the node. |
java.util.List<SimulationNode> |
collectTransitions()
Method collects all children if not a child is already active |
void |
takeTransition()
No transition to be taken, only child can be consumed. |
| Methods inherited from class modesteditor.core.stepsimulation.AltNode |
|---|
generateAlphabet, getParentList, isFinished, notificationOfChildActivity, releaseTransitions, setActive |
| Methods inherited from class modesteditor.core.stepsimulation.SimulationNode |
|---|
addChild, createSimHighlighting, exceptionThrown, getAlphabet, getColumn, getGuard, getLength, getLine, getName, getParent, hide, isActive, isHidden, printTransition, relabelNode, setParent, stopCalled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoNode(int line,
int column,
SimulationNode parent)
line - column - parent - | Method Detail |
|---|
public void childIsFinished(SimulationNode child)
childIsFinished in class AltNodechild - public void takeTransition()
AltNode
takeTransition in class AltNodepublic void breakTransitionTaken()
breakTransitionTaken in class SimulationNodepublic java.util.List<SimulationNode> collectTransitions()
collectTransitions in class AltNodepublic java.util.List<ParTransition> collectParTransitions()
SimulationNode
collectParTransitions in class AltNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||