Пример #1
0
 def __init__(self, includes):
     Qt5Ruleset.RuleSet.__init__(self, includes)
     self._param_db = rules_engine.ParameterRuleDb(
         lambda: local_parameter_rules() + Qt5Ruleset.parameter_rules())
     self._fn_db = rules_engine.FunctionRuleDb(
         lambda: local_function_rules() + Qt5Ruleset.function_rules())
     self._container_db = rules_engine.ContainerRuleDb(
         lambda: local_container_rules() + Qt5Ruleset.container_rules())
Пример #2
0
 def __init__(self):
     self._container_db = rules_engine.ContainerRuleDb(container_rules)
     self._forward_declaration_db = rules_engine.ForwardDeclarationRuleDb(forward_declaration_rules)
     self._fn_db = rules_engine.FunctionRuleDb(function_rules)
     self._param_db = rules_engine.ParameterRuleDb(parameter_rules)
     self._typedef_db = rules_engine.TypedefRuleDb(typedef_rules)
     self._var_db = rules_engine.VariableRuleDb(variable_rules)
     self._methodcode = rules_engine.MethodCodeDb({})
     self._modulecode = rules_engine.ModuleCodeDb({})
Пример #3
0
 def __init__(self):
     self._container_db = rules_engine.ContainerRuleDb(container_rules)
     self._fn_db = rules_engine.FunctionRuleDb(function_rules)
     self._param_db = rules_engine.ParameterRuleDb(parameter_rules)
     self._var_db = rules_engine.VariableRuleDb(variable_rules)