mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
19 lines
598 B
Plaintext
Generated
19 lines
598 B
Plaintext
Generated
// generated by codegen/codegen.py, do not edit
|
|
import codeql.swift.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(PostfixUnaryExpr x, string getFunction__label, Expr getFunction) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getFunction__label = "getFunction:" and
|
|
getFunction = x.getFunction()
|
|
}
|
|
|
|
query predicate getType(PostfixUnaryExpr x, Type getType) {
|
|
toBeTested(x) and not x.isUnknown() and getType = x.getType()
|
|
}
|
|
|
|
query predicate getArgument(PostfixUnaryExpr x, int index, Argument getArgument) {
|
|
toBeTested(x) and not x.isUnknown() and getArgument = x.getArgument(index)
|
|
}
|