Frames | No Frames |
Classes derived from bsh.EvalError | |
class | This exception is thrown when parse errors are encountered. |
class | TargetError is an EvalError that wraps an exception thrown by the script
(or by code called from the script). |
Methods with return type bsh.EvalError | |
EvalError | Re-throw as an eval error, prefixing msg to the message and specifying
the node. |
EvalError | Override toEvalError to throw TargetError type. |
EvalError |
Methods which throw type bsh.EvalError | |
Object | Interpreter.eval(Reader in) Evaluate the inputstream in this interpreter's global namespace. |
Object | Spawn a non-interactive local interpreter to evaluate text in the
specified namespace. |
Object | Interpreter.eval(String statements) Evaluate the string in this interpreter's global namespace. |
Object | Evaluate the string in the specified namespace. |
Object | This is the general signature for evaluation of a node. |
Class | ClassGenerator.generateClass(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) Parse the BSHBlock for the class definition and generate the class. |
Class | ClassGeneratorImpl.generateClass(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) |
Class | ClassGeneratorImpl.generateClassImpl(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) Parse the BSHBlock for for the class definition and generate the class
using ClassGenerator. |
Object | Interpreter.get(String name) Get the value of the name. |
Object | Interpreter.getInterface(Class interf) Get a reference to the interpreter (global namespace), cast
to the specified interface type. |
Object | Invoke the declared method with the specified arguments and interpreter
reference. |
Object | BshMethod.invoke(Object[] argValues, Interpreter interpreter, CallStack callstack, bsh.SimpleNode callerInfo) Invoke the bsh method with the specified args, interpreter ref,
and callstack. |
Object | This.invokeMethod(String name, Object[] args) Invoke specified method as from outside java code, using the
declaring interpreter and current namespace. |
Object | Invoke a method in this namespace with the specified args and
interpreter reference. |
Object | NameSpace.invokeMethod(String methodName, Object[] args, Interpreter interpreter, CallStack callstack, bsh.SimpleNode callerInfo) This method simply delegates to This.invokeMethod();
|
Object | This.invokeMethod(String methodName, Object[] args, Interpreter interpreter, CallStack callstack, bsh.SimpleNode callerInfo, boolean declaredOnly) Invoke a method in this namespace with the specified args,
interpreter reference, callstack, and caller info. |
void | Re-throw the error, prepending the specified message. |
void | Interpreter.set(String name, Object value) Assign the value to the name. |
void | Interpreter.set(String name, boolean value) |
void | Interpreter.set(String name, double value) |
void | Interpreter.set(String name, float value) |
void | Interpreter.set(String name, int value) |
void | Interpreter.set(String name, long value) |
Object | Interpreter.source(String filename) Read text from fileName and eval it. |
Object | Read text from fileName and eval it. |
void | Interpreter.unset(String name) Unassign the variable name. |