Thank you Claude, I now feel totally embarassed, sometimes I guess the obvious solution gets ignored...
For future reference purposes, I would also like to mention the OpWalker.walk() methods, that I just came across and seem to take care of bottom-up Op tree traversal. Cheers, Dimitris On Sun, Jun 24, 2012 at 12:35 PM, Claude Warren <cla...@xenei.com> wrote: > On Sat, Jun 23, 2012 at 6:59 AM, Dimitris Spanos <dimi.s...@gmail.com>wrote: > >> >> is where the transformation that I'm considering comes into play. The >> nodes of the transformed tree will be mere Op extensions that would >> just hold the extra ancestor variable information, nothing fancy that >> would make tree processing more convenient. >> >> Would it not be easier to create a hashmap in the visitor that was indexed > by the Op and stored in information you want to put in the transformed > tree? That map could then be passed to a later process. > > > -- > I like: Like Like - The likeliest place on the web<http://like-like.xenei.com> > Identity: https://www.identify.nu/user.php?cla...@xenei.com > LinkedIn: http://www.linkedin.com/in/claudewarren