That is pretty cool. Doru On Mar 31, 2013, at 7:03 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Begin forwarded message:
From: Andre Hora <andre.cavalcante.hora@inria.fr> Subject: [Lsehub-staff] Shortcuts for AST matcher Date: March 19, 2013 4:24:46 PM GMT+01:00 To: RMoD private list <lsehub-staff@lists.gforge.inria.fr> Reply-To: RMoD private list <lsehub-staff@lists.gforge.inria.fr>
Hi,
I've just implemented a shortcut for the AST matcher. It means that you can select a valid AST expression in your browser and press cmd+t in order to find similar AST patterns (the same idea of senders and users of a method).
Also, by selecting a valid AST expression and pressing cmd+y the same is done but ignoring variable node names, then other patterns are found.
Download:
------------------- Gofer new squeaksource: 'FindBugs'; package: 'ASTMatcher'; load. -------------------
Examples:
<image.png>
-- www.tudorgirba.com "Every now and then stop and ask yourself if the war you're fighting is the right one."