Hello all, I am trying to do a grammar with a new base type for nodes. I can see that I am provided with ASTLabelType, whose value I set to Node, the name of my CommonTree subclass. The only difference between the two classes is the presence of a "Accept" method. The parser, however, still creates CommonTree nodes (of course, the ITreeAdaptor is still a CommonTreeAdaptor).
What would be the suggested method to make my parser create Node objects instead of CommonTree objects? Thanks a lot, Bruno M-A. P.S.: I am using the C#2 target. -- Bruno Marc-Aurèle courriel Poly: [email protected] courriel perso: [email protected] List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
