docs: def evaluate_strings(self, string, temp=False):
          """Evaluate strings."""
  
          value = ''
          if self.strings:
              if self.decode_escapes:
                  value = RE_SURROGATES.sub(
                      self.replace_surrogates,
                      (RE_TEMP_ESC if temp else RE_ESC).sub(self.replace_escapes, string)
                  )
              else:
                  value = string
              if not temp:
                  self.quoted_strings.append([value, self.line_num, 'utf-8'])
          return value