Files
codeql/rust/ql/test/extractor-tests/generated/LoopExpr/LoopExpr.ql
2024-11-20 16:21:23 +01:00

13 lines
493 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
from LoopExpr x, string hasLabel, string hasLoopBody, int getNumberOfAttrs
where
toBeTested(x) and
not x.isUnknown() and
(if x.hasLabel() then hasLabel = "yes" else hasLabel = "no") and
(if x.hasLoopBody() then hasLoopBody = "yes" else hasLoopBody = "no") and
getNumberOfAttrs = x.getNumberOfAttrs()
select x, "hasLabel:", hasLabel, "hasLoopBody:", hasLoopBody, "getNumberOfAttrs:", getNumberOfAttrs