@@ -1134,7 +1134,7 @@ topLevelDeclaration ::= classDeclaration
1134
1134
| 'augment'? functionSignature functionBody
1135
1135
| 'augment'? getterSignature functionBody
1136
1136
| 'augment'? setterSignature functionBody
1137
- | 'augment'? ('final' | 'const') type? staticFinalDeclarationList ';'
1137
+ | 'augment'? ('final' | 'const') type? initializedIdentifierList ';'
1138
1138
| 'augment'? 'late' 'final' type? initializedIdentifierList ';'
1139
1139
| 'augment'? 'late'? varOrType initializedIdentifierList ';'
1140
1140
@@ -1179,17 +1179,17 @@ enumEntry ::= metadata 'augment'? identifier argumentPart?
1179
1179
| metadata 'augment'? identifier typeArguments?
1180
1180
'.' identifierOrNew arguments
1181
1181
1182
- declaration ::= 'external' factoryConstructorSignature
1182
+ declaration ::= 'external'? factoryConstructorSignature
1183
1183
| 'external' constantConstructorSignature
1184
1184
| 'external' constructorSignature
1185
- | ( 'external' 'static'?) ? getterSignature
1186
- | ( 'external' 'static'?) ? setterSignature
1187
- | ( 'external' 'static'?) ? functionSignature
1185
+ | 'external'? 'static'? getterSignature
1186
+ | 'external'? 'static'? setterSignature
1187
+ | 'external'? 'static'? functionSignature
1188
1188
| 'external' ('static'? finalVarOrType | 'covariant' varOrType) identifierList
1189
1189
| 'external'? operatorSignature
1190
1190
| 'abstract' (finalVarOrType | 'covariant' varOrType) identifierList
1191
- | 'augment'? 'static' 'const' type? staticFinalDeclarationList
1192
- | 'augment'? 'static' 'final' type? staticFinalDeclarationList
1191
+ | 'augment'? 'static' 'const' type? initializedIdentifierList
1192
+ | 'augment'? 'static' 'final' type? initializedIdentifierList
1193
1193
| 'augment'? 'static' 'late' 'final' type? initializedIdentifierList
1194
1194
| 'augment'? 'static' 'late'? varOrType initializedIdentifierList
1195
1195
| 'augment'? 'covariant' 'late' 'final' type? identifierList
0 commit comments