Uses of Class org.gjt.sp.jedit.bsh.Interpreter (jEdit API Documentation)
Date: 2018-04-10

## Uses of Class
org.gjt.sp.jedit.bsh.Interpreter

- Packages that use Interpreter
  Package | Description
  --- | ---
  org.gjt.sp.jedit | This package contains jEdit 4's core classes.
  org.gjt.sp.jedit.bsh | Lightweight Scripting for Java.
  org.gjt.sp.jedit.bsh.commands |

- - ### Uses of Interpreter in org.gjt.sp.jedit

    Methods in org.gjt.sp.jedit that return Interpreter
    Modifier and Type | Method and Description
    --- | ---
    `protected static Interpreter` | BeanShellFacade.`createInterpreter(NameSpace nameSpace)`

  - ### Uses of Interpreter in org.gjt.sp.jedit.bsh

    Methods in org.gjt.sp.jedit.bsh that return Interpreter
    Modifier and Type | Method and Description
    --- | ---
    `Interpreter` | Interpreter.`getParent()` Get the parent Interpreter of this interpreter, if any.

    Methods in org.gjt.sp.jedit.bsh with parameters of type Interpreter
    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.
    `java.lang.Object` | BSHPackageDeclaration.`eval(CallStack callstack, Interpreter interpreter)`
    `abstract java.lang.Class` | ClassGenerator.`generateClass(java.lang.String name, Modifiers modifiers, java.lang.Class[] interfaces, java.lang.Class superClass, org.gjt.sp.jedit.bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter)` Parse the BSHBlock for the class definition and generate the class.
    `java.lang.Class` | ClassGeneratorImpl.`generateClass(java.lang.String name, Modifiers modifiers, java.lang.Class[] interfaces, java.lang.Class superClass, org.gjt.sp.jedit.bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter)`
    `static java.lang.Class` | ClassGeneratorImpl.`generateClassImpl(java.lang.String name, Modifiers modifiers, java.lang.Class[] interfaces, java.lang.Class superClass, org.gjt.sp.jedit.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, org.gjt.sp.jedit.bsh.SimpleNode callerInfo)` Invoke the bsh method with the specified args, interpreter ref, and callstack.
    `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, org.gjt.sp.jedit.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, org.gjt.sp.jedit.bsh.SimpleNode callerInfo, boolean declaredOnly)` Invoke a method in this namespace with the specified args, interpreter reference, callstack, and caller info.

    Constructors in org.gjt.sp.jedit.bsh with parameters of type Interpreter
    Constructor and Description
    `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)`
    `XThis(NameSpace namespace, Interpreter declaringInterp)`

  - ### Uses of Interpreter in org.gjt.sp.jedit.bsh.commands

    Methods in org.gjt.sp.jedit.bsh.commands with parameters of type Interpreter
    Modifier and Type | Method and Description
    --- | ---
    `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.