v4: TODO comments

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9380]
This commit is contained in:
sharwell 2011-11-17 19:40:56 -08:00
parent 65f8b9f124
commit f999b5c3d0
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,8 @@ public interface ObjectStream<T> extends IntStream {
* two Objects ago. LT(0) is undefined. For i>=n, return an
* object representing EOF. Return null for LT(0) and any index that
* results in an absolute index that is negative.
*
* TODO (Sam): throw exception for invalid k?
*/
T LT(int k);
}

View File

@ -36,6 +36,7 @@ public interface TokenStream extends ObjectStream<Token> {
* two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken.
* Return null for LT(0) and any index that results in an absolute address
* that is negative.
* TODO (Sam): Throw exception for invalid k?
*/
@Override
public Token LT(int k);