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