/jEdit/tags/jedit-4-0-pre3/bsh/commands/setNameSpace.bsh
Unknown | 14 lines | 11 code | 3 blank | 0 comment | 0 complexity | cb30beb869df8d54acb55246d8ca450c MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
1
2bsh.help.setNameSpace =
3 "usage: setNameSpace( bsh.NameSpace )";
4
5/**
6 Set the namespace of the current scope.
7 Use this only if you really know what you are doing.
8*/
9setNameSpace( ns )
10{
11 // Set the namespace at depth one (our caller) to the specified namespace.
12 this.callstack.set( 1, ns );
13}
14