Overview of Swift Syntax
mainswift-syntax package provides libraries for working with a source-accurate tree representation of Swift source code, known as the SwiftSyntax tree. This tree is the foundation of the Swift macro system: macro expansion nodes are represented as SwiftSyntax nodes, and macros generate SwiftSyntax trees to be inserted into source files.