reset method

void reset()

Implementation

void reset() {
  index = -1;
  line = 0;
  charPos = -1;
  dfaState = null;
}