// generated by codegen/codegen.py, do not edit import codeql.swift.elements import TestUtils query predicate instances(KeyPathExpr x) { toBeTested(x) and not x.isUnknown() } query predicate getType(KeyPathExpr x, Type getType) { toBeTested(x) and not x.isUnknown() and getType = x.getType() } query predicate getRoot(KeyPathExpr x, TypeRepr getRoot) { toBeTested(x) and not x.isUnknown() and getRoot = x.getRoot() } query predicate getComponent(KeyPathExpr x, int index, KeyPathComponent getComponent) { toBeTested(x) and not x.isUnknown() and getComponent = x.getComponent(index) }