mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
590 B
Plaintext
Generated
15 lines
590 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from Meta x, string hasExpr, string isUnsafe, string hasPath, string hasTokenTree
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasExpr() then hasExpr = "yes" else hasExpr = "no") and
|
|
(if x.isUnsafe() then isUnsafe = "yes" else isUnsafe = "no") and
|
|
(if x.hasPath() then hasPath = "yes" else hasPath = "no") and
|
|
if x.hasTokenTree() then hasTokenTree = "yes" else hasTokenTree = "no"
|
|
select x, "hasExpr:", hasExpr, "isUnsafe:", isUnsafe, "hasPath:", hasPath, "hasTokenTree:",
|
|
hasTokenTree
|