|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EvalError | |
bsh |
Uses of EvalError in bsh |
Subclasses of EvalError in bsh | |
class |
ParseException
This exception is thrown when parse errors are encountered. |
class |
TargetError
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script). |
Methods in bsh that return 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 |
UtilEvalError.toEvalError(bsh.SimpleNode node,
CallStack callstack)
|
EvalError |
UtilTargetError.toEvalError(String msg,
bsh.SimpleNode node,
CallStack callstack)
Override toEvalError to throw TargetError type. |
Methods in bsh that throw EvalError | |
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 |
Interpreter.source(String filename,
NameSpace nameSpace)
Read text from fileName and eval it. |
Object |
Interpreter.source(String filename)
Read text from fileName and eval it. |
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(Reader in)
Evaluate the inputstream in this interpreter's global 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 |
Interpreter.get(String name)
Get the value of the name. |
void |
Interpreter.set(String name,
Object value)
Assign the value to the name. |
void |
Interpreter.set(String name,
long value)
|
void |
Interpreter.set(String name,
int value)
|
void |
Interpreter.set(String name,
double value)
|
void |
Interpreter.set(String name,
float value)
|
void |
Interpreter.set(String name,
boolean value)
|
void |
Interpreter.unset(String name)
Unassign the variable name. |
Object |
Interpreter.getInterface(Class interf)
Get a reference to the interpreter (global namespace), cast to the specified interface type. |
void |
EvalError.reThrow(String msg)
Re-throw the error, prepending the specified message. |
abstract 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. |
Object |
This.invokeMethod(String name,
Object[] args)
Invoke specified method as from outside java code, using the declaring interpreter and current namespace. |
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. |
Class |
ClassGeneratorImpl.generateClass(String name,
Modifiers modifiers,
Class[] interfaces,
Class superClass,
bsh.BSHBlock block,
boolean isInterface,
CallStack callstack,
Interpreter interpreter)
|
static 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 |
BSHPackageDeclaration.eval(CallStack callstack,
Interpreter interpreter)
|
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)
Invoke the declared method with the specified arguments, interpreter reference, and callstack. |
Object |
BshMethod.invoke(Object[] argValues,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |