@@ -532,7 +532,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable, _Lea
532532/// ### Children
533533///
534534/// - `attributes`: ``AttributeListSyntax``
535- /// - `eachKeyword `: `each`?
535+ /// - `specifier `: ( `each` | `let`) ?
536536/// - `name`: `<identifier>`
537537/// - `colon`: `:`?
538538/// - `inheritedType`: ``TypeSyntax``?
@@ -558,9 +558,9 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
558558 leadingTrivia: Trivia ? = nil ,
559559 _ unexpectedBeforeAttributes: UnexpectedNodesSyntax ? = nil ,
560560 attributes: AttributeListSyntax = [ ] ,
561- _ unexpectedBetweenAttributesAndEachKeyword : UnexpectedNodesSyntax ? = nil ,
562- eachKeyword : TokenSyntax ? = nil ,
563- _ unexpectedBetweenEachKeywordAndName : UnexpectedNodesSyntax ? = nil ,
561+ _ unexpectedBetweenAttributesAndSpecifier : UnexpectedNodesSyntax ? = nil ,
562+ specifier : TokenSyntax ? = nil ,
563+ _ unexpectedBetweenSpecifierAndName : UnexpectedNodesSyntax ? = nil ,
564564 name: TokenSyntax ,
565565 _ unexpectedBetweenNameAndColon: UnexpectedNodesSyntax ? = nil ,
566566 colon: TokenSyntax ? = nil ,
@@ -576,9 +576,9 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
576576 self = withExtendedLifetime ( ( SyntaxArena ( ) , (
577577 unexpectedBeforeAttributes,
578578 attributes,
579- unexpectedBetweenAttributesAndEachKeyword ,
580- eachKeyword ,
581- unexpectedBetweenEachKeywordAndName ,
579+ unexpectedBetweenAttributesAndSpecifier ,
580+ specifier ,
581+ unexpectedBetweenSpecifierAndName ,
582582 name,
583583 unexpectedBetweenNameAndColon,
584584 colon,
@@ -591,9 +591,9 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
591591 let layout : [ RawSyntax ? ] = [
592592 unexpectedBeforeAttributes? . raw,
593593 attributes. raw,
594- unexpectedBetweenAttributesAndEachKeyword ? . raw,
595- eachKeyword ? . raw,
596- unexpectedBetweenEachKeywordAndName ? . raw,
594+ unexpectedBetweenAttributesAndSpecifier ? . raw,
595+ specifier ? . raw,
596+ unexpectedBetweenSpecifierAndName ? . raw,
597597 name. raw,
598598 unexpectedBetweenNameAndColon? . raw,
599599 colon? . raw,
@@ -659,7 +659,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
659659 . cast ( GenericParameterSyntax . self)
660660 }
661661
662- public var unexpectedBetweenAttributesAndEachKeyword : UnexpectedNodesSyntax ? {
662+ public var unexpectedBetweenAttributesAndSpecifier : UnexpectedNodesSyntax ? {
663663 get {
664664 return Syntax ( self ) . child ( at: 2 ) ? . cast ( UnexpectedNodesSyntax . self)
665665 }
@@ -670,8 +670,10 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
670670
671671 /// ### Tokens
672672 ///
673- /// For syntax trees generated by the parser, this is guaranteed to be `each`.
674- public var eachKeyword : TokenSyntax ? {
673+ /// For syntax trees generated by the parser, this is guaranteed to be one of the following kinds:
674+ /// - `each`
675+ /// - `let`
676+ public var specifier : TokenSyntax ? {
675677 get {
676678 return Syntax ( self ) . child ( at: 3 ) ? . cast ( TokenSyntax . self)
677679 }
@@ -680,7 +682,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
680682 }
681683 }
682684
683- public var unexpectedBetweenEachKeywordAndName : UnexpectedNodesSyntax ? {
685+ public var unexpectedBetweenSpecifierAndName : UnexpectedNodesSyntax ? {
684686 get {
685687 return Syntax ( self ) . child ( at: 4 ) ? . cast ( UnexpectedNodesSyntax . self)
686688 }
@@ -773,9 +775,9 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynta
773775 public static let structure : SyntaxNodeStructure = . layout( [
774776 \Self . unexpectedBeforeAttributes,
775777 \Self . attributes,
776- \Self . unexpectedBetweenAttributesAndEachKeyword ,
777- \Self . eachKeyword ,
778- \Self . unexpectedBetweenEachKeywordAndName ,
778+ \Self . unexpectedBetweenAttributesAndSpecifier ,
779+ \Self . specifier ,
780+ \Self . unexpectedBetweenSpecifierAndName ,
779781 \Self . name,
780782 \Self . unexpectedBetweenNameAndColon,
781783 \Self . colon,
0 commit comments