We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CheckedIndex.forEach*
1 parent 98718d4 commit 2db4259Copy full SHA for 2db4259
Sources/SemanticIndex/CheckedIndex.swift
@@ -64,7 +64,7 @@ public final class CheckedIndex {
64
public func forEachSymbolOccurrence(
65
byUSR usr: String,
66
roles: SymbolRole,
67
- _ body: @escaping (SymbolOccurrence) -> Bool
+ _ body: (SymbolOccurrence) -> Bool
68
) -> Bool {
69
index.forEachSymbolOccurrence(byUSR: usr, roles: roles) { occurrence in
70
guard self.checker.isUpToDate(occurrence.location) else {
@@ -88,7 +88,7 @@ public final class CheckedIndex {
88
anchorEnd: Bool,
89
subsequence: Bool,
90
ignoreCase: Bool,
91
- body: @escaping (SymbolOccurrence) -> Bool
+ body: (SymbolOccurrence) -> Bool
92
93
index.forEachCanonicalSymbolOccurrence(
94
containing: pattern,
0 commit comments