Files
codeql/rust/ql/test/extractor-tests/generated/IdentPat/IdentPat.ql
2024-09-16 13:39:55 +02:00

12 lines
355 B
Plaintext
Generated

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