Frames | No Frames |
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. | |
Fields of type bsh.NameSpace | |
NameSpace |
Methods with parameter type bsh.NameSpace | |
void | Bind a This reference to a parent's namespace with the specified
declaring interpreter. |
Object | Spawn a non-interactive local interpreter to evaluate text in the
specified namespace. |
Object | Evaluate the string in the specified namespace. |
void | |
void | This is kind of crazy, but used by the setNameSpace command. |
void | Set the global namespace for this interpreter. |
void | |
Object | 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 | 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 |
Constructors with parameter type bsh.NameSpace | |