forked from jasder/antlr
Merge pull request #1542 from akosthekiss/fix-doc-hidden-tokens-right
Fix documentation of getHiddenTokensToRight in BufferedTokenStream
This commit is contained in:
commit
58600d29b8
|
@ -127,3 +127,4 @@ YYYY/MM/DD, github id, Full name, email
|
|||
2016/12/01, samtatasurya, Samuel Tatasurya, xemradiant@gmail.com
|
||||
2016/12/03, redxdev, Samuel Bloomberg, sam@redxdev.com
|
||||
2016/12/11, Gaulouis, Gaulouis, gaulouis.com@gmail.com
|
||||
2016/12/22, akosthekiss, Akos Kiss, akiss@inf.u-szeged.hu
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace antlr4 {
|
|||
/// <summary>
|
||||
/// Collect all hidden tokens (any off-default channel) to the right of
|
||||
/// the current token up until we see a token on DEFAULT_TOKEN_CHANNEL
|
||||
/// of EOF.
|
||||
/// or EOF.
|
||||
/// </summary>
|
||||
virtual std::vector<Token *> getHiddenTokensToRight(size_t tokenIndex);
|
||||
|
||||
|
|
|
@ -372,7 +372,7 @@ public class BufferedTokenStream implements TokenStream {
|
|||
|
||||
/** Collect all hidden tokens (any off-default channel) to the right of
|
||||
* the current token up until we see a token on DEFAULT_TOKEN_CHANNEL
|
||||
* of EOF.
|
||||
* or EOF.
|
||||
*/
|
||||
public List<Token> getHiddenTokensToRight(int tokenIndex) {
|
||||
return getHiddenTokensToRight(tokenIndex, -1);
|
||||
|
|
|
@ -402,7 +402,7 @@ public class BufferedTokenStream: TokenStream {
|
|||
|
||||
/** Collect all hidden tokens (any off-default channel) to the right of
|
||||
* the current token up until we see a token on DEFAULT_TOKEN_CHANNEL
|
||||
* of EOF.
|
||||
* or EOF.
|
||||
*/
|
||||
public func getHiddenTokensToRight(_ tokenIndex: Int) throws -> Array<Token>? {
|
||||
return try getHiddenTokensToRight(tokenIndex, -1)
|
||||
|
|
Loading…
Reference in New Issue