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