Update documentation

This commit is contained in:
Sam Harwell 2012-12-17 22:06:24 -06:00
parent 068075f1c4
commit 29be5523ff
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ public class BufferedTokenStream implements TokenStream {
* operation. The default implementation simply returns {@code i}. If an
* exception is thrown in this method, the current stream index should not be
* changed.
* <p>
* <p/>
* For example, {@link CommonTokenStream} overrides this method to ensure that
* the seek target is always an on-channel token.
*

View File

@ -38,11 +38,11 @@ package org.antlr.v4.runtime;
* from the tokens source on demand. In other words, until you ask for a
* token using consume(), LT(), etc. the stream does not pull from the lexer.
*
* The only difference between this stream and BufferedTokenStream superclass
* The only difference between this stream and {@link BufferedTokenStream} superclass
* is that this stream knows how to ignore off channel tokens. There may be
* a performance advantage to using the superclass if you don't pass
* whitespace and comments etc. to the parser on a hidden channel (i.e.,
* you set $channel instead of calling skip() in lexer rules.)
* you set {@code $channel} instead of calling {@code skip()} in lexer rules.)
*
* @see UnbufferedTokenStream
* @see BufferedTokenStream