Esempio n. 1
0
 def __init__(self, *alternatives):
     Match.__init__(self)
     self.alternatives = list(alternatives)
Esempio n. 2
0
 def __init__(self):
     Match.__init__(self)
Esempio n. 3
0
 def __init__(self, match, at_least, at_most):
     Match.__init__(self)
     
     self.match = match
     self.at_least = at_least
     self.at_most = at_most
Esempio n. 4
0
 def __init__(self, core_match, *actions):
     Match.__init__(self)
     self.core_match = core_match
     self.actions = list(actions)
Esempio n. 5
0
 def __init__(self, *terms):
     Match.__init__(self)
     self.terms = list(terms)