Instance Property
sourceFileURI
The URI of the source file in which the symbol was originally declared, suitable for display in a user interface.
var sourceFileURI: String? { get set }
Discussion
This information may not (and should not) always be available for many reasons, such as compiler infrastructure limitations, or filesystem privacy and security concerns.