Package sleep.engine.atoms
Class Goto
- java.lang.Object
-
- sleep.engine.Step
-
- sleep.engine.atoms.Goto
-
- All Implemented Interfaces:
java.io.Serializable
public class Goto extends Step
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scalarevaluate(ScriptEnvironment e)evaluate this atomic step.intgetHighLineNumber()returns the last line number that this step is associated with (assuming it is associated with multiple linesvoidsetChoices(Block t)voidsetIncrement(Block i)java.lang.StringtoString(java.lang.String prefix)returns a string representation of this atomic step-
Methods inherited from class sleep.engine.Step
getLineNumber, getLowLineNumber, setInfo, toString
-
-
-
-
Constructor Detail
-
Goto
public Goto(Check s)
-
-
Method Detail
-
toString
public java.lang.String toString(java.lang.String prefix)
Description copied from class:Stepreturns a string representation of this atomic step
-
setIncrement
public void setIncrement(Block i)
-
setChoices
public void setChoices(Block t)
-
getHighLineNumber
public int getHighLineNumber()
Description copied from class:Stepreturns the last line number that this step is associated with (assuming it is associated with multiple lines- Overrides:
getHighLineNumberin classStep
-
evaluate
public Scalar evaluate(ScriptEnvironment e)
Description copied from class:Stepevaluate this atomic step.
-
-