sleep.engine.atoms
Class Decide
java.lang.Object
sleep.engine.Step
sleep.engine.atoms.Decide
- All Implemented Interfaces:
- Serializable
public class Decide
- extends Step
- See Also:
- Serialized Form
iftrue
public Block iftrue
iffalse
public Block iffalse
start
public Check start
Decide
public Decide(Check s)
toString
public String toString(String prefix)
- Description copied from class:
Step
- returns a string representation of this atomic step
- Overrides:
toString
in class Step
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
setChoices
public void setChoices(Block t,
Block f)
evaluate
public Scalar evaluate(ScriptEnvironment e)
- Description copied from class:
Step
- evaluate this atomic step.
- Overrides:
evaluate
in class Step