// generated by codegen, do not edit import codeql.rust.elements import TestUtils query predicate instances(IndexExpr x) { toBeTested(x) and not x.isUnknown() } query predicate getAttr(IndexExpr x, int index, Attr getAttr) { toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index) } query predicate getBase(IndexExpr x, Expr getBase) { toBeTested(x) and not x.isUnknown() and getBase = x.getBase() } query predicate getIndex(IndexExpr x, Expr getIndex) { toBeTested(x) and not x.isUnknown() and getIndex = x.getIndex() }