@@ -26,6 +26,9 @@ private let swiftParserGeneratedDir = ["SwiftParser", generatedDirName]
26
26
private let swiftParserDiagnosticsGeneratedDir = [ " SwiftParserDiagnostics " , generatedDirName]
27
27
private let swiftSyntaxGeneratedDir = [ " SwiftSyntax " , generatedDirName]
28
28
private let swiftSyntaxBuilderGeneratedDir = [ " SwiftSyntaxBuilder " , generatedDirName]
29
+ private let swiftSyntaxMacroExpansionGeneratedDir = [ " SwiftSyntaxMacroExpansion " , generatedDirName]
30
+ private let swiftSyntaxMacrosGenericTestSupportGeneratedDir = [ " SwiftSyntaxMacrosGenericTestSupport " , generatedDirName]
31
+ private let swiftSyntaxMacrosTestSupportGeneratedDir = [ " SwiftSyntaxMacrosTestSupport " , generatedDirName]
29
32
private let BASE_KIND_FILES : [ SyntaxNodeKind : String ] = [
30
33
. decl: " SyntaxDeclNodes.swift " ,
31
34
. expr: " SyntaxExprNodes.swift " ,
@@ -160,6 +163,28 @@ struct GenerateSwiftSyntax: AsyncParsableCommand {
160
163
swiftSyntaxBuilderGeneratedDir + [ " RenamedChildrenBuilderCompatibility.swift " ] ,
161
164
renamedChildrenBuilderCompatibilityFile
162
165
) ,
166
+
167
+ // SwiftSyntaxMacroExpansion
168
+ GeneratedFileSpec (
169
+ swiftSyntaxMacroExpansionGeneratedDir + [ " MacroExpansion.swift " ] ,
170
+ macroExpansionFile
171
+ ) ,
172
+ GeneratedFileSpec (
173
+ swiftSyntaxMacroExpansionGeneratedDir + [ " MacroSystem.swift " ] ,
174
+ macroSystemFile
175
+ ) ,
176
+
177
+ // SwiftSyntaxMacrosGenericTestSupport
178
+ GeneratedFileSpec (
179
+ swiftSyntaxMacrosGenericTestSupportGeneratedDir + [ " Assertions.swift " ] ,
180
+ genericMacroAssertionsFile
181
+ ) ,
182
+
183
+ // SwiftSyntaxMacrosTestSupport
184
+ GeneratedFileSpec (
185
+ swiftSyntaxMacrosTestSupportGeneratedDir + [ " Assertions.swift " ] ,
186
+ macroAssertionsFile
187
+ ) ,
163
188
]
164
189
// This split of letters produces files for the syntax nodes that have about equal size, which improves compile time
165
190
0 commit comments