Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24195/stdlib/nice/lang
Modified Files:
native.nice
Log Message:
Added nicedoc comments.
Index: native.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/native.nice,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** native.nice 31 Jul 2004 10:05:56 -0000 1.9
--- native.nice 8 Aug 2004 10:45:36 -0000 1.10
***************
*** 2,6 ****
* N I C E *
* A high-level object-oriented research language *
! * (c) Daniel Bonniot 2003 *
* *
* This package is free software; you can redistribute it and/or modify *
--- 2,6 ----
* N I C E *
* A high-level object-oriented research language *
! * (c) Daniel Bonniot 2004 *
* *
* This package is free software; you can redistribute it and/or modify *
***************
*** 25,30 ****
--- 25,42 ----
*/
+ /**
+ Throw the given throwable object. This stops the normal flow of execution,
+ and transfers to the closest englobing <code>catch</code> block that matches
+ the thrown object, executing englobing <code>finally</code> blocks along the
+ way.
+ */
void `throw`(java.lang.Throwable exception) = inline nice.lang.inline.Throw();
+ /**
+ Tests whether a value is an instance of a given class.
+
+ @return true if value is not null, and its class is either the given class
+ or one of its subclasses.
+ */
<T,U> boolean `instanceof`(T value, Class<U>) =
inline nice.lang.inline.Instanceof();
|