third_party/blink/renderer/bindings/scripts/validator/framework/rule_store.py
def register(self, target_type, rule):
        """
        Register a rule which validates objects of the `target_type`.
        """
        assert isinstance(target_type, TargetType)
        assert isinstance(rule, RuleBase)
        self._target_rules_map.setdefault(target_type, []).append(rule)

        Register a rule which validates objects of the `target_type`.
        
Register a rule which validates objects of the `target_type`.
Register a rule which validates objects of the ` target_type ` .
def register(self, target_type, rule):
        assert isinstance(target_type, TargetType)
        assert isinstance(rule, RuleBase)
        self._target_rules_map.setdefault(target_type, []).append(rule)
def register ( self , target_type , rule ) : assert isinstance ( target_type , TargetType ) assert isinstance ( rule , RuleBase ) self . _target_rules_map . setdefault ( target_type , [ ] ) . append ( rule )
Register a rule which validates objects of the `target_type`.
Register a rule which validates objects of the ` target_type ` .
"""
        Register a rule which validates objects of the `target_type`.
        """
self
target_type
rule