code: def eat_line(self):
          
          if self.eos:
              return None
          eat_length = self.eat_length
          get_char = self.get_char
          has_space = self.has_space
          while has_space() and get_char() != '\n':
              eat_length(1)
          eat_length(1)
docs: Move current position forward until the next line.