// generated by codegen, do not edit import codeql.rust.elements import TestUtils query predicate instances(IfExpr x) { toBeTested(x) and not x.isUnknown() } query predicate getAttr(IfExpr x, int index, Attr getAttr) { toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index) } query predicate getCondition(IfExpr x, Expr getCondition) { toBeTested(x) and not x.isUnknown() and getCondition = x.getCondition() } query predicate getElse(IfExpr x, Expr getElse) { toBeTested(x) and not x.isUnknown() and getElse = x.getElse() } query predicate getThen(IfExpr x, BlockExpr getThen) { toBeTested(x) and not x.isUnknown() and getThen = x.getThen() }