Files
codeql/rust/ql/test/extractor-tests/generated/Meta/Meta.ql
Arthur Baars db06ad2ac3 Rust: codegen
2024-09-20 15:51:03 +02:00

13 lines
481 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
from Meta x, string hasExpr, string hasPath, string hasTokenTree
where
toBeTested(x) and
not x.isUnknown() and
(if x.hasExpr() then hasExpr = "yes" else hasExpr = "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, "hasPath:", hasPath, "hasTokenTree:", hasTokenTree