sleep.bridges

Class BasicSubroutine

Implemented Interfaces:
Function, Serializable

public class BasicSubroutine
extends SleepClosure

The actual implementation of each subroutine declared with the sub keyword.
See Also:
DefaultEnvironment

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, scalarIterator, setVariables, toString, toStringGeneric

Constructor Details

BasicSubroutine

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

Method Details

getUnloadStack

public Stack getUnloadStack()