|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EvalError | |
bsh | |
bsh.classpath |
Uses of EvalError in bsh |
Subclasses of EvalError in bsh | |
class |
ClassPathException
|
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 throw EvalError | |
java.lang.Object |
NameSpace.get(java.lang.String name,
Interpreter interpreter)
Resolve name to an object through this namespace. |
void |
NameSpace.setVariable(java.lang.String name,
java.lang.Object value)
Deprecated. Use the form specifying strict java. This method assumes strict java is false. |
void |
NameSpace.setVariable(java.lang.String name,
java.lang.Object value,
boolean strictJava)
Set a variable in this namespace. |
void |
NameSpace.setTypedVariable(java.lang.String name,
java.lang.Class type,
java.lang.Object value,
boolean isFinal)
Set the typed variable with the value. |
static void |
NameSpace.doSuperImport()
Perform "import *;" causing the entire classpath to be mapped. |
static java.lang.Object |
NameSpace.checkAssignableFrom(java.lang.Object rhs,
java.lang.Class lhsType)
Deprecated. name changed. |
static java.lang.Object |
NameSpace.getAssignableForm(java.lang.Object rhs,
java.lang.Class lhsType)
Determine if the RHS object can be assigned to the LHS type (as is, through widening, promotion, etc) and if so, return the assignable form of the RHS. |
java.lang.Object |
NameSpace.invokeMethod(java.lang.String methodName,
java.lang.Object[] args,
Interpreter interpreter)
Invoke a method in this namespace with the specified args and interpreter reference. |
java.lang.Object |
NameSpace.invokeMethod(java.lang.String methodName,
java.lang.Object[] args,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
invoke a method in this namespace with the specified args, interpreter reference, and callstack This is a convenience for users outside of this package. |
java.lang.Object |
Interpreter.source(java.lang.String filename,
NameSpace nameSpace)
Read text from fileName and eval it. |
java.lang.Object |
Interpreter.source(java.lang.String filename)
Read text from fileName and eval it. |
java.lang.Object |
Interpreter.eval(java.io.Reader in,
NameSpace nameSpace,
java.lang.String sourceFileInfo)
Spawn a non-interactive local interpreter to evaluate text in the specified namespace. |
java.lang.Object |
Interpreter.eval(java.io.Reader in)
Evaluate the inputstream in this interpreter's global namespace. |
java.lang.Object |
Interpreter.eval(java.lang.String statement)
Evaluate the string in this interpreter's global namespace. |
java.lang.Object |
Interpreter.eval(java.lang.String statement,
NameSpace nameSpace)
Evaluate the string in the specified namespace. |
java.lang.Object |
Interpreter.get(java.lang.String name)
Get the value of the name. |
void |
Interpreter.set(java.lang.String name,
java.lang.Object value)
Assign the value to the name. |
void |
Interpreter.set(java.lang.String name,
long value)
|
void |
Interpreter.set(java.lang.String name,
int value)
|
void |
Interpreter.set(java.lang.String name,
double value)
|
void |
Interpreter.set(java.lang.String name,
float value)
|
void |
Interpreter.set(java.lang.String name,
boolean value)
|
void |
Interpreter.unset(java.lang.String name)
Unassign the variable name. |
java.lang.Object |
Interpreter.getInterface(java.lang.Class interf)
Fetch a reference to the interpreter (global namespace), and cast it to the specified type of interface type. |
void |
EvalError.reThrow(java.lang.String msg)
Re-throw the eval error, prepending msg to the message. |
void |
EvalError.reThrow(bsh.SimpleNode node)
Re-throw the eval error, specifying the node. |
void |
EvalError.reThrow(java.lang.String addMsg,
bsh.SimpleNode addNode)
Re-throw the eval error, prefixing msg to the message and specifying the node. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter,
CallStack callstack)
Invoke the declared method with the specified arguments, interpreter reference, and callstack. |
abstract void |
BshClassManager.doSuperImport()
Support for "import *;" Hide details in here as opposed to NameSpace. |
java.lang.Object |
This.getInterface(java.lang.Class clas)
Get a version of the interface. |
java.lang.Object |
This.invokeMethod(java.lang.String name,
java.lang.Object[] args)
Invoke specified method from outside java code, using the declaring interpreter and current namespace. |
java.lang.Object |
This.invokeMethod(java.lang.String name,
java.lang.Object[] args,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
Invoke specified method with specified interpreter. |
static java.lang.Object |
Primitive.binaryOperation(java.lang.Object obj1,
java.lang.Object obj2,
int kind)
Allow primitive operations on wrapper types such as Integer and Boolean. |
static Primitive |
Primitive.unaryOperation(Primitive val,
int kind)
|
int |
Primitive.intValue()
|
boolean |
Primitive.booleanValue()
|
java.lang.Number |
Primitive.numberValue()
|
Uses of EvalError in bsh.classpath |
Methods in bsh.classpath that throw EvalError | |
void |
ClassManagerImpl.doSuperImport()
Support for "import *;" Hide details in here as opposed to NameSpace. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |