mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
605 B
Plaintext
Generated
15 lines
605 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from UseTree x, string isGlob, string hasPath, string hasRename, string hasUseTreeList
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.isGlob() then isGlob = "yes" else isGlob = "no") 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, "isGlob:", isGlob, "hasPath:", hasPath, "hasRename:", hasRename, "hasUseTreeList:",
|
|
hasUseTreeList
|