class: Annotation
authorClaus Gittinger <cg@exept.de>
Mon, 17 Mar 2014 22:20:49 +0100
changeset 16264 cf4db8ac808f
parent 16263 881e5090c287
child 16265 32842903fc11
class: Annotation comment/format in: #refersToLiteral:
Annotation.st
--- a/Annotation.st	Mon Mar 17 22:20:38 2014 +0100
+++ b/Annotation.st	Mon Mar 17 22:20:49 2014 +0100
@@ -432,6 +432,9 @@
 !Annotation methodsFor:'queries'!
 
 refersToLiteral: anObject
+    "return true if the receiver or recursively any array element in the
+     receiver refers to aLiteral (i.e. a deep search)"
+
     (anObject == key) ifTrue:[ ^ true ].
     (anObject == arguments) ifTrue:[ ^ true ].
     arguments isArray ifTrue:[ ^ arguments refersToLiteral: anObject].
@@ -657,15 +660,15 @@
 !Annotation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.15 2014-02-25 12:23:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.16 2014-03-17 21:20:49 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.15 2014-02-25 12:23:59 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Annotation.st,v 1.16 2014-03-17 21:20:49 cg Exp $'
 !
 
 version_SVN
-    ^ '$Id: Annotation.st,v 1.15 2014-02-25 12:23:59 cg Exp $'
+    ^ '$Id: Annotation.st,v 1.16 2014-03-17 21:20:49 cg Exp $'
 ! !