p property

int p
getter/setter pair

The index into tokens of the current token (next token to consume). p should be LT(1).

This field is set to -1 when the stream is first constructed or when [tokenSource] is set, indicating that the first token has not yet been fetched from the token source. For additional information, see the documentation of [IntStream] for a description of Initializing Methods.

Implementation

int p = -1;