mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
14 lines
518 B
Plaintext
Generated
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
|