sleep.engine.atoms

Class Return

Implemented Interfaces:
Serializable

public class Return
extends Step

Field Summary

protected int
return_type

Fields inherited from class sleep.engine.Step

line, next

Constructor Summary

Return(int type)
See ScriptEnvironment.FLOW_CONTROL_* for the type constants

Method Summary

Scalar
evaluate(ScriptEnvironment e)
evaluate this atomic step.
String
toString()

Methods inherited from class sleep.engine.Step

evaluate, getHighLineNumber, getLineNumber, getLowLineNumber, setInfo, toString, toString

Field Details

return_type

protected int return_type

Constructor Details

Return

public Return(int type)
See ScriptEnvironment.FLOW_CONTROL_* for the type constants

Method Details

evaluate

public Scalar evaluate(ScriptEnvironment e)
evaluate this atomic step.
Overrides:
evaluate in interface Step

toString

public String toString()
Overrides:
toString in interface Step