Patrick Schönbach wrote: > Hi all, > > usually, AntLR generates final methods for each rule. However, > sometimes, one would like to subclass the parser. Is there a way to > generate non-final methods?
Why do you want the parse methods to be non-final? You can subclass the lexer/parser as long as the *class* isn't final. You just can't override the final methods, and it's probably not a great idea to be overriding the actual parse methods themselves. Sam 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 -~----------~----~----~----~------~----~------~--~---
