BufferedTokenStream.previousTokenOnChannel

Given a starting index, return the index of the previous token on channel. Return {@code i} if {@code tokensi} is on channel. Return -1 if there are no tokens on channel between {@code i} and 0.

<p> If {@code i} specifies an index at or after the EOF token, the EOF token index is returned. This is due to the fact that the EOF token is treated as though it were on every channel.</p>

class BufferedTokenStream
protected
size_t
previousTokenOnChannel
(
size_t i
,)

Meta