Files
codeql/rust/ql/test/extractor-tests/generated/Path/Path.ql
2025-03-20 16:30:35 +01:00

12 lines
398 B
Plaintext
Generated

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