pyrser/ast/state.py
def add_state(self, s: State):
        """
        all state in the register have a uid
        """
        ids = id(s)
        uid = len(self.states)
        if ids not in self.states:
            self.states[ids] = (uid, s)
def add_state(self, s: State):
        """
        all state in the register have a uid
        """
        ids = id(s)
        uid = len(self.states)
        if ids not in self.states:
            self.states[ids] = (uid, s)
all state in the register have a uid