mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
36 lines
1.3 KiB
Plaintext
Generated
36 lines
1.3 KiB
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(TraitAlias x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttributeMacroExpansion(TraitAlias x, MacroItems getAttributeMacroExpansion) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getAttributeMacroExpansion = x.getAttributeMacroExpansion()
|
|
}
|
|
|
|
query predicate getAttr(TraitAlias x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getGenericParamList(TraitAlias x, GenericParamList getGenericParamList) {
|
|
toBeTested(x) and not x.isUnknown() and getGenericParamList = x.getGenericParamList()
|
|
}
|
|
|
|
query predicate getName(TraitAlias x, Name getName) {
|
|
toBeTested(x) and not x.isUnknown() and getName = x.getName()
|
|
}
|
|
|
|
query predicate getTypeBoundList(TraitAlias x, TypeBoundList getTypeBoundList) {
|
|
toBeTested(x) and not x.isUnknown() and getTypeBoundList = x.getTypeBoundList()
|
|
}
|
|
|
|
query predicate getVisibility(TraitAlias x, Visibility getVisibility) {
|
|
toBeTested(x) and not x.isUnknown() and getVisibility = x.getVisibility()
|
|
}
|
|
|
|
query predicate getWhereClause(TraitAlias x, WhereClause getWhereClause) {
|
|
toBeTested(x) and not x.isUnknown() and getWhereClause = x.getWhereClause()
|
|
}
|