[antlr-interest] OO design question

Terence Parr parrt at jguru.com
Thu Jun 13 15:12:07 PDT 2002

On Thursday, June 13, 2002, at 02:20  PM, Trey Spiva wrote:

>> 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?

I think a visitor is really what i'm talking about; perhaps I'm asking 
about a good way to implement it :)

Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org


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

More information about the antlr-interest mailing list