[antlr-interest] should TokenStream interface have a size() method?

Terence Parr parrt at cs.usfca.edu
Thu Apr 12 12:33:56 PDT 2007


never mind...duh.  The IntStream has it! :)

Ter
On Apr 12, 2007, at 12:21 PM, Terence Parr wrote:

> Not always meaningful but it is for common case where we buffer  
> everything up.
>
> /** A stream of tokens accessing tokens from a TokenSource */
> public interface TokenStream extends IntStream {...}
>
> Ter



More information about the antlr-interest mailing list