We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ae5a7a + cc7f2ba commit d3fdfefCopy full SHA for d3fdfef
utils/gyb_syntax_support/DeclNodes.py
@@ -669,7 +669,7 @@
669
is_optional=True),
670
]),
671
672
- # infix-operator-group -> ':' identifier
+ # infix-operator-group -> ':' identifier ','? identifier?
673
Node('InfixOperatorGroup', kind='Syntax',
674
description='''
675
A clause to specify precedence group in infix operator declaration.
@@ -680,6 +680,13 @@
680
681
The name of the precedence group for the operator
682
'''),
683
+ Child('TrailingComma', kind='CommaToken',
684
+ is_optional=True),
685
+ Child('ProtocolName', kind='IdentifierToken',
686
+ description='''
687
+ The protocol associated with the operator
688
+ ''',
689
690
691
692
# precedence-group-decl -> attributes? modifiers? 'precedencegroup'
0 commit comments