[antlr-interest] C# TARGET ANNOUNCEMENTS

Micheal J open.zone at virgin.net
Sat Apr 12 20:52:42 PDT 2008


Gavin,

>  >I was just answering the question you asked about 
> CommonToken  >(i.e. "does CommonToken already fulfil the role 
> of Token in  >the C# runtime?"). It doesn't.
> 
> I think Johannes' point is that Token doesn't really have a 
> role in the IToken hierarchy, since it doesn't actually 
> implement anything, and the interface already specifies all 
> the abstract methods.

Thanks, I understood his point - it's IToken-ness isn't used in the standard
library. It lives on in our libraries...

> (Although on the subject of vestigial parts, what's with
> Lexer.TOKEN_dot_EOF?)

A convenient alias for:

//case Token.EOF :

;-)

Micheal

-----------------------
The best way to contact me is via the list/forum. My time is very limited. 



More information about the antlr-interest mailing list