Files
codeql/rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.ql
2025-07-15 14:32:13 +02:00

32 lines
1.1 KiB
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(AsmExpr x) { toBeTested(x) and not x.isUnknown() }
query predicate getExtendedCanonicalPath(AsmExpr x, string getExtendedCanonicalPath) {
toBeTested(x) and not x.isUnknown() and getExtendedCanonicalPath = x.getExtendedCanonicalPath()
}
query predicate getCrateOrigin(AsmExpr x, string getCrateOrigin) {
toBeTested(x) and not x.isUnknown() and getCrateOrigin = x.getCrateOrigin()
}
query predicate getAttributeMacroExpansion(AsmExpr x, MacroItems getAttributeMacroExpansion) {
toBeTested(x) and
not x.isUnknown() and
getAttributeMacroExpansion = x.getAttributeMacroExpansion()
}
query predicate getAsmPiece(AsmExpr x, int index, AsmPiece getAsmPiece) {
toBeTested(x) and not x.isUnknown() and getAsmPiece = x.getAsmPiece(index)
}
query predicate getAttr(AsmExpr x, int index, Attr getAttr) {
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
}
query predicate getTemplate(AsmExpr x, int index, Expr getTemplate) {
toBeTested(x) and not x.isUnknown() and getTemplate = x.getTemplate(index)
}