Initializer
init(_:interfaceLanguage:symbol:shouldAddHash:shouldAddKind:)
Creates a new reference to a symbol.
init(_ identifier: String, interfaceLanguage: SourceLanguage, symbol: SymbolGraph.Symbol? = nil, shouldAddHash: Bool = false, shouldAddKind: Bool = false)
Parameters
identifierThe precise identifier of a symbol.
interfaceLanguageThe source language of the symbol.
symbolThe symbol graph node representing this symbol, if available.
shouldAddHashIf true, the new reference has a hash appended to its path.
shouldAddKindIf true, the new reference has the referenced-symbol kind appended to its path.