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

Terence Parr parrt at cs.usfca.edu
Thu Apr 12 12:21:42 PDT 2007


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