Uses of Class bsh.NameSpace

Uses in package bsh

Constructors with parameter type bsh.NameSpace

Interpreter.Interpreter(Reader in, PrintStream out, PrintStream err, boolean interactive, NameSpace namespace)
Interpreter.Interpreter(Reader in, PrintStream out, PrintStream err, boolean interactive, NameSpace namespace, Interpreter parent, String sourceFileInfo)
The main constructor.
Construct a new interactive interpreter attached to the specified console using the specified parent namespace.
NameSpace.NameSpace(NameSpace parent, String name)
NameSpace.NameSpace(NameSpace parent, BshClassManager classManager, String name)
This.This(NameSpace namespace, Interpreter declaringInterpreter)

Fields of type bsh.NameSpace

NameSpace

Methods with parameter type bsh.NameSpace

void
This.bind(This ths, NameSpace namespace, Interpreter declaringInterpreter)
Bind a This reference to a parent's namespace with the specified declaring interpreter.
Object
Interpreter.eval(Reader in, NameSpace nameSpace, String sourceFileInfo)
Spawn a non-interactive local interpreter to evaluate text in the specified namespace.
Object
Interpreter.eval(String statements, NameSpace nameSpace)
Evaluate the string in the specified namespace.
void
void
CallStack.set(int depth, NameSpace ns)
This is kind of crazy, but used by the setNameSpace command.
void
Set the global namespace for this interpreter.
void
Object
Interpreter.source(String filename, NameSpace nameSpace)
Read text from fileName and eval it.
NameSpace
Swap in the value as the new top of the stack and return the old value.

Methods with return type bsh.NameSpace

NameSpace
CallStack.get(int depth)
zero based.
NameSpace
Get the top level namespace or this namespace if we are the top.
NameSpace
Get the global namespace of this interpreter.
NameSpace
NameSpace
Get the parent namespace.
NameSpace
Get the parent namespace or this namespace if we are the top.
NameSpace
NameSpace
Swap in the value as the new top of the stack and return the old value.
NameSpace[]
NameSpace

Uses in package bsh.util

Constructors with parameter type bsh.NameSpace

Sessiond.Sessiond(NameSpace globalNameSpace, int port)

B) 2000 pat@pat.net :-)