mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
13 lines
484 B
Plaintext
Generated
13 lines
484 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from LetExpr x, int getNumberOfAttrs, string hasScrutinee, string hasPat
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasScrutinee() then hasScrutinee = "yes" else hasScrutinee = "no") and
|
|
if x.hasPat() then hasPat = "yes" else hasPat = "no"
|
|
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasScrutinee:", hasScrutinee, "hasPat:", hasPat
|