Is there a way that I can replace nodes in a tree with rewrite? I need to completely replace the node and its child with a new node and child. Something like:
LREF NAME -> ^(IREF NUM) In effect replacing A with 1. I tried the above, but it seems to create a child node of LREF. Thanks Des --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
