Files
codeql/swift/ql/test/extractor-tests/generated/expr/DotSyntaxCallExpr/DotSyntaxCallExpr.ql
2022-12-07 13:46:51 +01:00

15 lines
538 B
Plaintext

// generated by codegen/codegen.py
import codeql.swift.elements
import TestUtils
from DotSyntaxCallExpr x, string hasType, Expr getFunction, int getNumberOfArguments, Expr getBase
where
toBeTested(x) and
not x.isUnknown() and
(if x.hasType() then hasType = "yes" else hasType = "no") and
getFunction = x.getFunction() and
getNumberOfArguments = x.getNumberOfArguments() and
getBase = x.getBase()
select x, "hasType:", hasType, "getFunction:", getFunction, "getNumberOfArguments:",
getNumberOfArguments, "getBase:", getBase