docs: def parse(self, p_todo):
          """
          Returns fully parsed string from 'format_string' attribute with all
          placeholders properly substituted by content obtained from p_todo.
  
          It uses preprocessed form of 'format_string' (result of
          ListFormatParser._preprocess_format) stored in 'format_list'
          attribute.
          """
          parsed_list = []
          repl_trunc = None
  
          for substr, placeholder, getter in self.format_list:
              repl = getter(p_todo) if getter else ''
              pattern = MAIN_PATTERN.format(ph=placeholder)
  
              if placeholder == 'S':
                  repl_trunc = repl
  
              try:
                  if repl == '':
                      substr = re.sub(pattern, '', substr)
                  else:
                      substr = re.sub(pattern, _strip_placeholder_braces, substr)
                      substr = re.sub(r'(?<!\\)%({ph}|\[{ph}\])'.format(ph=placeholder), repl, substr)
              except re.error:
                  raise ListFormatError
  
              parsed_list.append(substr)
  
          parsed_str = _unescape_percent_sign(''.join(parsed_list))
          parsed_str = _remove_redundant_spaces(parsed_str)
  
          if self.one_line and len(escape_ansi(parsed_str)) >= _columns():
              parsed_str = _truncate(parsed_str, repl_trunc)
  
          if re.search('.*\t', parsed_str):
              parsed_str = _right_align(parsed_str)
  
          return parsed_str.rstrip()