PageRenderTime 35ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/bsh/commands/bind.bsh

#
Unknown | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 00de8a0782dbac27d61e246db0728370 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. /**
  2. Bind a bsh object into a particular namespace and interpreter
  3. */
  4. import bsh.This;
  5. import bsh.NameSpace;
  6. bind( bsh.This ths, bsh.NameSpace namespace ) {
  7. This.bind( ths, namespace, this.interpreter );
  8. }