Files
codeql/rust/ql/test/extractor-tests/generated/Path/PathExpr.ql
2024-11-21 11:13:06 +01:00

12 lines
360 B
Plaintext
Generated

// 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