Inspecting the content of a Swift source file in Swift — SourceKitten is an open-source project to parse the content of and get detailed information about a Swift file. It’s used in many tools you may use regularly, like SwiftLint and Jazzy. When looking at its readme file, it seems like it’s only a command-line tool. However, SourceKitten also includes a…