mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
14 lines
512 B
Plaintext
Generated
14 lines
512 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from MatchExpr x, int getNumberOfAttrs, string hasExpr, string hasMatchArmList
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasExpr() then hasExpr = "yes" else hasExpr = "no") and
|
|
if x.hasMatchArmList() then hasMatchArmList = "yes" else hasMatchArmList = "no"
|
|
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasExpr:", hasExpr, "hasMatchArmList:",
|
|
hasMatchArmList
|