BufferedTokenStream.getTokens

Given a start and stop index, return a List of all tokens in the token type BitSet. Return null if no tokens were found. This method looks at both on and off channel tokens.

  1. Token[] getTokens()
  2. Token[] getTokens(size_t start, size_t stop)
  3. Token[] getTokens(size_t start, size_t stop, int[] types)
    class BufferedTokenStream
    getTokens
    (
    size_t start
    ,
    size_t stop
    ,
    int[] types
    )
  4. Token[] getTokens(size_t start, size_t stop, int ttype)

Meta