|
89 | 89 | # ('#if' | '#elseif' | '#else') expr? (stmt-list | switch-case-list) |
90 | 90 | Node('IfConfigClause', kind='Syntax', |
91 | 91 | children=[ |
92 | | - Child('PoundKeyword', kind='Token', |
| 92 | + Child('PoundKeyword', kind='Token', |
93 | 93 | classification='BuildConfigId', |
94 | 94 | token_choices=[ |
95 | 95 | 'PoundIfToken', |
|
115 | 115 | children=[ |
116 | 116 | Child('Clauses', kind='IfConfigClauseList', |
117 | 117 | collection_element_name='Clause'), |
118 | | - Child('PoundEndif', kind='PoundEndifToken', |
| 118 | + Child('PoundEndif', kind='PoundEndifToken', |
119 | 119 | classification='BuildConfigId'), |
120 | 120 | ]), |
121 | 121 |
|
|
137 | 137 | Child('RightParen', kind='RightParenToken') |
138 | 138 | ]), |
139 | 139 |
|
140 | | - Node('PoundSourceLocation', kind='Decl', |
| 140 | + Node('PoundSourceLocation', kind='Decl', |
141 | 141 | traits=['Parenthesized'], |
142 | 142 | children=[ |
143 | 143 | Child('PoundSourceLocation', kind='PoundSourceLocationToken'), |
|
148 | 148 |
|
149 | 149 | Node('PoundSourceLocationArgs', kind='Syntax', |
150 | 150 | children=[ |
151 | | - Child('FileArgLabel', kind='IdentifierToken', |
| 151 | + Child('FileArgLabel', kind='IdentifierToken', |
152 | 152 | text_choices=['file']), |
153 | 153 | Child('FileArgColon', kind='ColonToken'), |
154 | 154 | Child('FileName', kind='StringLiteralToken'), |
155 | 155 | Child('Comma', kind='CommaToken'), |
156 | | - Child('LineArgLabel', kind='IdentifierToken', |
| 156 | + Child('LineArgLabel', kind='IdentifierToken', |
157 | 157 | text_choices=['line']), |
158 | 158 | Child('LineArgColon', kind='ColonToken'), |
159 | 159 | Child('LineNumber', kind='IntegerLiteralToken'), |
|
294 | 294 | # member-decl = decl ';'? |
295 | 295 | Node('MemberDeclListItem', kind='Syntax', omit_when_empty=True, |
296 | 296 | description=''' |
297 | | - A member declaration of a type consisting of a declaration and an \ |
| 297 | + A member declaration of a type consisting of a declaration and an |
298 | 298 | optional semicolon; |
299 | 299 | ''', |
300 | 300 | children=[ |
301 | | - Child('Decl', kind='Decl', |
| 301 | + Child('Decl', kind='Decl', |
302 | 302 | description='The declaration of the type member.'), |
303 | 303 | Child('Semicolon', kind='SemicolonToken', is_optional=True, |
304 | 304 | description='An optional trailing semicolon.'), |
|
518 | 518 | Child('Modifier', kind='DeclModifier', is_optional=True), |
519 | 519 | Child('AccessorKind', kind='Token', |
520 | 520 | text_choices=[ |
521 | | - 'get', 'set', 'didSet', 'willSet', 'unsafeAddress', |
522 | | - 'addressWithOwner', 'addressWithNativeOwner', |
523 | | - 'unsafeMutableAddress', |
524 | | - 'mutableAddressWithOwner', |
525 | | - 'mutableAddressWithNativeOwner', |
| 521 | + 'get', 'set', 'didSet', 'willSet', 'unsafeAddress', |
| 522 | + 'addressWithOwner', 'addressWithNativeOwner', |
| 523 | + 'unsafeMutableAddress', |
| 524 | + 'mutableAddressWithOwner', |
| 525 | + 'mutableAddressWithNativeOwner', |
526 | 526 | '_read', '_modify' |
527 | 527 | ]), |
528 | 528 | Child('Parameter', kind='AccessorParameter', is_optional=True), |
|
572 | 572 |
|
573 | 573 | Node('EnumCaseElement', kind='Syntax', |
574 | 574 | description=''' |
575 | | - An element of an enum case, containing the name of the case and, \ |
| 575 | + An element of an enum case, containing the name of the case and, |
576 | 576 | optionally, either associated values or an assignment to a raw value. |
577 | 577 | ''', |
578 | 578 | traits=['WithTrailingComma'], |
|
587 | 587 | '''), |
588 | 588 | Child('TrailingComma', kind='CommaToken', is_optional=True, |
589 | 589 | description=''' |
590 | | - The trailing comma of this element, if the case has \ |
| 590 | + The trailing comma of this element, if the case has |
591 | 591 | multiple elements. |
592 | 592 | '''), |
593 | 593 | ]), |
|
598 | 598 |
|
599 | 599 | Node('EnumCaseDecl', kind='Decl', |
600 | 600 | description=''' |
601 | | - A `case` declaration of a Swift `enum`. It can have 1 or more \ |
| 601 | + A `case` declaration of a Swift `enum`. It can have 1 or more |
602 | 602 | `EnumCaseElement`s inside, each declaring a different case of the |
603 | 603 | enum. |
604 | 604 | ''', |
|
649 | 649 | Child('InheritanceClause', kind='TypeInheritanceClause', |
650 | 650 | is_optional=True, |
651 | 651 | description=''' |
652 | | - The inheritance clause describing conformances or raw \ |
| 652 | + The inheritance clause describing conformances or raw |
653 | 653 | values for this enum. |
654 | 654 | '''), |
655 | 655 | Child('GenericWhereClause', kind='GenericWhereClause', |
656 | 656 | is_optional=True, |
657 | 657 | description=''' |
658 | | - The `where` clause that applies to the generic parameters of \ |
| 658 | + The `where` clause that applies to the generic parameters of |
659 | 659 | this enum. |
660 | 660 | '''), |
661 | 661 | Child('Members', kind='MemberDeclBlock', |
|
664 | 664 | ''') |
665 | 665 | ]), |
666 | 666 |
|
667 | | - # operator-decl -> attribute? modifiers? 'operator' operator |
| 667 | + # operator-decl -> attribute? modifiers? 'operator' operator |
668 | 668 | Node('OperatorDecl', kind='Decl', traits=['IdentifiedDecl'], |
669 | 669 | description='A Swift `operator` declaration.', |
670 | 670 | children=[ |
|
762 | 762 | groups. |
763 | 763 | ''', |
764 | 764 | children=[ |
765 | | - Child('HigherThanOrLowerThan', kind='IdentifierToken', |
| 765 | + Child('HigherThanOrLowerThan', kind='IdentifierToken', |
766 | 766 | classification='Keyword', |
767 | 767 | text_choices=[ |
768 | 768 | 'higherThan', 'lowerThan', |
|
823 | 823 | are grouped together in the absence of grouping parentheses. |
824 | 824 | ''', |
825 | 825 | children=[ |
826 | | - Child('AssociativityKeyword', kind='IdentifierToken', |
| 826 | + Child('AssociativityKeyword', kind='IdentifierToken', |
827 | 827 | classification='Keyword', text_choices=['associativity']), |
828 | 828 | Child('Colon', kind='ColonToken'), |
829 | 829 | Child('Value', kind='IdentifierToken', |
|
0 commit comments