Uses of Class org.gjt.sp.jedit.bsh.CallStack (jEdit API Documentation)
Date: 2017-03-18

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

- Packages that use CallStack
  Package | Description
  --- | ---
  org.gjt.sp.jedit.bsh | Lightweight Scripting for Java.
  org.gjt.sp.jedit.bsh.commands |

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

    Methods in org.gjt.sp.jedit.bsh that return CallStack
    Modifier and Type | Method and Description
    --- | ---
    `CallStack` | CallStack.`copy()` Occasionally we need to freeze the callstack for error reporting purposes, etc.

    Methods in org.gjt.sp.jedit.bsh with parameters of type CallStack
    Modifier and Type | Method and Description
    --- | ---
    `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` | 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, 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.
    `EvalError` | UtilEvalError.`toEvalError(org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)`
    `EvalError` | UtilTargetError.`toEvalError(java.lang.String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)` Override toEvalError to throw TargetError type.
    `EvalError` | UtilEvalError.`toEvalError(java.lang.String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)` Re-throw as an eval error, prefixing msg to the message and specifying the node.

    Constructors in org.gjt.sp.jedit.bsh with parameters of type CallStack
    Constructor and Description
    `EvalError(java.lang.String s, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)`
    `TargetError(java.lang.String msg, java.lang.Throwable t, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack, boolean inNativeCode)`
    `TargetError(java.lang.Throwable t, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack)`

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

    Methods in org.gjt.sp.jedit.bsh.commands with parameters of type CallStack
    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.