Skip to content

Commit db2d7ce

Browse files
committed
sort syntax node templates by name
1 parent 35ff56c commit db2d7ce

File tree

7 files changed

+16627
-16627
lines changed

7 files changed

+16627
-16627
lines changed

Sources/SwiftSyntax/SyntaxNodes.swift.gyb.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ nodes whose base kind are that specified kind.
2929
"""
3030
}%
3131

32-
% for node in SYNTAX_NODES:
32+
% for node in sorted(SYNTAX_NODES, key=lambda x: x.name):
3333
% base_type = node.base_type
3434
% if node.is_base():
3535
% # Handled in SyntaxNodesBase.swift.gyb

Sources/SwiftSyntax/gyb_generated/syntax_nodes/SyntaxDeclNodes.swift

Lines changed: 2580 additions & 2580 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)