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()
示例#2
0
文件: api.py 项目: Oneplus/pyspf
 def __init__(self, direction, category_services):
     self.name = RuleName.create(self.RULE_LABEL, direction)
     self.empty_category = category_services.get_empty_category()
示例#3
0
文件: api.py 项目: 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