Esempio n. 1
0
 def attach(
     self,
     s1: state.State,
     s2: state.State,
     sr: state.StateRegister
 ):
     if self.name is not None:
         s1.matchAttr(self.name, s2)
     else:
         s1.matchDefault(s2)
Esempio n. 2
0
File: match.py Progetto: vhb/pyrser
 def attach(self, s1: state.State, s2: state.State,
            sr: state.StateRegister):
     if self.name is not None:
         s1.matchAttr(self.name, s2)
     else:
         s1.matchDefault(s2)