advance method

Token advance()

Implementation

Token advance() {
  if (!isAtEnd()) {
    current++;
    _nextToken = null;
  }
  return previous();
}