Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
sleep.bridges.BasicIO
Method Summary | |
Scalar |
|
boolean |
|
boolean |
|
public Scalar evaluate(String n, ScriptInstance i, Stack l)
Evaluate a function and return the resulting scalar. Only the sleep interpreter should ever call this function. If you have a maddening desire to call this Function object yourself, then use the convienence method in SleepUtils.
- Parameters:
- Returns:
- an instance of Scalar containing the return value of this function.
public boolean scriptLoaded(ScriptInstance aScript)
called when a script is loaded
- Specified by:
- scriptLoaded in interface Loadable
public boolean scriptUnloaded(ScriptInstance aScript)
called when a script is unloaded
- Specified by:
- scriptUnloaded in interface Loadable