PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Unknown | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 801e335b17b93b9e0db3f9814159047f 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	Returns a new bsh object which you can use to hold data items.  
 3	e.g. 
 4	<p>
 5	<pre>
 6	  myStuff = object();
 7	  myStuff.foo = 42;
 8	  myStuff.bar = "blah";
 9	</pre>
10
11	@method This object()
12*/
13
14bsh.help.object = "usage: object()";
15
16object() { 
17	return this; 
18}
19