Package | Description |
---|---|
bsh |
Modifier and Type | Method and Description |
---|---|
Interpreter |
Interpreter.getParent()
Get the parent Interpreter of this interpreter, if any.
|
Modifier and Type | Method and Description |
---|---|
static void |
This.bind(This ths,
NameSpace namespace,
Interpreter declaringInterpreter)
Bind a This reference to a parent's namespace with the specified
declaring interpreter.
|
static BshClassManager |
BshClassManager.createClassManager(Interpreter interpreter)
Create a new instance of the class manager.
|
Object |
BSHPackageDeclaration.eval(CallStack callstack,
Interpreter interpreter) |
Class |
ClassGeneratorImpl.generateClass(String name,
Modifiers modifiers,
Class[] interfaces,
Class superClass,
bsh.BSHBlock block,
boolean isInterface,
CallStack callstack,
Interpreter interpreter) |
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.
|
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 |
NameSpace.get(String name,
Interpreter interpreter)
Resolve name to an object through this namespace.
|
Object |
NameSpace.getCommand(String name,
Class[] argTypes,
Interpreter interpreter)
A command is a scripted method or compiled command class implementing a
specified method signature.
|
This |
NameSpace.getGlobal(Interpreter declaringInterpreter)
Get the top level namespace or this namespace if we are the top.
|
This |
NameSpace.getSuper(Interpreter declaringInterpreter)
Get the parent namespace' This reference or this namespace' This
reference if we are the top.
|
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 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.
|
Constructor and Description |
---|
Interpreter(Reader in,
PrintStream out,
PrintStream err,
boolean interactive,
NameSpace namespace,
Interpreter parent,
String sourceFileInfo)
The main constructor.
|
This(NameSpace namespace,
Interpreter declaringInterpreter) |
XThis(NameSpace namespace,
Interpreter declaringInterp) |
? 2000-2005 pat@pat.net :-)