| java.lang.Object java.lang.Package pnuts.lib.ScriptPackage
ScriptPackage | public class ScriptPackage extends Package implements AbstractData(Code) | | Package that is used in user's scripts as an hashtable.
Unlike pnuts.lang.Package, this class implements AbstractData, so that
expression like scriptPackage.fname(args...) is interpreted as
a call of function 'fname' of the script package.
When scriptPackage.print is a zero-arg function,
ScriptPackage.toString() method calls the function to obtain the string
representation of the object.
|
ScriptPackage | public ScriptPackage()(Code) | | |
|
|