Type Method
suggestedDisambiguation(forCollidingSymbols:)
Suggests the minimal most readable disambiguation string for each symbol with the same name.
static func suggestedDisambiguation(forCollidingSymbols collidingSymbols: [LinkCompletionTools.SymbolInformation]) -> [String]
Parameters
collidingSymbolsA list of symbols that all have the same name.
Return Value
A collection of disambiguation strings in the same order as the provided symbol information.
Discussion
Important
It’s the callers responsibility to create symbol information that matches what the compilers emit in symbol graph files. If there are mismatches, DocC may suggest disambiguation that won’t resolve with the real compiler emitted symbol data.