sleep.engine.atoms
Class Goto

java.lang.Object
  extended bysleep.engine.Step
      extended bysleep.engine.atoms.Goto
All Implemented Interfaces:
Serializable

public class Goto
extends Step

See Also:
Serialized Form

Field Summary
 Block iffalse
           
 Block iftrue
           
 boolean isLoop
           
 String name
           
 Check start
           
 
Fields inherited from class sleep.engine.Step
line, next
 
Constructor Summary
Goto(Check s)
           
 
Method Summary
 Scalar evaluate(ScriptEnvironment e)
          evaluate this atomic step.
 void setChoices(Block t, Block f)
           
 void setLoop(boolean l)
           
 String toString(String prefix)
          returns a string representation of this atomic step
 
Methods inherited from class sleep.engine.Step
getLineNumber, setInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iftrue

public Block iftrue

iffalse

public Block iffalse

start

public Check start

name

public String name

isLoop

public boolean isLoop
Constructor Detail

Goto

public Goto(Check s)
Method Detail

toString

public String toString(String prefix)
Description copied from class: Step
returns a string representation of this atomic step

Overrides:
toString in class Step

setLoop

public void setLoop(boolean l)

setChoices

public void setChoices(Block t,
                       Block f)

evaluate

public Scalar evaluate(ScriptEnvironment e)
Description copied from class: Step
evaluate this atomic step.

Specified by:
evaluate in class Step