Files
codeql/swift/ql/test/extractor-tests/declarations/all.ql
2023-03-10 18:35:03 +00:00

11 lines
292 B
Plaintext

import swift
string describe(Decl decl) {
//result = "getAliasedType:" + decl.(TypeAliasDecl).getAliasedType().toString() TODO: not yet implemented
none()
}
from Decl decl
where decl.getLocation().getFile().getName().matches("%swift/ql/test%")
select decl, concat(describe(decl), ", ")