File tree 2 files changed +7
-1
lines changed
Sources/SwiftSyntax/gyb_generated
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1944,6 +1944,6 @@ extension Syntax {
1944
1944
extension SyntaxParser {
1945
1945
static func verifyNodeDeclarationHash( ) -> Bool {
1946
1946
return String ( cString: swiftparse_syntax_structure_versioning_identifier ( ) !) ==
1947
- " fd719aaf2e0dab2620af2d4d123d123b3d0de28d "
1947
+ " 9700f84ac29d74406d59a6433d59aebb33227ade "
1948
1948
}
1949
1949
}
Original file line number Diff line number Diff line change @@ -65,8 +65,12 @@ extension SyntaxClassification {
65
65
// Separate checks for token nodes (most common checks) versus checks for layout nodes.
66
66
if childKind == . token {
67
67
switch ( parentKind, indexInParent) {
68
+ case ( . arrowExpr, 0 ) :
69
+ return ( . keyword, false )
68
70
case ( . expressionSegment, 2 ) :
69
71
return ( . stringInterpolationAnchor, true )
72
+ case ( . functionSignature, 1 ) :
73
+ return ( . keyword, false )
70
74
case ( . ifConfigClause, 0 ) :
71
75
return ( . buildConfigId, false )
72
76
case ( . ifConfigDecl, 1 ) :
@@ -85,6 +89,8 @@ extension SyntaxClassification {
85
89
return ( . typeIdentifier, false )
86
90
case ( . someType, 0 ) :
87
91
return ( . keyword, false )
92
+ case ( . functionType, 3 ) :
93
+ return ( . keyword, false )
88
94
case ( . availabilityVersionRestriction, 0 ) :
89
95
return ( . keyword, false )
90
96
default : return nil
You can’t perform that action at this time.
0 commit comments