On 16.04.2009 17:29, Sam Barnett-Cormack wrote: > 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.
For example, think of a parser that adds location info. Regards, Patrick -- Patrick Schönbach Software Architect PGP public key available. Key ID: 0B7DDE39 Or email to [email protected] with subject 'pschoenb'. Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39 web: http://www.itemis.de mail: [email protected] xing: https://www.xing.com/profile/Patrick_Schoenbach itemis AG Schauenburgerstraße 116 24118 Kiel Germany Rechtlicher Hinweis: Amtsgericht Dortmund, HRB 20621 Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael Neuhaus 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 -~----------~----~----~----~------~----~------~--~---
