|
112 | 112 | Child('Colon', kind='ColonToken', |
113 | 113 | description='The colon separating the label and the value'), |
114 | 114 | Child('StringOrDeclname', kind='Syntax', node_choices=[ |
115 | | - Child('String', kind='StringLiteralToken'), |
116 | | - Child('Declname', kind='DeclName'), |
| 115 | + Child('String', kind='StringLiteralToken'), |
| 116 | + Child('Declname', kind='DeclName'), |
117 | 117 | ]), |
118 | 118 | ]), |
119 | 119 | Node('DeclName', kind='Syntax', children=[ |
120 | | - Child('DeclBaseName', kind='Syntax', description=''' |
121 | | - The base name of the protocol\'s requirement. |
122 | | - ''', |
123 | | - node_choices=[ |
124 | | - Child('Identifier', kind='IdentifierToken'), |
125 | | - Child('Operator', kind='PrefixOperatorToken'), |
126 | | - ]), |
127 | | - Child('DeclNameArguments', kind='DeclNameArguments', |
128 | | - is_optional=True, description=''' |
129 | | - The argument labels of the protocol\'s requirement if it \ |
130 | | - is a function requirement. |
131 | | - '''), |
132 | | - ]), |
| 120 | + Child('DeclBaseName', kind='Syntax', description=''' |
| 121 | + The base name of the protocol\'s requirement. |
| 122 | + ''', |
| 123 | + node_choices=[ |
| 124 | + Child('Identifier', kind='IdentifierToken'), |
| 125 | + Child('Operator', kind='PrefixOperatorToken'), |
| 126 | + ]), |
| 127 | + Child('DeclNameArguments', kind='DeclNameArguments', |
| 128 | + is_optional=True, description=''' |
| 129 | + The argument labels of the protocol\'s requirement if it \ |
| 130 | + is a function requirement. |
| 131 | + '''), |
| 132 | + ]), |
133 | 133 | # The argument of '@_implements(...)' |
134 | 134 | # implements-attr-arguments -> simple-type-identifier ',' |
135 | 135 | # (identifier | operator) decl-name-arguments |
|
0 commit comments