Uses of Class
bsh.CallStack
Packages that use CallStack
-
Uses of CallStack in bsh
Modifier and TypeMethodDescriptionCallStack.copy()Occasionally we need to freeze the callstack for error reporting purposes, etc.Modifier and TypeMethodDescriptionBSHPackageDeclaration.eval(CallStack callstack, Interpreter interpreter) abstract ClassClassGenerator.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.ClassGeneratorImpl.generateClass(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) static ClassClassGeneratorImpl.generateClassImpl(String name, Modifiers modifiers, Class[] interfaces, Class superClass, bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) If necessary, parse the BSHBlock for for the class definition and generate the class using ClassGeneratorUtil.BshMethod.invoke(Object[] argValues, Interpreter interpreter, CallStack callstack, bsh.SimpleNode callerInfo) Invoke the bsh method with the specified args, interpreter ref, and callstack.NameSpace.invokeMethod(String methodName, Object[] args, Interpreter interpreter, CallStack callstack, bsh.SimpleNode callerInfo) This method simply delegates to This.invokeMethod();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.UtilEvalError.toEvalError(bsh.SimpleNode node, CallStack callstack) UtilEvalError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack) Re-throw as an eval error, prefixing msg to the message and specifying the node.UtilTargetError.toEvalError(String msg, bsh.SimpleNode node, CallStack callstack) Override toEvalError to throw TargetError type.ModifierConstructorDescriptionTargetError(String msg, Throwable t, bsh.SimpleNode node, CallStack callstack, boolean inNativeCode) TargetError(Throwable t, bsh.SimpleNode node, CallStack callstack)