mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
28 lines
948 B
Plaintext
Generated
28 lines
948 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(MacroCall x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttributeMacroExpansion(MacroCall x, MacroItems getAttributeMacroExpansion) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getAttributeMacroExpansion = x.getAttributeMacroExpansion()
|
|
}
|
|
|
|
query predicate getAttr(MacroCall x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getPath(MacroCall x, Path getPath) {
|
|
toBeTested(x) and not x.isUnknown() and getPath = x.getPath()
|
|
}
|
|
|
|
query predicate getTokenTree(MacroCall x, TokenTree getTokenTree) {
|
|
toBeTested(x) and not x.isUnknown() and getTokenTree = x.getTokenTree()
|
|
}
|
|
|
|
query predicate getMacroCallExpansion(MacroCall x, AstNode getMacroCallExpansion) {
|
|
toBeTested(x) and not x.isUnknown() and getMacroCallExpansion = x.getMacroCallExpansion()
|
|
}
|