forked from jasder/antlr
v4: TODO comments
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9380]
This commit is contained in:
parent
65f8b9f124
commit
f999b5c3d0
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue