sleep.bridges
Class BasicSubroutine

java.lang.Object
  extended by sleep.bridges.SleepClosure
      extended by sleep.bridges.BasicSubroutine
All Implemented Interfaces:
java.io.Serializable, Function

public class BasicSubroutine
extends SleepClosure

The actual implementation of each subroutine declared with the sub keyword.

See Also:
DefaultEnvironment, Serialized Form

Constructor Summary
BasicSubroutine(ScriptInstance si, Block _code, java.util.Stack _unload)
           
 
Method Summary
 java.util.Stack getUnloadStack()
           
 
Methods inherited from class sleep.bridges.SleepClosure
callClosure, evaluate, getAndRemoveMetadata, getOwner, getRunnableCode, getVariables, putMetadata, scalarIterator, setVariables, toString, toStringGeneric
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicSubroutine

public BasicSubroutine(ScriptInstance si,
                       Block _code,
                       java.util.Stack _unload)
Method Detail

getUnloadStack

public java.util.Stack getUnloadStack()