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

14 lines
518 B
Plaintext
Generated

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