Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/SwiftSyntax/gyb_generated/Misc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1944,6 +1944,6 @@ extension Syntax {
extension SyntaxParser {
static func verifyNodeDeclarationHash() -> Bool {
return String(cString: swiftparse_syntax_structure_versioning_identifier()!) ==
"fd719aaf2e0dab2620af2d4d123d123b3d0de28d"
"9700f84ac29d74406d59a6433d59aebb33227ade"
}
}
6 changes: 6 additions & 0 deletions Sources/SwiftSyntax/gyb_generated/SyntaxClassification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ extension SyntaxClassification {
// Separate checks for token nodes (most common checks) versus checks for layout nodes.
if childKind == .token {
switch (parentKind, indexInParent) {
case (.arrowExpr, 0):
return (.keyword, false)
case (.expressionSegment, 2):
return (.stringInterpolationAnchor, true)
case (.functionSignature, 1):
return (.keyword, false)
case (.ifConfigClause, 0):
return (.buildConfigId, false)
case (.ifConfigDecl, 1):
Expand All @@ -85,6 +89,8 @@ extension SyntaxClassification {
return (.typeIdentifier, false)
case (.someType, 0):
return (.keyword, false)
case (.functionType, 3):
return (.keyword, false)
case (.availabilityVersionRestriction, 0):
return (.keyword, false)
default: return nil
Expand Down