docs: def _get_attr_like_prefix(self, sig):
          """Return prefix text for attribute or data directive."""
          sig_match = chpl_attr_sig_pattern.match(sig)
          if sig_match is None:
              return ChapelObject.get_signature_prefix(self, sig)
  
          prefixes, _, _, _ = sig_match.groups()
          if prefixes:
              return prefixes.strip() + ' '
          elif self.objtype == 'type':
              return 'type' + ' '
          else:
              return ChapelObject.get_signature_prefix(self, sig)