My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
RewriteTools  
How to get refactoring tools working
Phase-Implementation, Wiki-Needs-Cleaning
Updated Dec 17, 2009 by renggli

When matching multiple statements, you need to specify a match for the complete sequence node. Also, `var only matches variable nodes. To make them match anything, you need to add "@" (e.g., `@var).

 | `@temps |
 ``@.BeforeStatements.
 `f := ImporterFacade forVisualWorks.
 `f inModel: `@m.
 `f importingContext importMaximum.
 `f importNameSpaceFromBinding: `@n.
 ``@.AfterStatements

->

 | `@temps |
 ``@.BeforeStatements.
 ImporterFacade importNameSpaceFromVWBinding: `@n inModel: `@m.
 ``@.AfterStatements

Sign in to add a comment
Powered by Google Project Hosting