We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3408b commit e981a28Copy full SHA for e981a28
swift/ql/test/library-tests/elements/decl/abstractfunctiondecl/abstractfunctiondecl.ql
@@ -2,14 +2,13 @@ import swift
2
3
string describe(AbstractFunctionDecl f) {
4
result = "getName:" + f.getName()
5
- or exists(string a |
+ or
6
+ exists(string a |
7
f.hasName(a) and
8
result = "hasName:" + a
9
)
10
or
- (
11
- result = "MethodDecl" and f instanceof MethodDecl
12
- )
+ result = "MethodDecl" and f instanceof MethodDecl
13
14
exists(string a, string b |
15
f.(MethodDecl).hasQualifiedName(a, b) and
0 commit comments