SourceKitten Overview

A framework and command line tool for interacting with SourceKit. SourceKitten links and communicates with sourcekitd.framework to parse the Swift AST, extract comment docs for Swift or Objective-C projects, get syntax data for a Swift file and more. You can use SourceKitten to generate full code completion details, print Swift docs as JSON or Objective-C docs as XML, print Swift structure information as JSON and print Swift syntax information as JSON.