Files
codeql/rust/ql/test/extractor-tests/generated/RangePat/RangePat.ql
Arthur Baars a9423f4bdb Rust: codegen
2024-09-20 15:50:59 +02:00

13 lines
503 B
Plaintext
Generated

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