code: func (s *Scanner) emitToken(t tokenType, v string) *Token {
  	token := &Token{t, v, s.row, s.col}
  	s.updatePosition(v)
  	return token
  }
docs: // emitToken returns a Token for the string v and updates the scanner position.