BufferedTokenStream.getHiddenTokensToRight

Collect all tokens on specified channel to the right of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or EOF. If channel is -1, find any non default channel token.

  1. Token[] getHiddenTokensToRight(int tokenIndex, int channel)
    class BufferedTokenStream
    getHiddenTokensToRight
  2. Token[] getHiddenTokensToRight(int tokenIndex)

Meta