Uses of Class bsh.EvalError

Uses in package bsh

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
UtilEvalError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack)
Re-throw as an eval error, prefixing msg to the message and specifying the node.
EvalError
UtilTargetError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack)
Override toEvalError to throw TargetError type.
EvalError
UtilEvalError.toEvalError(bsh.SimpleNode node, CallStack callstack)

Methods which throw type bsh.EvalError

Object
Interpreter.eval(Reader in)
Evaluate the inputstream in this interpreter's global namespace.
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)
Evaluate the string in this interpreter's global namespace.
Object
Interpreter.eval(String statements, NameSpace nameSpace)
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
BshMethod.invoke(Object[] argValues, Interpreter interpreter)
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
NameSpace.invokeMethod(String methodName, Object[] args, Interpreter interpreter)
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
EvalError.reThrow(String msg)
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
Interpreter.source(String filename, NameSpace nameSpace)
Read text from fileName and eval it.
void
Interpreter.unset(String name)
Unassign the variable name.

© 2000-2005 pat@pat.net :-)