// generated by codegen, do not edit import codeql.rust.elements import TestUtils from PathExpr x, int getNumberOfAttrs, string hasPath where toBeTested(x) and not x.isUnknown() and getNumberOfAttrs = x.getNumberOfAttrs() and if x.hasPath() then hasPath = "yes" else hasPath = "no" select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasPath:", hasPath