[antlr-interest] Multiple inheritance for a parser?

uprightness_of_character andrei at metalanguage.com
Fri Jun 13 17:16:32 PDT 2003


It would be convenient for me to have my (C++) parser class inherit 
multiply, because it's a parser and also a token stream at the same 
time. Any way I can specify that? I tried

class MacroProcessor2 extends Parser, antlr::TokenStream;


didn't work.

Andrei


 

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




More information about the antlr-interest mailing list