mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Rust: codegen
This commit is contained in:
12
rust/ql/test/extractor-tests/generated/UseTree/UseTree.ql
generated
Normal file
12
rust/ql/test/extractor-tests/generated/UseTree/UseTree.ql
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from UseTree x, string hasPath, string hasRename, string hasUseTreeList
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
(if x.hasPath() then hasPath = "yes" else hasPath = "no") and
|
||||
(if x.hasRename() then hasRename = "yes" else hasRename = "no") and
|
||||
if x.hasUseTreeList() then hasUseTreeList = "yes" else hasUseTreeList = "no"
|
||||
select x, "hasPath:", hasPath, "hasRename:", hasRename, "hasUseTreeList:", hasUseTreeList
|
||||
Reference in New Issue
Block a user