[antlr-interest] OO design question

Trey Spiva Trey.Spiva at embarcadero.com
Thu Jun 13 14:20:55 PDT 2002


> 
> So!  How do you get a good separable chunk called an Analyzer without
> making the implementation fully of crappy switch-statements?  I.e., how
> do I use aspect programming w/o losing the polymorphism convenience?!
> Anybody wanna lend me some smarts?

Have you thought about using a Visitor Pattern?


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list