Uses of Class
org.gjt.sp.jedit.bsh.NameSpace
Packages that use NameSpace
-
Uses of NameSpace in org.gjt.sp.jedit
Fields in org.gjt.sp.jedit declared as NameSpaceMethods in org.gjt.sp.jedit that return NameSpaceModifier and TypeMethodDescriptionstatic NameSpaceBeanShell.getNameSpace()BeanShellFacade.getNameSpace()Methods in org.gjt.sp.jedit with parameters of type NameSpaceModifier and TypeMethodDescriptionstatic ObjectEvaluates the specified BeanShell expression.Evaluates the specified BeanShell expression.static voidBeanShell._runScript(View view, String path, Reader in, NameSpace namespace) Runs a BeanShell script.protected static InterpreterBeanShellFacade.createInterpreter(NameSpace nameSpace) static ObjectEvaluates the specified BeanShell expression.Evaluates the specified BeanShell expression.protected abstract voidBeanShellFacade.resetDefaultVariables(NameSpace namespace) static ObjectBeanShell.runCachedBlock(BshMethod method, View view, NameSpace namespace) Runs a cached block of code in the specified namespace.BeanShellFacade.runCachedBlock(BshMethod method, T param, NameSpace namespace) Runs a cached block of code in the specified namespace.static voidRuns a BeanShell script.protected abstract voidBeanShellFacade.setupDefaultVariables(NameSpace namespace, T param) protected voidBeanShellFacade.setVariable(NameSpace nameSpace, String name, Object object) Set a beanshell variable in the namespace without overriding it -
Uses of NameSpace in org.gjt.sp.jedit.bsh
Subclasses of NameSpace in org.gjt.sp.jedit.bshModifier and TypeClassDescriptionclassA namespace which maintains an external map of values held in variables in its scope.Fields in org.gjt.sp.jedit.bsh declared as NameSpaceMethods in org.gjt.sp.jedit.bsh that return NameSpaceModifier and TypeMethodDescriptionCallStack.get(int depth) zero based.Interpreter.getNameSpace()Get the global namespace of this interpreter.This.getNameSpace()NameSpace.getParent()Get the parent namespace.CallStack.pop()Swap in the value as the new top of the stack and return the old value.CallStack.toArray()CallStack.top()Methods in org.gjt.sp.jedit.bsh with parameters of type NameSpaceModifier and TypeMethodDescriptionstatic voidThis.bind(This ths, NameSpace namespace, Interpreter declaringInterpreter) Bind a This reference to a parent's namespace with the specified declaring interpreter.Spawn a non-interactive local interpreter to evaluate text in the specified namespace.Evaluate the string in the specified namespace.voidvoidThis is kind of crazy, but used by the setNameSpace command.abstract voidClassGenerator.setInstanceNameSpaceParent(Object instance, String className, NameSpace parent) Change the parent of the class instance namespace.voidClassGeneratorImpl.setInstanceNameSpaceParent(Object instance, String className, NameSpace parent) Change the parent of the class instance namespace.voidInterpreter.setNameSpace(NameSpace globalNameSpace) Set the global namespace for this interpreter.voidRead text from fileName and eval it.Swap in the value as the new top of the stack and return the old value.Constructors in org.gjt.sp.jedit.bsh with parameters of type NameSpaceModifierConstructorDescriptionClassGeneratorUtil(Modifiers classModifiers, String className, String packageName, Class superClass, Class[] interfaces, Variable[] vars, DelayedEvalBshMethod[] bshmethods, NameSpace classStaticNameSpace, boolean isInterface) ExternalNameSpace(NameSpace parent, String name, Map externalMap) Interpreter(Reader in, PrintStream out, PrintStream err, boolean interactive, NameSpace namespace) Interpreter(Reader in, PrintStream out, PrintStream err, boolean interactive, NameSpace namespace, Interpreter parent, String sourceFileInfo) The main constructor.Interpreter(ConsoleInterface console, NameSpace globalNameSpace) Construct a new interactive interpreter attached to the specified console using the specified parent namespace.NameSpace(NameSpace parent, BshClassManager classManager, String name) protectedThis(NameSpace namespace, Interpreter declaringInterpreter) XThis(NameSpace namespace, Interpreter declaringInterp)