Files
codeql/rust/ql/test/extractor-tests/generated/Meta/Meta.ql
2024-10-10 14:25:06 +02:00

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