BufferedTokenStream.getHiddenTokensToLeft

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

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

Meta