Ejemplo n.º 1
0
 def __init__(self, *alternatives):
     Match.__init__(self)
     self.alternatives = list(alternatives)
Ejemplo n.º 2
0
 def __init__(self):
     Match.__init__(self)
Ejemplo 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
Ejemplo n.º 4
0
 def __init__(self, core_match, *actions):
     Match.__init__(self)
     self.core_match = core_match
     self.actions = list(actions)
Ejemplo n.º 5
0
 def __init__(self, *terms):
     Match.__init__(self)
     self.terms = list(terms)