Files
codeql/rust/ql/test/extractor-tests/generated/Path/Path.ql
2024-11-29 14:43:51 +01:00

12 lines
380 B
Plaintext
Generated

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