PageRenderTime 73ms CodeModel.GetById 71ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Unknown | 19 lines | 15 code | 4 blank | 0 comment | 0 complexity | 19231e9158caac8f10def86fe29aaa2b MD5 | raw file
 1/**
 2	Return an "empty" BeanShell object context which can be used to hold 
 3	data items.  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