code: def _parse_and_return_quoted_string(self):
          
          result = []
          pos = self.pos + 1
          segment_begin = pos
          my_chr = my_unichr if isinstance(self.text, my_unicode) else utf8chr
          while pos < self.end:
              c = self.text[pos]
              if c < ' ' and c != '\t':
                  self.skip_to(pos)
                  self.error('Encountered a control character that isn\'t allowed in quoted strings.')
              elif c == '"':
                  if segment_begin < pos:
                      result.append(self.text[segment_begin:pos])
                  pos += 1
                  return ''.join(result), True, pos
              elif c == '\\':
                  if segment_begin < pos:
                      result.append(self.text[segment_begin:pos])
                  pos += 1
                  if pos >= self.end:
                      break
                  c = self.text[pos]
                  if c == 'u':
                      code_point, pos = self._handle_unicode_escape(pos)
                      result.append(my_chr(code_point))
                  else:
                      char, pos = self._handle_escape(pos, c)
                      result.append(char)
                  segment_begin = pos
              else:
                  pos += 1
          self.error('Reached the end of stream while parsing quoted string.')
docs: Parses a string that has quotation marks so it may contain
          special characters and escape sequences.
          :return: (unescaped_string, quoted=True, end_of_string_pos)