Uses of Class bsh.CallStack

Uses in package bsh

Constructors with parameter type bsh.CallStack

EvalError.EvalError(String s, bsh.SimpleNode node, CallStack callstack)
TargetError.TargetError(String msg, Throwable t, bsh.SimpleNode node, CallStack callstack, boolean inNativeCode)
TargetError.TargetError(Throwable t, bsh.SimpleNode node, CallStack callstack)

Methods with parameter type bsh.CallStack

Object
This is the general signature for evaluation of a node.
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)
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
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, 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.
EvalError
UtilEvalError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack)
Re-throw as an eval error, prefixing msg to the message and specifying the node.
EvalError
UtilTargetError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack)
Override toEvalError to throw TargetError type.
EvalError
UtilEvalError.toEvalError(bsh.SimpleNode node, CallStack callstack)

Methods with return type bsh.CallStack

CallStack
Occasionally we need to freeze the callstack for error reporting purposes, etc.

B) 2000-2005 pat@pat.net :-)