Files
codeql/swift/ql/test/extractor-tests/generated/expr/ExtractFunctionIsolationExpr/ExtractFunctionIsolationExpr.ql
2025-04-14 10:35:21 +02:00

12 lines
390 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
import codeql.swift.elements
import TestUtils
from ExtractFunctionIsolationExpr x, string hasType, Expr getFunctionExpr
where
toBeTested(x) and
not x.isUnknown() and
(if x.hasType() then hasType = "yes" else hasType = "no") and
getFunctionExpr = x.getFunctionExpr()
select x, "hasType:", hasType, "getFunctionExpr:", getFunctionExpr