Skip to content

Commit 2122cd3

Browse files
committed
Revert "Merge pull request #1907 from ahoppen/remove-unused-method"
This reverts commit 991b893, reversing changes made to c214a5f.
1 parent c63ccc2 commit 2122cd3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Sources/SourceKitLSP/SourceKitLSPServer.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,22 @@ extension SourceKitLSPServer {
13861386
return try await languageService.hover(req)
13871387
}
13881388

1389+
func openGeneratedInterface(
1390+
document: DocumentURI,
1391+
moduleName: String,
1392+
groupName: String?,
1393+
symbolUSR symbol: String?,
1394+
workspace: Workspace,
1395+
languageService: LanguageService
1396+
) async throws -> GeneratedInterfaceDetails? {
1397+
return try await languageService.openGeneratedInterface(
1398+
document: document,
1399+
moduleName: moduleName,
1400+
groupName: groupName,
1401+
symbolUSR: symbol
1402+
)
1403+
}
1404+
13891405
/// Handle a workspace/symbol request, returning the SymbolInformation.
13901406
/// - returns: An array with SymbolInformation for each matching symbol in the workspace.
13911407
func workspaceSymbols(_ req: WorkspaceSymbolsRequest) async throws -> [WorkspaceSymbolItem]? {

0 commit comments

Comments
 (0)