Package sleep.engine.atoms
Class Return
- java.lang.Object
-
- sleep.engine.Step
-
- sleep.engine.atoms.Return
-
- All Implemented Interfaces:
java.io.Serializable
public class Return extends Step
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
return_type
-
Constructor Summary
Constructors Constructor Description Return(int type)
See ScriptEnvironment.FLOW_CONTROL_* for the type constants
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scalar
evaluate(ScriptEnvironment e)
evaluate this atomic step.java.lang.String
toString(java.lang.String prefix)
returns a string representation of this atomic step-
Methods inherited from class sleep.engine.Step
getHighLineNumber, getLineNumber, getLowLineNumber, setInfo, toString
-
-
-
-
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
-
evaluate
public Scalar evaluate(ScriptEnvironment e)
Description copied from class:Step
evaluate this atomic step.
-
-