# Uses of Class
bsh.Interpreter

Packages that use Interpreter
Package
Description
bsh

## Uses of Interpreter in bsh

Methods in bsh that return Interpreter
Modifier and Type
Method
Description
`Interpreter`
Interpreter.`getParent()`
Get the parent Interpreter of this interpreter, if any.
Methods in bsh with parameters of type Interpreter
Modifier and Type
Method
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)`
`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`
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.
Constructors in bsh with parameters of type Interpreter
Modifier
Constructor
Description
``
`Interpreter(Reader in, PrintStream out, PrintStream err, boolean interactive, NameSpace namespace, Interpreter parent, String sourceFileInfo)`
The main constructor.
`protected`
`This(NameSpace namespace, Interpreter declaringInterpreter)`
``
`XThis(NameSpace namespace, Interpreter declaringInterp)`