--- a/Tools__MethodRewriter.st Fri Jul 01 15:22:37 2011 +0200
+++ b/Tools__MethodRewriter.st Fri Jul 01 15:24:24 2011 +0200
@@ -1,4 +1,15 @@
-"{ Package: 'cvut:stx/goodies/libtool3' }"
+"
+ COPYRIGHT (c) 2006 by eXept Software AG
+ All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice. This software may not
+ be provided or otherwise made available to, or used by, any
+ other person. No title to or ownership of the software is
+ hereby transferred.
+"
+"{ Package: 'stx:libtool' }"
"{ NameSpace: Tools }"
@@ -12,6 +23,21 @@
category:'Interface-Method rewriter'
!
+!MethodRewriter class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 2006 by eXept Software AG
+ All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice. This software may not
+ be provided or otherwise made available to, or used by, any
+ other person. No title to or ownership of the software is
+ hereby transferred.
+"
+! !
!MethodRewriter class methodsFor:'examples'!
@@ -849,14 +875,18 @@
matchingMethods := Set new.
self
withMethodsDo:
- [:mth|
+ [:mth| | tree |
+ tree := mth parseTree.
+ tree ifNil:[self breakPoint: #jv] ifNotNil:[
(ParseTreeSearcher new)
matches:self searchPattern do:[:aNode :answer | matchingMethods add:mth ];
- executeTree:mth parseTree]
+ executeTree: tree]
+ ]
finallyDo:
[block value: matchingMethods]
"Created: / 12-12-2007 / 10:34:50 / janfrog"
+ "Modified: / 07-04-2011 / 22:02:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
methods
@@ -951,14 +981,14 @@
!MethodRewriter class methodsFor:'documentation'!
-version
- ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodRewriter.st,v 1.3 2009-09-30 12:09:31 fm Exp $'
-!
-
version_CVS
- ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodRewriter.st,v 1.3 2009-09-30 12:09:31 fm Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/Tools__MethodRewriter.st,v 1.4 2011-07-01 13:24:24 cg Exp $'
!
version_CVS_jvrany
- ^ 'Header: /opt/data/cvs/stx/goodies/libtool3/Tools__MethodRewriter.st,v 1.3 2008-02-17 10:12:04 vranyj1 Exp '
+ ^ '§Header: /opt/data/cvs/stx/goodies/libtool3/Tools__MethodRewriter.st,v 1.3 2008-02-17 10:12:04 vranyj1 Exp §'
+!
+
+version_SVN
+ ^ '§Id: Tools__MethodRewriter.st 7486 2009-10-26 22:06:24Z vranyj1 §'
! !