Files
codeql/rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat.ql
Dilan Bhalla 14ce258807 2.19.0 upgrade
2024-09-18 14:28:42 -07:00

14 lines
505 B
Plaintext
Generated

// generated by codegen
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