PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/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. bsh.help.setNameSpace =
  2. "usage: setNameSpace( bsh.NameSpace )";
  3. /**
  4. Set the namespace of the current scope.
  5. Use this only if you really know what you are doing.
  6. */
  7. setNameSpace( ns )
  8. {
  9. // Set the namespace at depth one (our caller) to the specified namespace.
  10. this.callstack.set( 1, ns );
  11. }