Skip to content

Commit d2ceffd

Browse files
committed
Rename file
1 parent ac71580 commit d2ceffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftLanguageService/PlaygroundsMacro.swift renamed to Sources/SwiftLanguageService/PlaygroundDiscovery.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension SwiftLanguageService {
2727

2828
try Task.checkCancellation()
2929
return
30-
await PlaygroundMacroFinder.find(
30+
await PlaygroundFinder.find(
3131
in: Syntax(syntaxTree),
3232
workspace: workspace,
3333
snapshot: snapshot,
@@ -37,7 +37,7 @@ extension SwiftLanguageService {
3737

3838
// MARK: - PlaygroundMacroFinder
3939

40-
final class PlaygroundMacroFinder: SyntaxAnyVisitor {
40+
final class PlaygroundFinder: SyntaxAnyVisitor {
4141
/// The base ID to use to generate IDs for any playgrounds found in this file.
4242
private let baseID: String
4343

@@ -68,7 +68,7 @@ final class PlaygroundMacroFinder: SyntaxAnyVisitor {
6868
else {
6969
return []
7070
}
71-
let visitor = PlaygroundMacroFinder(baseID: "\(moduleName)/\(baseName)", snapshot: snapshot)
71+
let visitor = PlaygroundFinder(baseID: "\(moduleName)/\(baseName)", snapshot: snapshot)
7272
visitor.walk(node)
7373
return visitor.isPlaygroundImported ? visitor.result : []
7474
}

0 commit comments

Comments
 (0)