tokenEnd property

int get tokenEnd

End of sequence or character being processed. Useful for debugging. While a sequence is incomplete this stays at the sequence start, so a held-back sequence does not advance the token position.

Implementation

int get tokenEnd =>
    _state == _ParserState.ground ? _queue.totalConsumed : _sequenceBegin;