Uses of Class
org.gjt.sp.jedit.bsh.NameSpace
-
Packages that use NameSpace Package Description org.gjt.sp.jedit This package contains jEdit 4's core classes.org.gjt.sp.jedit.bsh Lightweight Scripting for Java. -
-
Uses of NameSpace in org.gjt.sp.jedit
Fields in org.gjt.sp.jedit declared as NameSpace Modifier and Type Field Description protected NameSpaceBeanShellFacade. globalMethods in org.gjt.sp.jedit that return NameSpace Modifier and Type Method Description static NameSpaceBeanShell. getNameSpace()NameSpaceBeanShellFacade. getNameSpace()Methods in org.gjt.sp.jedit with parameters of type NameSpace Modifier and Type Method Description static java.lang.ObjectBeanShell. _eval(View view, NameSpace namespace, java.lang.String command)Evaluates the specified BeanShell expression.java.lang.ObjectBeanShellFacade. _eval(T view, NameSpace namespace, java.lang.String command)Evaluates the specified BeanShell expression.static voidBeanShell. _runScript(View view, java.lang.String path, java.io.Reader in, NameSpace namespace)Runs a BeanShell script.protected static InterpreterBeanShellFacade. createInterpreter(NameSpace nameSpace)static java.lang.ObjectBeanShell. eval(View view, NameSpace namespace, java.lang.String command)Evaluates the specified BeanShell expression.java.lang.ObjectBeanShellFacade. eval(T param, NameSpace namespace, java.lang.String command)Evaluates the specified BeanShell expression.protected abstract voidBeanShellFacade. resetDefaultVariables(NameSpace namespace)static java.lang.ObjectBeanShell. runCachedBlock(BshMethod method, View view, NameSpace namespace)Runs a cached block of code in the specified namespace.java.lang.ObjectBeanShellFacade. runCachedBlock(BshMethod method, T param, NameSpace namespace)Runs a cached block of code in the specified namespace.static voidBeanShell. runScript(View view, java.lang.String path, java.io.Reader in, NameSpace namespace)Runs a BeanShell script.protected abstract voidBeanShellFacade. setupDefaultVariables(NameSpace namespace, T param)protected voidBeanShellFacade. setVariable(NameSpace nameSpace, java.lang.String name, java.lang.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.bsh Modifier and Type Class Description classExternalNameSpaceA namespace which maintains an external map of values held in variables in its scope.Fields in org.gjt.sp.jedit.bsh declared as NameSpace Modifier and Type Field Description static NameSpaceNameSpace. JAVACODEMethods in org.gjt.sp.jedit.bsh that return NameSpace Modifier and Type Method Description NameSpaceCallStack. get(int depth)zero based.NameSpaceInterpreter. getNameSpace()Get the global namespace of this interpreter.NameSpaceThis. getNameSpace()NameSpaceNameSpace. getParent()Get the parent namespace.NameSpaceCallStack. pop()NameSpaceCallStack. swap(NameSpace newTop)Swap in the value as the new top of the stack and return the old value.NameSpace[]CallStack. toArray()NameSpaceCallStack. top()Methods in org.gjt.sp.jedit.bsh with parameters of type NameSpace Modifier and Type Method Description static voidThis. bind(This ths, NameSpace namespace, Interpreter declaringInterpreter)Bind a This reference to a parent's namespace with the specified declaring interpreter.java.lang.ObjectInterpreter. eval(java.io.Reader in, NameSpace nameSpace, java.lang.String sourceFileInfo)Spawn a non-interactive local interpreter to evaluate text in the specified namespace.java.lang.ObjectInterpreter. eval(java.lang.String statements, NameSpace nameSpace)Evaluate the string in the specified namespace.voidCallStack. push(NameSpace ns)voidCallStack. set(int depth, NameSpace ns)This is kind of crazy, but used by the setNameSpace command.abstract voidClassGenerator. setInstanceNameSpaceParent(java.lang.Object instance, java.lang.String className, NameSpace parent)Change the parent of the class instance namespace.voidClassGeneratorImpl. setInstanceNameSpaceParent(java.lang.Object instance, java.lang.String className, NameSpace parent)Change the parent of the class instance namespace.voidInterpreter. setNameSpace(NameSpace globalNameSpace)Set the global namespace for this interpreter.voidNameSpace. setParent(NameSpace parent)java.lang.ObjectInterpreter. source(java.lang.String filename, NameSpace nameSpace)Read text from fileName and eval it.NameSpaceCallStack. swap(NameSpace newTop)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 NameSpace Constructor Description CallStack(NameSpace namespace)ClassGeneratorUtil(Modifiers classModifiers, java.lang.String className, java.lang.String packageName, java.lang.Class superClass, java.lang.Class[] interfaces, Variable[] vars, DelayedEvalBshMethod[] bshmethods, NameSpace classStaticNameSpace, boolean isInterface)ExternalNameSpace(NameSpace parent, java.lang.String name, java.util.Map externalMap)Interpreter(java.io.Reader in, java.io.PrintStream out, java.io.PrintStream err, boolean interactive, NameSpace namespace)Interpreter(java.io.Reader in, java.io.PrintStream out, java.io.PrintStream err, boolean interactive, NameSpace namespace, Interpreter parent, java.lang.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, java.lang.String name)NameSpace(NameSpace parent, BshClassManager classManager, java.lang.String name)This(NameSpace namespace, Interpreter declaringInterpreter)XThis(NameSpace namespace, Interpreter declaringInterp)
-