[antlr-interest] exceptions in the lexer
Terence Parr
parrt at cs.usfca.edu
Tue Dec 7 11:27:40 PST 2004
On Dec 7, 2004, at 11:16 AM, Don Caton wrote:
>
>> -----Original Message-----
>> From: Terence Parr [mailto:parrt at cs.usfca.edu]
>> Sent: Tuesday, December 07, 2004 2:13 PM
>> To: antlr-interest at yahoogroups.com
>> Subject: Re: [antlr-interest] exceptions in the lexer
>>
>>
>> Ack! Heh, wait, looks public:
>>
>> public class TokenStreamRecognitionException extends
>> TokenStreamException {
>> public RecognitionException recog;
>> ....
>> }
>
> I don't do Java ;). In the C++ version, it's private. Perhaps that
> is just
> a porting error then.
Probably. Yeah, I've yet to find a case where private is actually what
I want. I'm a protected man myself ;)
Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list