def METHOD_NAME(self, ppid, entry, hList, rdict, pdict):
    for rank in list(IDset(entry["rank"])):
        rpd = {}
        if rank in pdict:
            self._per_rank_property_dict(pdict[rank], rpd)
        self._encode_rank(ppid, rank, entry["children"], hList, rdict, rpd)