[antlr-interest] Re: Request enhancement ANTLR

Silvain Piree s.piree at enneya.com
Tue Jun 25 08:01:00 PDT 2002

> Since the filename will be available from the Token itself
> (via the new getFilename method), why pass the filename
> as the second argument at all?  NoViableAltException can
> retrieve it from the token on its own.

But the suggestion was to make the getFilename() method
an "empty" method that is optionally implemented in a 
derived Token class.

So, you have no guarantee that the getFilename() returns
something usefull.



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

More information about the antlr-interest mailing list