Exemplo n.º 1
0
 def __init__(self, label, function, category_services):
     self.rule_name = RuleName.create(label)
     self.function = function
     self.category_services = category_services
     self.input_syntax = function.get_syntax().get_right()
Exemplo n.º 2
0
Arquivo: api.py Projeto: Oneplus/pyspf
 def __init__(self, direction, category_services):
     self.name = RuleName.create(self.RULE_LABEL, direction)
     self.empty_category = category_services.get_empty_category()
Exemplo n.º 3
0
Arquivo: api.py Projeto: Oneplus/pyspf
 def __init__(self, label, direction, order, category_services):
     self.order = order
     self.name = RuleName.create(label, direction, order)
     self.category_services = category_services