reset method

void reset()

Implementation

void reset() {
  tokens = const [];
  current = 0;
  _nextToken = null;
  errors.clear();
}