advance method
void
advance()
Advance to the next subtag (see current
and accepted
).
Implementation
void advance() {
_accepted = _current;
_currentIndex++;
if (_currentIndex < _subtags.length) {
_current = _subtags[_currentIndex];
} else {
// Guarded by `atEnd`.
}
}