mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Syntax] Update DeclNodes.py for designated protocols parsing support.
This commit is contained in:
@@ -680,6 +680,13 @@ DECL_NODES = [
|
||||
description='''
|
||||
The name of the precedence group for the operator
|
||||
'''),
|
||||
Child('TrailingComma', kind='CommaToken',
|
||||
is_optional=True),
|
||||
Child('ProtocolName', kind='IdentifierToken',
|
||||
description='''
|
||||
The protocol associated with the operator
|
||||
''',
|
||||
is_optional=True),
|
||||
]),
|
||||
|
||||
# precedence-group-decl -> attributes? modifiers? 'precedencegroup'
|
||||
|
||||
Reference in New Issue
Block a user