Object |
BSHPackageDeclaration.eval(CallStack callstack,
Interpreter interpreter) |
|
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.
|
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.
|
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 |
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 |
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 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.
|
void |
EvalError.reThrow(String msg) |
Re-throw the error, prepending the specified message.
|
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) |
|
void |
Interpreter.set(String name,
Object value) |
Assign the value to the name.
|
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.
|