mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
13 lines
492 B
Plaintext
Generated
13 lines
492 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from MacroCall x, int getNumberOfAttrs, string hasPath, string hasTokenTree
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasPath() then hasPath = "yes" else hasPath = "no") and
|
|
if x.hasTokenTree() then hasTokenTree = "yes" else hasTokenTree = "no"
|
|
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasPath:", hasPath, "hasTokenTree:", hasTokenTree
|