generator on all declaration of variable

def declallvars(self):
        """generator on all declaration of variable"""
        for f in self.body:
            if (hasattr(f, '_ctype')
                    and not isinstance(f._ctype, FuncType)):
                yield f