Swift code formatting that respects operator precedence - how to get swiftinterfaces of dependencies?

what is the best way to get all the swiftinterfaces imported by a particular source file?