|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Interpreter | |
---|---|
bsh | |
bsh.commands |
Uses of Interpreter in bsh |
---|
Methods in bsh that return Interpreter | |
---|---|
Interpreter |
Interpreter.getParent()
Get the parent Interpreter of this interpreter, if any. |
Methods in bsh with parameters of type Interpreter | |
---|---|
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. |
java.lang.Object |
BSHPackageDeclaration.eval(CallStack callstack,
Interpreter interpreter)
|
java.lang.Class |
ClassGeneratorImpl.generateClass(java.lang.String name,
Modifiers modifiers,
java.lang.Class[] interfaces,
java.lang.Class superClass,
bsh.BSHBlock block,
boolean isInterface,
CallStack callstack,
Interpreter interpreter)
|
abstract java.lang.Class |
ClassGenerator.generateClass(java.lang.String name,
Modifiers modifiers,
java.lang.Class[] interfaces,
java.lang.Class superClass,
bsh.BSHBlock block,
boolean isInterface,
CallStack callstack,
Interpreter interpreter)
Parse the BSHBlock for the class definition and generate the class. |
static java.lang.Class |
ClassGeneratorImpl.generateClassImpl(java.lang.String name,
Modifiers modifiers,
java.lang.Class[] interfaces,
java.lang.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. |
java.lang.Object |
NameSpace.get(java.lang.String name,
Interpreter interpreter)
Resolve name to an object through this namespace. |
java.lang.Object |
NameSpace.getCommand(java.lang.String name,
java.lang.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. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter)
Invoke the declared method with the specified arguments and interpreter reference. |
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. |
java.lang.Object |
BshMethod.invoke(java.lang.Object[] argValues,
Interpreter interpreter,
CallStack callstack,
bsh.SimpleNode callerInfo)
|
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)
This method simply delegates to This.invokeMethod(); |
java.lang.Object |
This.invokeMethod(java.lang.String methodName,
java.lang.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. |
Constructors in bsh with parameters of type Interpreter | |
---|---|
Interpreter(java.io.Reader in,
java.io.PrintStream out,
java.io.PrintStream err,
boolean interactive,
NameSpace namespace,
Interpreter parent,
java.lang.String sourceFileInfo)
The main constructor. |
|
This(NameSpace namespace,
Interpreter declaringInterpreter)
|
Uses of Interpreter in bsh.commands |
---|
Methods in bsh.commands with parameters of type Interpreter | |
---|---|
static void |
dir.invoke(Interpreter env,
CallStack callstack)
Implement dir() command. |
static void |
dir.invoke(Interpreter env,
CallStack callstack,
java.lang.String dir)
Implement dir( String directory ) command. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |