Files
codeql/rust/ql/test/extractor-tests/generated/LiteralPat/LiteralPat.ql
2025-06-25 12:02:13 +02:00

10 lines
303 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(LiteralPat x) { toBeTested(x) and not x.isUnknown() }
query predicate getLiteral(LiteralPat x, LiteralExpr getLiteral) {
toBeTested(x) and not x.isUnknown() and getLiteral = x.getLiteral()
}