'Recursively iterate over all :class:`Param` elements in this
:class:`Group`.'

def iter_fields_and_params(self):

    for entry in self.entries:
        if isinstance(entry, Param):
            (yield entry)
        elif isinstance(entry, Group):
            for field in entry.iter_fields_and_params():
                (yield field)
