Uses of Class
org.gjt.sp.jedit.bsh.EvalError
-
Uses of EvalError in org.gjt.sp.jedit.bsh
Modifier and TypeClassDescriptionclass
This exception is thrown when parse errors are encountered.class
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script).Modifier and TypeMethodDescriptionUtilEvalError.toEvalError
(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.UtilEvalError.toEvalError
(org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack) UtilTargetError.toEvalError
(String msg, org.gjt.sp.jedit.bsh.SimpleNode node, CallStack callstack) Override toEvalError to throw TargetError type.Modifier and TypeMethodDescriptionBSHPackageDeclaration.eval
(CallStack callstack, Interpreter interpreter) Evaluate the inputstream in this interpreter's global namespace.Spawn a non-interactive local interpreter to evaluate text in the specified namespace.Evaluate the string in this interpreter's global namespace.Evaluate the string in the specified namespace.abstract Class
ClassGenerator.generateClass
(String name, Modifiers modifiers, Class[] interfaces, 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.ClassGeneratorImpl.generateClass
(String name, Modifiers modifiers, Class[] interfaces, Class superClass, org.gjt.sp.jedit.bsh.BSHBlock block, boolean isInterface, CallStack callstack, Interpreter interpreter) static Class
ClassGeneratorImpl.generateClassImpl
(String name, Modifiers modifiers, Class[] interfaces, 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.Get the value of the name.Interpreter.getInterface
(Class interf) Get a reference to the interpreter (global namespace), cast to the specified interface type.BshMethod.invoke
(Object[] argValues, Interpreter interpreter) Invoke the declared method with the specified arguments and interpreter reference.BshMethod.invoke
(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.NameSpace.invokeMethod
(String methodName, Object[] args, Interpreter interpreter) Invoke a method in this namespace with the specified args and interpreter reference.NameSpace.invokeMethod
(String methodName, Object[] args, Interpreter interpreter, CallStack callstack, org.gjt.sp.jedit.bsh.SimpleNode callerInfo) This method simply delegates to This.invokeMethod();This.invokeMethod
(String name, Object[] args) Invoke specified method as from outside java code, using the declaring interpreter and current namespace.This.invokeMethod
(String methodName, 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.void
Re-throw the error, prepending the specified message.void
void
void
void
void
void
Assign the value to the name.Read text from fileName and eval it.Read text from fileName and eval it.void
Unassign the variable name.