Lines Matching refs:cond
267 def _check_if(cond: Union[str, object]) -> None:
268 if isinstance(cond, str):
269 if not re.fullmatch(r'[A-Z][A-Z0-9_]*', cond):
273 % (cond, source))
276 if not isinstance(cond, dict):
280 check_keys(cond, info, "'if' condition of %s" % source, [],
282 if len(cond) != 1:
287 if 'not' in cond:
288 _check_if(cond['not'])
289 elif 'all' in cond:
290 _check_infix('all', cond['all'])
292 _check_infix('any', cond['any'])