Files
codeql/rust/ql/test/extractor-tests/generated/Path/Path.ql
Arthur Baars a9423f4bdb Rust: codegen
2024-09-20 15:50:59 +02: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