コード例 #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()
コード例 #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