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