sleep.engine.atoms
Class Return

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

public class Return
extends Step

See Also:
Serialized Form

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.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

return_type

protected int return_type
Constructor Detail

Return

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

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

evaluate

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

Overrides:
evaluate in class Step