pyrser/type_system/scope.py
def count_funs(self) -> int:
        """ Count function define by this scope """
        n = 0
        for s in self._hsig.values():
            if hasattr(s, 'is_fun') and s.is_fun:
                n += 1
        return n
def count_funs(self) -> int:
        n = 0
        for s in self._hsig.values():
            if hasattr(s, 'is_fun') and s.is_fun:
                n += 1
        return n
def count_funs ( self ) -> int : n = 0 for s in self . _hsig . values ( ) : if hasattr ( s , 'is_fun' ) and s . is_fun : n += 1 return n
Count function define by this scope
Count function define by this scope