sleep.engine.atoms
Class Goto

java.lang.Object
  extended by sleep.engine.Step
      extended by sleep.engine.atoms.Goto
All Implemented Interfaces:
java.io.Serializable

public class Goto
extends Step

See Also:
Serialized Form

Field Summary
protected  Block iftrue
           
protected  Block increment
           
protected  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.
 int getHighLineNumber()
          returns the last line number that this step is associated with (assuming it is associated with multiple lines
 void setChoices(Block t)
           
 void setIncrement(Block i)
           
 java.lang.String toString(java.lang.String prefix)
          returns a string representation of this atomic step
 
Methods inherited from class sleep.engine.Step
getLineNumber, getLowLineNumber, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

iftrue

protected Block iftrue

start

protected Check start

increment

protected Block increment
Constructor Detail

Goto

public Goto(Check s)
Method Detail

toString

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

Overrides:
toString in class Step

setIncrement

public void setIncrement(Block i)

setChoices

public void setChoices(Block t)

getHighLineNumber

public int getHighLineNumber()
Description copied from class: Step
returns the last line number that this step is associated with (assuming it is associated with multiple lines

Overrides:
getHighLineNumber in class Step

evaluate

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

Overrides:
evaluate in class Step