Lines Matching refs:rule
108 def _ParseOutcomeList(rule, outcomes, target_dict, variables): argument
123 if rule in target_dict:
124 target_dict[rule] |= result
126 target_dict[rule] = result
147 for rule in section:
148 assert type(rule) == str
149 if rule[-1] == '*':
150 _ParseOutcomeList(rule, section[rule], wildcards, variables)
152 _ParseOutcomeList(rule, section[rule], rules, variables)
171 for rule in section:
172 _assert(type(rule) == str, "Rule key must be a string")
173 _assert(not rule.startswith(root_prefix),
175 _assert(not rule.endswith('.js'),