sleep.bridges
Class BasicSubroutine

java.lang.Object
  extended bysleep.bridges.SleepClosure
      extended bysleep.bridges.BasicSubroutine
All Implemented Interfaces:
Function

public class BasicSubroutine
extends SleepClosure

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

See Also:
DefaultEnvironment

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

Constructor Detail

BasicSubroutine

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

getUnloadStack

public Stack getUnloadStack()