[armedbear-cvs] r14127 - trunk/abcl/src/org/armedbear/lisp

ehuelsmann at common-lisp.net ehuelsmann at common-lisp.net
Sun Aug 19 13:20:01 UTC 2012


Author: ehuelsmann
Date: Sun Aug 19 06:20:00 2012
New Revision: 14127

Log:
Reindent documentation string.

Modified:
   trunk/abcl/src/org/armedbear/lisp/java.lisp

Modified: trunk/abcl/src/org/armedbear/lisp/java.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java.lisp	Sat Aug 18 12:21:57 2012	(r14126)
+++ trunk/abcl/src/org/armedbear/lisp/java.lisp	Sun Aug 19 06:20:00 2012	(r14127)
@@ -396,7 +396,16 @@
 ;;; higher-level operators
 
 (defmacro chain (target op &rest ops)
-  "Performs chained method invocations. `target' is the receiver object (when the first call is a virtual method call) or a list in the form (:static <jclass>) when the first method call is a static method call. `op' and each of the `ops' are either method designators or lists in the form (<method designator> &rest args), where a method designator is either a string naming a method, or a jmethod object. `chain' will perform the method call specified by `op' on `target'; then, for each of the `ops', `chain' will perform the specified method call using the object returned by the previous method call as the receiver, and will ultimately return the result of the last method call.
+  "Performs chained method invocations. `target' is the receiver
+object (when the first call is a virtual method call) or a list in the
+form (:static <jclass>) when the first method call is a static method
+call. `op' and each of the `ops' are either method designators or lists
+in the form (<method designator> &rest args), where a method designator
+is either a string naming a method, or a jmethod object. `chain' will
+perform the method call specified by `op' on `target'; then, for each
+of the `ops', `chain' will perform the specified method call using the
+object returned by the previous method call as the receiver, and will
+ultimately return the result of the last method call.
   For example, the form:
 
   (chain (:static \"java.lang.Runtime\") \"getRuntime\" (\"exec\" \"ls\"))




More information about the armedbear-cvs mailing list