isn't it should be deprecare[d] ... instead of deprecate...
(i.e. names should be with 'd' at the end) ? On 31 August 2011 15:48, Sean P. DeNigris <[email protected]> wrote: > Is there any documentation on using AST & RB? > > I didn't find anything enlightening via google, the tests, or the > class/method comments. In trying to replace all calls to #deprecate: and > #deprecate:in: to #deprecate:on:in: (Issue 4718), it took me hours to step > through OB's refactoring and learn the syntax. > > In case anyone else can benefit, I eventually ended up with: > RBParseTreeRewriter new > replace: '``@object deprecated: ``@arg1 ' > with: '``@object deprecated: ``@arg1 on:(''', dateString, ''') > in:(''Pharo', versionNumber asString, ''')'. > > Sean > > -- > View this message in context: > http://forum.world.st/RB-API-tp3781019p3781019.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > -- Best regards, Igor Stasenko AKA sig.
