Version 2.17.0-153.0.dev
Merge commit '1be8de3ea4d069fb80cf7d29d7c42b7f8073d41b' into 'dev'
diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/forwarding_listener.dart b/pkg/_fe_analyzer_shared/lib/src/parser/forwarding_listener.dart
index db5e648..cf3476b 100644
--- a/pkg/_fe_analyzer_shared/lib/src/parser/forwarding_listener.dart
+++ b/pkg/_fe_analyzer_shared/lib/src/parser/forwarding_listener.dart
@@ -319,14 +319,15 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
Token? varFinalOrConst,
Token? getOrSet,
Token name) {
- listener?.beginMethod(declarationKind, externalToken, staticToken,
- covariantToken, varFinalOrConst, getOrSet, name);
+ listener?.beginMethod(declarationKind, augmentToken, externalToken,
+ staticToken, covariantToken, varFinalOrConst, getOrSet, name);
}
@override
@@ -892,8 +893,8 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
- listener?.endImport(importKeyword, semicolon);
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
+ listener?.endImport(importKeyword, augmentToken, semicolon);
}
@override
diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/listener.dart b/pkg/_fe_analyzer_shared/lib/src/parser/listener.dart
index 0d7eb58..d31bac8b 100644
--- a/pkg/_fe_analyzer_shared/lib/src/parser/listener.dart
+++ b/pkg/_fe_analyzer_shared/lib/src/parser/listener.dart
@@ -833,7 +833,7 @@
/// - conditional uris
/// - prefix identifier
/// - combinators
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
logEvent("Import");
}
@@ -1009,6 +1009,7 @@
/// [endMixinMethod].
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart b/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
index 4aa4443..b8da52c 100644
--- a/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
+++ b/pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart
@@ -679,17 +679,22 @@
assert(optional('import', importKeyword));
listener.beginUncategorizedTopLevelDeclaration(importKeyword);
listener.beginImport(importKeyword);
- Token token = ensureLiteralString(importKeyword);
+ Token start = importKeyword;
+ Token? augmentToken;
+ if (start.next!.isIdentifier && start.next!.lexeme == 'augment') {
+ start = augmentToken = start.next!;
+ }
+ Token token = ensureLiteralString(start);
Token uri = token;
token = parseConditionalUriStar(token);
token = parseImportPrefixOpt(token);
token = parseCombinatorStar(token).next!;
if (optional(';', token)) {
- listener.endImport(importKeyword, token);
+ listener.endImport(importKeyword, augmentToken, token);
return token;
} else {
// Recovery
- listener.endImport(importKeyword, /* semicolon = */ null);
+ listener.endImport(importKeyword, augmentToken, /* semicolon = */ null);
return parseImportRecovery(uri);
}
}
@@ -3984,6 +3989,7 @@
token = parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -4007,6 +4013,7 @@
return parseInvalidOperatorDeclaration(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -4020,6 +4027,7 @@
token = parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -4072,6 +4080,7 @@
return parseInvalidOperatorDeclaration(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -4107,6 +4116,7 @@
token = parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -4147,6 +4157,7 @@
Token parseMethod(
Token beforeStart,
Token? abstractToken,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -4220,8 +4231,8 @@
// TODO(danrubel): Consider parsing the name before calling beginMethod
// rather than passing the name token into beginMethod.
- listener.beginMethod(kind, externalToken, staticToken, covariantToken,
- varFinalOrConst, getOrSet, name);
+ listener.beginMethod(kind, augmentToken, externalToken, staticToken,
+ covariantToken, varFinalOrConst, getOrSet, name);
Token token = typeInfo.parseType(beforeType, this);
assert(token.next == (getOrSet ?? name) ||
@@ -8036,6 +8047,7 @@
Token parseInvalidOperatorDeclaration(
Token beforeStart,
Token? abstractToken,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -8084,6 +8096,7 @@
Token token = parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -8131,6 +8144,7 @@
return parseInvalidOperatorDeclaration(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -8148,6 +8162,7 @@
token = parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
diff --git a/pkg/analyzer/lib/dart/ast/ast_factory.dart b/pkg/analyzer/lib/dart/ast/ast_factory.dart
index bc2ed6e..26bbeac 100644
--- a/pkg/analyzer/lib/dart/ast/ast_factory.dart
+++ b/pkg/analyzer/lib/dart/ast/ast_factory.dart
@@ -626,8 +626,8 @@
required List<DartType> typeArgumentTypes,
});
- /// Returns a newly created import directive. Either or both of the
- /// [comment] and [metadata] can be `null` if the function does not have the
+ /// Returns a newly created import directive. Either or both of the [comment]
+ /// and [metadata] can be `null` if the function does not have the
/// corresponding attribute. The [deferredKeyword] can be `null` if the import
/// is not deferred. The [asKeyword] and [prefix] can be `null` if the import
/// does not specify a prefix. The list of [combinators] can be `null` if
diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart
index 31e08bd..cae43cb 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
@@ -6269,6 +6269,10 @@
// [Combinator]* ';'
class ImportDirectiveImpl extends NamespaceDirectiveImpl
implements ImportDirective {
+ /// The token representing the 'augment' keyword, or `null` if the import is
+ /// not a library augmentation import.
+ Token? augmentKeyword;
+
/// The token representing the 'deferred' keyword, or `null` if the imported
/// is not deferred.
@override
@@ -6293,6 +6297,7 @@
CommentImpl? comment,
List<Annotation>? metadata,
Token keyword,
+ this.augmentKeyword,
StringLiteralImpl libraryUri,
List<Configuration>? configurations,
this.deferredKeyword,
@@ -6323,6 +6328,7 @@
@override
ChildEntities get _childEntities => super._childEntities
..addToken('keyword', keyword)
+ ..addToken('augmentKeyword', augmentKeyword)
..addNode('uri', uri)
..addToken('deferredKeyword', deferredKeyword)
..addToken('asKeyword', asKeyword)
diff --git a/pkg/analyzer/lib/src/dart/ast/ast_factory.dart b/pkg/analyzer/lib/src/dart/ast/ast_factory.dart
index b125806..05438c0 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast_factory.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast_factory.dart
@@ -870,11 +870,13 @@
Token? asKeyword,
SimpleIdentifier? prefix,
List<Combinator>? combinators,
- Token semicolon) =>
+ Token semicolon,
+ {Token? augmentKeyword}) =>
ImportDirectiveImpl(
comment as CommentImpl?,
metadata,
keyword,
+ augmentKeyword,
libraryUri as StringLiteralImpl,
configurations,
deferredKeyword,
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart
index 8be5c6d..b81a0d2 100644
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
@@ -364,6 +364,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -371,6 +372,10 @@
Token? getOrSet,
Token name) {
_Modifiers modifiers = _Modifiers();
+ if (augmentToken != null) {
+ assert(augmentToken.isModifier);
+ modifiers.augmentKeyword = augmentToken;
+ }
if (externalToken != null) {
assert(externalToken.isModifier);
modifiers.externalKeyword = externalToken;
@@ -1801,7 +1806,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
assert(optional('import', importKeyword));
assert(optionalOrNull(';', semicolon));
debugEvent("Import");
@@ -1815,6 +1820,21 @@
var metadata = pop() as List<Annotation>?;
var comment = _findComment(metadata, importKeyword);
+ if (!enableMacros) {
+ if (augmentToken != null) {
+ var feature = ExperimentalFeatures.macros;
+ handleRecoverableError(
+ templateExperimentNotEnabled.withArguments(
+ feature.enableString,
+ _versionAsString(ExperimentStatus.currentVersion),
+ ),
+ augmentToken,
+ augmentToken);
+ // Pretend that 'augment' didn't occur while this feature is incomplete.
+ augmentToken = null;
+ }
+ }
+
directives.add(ast.importDirective(
comment,
metadata,
@@ -1825,7 +1845,8 @@
asKeyword,
prefix,
combinators,
- semicolon ?? Tokens.semicolon()));
+ semicolon ?? Tokens.semicolon(),
+ augmentKeyword: augmentToken));
}
@override
diff --git a/pkg/analyzer/test/generated/parser_fasta_listener.dart b/pkg/analyzer/test/generated/parser_fasta_listener.dart
index 29e09d2..1b59a3a 100644
--- a/pkg/analyzer/test/generated/parser_fasta_listener.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_listener.dart
@@ -368,13 +368,14 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
Token? varFinalOrConst,
Token? getOrSet,
Token name) {
- super.beginMethod(declarationKind, externalToken, staticToken,
+ super.beginMethod(declarationKind, augmentToken, externalToken, staticToken,
covariantToken, varFinalOrConst, getOrSet, name);
begin('Method');
}
@@ -975,9 +976,9 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
end('Import');
- super.endImport(importKeyword, semicolon);
+ super.endImport(importKeyword, augmentToken, semicolon);
}
@override
diff --git a/pkg/analyzer/tool/summary/mini_ast.dart b/pkg/analyzer/tool/summary/mini_ast.dart
index 2e58862..a68a79a 100644
--- a/pkg/analyzer/tool/summary/mini_ast.dart
+++ b/pkg/analyzer/tool/summary/mini_ast.dart
@@ -325,7 +325,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
debugEvent("Import");
pop(NullValue.Prefix); // Prefix identifier
pop(); // URI
diff --git a/pkg/dart2wasm/lib/intrinsics.dart b/pkg/dart2wasm/lib/intrinsics.dart
index d94cd8c..e795d85 100644
--- a/pkg/dart2wasm/lib/intrinsics.dart
+++ b/pkg/dart2wasm/lib/intrinsics.dart
@@ -355,6 +355,40 @@
}
}
+ // Wasm(I32|I64|F32|F64) conversions
+ if (node.interfaceTarget.enclosingClass?.superclass?.superclass ==
+ translator.wasmTypesBaseClass) {
+ w.StorageType receiverType =
+ translator.builtinTypes[node.interfaceTarget.enclosingClass]!;
+ switch (receiverType) {
+ case w.NumType.i32:
+ assert(name == "toIntSigned" || name == "toIntUnsigned");
+ codeGen.wrap(receiver, w.NumType.i32);
+ switch (name) {
+ case "toIntSigned":
+ b.i64_extend_i32_s();
+ break;
+ case "toIntUnsigned":
+ b.i64_extend_i32_u();
+ break;
+ }
+ return w.NumType.i64;
+ case w.NumType.i64:
+ assert(name == "toInt");
+ codeGen.wrap(receiver, w.NumType.i64);
+ return w.NumType.i64;
+ case w.NumType.f32:
+ assert(name == "toDouble");
+ codeGen.wrap(receiver, w.NumType.f32);
+ b.f64_promote_f32();
+ return w.NumType.f64;
+ case w.NumType.f64:
+ assert(name == "toDouble");
+ codeGen.wrap(receiver, w.NumType.f64);
+ return w.NumType.f64;
+ }
+ }
+
// List.[] on list constants
if (receiver is ConstantExpression &&
receiver.constant is ListConstant &&
@@ -615,6 +649,30 @@
return w.RefType.def(arrayType, nullable: false);
}
+ // Wasm(I32|I64|F32|F64) constructors
+ if (node.target.enclosingClass?.superclass?.superclass ==
+ translator.wasmTypesBaseClass) {
+ Expression value = node.arguments.positional[0];
+ w.StorageType targetType =
+ translator.builtinTypes[node.target.enclosingClass]!;
+ switch (targetType) {
+ case w.NumType.i32:
+ codeGen.wrap(value, w.NumType.i64);
+ b.i32_wrap_i64();
+ return w.NumType.i32;
+ case w.NumType.i64:
+ codeGen.wrap(value, w.NumType.i64);
+ return w.NumType.i64;
+ case w.NumType.f32:
+ codeGen.wrap(value, w.NumType.f64);
+ b.f32_demote_f64();
+ return w.NumType.f32;
+ case w.NumType.f64:
+ codeGen.wrap(value, w.NumType.f64);
+ return w.NumType.f64;
+ }
+ }
+
return null;
}
diff --git a/pkg/front_end/lib/src/fasta/import.dart b/pkg/front_end/lib/src/fasta/import.dart
index ec7df03..83268d3 100644
--- a/pkg/front_end/lib/src/fasta/import.dart
+++ b/pkg/front_end/lib/src/fasta/import.dart
@@ -27,6 +27,8 @@
final PrefixBuilder? prefixBuilder;
+ final bool isAugmentationImport;
+
final bool deferred;
final String? prefix;
@@ -46,6 +48,7 @@
Import(
this.importer,
this.imported,
+ this.isAugmentationImport,
this.deferred,
this.prefix,
this.combinators,
diff --git a/pkg/front_end/lib/src/fasta/incremental_compiler.dart b/pkg/front_end/lib/src/fasta/incremental_compiler.dart
index 74902b3..5a2e170 100644
--- a/pkg/front_end/lib/src/fasta/incremental_compiler.dart
+++ b/pkg/front_end/lib/src/fasta/incremental_compiler.dart
@@ -1780,16 +1780,17 @@
}
debugLibrary.addImport(
- null,
- dependency.importedLibraryReference.canonicalName!.name,
- null,
- dependency.name,
- combinators,
- dependency.isDeferred,
- -1,
- -1,
- -1,
- -1);
+ metadata: null,
+ isAugmentationImport: false,
+ uri: dependency.importedLibraryReference.canonicalName!.name,
+ configurations: null,
+ prefix: dependency.name,
+ combinators: combinators,
+ deferred: dependency.isDeferred,
+ charOffset: -1,
+ prefixCharOffset: -1,
+ uriOffset: -1,
+ importIndex: -1);
}
debugLibrary.addImportsToScope();
diff --git a/pkg/front_end/lib/src/fasta/kernel/macro.dart b/pkg/front_end/lib/src/fasta/kernel/macro.dart
index 64974dc..f55c0f8 100644
--- a/pkg/front_end/lib/src/fasta/kernel/macro.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/macro.dart
@@ -77,6 +77,12 @@
MacroApplication(this.classBuilder, this.constructorName);
late macro.MacroInstanceIdentifier instanceIdentifier;
+
+ @override
+ String toString() {
+ return '${classBuilder.name}.'
+ '${constructorName.isEmpty ? 'new' : constructorName}()';
+ }
}
class MacroApplicationDataForTesting {
@@ -144,16 +150,26 @@
application.classBuilder.library.importUri,
application.classBuilder.name);
Uri? precompiledMacroUri = precompiledMacroUris[macroClass];
- macro.MacroClassIdentifier macroClassIdentifier =
- classIdCache[application.classBuilder] ??= await macroExecutor
- .loadMacro(macroClass.importUri, macroClass.className,
- precompiledKernelUri: precompiledMacroUri);
- application.instanceIdentifier = instanceIdCache[application] ??=
- await macroExecutor.instantiateMacro(
- macroClassIdentifier,
- application.constructorName,
- // TODO(johnniwinther): Support macro arguments.
- new macro.Arguments([], {}));
+ try {
+ macro.MacroClassIdentifier macroClassIdentifier =
+ classIdCache[application.classBuilder] ??= await macroExecutor
+ .loadMacro(macroClass.importUri, macroClass.className,
+ precompiledKernelUri: precompiledMacroUri);
+ try {
+ application.instanceIdentifier = instanceIdCache[application] ??=
+ await macroExecutor.instantiateMacro(
+ macroClassIdentifier,
+ application.constructorName,
+ // TODO(johnniwinther): Support macro arguments.
+ new macro.Arguments([], {}));
+ } catch (e) {
+ throw "Error instantiating macro `${application}`: $e";
+ }
+ } catch (e) {
+ throw "Error loading macro class "
+ "'${application.classBuilder.name}' from "
+ "'${application.classBuilder.library.importUri}': $e";
+ }
}
}
}
diff --git a/pkg/front_end/lib/src/fasta/kernel/macro_annotation_parser.dart b/pkg/front_end/lib/src/fasta/kernel/macro_annotation_parser.dart
index ad4f712..aeed256 100644
--- a/pkg/front_end/lib/src/fasta/kernel/macro_annotation_parser.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/macro_annotation_parser.dart
@@ -580,6 +580,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -1078,7 +1079,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
_unexpected();
}
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
index 9d39bb9..b98d0c0 100644
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
@@ -521,7 +521,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
debugEvent("Import");
Object? name = pop(NullValue.Prefix);
@@ -531,7 +531,7 @@
// Native imports must be skipped because they aren't assigned corresponding
// LibraryDependency nodes.
- Token importUriToken = importKeyword.next!;
+ Token importUriToken = augmentToken?.next ?? importKeyword.next!;
String importUri =
unescapeString(importUriToken.lexeme, importUriToken, this);
if (importUri.startsWith("dart-ext:")) return;
diff --git a/pkg/front_end/lib/src/fasta/source/directive_listener.dart b/pkg/front_end/lib/src/fasta/source/directive_listener.dart
index ef44416..8e7fb53 100644
--- a/pkg/front_end/lib/src/fasta/source/directive_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/directive_listener.dart
@@ -82,7 +82,7 @@
}
@override
- void endImport(Token? import, Token? semicolon) {
+ void endImport(Token? import, Token? augmentToken, Token? semicolon) {
imports.add(new NamespaceDirective.import(_uri, _combinators));
_uri = null;
_combinators = null;
diff --git a/pkg/front_end/lib/src/fasta/source/outline_builder.dart b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
index ff57726..146909d 100644
--- a/pkg/front_end/lib/src/fasta/source/outline_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/outline_builder.dart
@@ -43,6 +43,7 @@
import '../kernel/utils.dart';
import '../modifier.dart'
show
+ Augment,
Const,
Covariant,
External,
@@ -528,7 +529,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
debugEvent("EndImport");
List<CombinatorBuilder>? combinators = pop() as List<CombinatorBuilder>?;
bool isDeferred = pop() as bool;
@@ -541,17 +542,33 @@
List<MetadataBuilder>? metadata = pop() as List<MetadataBuilder>?;
checkEmpty(importKeyword.charOffset);
if (prefix is ParserRecovery) return;
+
+ if (!libraryBuilder.enableMacrosInLibrary) {
+ if (augmentToken != null) {
+ // TODO(johnniwinther): We should emit a different message when the
+ // experiment is not released yet. The current message indicates that
+ // changing the sdk version can solve the problem.
+ addProblem(
+ templateExperimentNotEnabled.withArguments(
+ 'macros', libraryBuilder.enableMacrosVersionInLibrary.toText()),
+ augmentToken.next!.charOffset,
+ augmentToken.next!.length);
+ augmentToken = null;
+ }
+ }
+ bool isAugmentationImport = augmentToken != null;
libraryBuilder.addImport(
- metadata,
- uri,
- configurations,
- prefix as String?,
- combinators,
- isDeferred,
- importKeyword.charOffset,
- prefixOffset,
- uriOffset,
- importIndex++);
+ metadata: metadata,
+ isAugmentationImport: isAugmentationImport,
+ uri: uri,
+ configurations: configurations,
+ prefix: prefix as String?,
+ combinators: combinators,
+ deferred: isDeferred,
+ charOffset: importKeyword.charOffset,
+ prefixCharOffset: prefixOffset,
+ uriOffset: uriOffset,
+ importIndex: importIndex++);
}
@override
@@ -1513,6 +1530,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -1570,6 +1588,10 @@
pushDeclarationContext(declarationContext);
List<Modifier>? modifiers;
+ if (augmentToken != null) {
+ modifiers ??= <Modifier>[];
+ modifiers.add(Augment);
+ }
if (externalToken != null) {
modifiers ??= <Modifier>[];
modifiers.add(External);
diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
index 5030ef3..bb1a2546 100644
--- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
@@ -759,16 +759,17 @@
}
void addImport(
- List<MetadataBuilder>? metadata,
- String uri,
- List<Configuration>? configurations,
- String? prefix,
- List<CombinatorBuilder>? combinators,
- bool deferred,
- int charOffset,
- int prefixCharOffset,
- int uriOffset,
- int importIndex) {
+ {required List<MetadataBuilder>? metadata,
+ required bool isAugmentationImport,
+ required String uri,
+ required List<Configuration>? configurations,
+ required String? prefix,
+ required List<CombinatorBuilder>? combinators,
+ required bool deferred,
+ required int charOffset,
+ required int prefixCharOffset,
+ required int uriOffset,
+ required int importIndex}) {
if (configurations != null) {
for (Configuration config in configurations) {
if (loader.getLibrarySupportValue(config.dottedName) ==
@@ -800,8 +801,17 @@
builder = loader.read(resolvedUri, uriOffset, accessor: this);
}
- imports.add(new Import(this, builder, deferred, prefix, combinators,
- configurations, charOffset, prefixCharOffset, importIndex,
+ imports.add(new Import(
+ this,
+ builder,
+ isAugmentationImport,
+ deferred,
+ prefix,
+ combinators,
+ configurations,
+ charOffset,
+ prefixCharOffset,
+ importIndex,
nativeImportPath: nativePath));
}
diff --git a/pkg/front_end/lib/src/fasta/util/parser_ast_helper.dart b/pkg/front_end/lib/src/fasta/util/parser_ast_helper.dart
index ccb788f..b691d1c 100644
--- a/pkg/front_end/lib/src/fasta/util/parser_ast_helper.dart
+++ b/pkg/front_end/lib/src/fasta/util/parser_ast_helper.dart
@@ -1052,9 +1052,11 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
ImportEnd data = new ImportEnd(ParserAstType.END,
- importKeyword: importKeyword, semicolon: semicolon);
+ importKeyword: importKeyword,
+ augmentToken: augmentToken,
+ semicolon: semicolon);
seen(data);
}
@@ -1321,6 +1323,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -1329,6 +1332,7 @@
Token name) {
MethodBegin data = new MethodBegin(ParserAstType.BEGIN,
declarationKind: declarationKind,
+ augmentToken: augmentToken,
externalToken: externalToken,
staticToken: staticToken,
covariantToken: covariantToken,
@@ -4453,14 +4457,17 @@
class ImportEnd extends ParserAstNode {
final Token importKeyword;
+ final Token? augmentToken;
final Token? semicolon;
- ImportEnd(ParserAstType type, {required this.importKeyword, this.semicolon})
+ ImportEnd(ParserAstType type,
+ {required this.importKeyword, this.augmentToken, this.semicolon})
: super("Import", type);
@override
Map<String, Object?> get deprecatedArguments => {
"importKeyword": importKeyword,
+ "augmentToken": augmentToken,
"semicolon": semicolon,
};
}
@@ -4932,6 +4939,7 @@
class MethodBegin extends ParserAstNode {
final DeclarationKind declarationKind;
+ final Token? augmentToken;
final Token? externalToken;
final Token? staticToken;
final Token? covariantToken;
@@ -4941,6 +4949,7 @@
MethodBegin(ParserAstType type,
{required this.declarationKind,
+ this.augmentToken,
this.externalToken,
this.staticToken,
this.covariantToken,
@@ -4952,6 +4961,7 @@
@override
Map<String, Object?> get deprecatedArguments => {
"declarationKind": declarationKind,
+ "augmentToken": augmentToken,
"externalToken": externalToken,
"staticToken": staticToken,
"covariantToken": covariantToken,
diff --git a/pkg/front_end/lib/src/fasta/util/textual_outline.dart b/pkg/front_end/lib/src/fasta/util/textual_outline.dart
index 106e509..8194d15 100644
--- a/pkg/front_end/lib/src/fasta/util/textual_outline.dart
+++ b/pkg/front_end/lib/src/fasta/util/textual_outline.dart
@@ -863,7 +863,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
// ignore: unnecessary_null_comparison
if (importKeyword != null && semicolon != null) {
importExportsStartToChunk[importKeyword] = new _ImportChunk(
diff --git a/pkg/front_end/lib/src/kernel_generator_impl.dart b/pkg/front_end/lib/src/kernel_generator_impl.dart
index dc552e1..07c4b09 100644
--- a/pkg/front_end/lib/src/kernel_generator_impl.dart
+++ b/pkg/front_end/lib/src/kernel_generator_impl.dart
@@ -62,60 +62,65 @@
SourceLoader? sourceLoader;
return withCrashReporting<CompilerResult>(() async {
- // TODO(johnniwinther): How much can we reuse between iterations?
- UriTranslator uriTranslator = await options.getUriTranslator();
+ while (true) {
+ // TODO(johnniwinther): How much can we reuse between iterations?
+ UriTranslator uriTranslator = await options.getUriTranslator();
- DillTarget dillTarget =
- new DillTarget(options.ticker, uriTranslator, options.target);
+ DillTarget dillTarget =
+ new DillTarget(options.ticker, uriTranslator, options.target);
- List<Component> loadedComponents = <Component>[];
+ List<Component> loadedComponents = <Component>[];
- Component? sdkSummary = await options.loadSdkSummary(null);
- // By using the nameRoot of the summary, we enable sharing the
- // sdkSummary between multiple invocations.
- CanonicalName nameRoot = sdkSummary?.root ?? new CanonicalName.root();
- if (sdkSummary != null) {
- dillTarget.loader.appendLibraries(sdkSummary);
- }
-
- for (Component additionalDill
- in await options.loadAdditionalDills(nameRoot)) {
- loadedComponents.add(additionalDill);
- dillTarget.loader.appendLibraries(additionalDill);
- }
-
- dillTarget.buildOutlines();
-
- KernelTarget kernelTarget =
- new KernelTarget(fs, false, dillTarget, uriTranslator);
- sourceLoader = kernelTarget.loader;
- kernelTarget.setEntryPoints(options.inputs);
- NeededPrecompilations? neededPrecompilations =
- await kernelTarget.computeNeededPrecompilations();
- if (neededPrecompilations != null) {
- if (enableMacros) {
- // TODO(johnniwinther): Avoid using [rawOptionsForTesting] to compute
- // the compiler options for the precompilation.
- if (options.rawOptionsForTesting.macroTarget != null) {
- await _compileMacros(
- neededPrecompilations, options.rawOptionsForTesting);
- }
- } else {
- throw new UnsupportedError('Macro precompilation is not supported');
+ Component? sdkSummary = await options.loadSdkSummary(null);
+ // By using the nameRoot of the summary, we enable sharing the
+ // sdkSummary between multiple invocations.
+ CanonicalName nameRoot = sdkSummary?.root ?? new CanonicalName.root();
+ if (sdkSummary != null) {
+ dillTarget.loader.appendLibraries(sdkSummary);
}
+
+ for (Component additionalDill
+ in await options.loadAdditionalDills(nameRoot)) {
+ loadedComponents.add(additionalDill);
+ dillTarget.loader.appendLibraries(additionalDill);
+ }
+
+ dillTarget.buildOutlines();
+
+ KernelTarget kernelTarget =
+ new KernelTarget(fs, false, dillTarget, uriTranslator);
+ sourceLoader = kernelTarget.loader;
+ kernelTarget.setEntryPoints(options.inputs);
+ NeededPrecompilations? neededPrecompilations =
+ await kernelTarget.computeNeededPrecompilations();
+ if (neededPrecompilations != null) {
+ if (enableMacros) {
+ // TODO(johnniwinther): Avoid using [rawOptionsForTesting] to compute
+ // the compiler options for the precompilation.
+ if (options.rawOptionsForTesting.macroTarget != null) {
+ await _compileMacros(
+ neededPrecompilations, options.rawOptionsForTesting);
+ // TODO(johnniwinther): Assert that some works has been done.
+ // TODO(johnniwinther): Stop in case of compile-time errors.
+ continue;
+ }
+ } else {
+ throw new UnsupportedError('Macro precompilation is not supported');
+ }
+ }
+ return _buildInternal(
+ options: options,
+ kernelTarget: kernelTarget,
+ nameRoot: nameRoot,
+ sdkSummary: sdkSummary,
+ loadedComponents: loadedComponents,
+ buildSummary: buildSummary,
+ truncateSummary: truncateSummary,
+ buildComponent: buildComponent,
+ includeOffsets: includeOffsets,
+ includeHierarchyAndCoreTypes: includeHierarchyAndCoreTypes,
+ retainDataForTesting: retainDataForTesting);
}
- return _buildInternal(
- options: options,
- kernelTarget: kernelTarget,
- nameRoot: nameRoot,
- sdkSummary: sdkSummary,
- loadedComponents: loadedComponents,
- buildSummary: buildSummary,
- truncateSummary: truncateSummary,
- buildComponent: buildComponent,
- includeOffsets: includeOffsets,
- includeHierarchyAndCoreTypes: includeHierarchyAndCoreTypes,
- retainDataForTesting: retainDataForTesting);
}, () => sourceLoader?.currentUriForCrashReporting ?? options.inputs.first);
}
diff --git a/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.expect b/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.expect
index a7c54b5..91c611c 100644
--- a/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.expect
+++ b/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
handleNoType(augment)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -29,7 +29,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -44,7 +44,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
handleNoType(augment)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -58,7 +58,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -74,7 +74,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
handleNoType(augment)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -96,7 +96,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -189,7 +189,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
handleNoType(static)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -204,7 +204,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -219,7 +219,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
handleNoType(static)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -233,7 +233,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -249,7 +249,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
handleNoType(static)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -271,7 +271,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -377,7 +377,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, null, method)
handleNoType(augment)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -392,7 +392,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -407,7 +407,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, get, getter)
handleNoType(augment)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -421,7 +421,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -437,7 +437,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, set, setter)
handleNoType(augment)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -459,7 +459,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -552,7 +552,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, null, method)
handleNoType(static)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -567,7 +567,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -582,7 +582,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, get, getter)
handleNoType(static)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -596,7 +596,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -612,7 +612,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, set, setter)
handleNoType(static)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -634,7 +634,7 @@
beginMetadataStar(augment)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Mixin, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.intertwined.expect b/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.intertwined.expect
index 70dce5d..7f35186 100644
--- a/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/augmentation/member_declarations.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ parseMethod({, null, augment, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(augment, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -63,8 +63,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -94,8 +94,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -129,8 +129,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -166,8 +166,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -207,8 +207,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -372,8 +372,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(static, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -402,8 +402,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -432,8 +432,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -466,8 +466,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -502,8 +502,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -542,8 +542,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -729,8 +729,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, null, method)
+ parseMethod({, null, augment, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, null, method)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(augment, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -760,8 +760,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, null, method)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -791,8 +791,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, get, getter)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, get, getter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -826,8 +826,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, get, getter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -863,8 +863,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, set, setter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, set, setter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -904,8 +904,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, null, null, null, set, setter)
+ parseMethod(}, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, null, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1069,8 +1069,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, null, method)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, null, method)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(static, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1099,8 +1099,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, null, method)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1129,8 +1129,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, get, getter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, get, getter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -1163,8 +1163,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, get, getter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -1199,8 +1199,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, set, setter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, set, setter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1239,8 +1239,8 @@
listener: beginMetadataStar(augment)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Mixin, Mixin, false)
- listener: beginMethod(DeclarationKind.Mixin, null, static, null, null, set, setter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Mixin, Mixin, false)
+ listener: beginMethod(DeclarationKind.Mixin, augment, null, static, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/augmentation/member_errors.dart.expect b/pkg/front_end/parser_testcases/augmentation/member_errors.dart.expect
index 229e328..693edbe 100644
--- a/pkg/front_end/parser_testcases/augmentation/member_errors.dart.expect
+++ b/pkg/front_end/parser_testcases/augmentation/member_errors.dart.expect
@@ -261,7 +261,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
handleNoType(augment)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -277,7 +277,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, null, method)
handleNoType(external)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -292,7 +292,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, null, method)
handleNoType(augment)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -307,7 +307,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -323,7 +323,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -338,7 +338,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -353,7 +353,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
handleNoType(augment)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -368,7 +368,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, get, getter)
handleNoType(external)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(;)
@@ -382,7 +382,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, get, getter)
handleNoType(augment)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(;)
@@ -396,7 +396,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -413,7 +413,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -429,7 +429,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -445,7 +445,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
handleNoType(augment)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -468,7 +468,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, set, setter)
handleNoType(external)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -490,7 +490,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, set, setter)
handleNoType(augment)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -512,7 +512,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -535,7 +535,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, external, null, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -557,7 +557,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -801,7 +801,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
handleNoType(static)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -817,7 +817,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, null, method)
handleNoType(augment)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -833,7 +833,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -849,7 +849,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -865,7 +865,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
handleNoType(static)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -880,7 +880,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, get, getter)
handleNoType(augment)
handleIdentifier(getter, methodDeclaration)
handleNoTypeVariables(=>)
@@ -895,7 +895,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -912,7 +912,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, get, getter)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -929,7 +929,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
handleNoType(static)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -952,7 +952,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, set, setter)
handleNoType(augment)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -975,7 +975,7 @@
endMetadataStar(0)
handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
@@ -998,7 +998,7 @@
endMetadataStar(0)
handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, set, setter)
handleVoidKeyword(void)
handleIdentifier(setter, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/augmentation/member_errors.dart.intertwined.expect b/pkg/front_end/parser_testcases/augmentation/member_errors.dart.intertwined.expect
index 87340d0..01ea526 100644
--- a/pkg/front_end/parser_testcases/augmentation/member_errors.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/augmentation/member_errors.dart.intertwined.expect
@@ -34,8 +34,8 @@
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ parseMethod({, null, augment, null, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(augment, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -68,8 +68,8 @@
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, external, null, null, null, null, external, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ parseMethod(}, null, augment, external, null, null, null, null, external, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, null, method)
listener: handleNoType(external)
ensureIdentifierPotentiallyRecovered(external, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -100,8 +100,8 @@
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, null, method)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(augment, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -131,8 +131,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -164,8 +164,8 @@
reportRecoverableError(external, Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
- parseMethod(}, null, external, null, null, null, null, external, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ parseMethod(}, null, augment, external, null, null, null, null, external, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -195,8 +195,8 @@
reportRecoverableError(augment, Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, method)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -226,8 +226,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -263,8 +263,8 @@
reportRecoverableError(external, Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, external, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ parseMethod(;, null, augment, external, null, null, null, null, external, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, get, getter)
listener: handleNoType(external)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -291,8 +291,8 @@
reportRecoverableError(augment, Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, get, getter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -319,8 +319,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, getter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -358,8 +358,8 @@
reportRecoverableError(external, Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, external, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ parseMethod(;, null, augment, external, null, null, null, null, external, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -388,8 +388,8 @@
reportRecoverableError(augment, Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, get, getter)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -418,8 +418,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -461,8 +461,8 @@
reportRecoverableError(external, Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
- parseMethod(}, null, external, null, null, null, null, external, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ parseMethod(}, null, augment, external, null, null, null, null, external, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, set, setter)
listener: handleNoType(external)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -502,8 +502,8 @@
reportRecoverableError(augment, Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, set, setter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -543,8 +543,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, setter)
+ parseMethod(;, null, augment, null, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, null, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -586,8 +586,8 @@
reportRecoverableError(external, Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'external' and 'augment'., Try removing one of the keywords., {string: external, string2: augment}], external, external)
listener: beginMember()
- parseMethod(}, null, external, null, null, null, null, external, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ parseMethod(}, null, augment, external, null, null, null, null, external, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, external, null, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -627,8 +627,8 @@
reportRecoverableError(augment, Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}])
listener: handleRecoverableError(Message[ConflictingModifiers, Members can't be declared to be both 'augment' and 'external'., Try removing one of the keywords., {string: augment, string2: external}], augment, augment)
listener: beginMember()
- parseMethod(;, null, external, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, set, setter)
+ parseMethod(;, null, null, external, null, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1044,8 +1044,8 @@
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(static, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1077,8 +1077,8 @@
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, static, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(}, null, null, null, static, null, null, null, augment, Instance of 'NoType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, null, method)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(augment, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1109,8 +1109,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1141,8 +1141,8 @@
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}])
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, method)
+ parseMethod(}, null, null, null, static, null, null, null, augment, Instance of 'VoidType', null, method, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -1173,8 +1173,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -1209,8 +1209,8 @@
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}])
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(;, null, null, null, static, null, null, null, augment, Instance of 'NoType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, get, getter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(getter, methodDeclaration)
@@ -1245,8 +1245,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -1283,8 +1283,8 @@
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}])
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, get, getter)
+ parseMethod(;, null, null, null, static, null, null, null, augment, Instance of 'SimpleType', get, getter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, get, getter)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -1321,8 +1321,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(;, null, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(;, null, augment, null, static, null, null, null, static, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1363,8 +1363,8 @@
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}])
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(}, null, null, null, static, null, null, null, augment, Instance of 'NoType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, set, setter)
listener: handleNoType(augment)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1405,8 +1405,8 @@
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(}, null, augment, null, static, null, null, null, static, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, augment, null, static, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
@@ -1447,8 +1447,8 @@
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}])
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'static'., Try re-ordering the modifiers., {string: augment, string2: static}], augment, augment)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, set, setter)
+ parseMethod(}, null, null, null, static, null, null, null, augment, Instance of 'VoidType', set, setter, DeclarationKind.Class, Class, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, set, setter)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(setter, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.expect b/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.expect
index 69b148f..92d5054 100644
--- a/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.expect
+++ b/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.expect
@@ -81,7 +81,7 @@
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Enum, null, null, null, const, null, E)
+ beginMethod(DeclarationKind.Enum, null, null, null, null, const, null, E)
handleNoType(const)
handleIdentifier(E, methodDeclaration)
handleNoTypeVariables(()
@@ -95,7 +95,7 @@
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Enum, null, null, null, const, null, E)
+ beginMethod(DeclarationKind.Enum, null, null, null, null, const, null, E)
handleNoType(const)
handleIdentifier(E, methodDeclaration)
handleIdentifier(named, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.intertwined.expect b/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.intertwined.expect
index 8349189..7d106ee 100644
--- a/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/enhanced_enums/entries_with_type_arguments.dart.intertwined.expect
@@ -123,8 +123,8 @@
listener: beginMetadataStar(const)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, const, const, Instance of 'NoType', null, E, DeclarationKind.Enum, E, false)
- listener: beginMethod(DeclarationKind.Enum, null, null, null, const, null, E)
+ parseMethod(;, null, null, null, null, null, null, const, const, Instance of 'NoType', null, E, DeclarationKind.Enum, E, false)
+ listener: beginMethod(DeclarationKind.Enum, null, null, null, null, const, null, E)
listener: handleNoType(const)
ensureIdentifierPotentiallyRecovered(const, methodDeclaration, false)
listener: handleIdentifier(E, methodDeclaration)
@@ -152,8 +152,8 @@
listener: beginMetadataStar(const)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, const, const, Instance of 'NoType', null, E, DeclarationKind.Enum, E, false)
- listener: beginMethod(DeclarationKind.Enum, null, null, null, const, null, E)
+ parseMethod(;, null, null, null, null, null, null, const, const, Instance of 'NoType', null, E, DeclarationKind.Enum, E, false)
+ listener: beginMethod(DeclarationKind.Enum, null, null, null, null, const, null, E)
listener: handleNoType(const)
ensureIdentifierPotentiallyRecovered(const, methodDeclaration, false)
listener: handleIdentifier(E, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.expect b/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.expect
index f82251f..3d57472 100644
--- a/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.expect
@@ -24,7 +24,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -47,7 +47,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleIdentifier(C, typeReference)
handleNoTypeArguments(m)
handleType(C, null)
@@ -124,7 +124,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
handleNoType({)
handleIdentifier(D, methodDeclaration)
handleNoTypeVariables(()
@@ -147,7 +147,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleIdentifier(D, typeReference)
handleNoTypeArguments(m)
handleType(D, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.intertwined.expect
index 38d20d6..659cd04 100644
--- a/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/bracket_mismatch_01.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -75,8 +75,8 @@
listener: beginMetadataStar(C)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, m, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, m, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleIdentifier(C, typeReference)
listener: handleNoTypeArguments(m)
listener: handleType(C, null)
@@ -283,8 +283,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(D, methodDeclaration)
@@ -326,8 +326,8 @@
listener: beginMetadataStar(D)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, m, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, m, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleIdentifier(D, typeReference)
listener: handleNoTypeArguments(m)
listener: handleType(D, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.expect
index a7bf71f..503568b 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.expect
@@ -136,7 +136,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType({)
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -154,7 +154,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -181,7 +181,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
@@ -206,7 +206,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(=>)
@@ -221,7 +221,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables({)
@@ -239,7 +239,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -258,7 +258,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -280,7 +280,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(:)
@@ -306,7 +306,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -337,7 +337,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(=>)
@@ -354,7 +354,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables({)
@@ -374,7 +374,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -393,7 +393,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -415,7 +415,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(:)
@@ -441,7 +441,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
@@ -472,7 +472,7 @@
beginMetadataStar(external)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, null, Foo)
handleNoType(external)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -496,7 +496,7 @@
beginMetadataStar(external)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, external, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, external, null, null, null, null, Foo)
handleNoType(external)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(X, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.intertwined.expect
index 2a71486..5bc1f5c 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_general.crash_dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -70,8 +70,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -133,8 +133,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -191,8 +191,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -228,8 +228,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -272,8 +272,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -319,8 +319,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -373,8 +373,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -441,8 +441,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -520,8 +520,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -563,8 +563,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -613,8 +613,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -660,8 +660,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -714,8 +714,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -782,8 +782,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -862,8 +862,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, external, null, null, null, null, external, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, Foo)
+ parseMethod(}, null, null, external, null, null, null, null, external, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, null, Foo)
listener: handleNoType(external)
ensureIdentifierPotentiallyRecovered(external, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -919,8 +919,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, external, null, null, null, null, external, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, external, null, null, null, null, Foo)
+ parseMethod(;, null, null, external, null, null, null, null, external, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, external, null, null, null, null, Foo)
listener: handleNoType(external)
ensureIdentifierPotentiallyRecovered(external, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.expect
index 24af11c..8aeed6f 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.expect
@@ -44,7 +44,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
handleNoType({)
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -63,7 +63,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -91,7 +91,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.intertwined.expect
index 5f8b5c5..87c5040 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_get.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -70,8 +70,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -134,8 +134,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.expect
index 1f2918a..d5fe639 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.expect
@@ -40,7 +40,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -59,7 +59,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -87,7 +87,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.intertwined.expect
index f28b41d..fa54395 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_return_type.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -70,8 +70,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -134,8 +134,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.expect
index 413fa9a..4a03885 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.expect
@@ -40,7 +40,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
handleNoType({)
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -59,7 +59,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -87,7 +87,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.intertwined.expect
index dc9b782..b421916 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_bad_name_set.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -70,8 +70,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -134,8 +134,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.expect
index 37bd2b8..3482258 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.expect
@@ -40,7 +40,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType({)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -57,7 +57,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -83,7 +83,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -101,7 +101,7 @@
beginMetadataStar(get)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.intertwined.expect
index 96d5b12..62962ea 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_get.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -66,8 +66,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -126,8 +126,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -163,8 +163,8 @@
listener: beginMetadataStar(get)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', get, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(get, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.expect
index 685dbf9..3ff5a66 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType({)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -29,7 +29,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -53,7 +53,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -70,7 +70,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.intertwined.expect
index ac8a879..c192885 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_ok.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -64,8 +64,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -121,8 +121,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -157,8 +157,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.expect
index bf658f7..457a791 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.expect
@@ -88,7 +88,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType({)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -104,7 +104,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, /, /)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(})
handleOperatorName(operator, /)
handleNoTypeVariables(:)
@@ -129,7 +129,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -151,7 +151,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, /, /)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(.)
handleOperatorName(operator, /)
handleNoTypeVariables(:)
@@ -176,7 +176,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
@@ -192,7 +192,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, /, /)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(})
handleOperatorName(operator, /)
handleNoTypeVariables(:)
@@ -217,7 +217,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType(})
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
@@ -239,7 +239,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, /, /)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(.)
handleOperatorName(operator, /)
handleNoTypeVariables(:)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.intertwined.expect
index a4490e1..b44b5a7 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_operator.crash_dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -68,12 +68,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(}, }, null, null, null, null, null, null, null, }, Instance of 'NoType', null, DeclarationKind.Class, Foo)
- parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, }, DeclarationKind.Class, Foo)
+ parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, null, }, DeclarationKind.Class, Foo)
reportRecoverableError(/, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, /, /)
rewriter()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(})
parseOperatorName(})
listener: handleOperatorName(operator, /)
@@ -127,8 +127,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -174,12 +174,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(., ., null, null, null, null, null, null, null, ., Instance of 'NoType', null, DeclarationKind.Class, Foo)
- parseInvalidOperatorDeclaration(., null, null, null, null, null, null, ., DeclarationKind.Class, Foo)
+ parseInvalidOperatorDeclaration(., null, null, null, null, null, null, null, ., DeclarationKind.Class, Foo)
reportRecoverableError(/, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, /, /)
rewriter()
- parseMethod(., null, null, null, null, null, null, ., Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(., null, null, null, null, null, null, null, ., Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(.)
parseOperatorName(.)
listener: handleOperatorName(operator, /)
@@ -233,8 +233,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -269,12 +269,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(}, }, null, null, null, null, null, null, null, }, Instance of 'NoType', null, DeclarationKind.Class, Foo)
- parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, }, DeclarationKind.Class, Foo)
+ parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, null, }, DeclarationKind.Class, Foo)
reportRecoverableError(/, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, /, /)
rewriter()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(})
parseOperatorName(})
listener: handleOperatorName(operator, /)
@@ -328,8 +328,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -375,12 +375,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(., ., null, null, null, null, null, null, null, ., Instance of 'NoType', null, DeclarationKind.Class, Foo)
- parseInvalidOperatorDeclaration(., null, null, null, null, null, null, ., DeclarationKind.Class, Foo)
+ parseInvalidOperatorDeclaration(., null, null, null, null, null, null, null, ., DeclarationKind.Class, Foo)
reportRecoverableError(/, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, /, /)
rewriter()
- parseMethod(., null, null, null, null, null, null, ., Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(., null, null, null, null, null, null, null, ., Instance of 'NoType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(.)
parseOperatorName(.)
listener: handleOperatorName(operator, /)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.expect
index ab6b6c8..c317c4b 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.expect
@@ -32,7 +32,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleVoidKeyword(void)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -48,7 +48,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleVoidKeyword(void)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -73,7 +73,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleVoidKeyword(void)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -91,7 +91,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleVoidKeyword(void)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.intertwined.expect
index b4a45bc..2f055dc 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_return_type.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -64,8 +64,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -122,8 +122,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -159,8 +159,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.expect
index 0f7ad37..5511c88 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.expect
@@ -32,7 +32,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType({)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -48,7 +48,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -73,7 +73,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
@@ -91,7 +91,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(x, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.intertwined.expect
index 33f6625..ca72661 100644
--- a/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/constructor_recovery_set.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -64,8 +64,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -122,8 +122,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -159,8 +159,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', set, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.expect b/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.expect
index 8bbaa29..3fd8b9b 100644
--- a/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.expect
@@ -36,7 +36,7 @@
beginMetadataStar(bool)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, a)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, a)
handleIdentifier(bool, typeReference)
handleNoTypeArguments(a)
handleType(bool, null)
@@ -71,7 +71,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, get, b)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, get, b)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -87,7 +87,7 @@
beginMetadataStar(set)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, set, c)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, set, c)
handleNoType(;)
handleIdentifier(c, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.intertwined.expect
index 2ffe948..334068a 100644
--- a/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/extension_member_contributor_test_completion.dart.intertwined.expect
@@ -39,8 +39,8 @@
listener: beginMetadataStar(bool)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, a, DeclarationKind.Extension, E, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, a)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, a, DeclarationKind.Extension, E, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, a)
listener: handleIdentifier(bool, typeReference)
listener: handleNoTypeArguments(a)
listener: handleType(bool, null)
@@ -96,8 +96,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, b, DeclarationKind.Extension, E, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, get, b)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, b, DeclarationKind.Extension, E, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, get, b)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -133,8 +133,8 @@
listener: beginMetadataStar(set)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', set, c, DeclarationKind.Extension, E, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, set, c)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', set, c, DeclarationKind.Extension, E, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, set, c)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(c, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.expect
index b572628..88f87a1 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.expect
@@ -72,7 +72,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType({)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -114,7 +114,7 @@
beginMetadataStar(Bar)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Bar)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Bar)
handleNoType({)
handleIdentifier(Bar, methodDeclaration)
handleNoTypeVariables(()
@@ -156,7 +156,7 @@
beginMetadataStar(Baz)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Baz)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Baz)
handleNoType({)
handleIdentifier(Baz, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.intertwined.expect
index 16e191e..0d0dc27 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_22313.dart.intertwined.expect
@@ -94,8 +94,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -177,8 +177,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, Bar, DeclarationKind.Class, Bar, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Bar)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, Bar, DeclarationKind.Class, Bar, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Bar)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(Bar, methodDeclaration)
@@ -260,8 +260,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, Baz, DeclarationKind.Class, Baz, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Baz)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, Baz, DeclarationKind.Class, Baz, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Baz)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(Baz, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.expect
index 96ef7ef..8b091c3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.expect
@@ -46,7 +46,7 @@
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, const, null, Annotation)
+ beginMethod(DeclarationKind.Class, null, null, null, null, const, null, Annotation)
handleNoType(const)
handleIdentifier(Annotation, methodDeclaration)
handleNoTypeVariables(()
@@ -105,7 +105,7 @@
beginMetadataStar(m)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleNoType({)
handleIdentifier(m, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.intertwined.expect
index ed69ecd..fd5d902 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_22314.dart.intertwined.expect
@@ -70,8 +70,8 @@
listener: beginMetadataStar(const)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, const, const, Instance of 'NoType', null, Annotation, DeclarationKind.Class, Annotation, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, const, null, Annotation)
+ parseMethod(;, null, null, null, null, null, null, const, const, Instance of 'NoType', null, Annotation, DeclarationKind.Class, Annotation, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, const, null, Annotation)
listener: handleNoType(const)
ensureIdentifierPotentiallyRecovered(const, methodDeclaration, false)
listener: handleIdentifier(Annotation, methodDeclaration)
@@ -172,8 +172,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, m, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, m, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(m, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.expect
index 1f9d7e5..d1fcfd2 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.expect
@@ -76,7 +76,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -109,7 +109,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -141,7 +141,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -177,7 +177,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -212,7 +212,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -251,7 +251,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -289,7 +289,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -331,7 +331,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -372,7 +372,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
handleIdentifier(int, typeReference)
handleNoTypeArguments(i)
handleType(int, null)
@@ -417,7 +417,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
handleIdentifier(int, typeReference)
handleNoTypeArguments(j)
handleType(int, null)
@@ -461,7 +461,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
handleIdentifier(int, typeReference)
handleNoTypeArguments(k)
handleType(int, null)
@@ -509,7 +509,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
handleIdentifier(int, typeReference)
handleNoTypeArguments(l)
handleType(int, null)
@@ -556,7 +556,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleIdentifier(int, typeReference)
handleNoTypeArguments(m)
handleType(int, null)
@@ -620,7 +620,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
handleIdentifier(int, typeReference)
handleNoTypeArguments(n)
handleType(int, null)
@@ -683,7 +683,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
handleIdentifier(int, typeReference)
handleNoTypeArguments(o)
handleType(int, null)
@@ -734,7 +734,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
handleIdentifier(int, typeReference)
handleNoTypeArguments(p)
handleType(int, null)
@@ -784,7 +784,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
handleIdentifier(int, typeReference)
handleNoTypeArguments(q)
handleType(int, null)
@@ -838,7 +838,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
handleIdentifier(int, typeReference)
handleNoTypeArguments(r)
handleType(int, null)
@@ -891,7 +891,7 @@
beginMetadataStar(s)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
handleNoType(})
handleIdentifier(s, methodDeclaration)
handleNoTypeVariables(()
@@ -978,7 +978,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1069,7 +1069,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1157,7 +1157,7 @@
beginMetadataStar(not_currently_working)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
handleNoType(})
handleIdentifier(not_currently_working, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.intertwined.expect
index 9bf3846..c90f416 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -118,8 +118,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -191,8 +191,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -285,8 +285,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -365,8 +365,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -471,8 +471,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -558,8 +558,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -671,8 +671,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -765,8 +765,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(i)
listener: handleType(int, null)
@@ -862,8 +862,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(j)
listener: handleType(int, null)
@@ -947,8 +947,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(k)
listener: handleType(int, null)
@@ -1051,8 +1051,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(l)
listener: handleType(int, null)
@@ -1143,8 +1143,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(m)
listener: handleType(int, null)
@@ -1282,8 +1282,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(n)
listener: handleType(int, null)
@@ -1409,8 +1409,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(o)
listener: handleType(int, null)
@@ -1525,8 +1525,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(p)
listener: handleType(int, null)
@@ -1624,8 +1624,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(q)
listener: handleType(int, null)
@@ -1747,8 +1747,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(r)
listener: handleType(int, null)
@@ -1854,8 +1854,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(s, methodDeclaration)
@@ -2092,8 +2092,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2337,8 +2337,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2546,8 +2546,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(not_currently_working, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.expect
index 65e0e92..27098f5 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.expect
@@ -76,7 +76,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -109,7 +109,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -141,7 +141,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -177,7 +177,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -212,7 +212,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -251,7 +251,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -289,7 +289,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -331,7 +331,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -372,7 +372,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
handleIdentifier(int, typeReference)
handleNoTypeArguments(i)
handleType(int, null)
@@ -417,7 +417,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
handleIdentifier(int, typeReference)
handleNoTypeArguments(j)
handleType(int, null)
@@ -461,7 +461,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
handleIdentifier(int, typeReference)
handleNoTypeArguments(k)
handleType(int, null)
@@ -509,7 +509,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
handleIdentifier(int, typeReference)
handleNoTypeArguments(l)
handleType(int, null)
@@ -556,7 +556,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleIdentifier(int, typeReference)
handleNoTypeArguments(m)
handleType(int, null)
@@ -620,7 +620,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
handleIdentifier(int, typeReference)
handleNoTypeArguments(n)
handleType(int, null)
@@ -683,7 +683,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
handleIdentifier(int, typeReference)
handleNoTypeArguments(o)
handleType(int, null)
@@ -734,7 +734,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
handleIdentifier(int, typeReference)
handleNoTypeArguments(p)
handleType(int, null)
@@ -784,7 +784,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
handleIdentifier(int, typeReference)
handleNoTypeArguments(q)
handleType(int, null)
@@ -838,7 +838,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
handleIdentifier(int, typeReference)
handleNoTypeArguments(r)
handleType(int, null)
@@ -891,7 +891,7 @@
beginMetadataStar(s)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
handleNoType(})
handleIdentifier(s, methodDeclaration)
handleNoTypeVariables(()
@@ -978,7 +978,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1069,7 +1069,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1157,7 +1157,7 @@
beginMetadataStar(not_currently_working)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
handleNoType(})
handleIdentifier(not_currently_working, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.intertwined.expect
index 84c30ba..7a715ee 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810_and.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -118,8 +118,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -191,8 +191,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -285,8 +285,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -365,8 +365,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -472,8 +472,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -559,8 +559,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -673,8 +673,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -767,8 +767,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(i)
listener: handleType(int, null)
@@ -864,8 +864,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(j)
listener: handleType(int, null)
@@ -949,8 +949,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(k)
listener: handleType(int, null)
@@ -1053,8 +1053,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(l)
listener: handleType(int, null)
@@ -1145,8 +1145,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(m)
listener: handleType(int, null)
@@ -1284,8 +1284,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(n)
listener: handleType(int, null)
@@ -1411,8 +1411,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(o)
listener: handleType(int, null)
@@ -1528,8 +1528,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(p)
listener: handleType(int, null)
@@ -1627,8 +1627,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(q)
listener: handleType(int, null)
@@ -1751,8 +1751,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(r)
listener: handleType(int, null)
@@ -1858,8 +1858,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(s, methodDeclaration)
@@ -2096,8 +2096,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2341,8 +2341,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2550,8 +2550,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(not_currently_working, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.expect
index 59c238c..529110a 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.expect
@@ -76,7 +76,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -109,7 +109,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -141,7 +141,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -177,7 +177,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -212,7 +212,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -251,7 +251,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -289,7 +289,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -331,7 +331,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -372,7 +372,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
handleIdentifier(int, typeReference)
handleNoTypeArguments(i)
handleType(int, null)
@@ -417,7 +417,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
handleIdentifier(int, typeReference)
handleNoTypeArguments(j)
handleType(int, null)
@@ -461,7 +461,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
handleIdentifier(int, typeReference)
handleNoTypeArguments(k)
handleType(int, null)
@@ -509,7 +509,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
handleIdentifier(int, typeReference)
handleNoTypeArguments(l)
handleType(int, null)
@@ -556,7 +556,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
handleIdentifier(int, typeReference)
handleNoTypeArguments(m)
handleType(int, null)
@@ -620,7 +620,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
handleIdentifier(int, typeReference)
handleNoTypeArguments(n)
handleType(int, null)
@@ -683,7 +683,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
handleIdentifier(int, typeReference)
handleNoTypeArguments(o)
handleType(int, null)
@@ -734,7 +734,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
handleIdentifier(int, typeReference)
handleNoTypeArguments(p)
handleType(int, null)
@@ -784,7 +784,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
handleIdentifier(int, typeReference)
handleNoTypeArguments(q)
handleType(int, null)
@@ -838,7 +838,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
handleIdentifier(int, typeReference)
handleNoTypeArguments(r)
handleType(int, null)
@@ -891,7 +891,7 @@
beginMetadataStar(s)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
handleNoType(})
handleIdentifier(s, methodDeclaration)
handleNoTypeVariables(()
@@ -978,7 +978,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1069,7 +1069,7 @@
beginMetadataStar(Key)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
handleNoType(})
handleIdentifier(Key, methodDeclaration)
handleNoTypeVariables(()
@@ -1157,7 +1157,7 @@
beginMetadataStar(not_currently_working)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
handleNoType(})
handleIdentifier(not_currently_working, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.intertwined.expect
index 7930c05..8c0dec2 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_26810_or.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, a)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, a, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, a)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -118,8 +118,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, b)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, b, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, b)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -191,8 +191,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, c)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, c, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, c)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -285,8 +285,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, d)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, d, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, d)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -365,8 +365,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, e)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, e, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, e)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -472,8 +472,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, f)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, f, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, f)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -559,8 +559,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, g, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -673,8 +673,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, h)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, h, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, h)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -767,8 +767,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, i)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, i, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, i)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(i)
listener: handleType(int, null)
@@ -864,8 +864,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, j)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, j, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, j)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(j)
listener: handleType(int, null)
@@ -949,8 +949,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, k)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, k, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, k)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(k)
listener: handleType(int, null)
@@ -1053,8 +1053,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, l)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, l, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, l)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(l)
listener: handleType(int, null)
@@ -1145,8 +1145,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, m)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, m, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, m)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(m)
listener: handleType(int, null)
@@ -1284,8 +1284,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, n)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, n, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, n)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(n)
listener: handleType(int, null)
@@ -1411,8 +1411,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, o)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, o, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, o)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(o)
listener: handleType(int, null)
@@ -1528,8 +1528,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, p)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, p, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, p)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(p)
listener: handleType(int, null)
@@ -1627,8 +1627,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, q)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, q, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, q)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(q)
listener: handleType(int, null)
@@ -1751,8 +1751,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, r)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, r, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, r)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(r)
listener: handleType(int, null)
@@ -1858,8 +1858,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, s)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, s, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, s)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(s, methodDeclaration)
@@ -2096,8 +2096,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2341,8 +2341,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Key)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Key, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Key)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Key, methodDeclaration)
@@ -2550,8 +2550,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, not_currently_working)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, not_currently_working, DeclarationKind.Class, Key, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, not_currently_working)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(not_currently_working, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.expect
index 0deeeac..d63b2d1 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.expect
@@ -25,7 +25,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, <, <)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(co, typeReference)
handleNoTypeArguments(operator)
handleType(co, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.intertwined.expect
index a705fb2..be28034 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39026.crash_dart.intertwined.expect
@@ -31,12 +31,12 @@
listener: beginMetadataStar(co)
listener: endMetadataStar(0)
listener: beginMember()
- parseInvalidOperatorDeclaration({, null, null, null, null, null, null, {, DeclarationKind.Class, A)
+ parseInvalidOperatorDeclaration({, null, null, null, null, null, null, null, {, DeclarationKind.Class, A)
reportRecoverableError(<, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, <, <)
rewriter()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(co, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(co, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.expect
index 256e9d9..ce215b5 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.expect
@@ -20,7 +20,7 @@
beginMetadataStar(co)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(co, typeReference)
handleNoTypeArguments(operator)
handleType(co, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.intertwined.expect
index 85401d7..076371f 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39026_prime.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(co)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(co, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(co, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.expect
index dc0e852..68ce849 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.expect
@@ -32,7 +32,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -48,7 +48,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, /, /)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(})
handleOperatorName(operator, /)
handleNoTypeVariables(:)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.intertwined.expect
index 4a16efa..fa84f97 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_39230.crash_dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -68,12 +68,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(}, }, null, null, null, null, null, null, null, }, Instance of 'NoType', null, DeclarationKind.Class, C)
- parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, }, DeclarationKind.Class, C)
+ parseInvalidOperatorDeclaration(}, null, null, null, null, null, null, null, }, DeclarationKind.Class, C)
reportRecoverableError(/, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, /, /)
rewriter()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(})
parseOperatorName(})
listener: handleOperatorName(operator, /)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.expect
index e811ec9..d543918 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.expect
@@ -32,7 +32,7 @@
beginMetadataStar(foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleNoType({)
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.intertwined.expect
index ef5574f..4efe113 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_45327_prime_1.crash_dart.intertwined.expect
@@ -40,8 +40,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.expect
index 5833237..5cf67ad 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.expect
@@ -20,7 +20,7 @@
beginMetadataStar(Stream)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, x)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, x)
handleIdentifier(Stream, typeReference)
beginTypeArguments(<)
handleIdentifier(List, typeReference)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.intertwined.expect
index c4394b2..87a3f46 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_1.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(Stream)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'ComplexTypeInfo', null, x, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, x)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'ComplexTypeInfo', null, x, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, x)
ensureIdentifier({, typeReference)
listener: handleIdentifier(Stream, typeReference)
listener: beginTypeArguments(<)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.expect
index bfba3a4..4ad32a3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(Stream)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, x)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, x)
handleIdentifier(Stream, typeReference)
beginTypeArguments(<)
handleIdentifier(List, typeReference)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.intertwined.expect
index 6568041..8289af0 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_2.crash_dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(Stream)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'ComplexTypeInfo', null, x, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, x)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'ComplexTypeInfo', null, x, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, x)
ensureIdentifier({, typeReference)
listener: handleIdentifier(Stream, typeReference)
listener: beginTypeArguments(<)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.expect
index 57bfedc..dc854b9 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.expect
@@ -236,7 +236,7 @@
beginMetadataStar(Stream)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Stream)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Stream)
handleIdentifier(Stream, typeReference)
beginTypeArguments(<)
handleIdentifier(List, typeReference)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.intertwined.expect
index d173906..31a1079 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_5.crash_dart.intertwined.expect
@@ -257,8 +257,8 @@
listener: beginMetadataStar(Stream)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'ComplexTypeInfo', null, Stream, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Stream)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'ComplexTypeInfo', null, Stream, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Stream)
ensureIdentifier(;, typeReference)
listener: handleIdentifier(Stream, typeReference)
listener: beginTypeArguments(<)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.expect
index daa104d..499a3c6 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.expect
@@ -20,7 +20,7 @@
beginMetadataStar(stream)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, stream)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream)
handleNoType({)
handleIdentifier(stream, methodDeclaration)
beginTypeVariables(<)
@@ -58,7 +58,7 @@
beginMetadataStar(stream2)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, stream2)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream2)
handleNoType(})
handleIdentifier(stream2, methodDeclaration)
beginTypeVariables(<)
@@ -97,7 +97,7 @@
beginMetadataStar(stream3)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, stream3)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream3)
handleNoType(})
handleIdentifier(stream3, methodDeclaration)
beginTypeVariables(<)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.intertwined.expect
index 0562a9c..81224ad 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_46505_prime_6.crash_dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(<)
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, stream, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, stream)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, stream, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(stream, methodDeclaration)
@@ -92,8 +92,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(<)
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, stream2, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, stream2)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, stream2, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream2)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(stream2, methodDeclaration)
@@ -156,8 +156,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(<)
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, stream3, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, stream3)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, stream3, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, stream3)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(stream3, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.expect
index ed3d9d4..ba48fb3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.expect
@@ -18,7 +18,7 @@
handleImportPrefix(null, as)
beginCombinators(;)
endCombinators(0)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(main)
beginMetadataStar(main)
endMetadataStar(0)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.intertwined.expect
index 6a0e66a..1de2eb6 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime2.dart.intertwined.expect
@@ -27,7 +27,7 @@
parseCombinatorStar(enum)
listener: beginCombinators(;)
listener: endCombinators(0)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(main)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.expect
index fcc44cc..e02aece 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.expect
@@ -42,7 +42,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.intertwined.expect
index a5c120b..81e1bf1 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime3.dart.intertwined.expect
@@ -67,8 +67,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.expect
index 67258db..2bb9402 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.expect
@@ -113,7 +113,7 @@
handleIdentifierList(1)
endShow(show)
endCombinators(1)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -131,7 +131,7 @@
handleIdentifierList(1)
endHide(hide)
endCombinators(1)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -156,7 +156,7 @@
handleIdentifierList(1)
endHide(hide)
endCombinators(2)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -179,7 +179,7 @@
handleIdentifierList(1)
endHide(hide)
endCombinators(2)
- endImport(import, null)
+ endImport(import, null, null)
beginConditionalUris(as)
endConditionalUris(0)
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'enum' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: enum}], enum, enum)
@@ -209,7 +209,7 @@
handleIdentifierList(3)
endShow(show)
endCombinators(1)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -230,7 +230,7 @@
handleIdentifierList(3)
endHide(hide)
endCombinators(1)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -261,7 +261,7 @@
handleIdentifierList(3)
endHide(hide)
endCombinators(2)
- endImport(import, ;)
+ endImport(import, null, ;)
endTopLevelDeclaration(import)
beginMetadataStar(import)
endMetadataStar(0)
@@ -290,7 +290,7 @@
handleIdentifierList(3)
endHide(hide)
endCombinators(2)
- endImport(import, null)
+ endImport(import, null, null)
beginConditionalUris(as)
endConditionalUris(0)
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'enum' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: enum}], enum, enum)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.intertwined.expect
index f5536b4..172c6c3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48371_prime4.dart.intertwined.expect
@@ -32,7 +32,7 @@
listener: handleIdentifierList(1)
listener: endShow(show)
listener: endCombinators(1)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -64,7 +64,7 @@
listener: handleIdentifierList(1)
listener: endHide(hide)
listener: endCombinators(1)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -109,7 +109,7 @@
listener: handleIdentifierList(1)
listener: endHide(hide)
listener: endCombinators(2)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -150,7 +150,7 @@
listener: handleIdentifierList(1)
listener: endHide(hide)
listener: endCombinators(2)
- listener: endImport(import, null)
+ listener: endImport(import, null, null)
parseImportRecovery("lib.dart")
parseConditionalUriStar("lib.dart")
parseImportPrefixOpt("lib.dart")
@@ -216,7 +216,7 @@
listener: handleIdentifierList(3)
listener: endShow(show)
listener: endCombinators(1)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -254,7 +254,7 @@
listener: handleIdentifierList(3)
listener: endHide(hide)
listener: endCombinators(1)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -311,7 +311,7 @@
listener: handleIdentifierList(3)
listener: endHide(hide)
listener: endCombinators(2)
- listener: endImport(import, ;)
+ listener: endImport(import, null, ;)
listener: endTopLevelDeclaration(import)
parseTopLevelDeclarationImpl(;, Instance of 'DirectiveContext')
parseMetadataStar(;)
@@ -364,7 +364,7 @@
listener: handleIdentifierList(3)
listener: endHide(hide)
listener: endCombinators(2)
- listener: endImport(import, null)
+ listener: endImport(import, null, null)
parseImportRecovery("lib.dart")
parseConditionalUriStar("lib.dart")
parseImportPrefixOpt("lib.dart")
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.expect
index a931181..9cff1ec 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.expect
@@ -40,7 +40,7 @@
beginMetadataStar(A)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
handleNoType({)
handleIdentifier(A, methodDeclaration)
handleNoTypeVariables(()
@@ -63,7 +63,7 @@
beginMetadataStar(A)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
handleNoType(;)
handleIdentifier(A, methodDeclaration)
handleIdentifier(y, methodDeclarationContinuation)
@@ -105,7 +105,7 @@
beginMetadataStar(B)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B)
handleNoType({)
handleIdentifier(B, methodDeclaration)
handleNoTypeVariables(()
@@ -169,7 +169,7 @@
beginMetadataStar(B2)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B2)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B2)
handleNoType({)
handleIdentifier(B2, methodDeclaration)
handleNoTypeVariables(()
@@ -235,7 +235,7 @@
beginMetadataStar(B3)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
handleNoType({)
handleIdentifier(B3, methodDeclaration)
handleNoTypeVariables(()
@@ -284,7 +284,7 @@
beginMetadataStar(B3)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
handleNoType(;)
handleIdentifier(B3, methodDeclaration)
handleIdentifier(y, methodDeclarationContinuation)
@@ -337,7 +337,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType(;)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -401,7 +401,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
handleNoType({)
handleIdentifier(D, methodDeclaration)
handleNoTypeVariables(()
@@ -479,7 +479,7 @@
beginMetadataStar(E)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, E)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, E)
handleNoType(;)
handleIdentifier(E, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.intertwined.expect
index 290de57..891b53a 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(A, methodDeclaration)
@@ -74,8 +74,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(A, methodDeclaration)
@@ -150,8 +150,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B, DeclarationKind.Class, B, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B, DeclarationKind.Class, B, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B, methodDeclaration)
@@ -283,8 +283,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B2, DeclarationKind.Class, B2, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B2)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B2, DeclarationKind.Class, B2, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B2)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B2, methodDeclaration)
@@ -424,8 +424,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B3, methodDeclaration)
@@ -534,8 +534,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(B3, methodDeclaration)
@@ -627,8 +627,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -760,8 +760,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(D, methodDeclaration)
@@ -913,8 +913,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, E, DeclarationKind.Class, E, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, E)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, E, DeclarationKind.Class, E, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, E)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(E, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.expect
index 5001a0f..6b97b24 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(A)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
handleNoType({)
handleIdentifier(A, methodDeclaration)
handleNoTypeVariables(()
@@ -37,7 +37,7 @@
beginMetadataStar(A)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
handleNoType(;)
handleIdentifier(A, methodDeclaration)
handleIdentifier(y, methodDeclarationContinuation)
@@ -79,7 +79,7 @@
beginMetadataStar(B)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B)
handleNoType({)
handleIdentifier(B, methodDeclaration)
handleNoTypeVariables(()
@@ -142,7 +142,7 @@
beginMetadataStar(B2)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B2)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B2)
handleNoType({)
handleIdentifier(B2, methodDeclaration)
handleNoTypeVariables(()
@@ -207,7 +207,7 @@
beginMetadataStar(B3)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
handleNoType({)
handleIdentifier(B3, methodDeclaration)
handleNoTypeVariables(()
@@ -255,7 +255,7 @@
beginMetadataStar(B3)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
handleNoType(;)
handleIdentifier(B3, methodDeclaration)
handleIdentifier(y, methodDeclarationContinuation)
@@ -308,7 +308,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType(;)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -371,7 +371,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
handleNoType({)
handleIdentifier(D, methodDeclaration)
handleNoTypeVariables(()
@@ -448,7 +448,7 @@
beginMetadataStar(E)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, E)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, E)
handleNoType(;)
handleIdentifier(E, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.intertwined.expect
index 2366abd..40c0fe6 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(A, methodDeclaration)
@@ -74,8 +74,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, A)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, A, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, A)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(A, methodDeclaration)
@@ -150,8 +150,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B, DeclarationKind.Class, B, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B, DeclarationKind.Class, B, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B, methodDeclaration)
@@ -280,8 +280,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B2, DeclarationKind.Class, B2, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B2)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B2, DeclarationKind.Class, B2, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B2)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B2, methodDeclaration)
@@ -418,8 +418,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(B3, methodDeclaration)
@@ -525,8 +525,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, B3)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, B3, DeclarationKind.Class, B3, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, B3)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(B3, methodDeclaration)
@@ -618,8 +618,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -748,8 +748,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(D, methodDeclaration)
@@ -898,8 +898,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, E, DeclarationKind.Class, E, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, E)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, E, DeclarationKind.Class, E, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, E)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(E, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.expect
index 7204054..2a7d64a 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.expect
@@ -84,7 +84,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -144,7 +144,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -179,7 +179,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, =, =)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(null)
handleRecoverableError(Message[InvalidOperator, The string '=' isn't a user-definable operator., null, {lexeme: =}], =, =)
handleInvalidOperatorName(operator, =)
@@ -223,7 +223,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
@@ -258,7 +258,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.intertwined.expect
index b6f199c..0c60901 100644
--- a/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/issue_48411_prime_1.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -153,8 +153,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -238,12 +238,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(null, null, null, null, null, null, null, null, null, null, Instance of 'NoType', null, DeclarationKind.Class, C)
- parseInvalidOperatorDeclaration(null, null, null, null, null, null, null, null, DeclarationKind.Class, C)
+ parseInvalidOperatorDeclaration(null, null, null, null, null, null, null, null, null, DeclarationKind.Class, C)
reportRecoverableError(=, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, =, =)
rewriter()
- parseMethod(null, null, null, null, null, null, null, null, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(null, null, null, null, null, null, null, null, null, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(null)
parseOperatorName(null)
isUnaryMinus(=)
@@ -332,8 +332,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -408,8 +408,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.expect b/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.expect
index a3a06b2..6eb5e42 100644
--- a/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.expect
@@ -496,7 +496,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, abstract)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, abstract)
handleIdentifier(int, typeReference)
handleNoTypeArguments(abstract)
handleType(int, null)
@@ -554,7 +554,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, as)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, as)
handleIdentifier(int, typeReference)
handleNoTypeArguments(as)
handleType(int, null)
@@ -612,7 +612,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, assert)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, assert)
handleIdentifier(int, typeReference)
handleNoTypeArguments(assert)
handleType(int, null)
@@ -669,7 +669,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, async)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, async)
handleIdentifier(int, typeReference)
handleNoTypeArguments(async)
handleType(int, null)
@@ -727,7 +727,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, await)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, await)
handleIdentifier(int, typeReference)
handleNoTypeArguments(await)
handleType(int, null)
@@ -785,7 +785,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, break)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, break)
handleIdentifier(int, typeReference)
handleNoTypeArguments(break)
handleType(int, null)
@@ -850,7 +850,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, case)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, case)
handleIdentifier(int, typeReference)
handleNoTypeArguments(case)
handleType(int, null)
@@ -910,7 +910,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, catch)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, catch)
handleIdentifier(int, typeReference)
handleNoTypeArguments(catch)
handleType(int, null)
@@ -970,7 +970,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, class)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, class)
handleIdentifier(int, typeReference)
handleNoTypeArguments(class)
handleType(int, null)
@@ -1030,7 +1030,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, const)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, const)
handleIdentifier(int, typeReference)
handleNoTypeArguments(const)
handleType(int, null)
@@ -1094,7 +1094,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, continue)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, continue)
handleIdentifier(int, typeReference)
handleNoTypeArguments(continue)
handleType(int, null)
@@ -1159,7 +1159,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, covariant)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, covariant)
handleIdentifier(int, typeReference)
handleNoTypeArguments(covariant)
handleType(int, null)
@@ -1217,7 +1217,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, default)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, default)
handleIdentifier(int, typeReference)
handleNoTypeArguments(default)
handleType(int, null)
@@ -1277,7 +1277,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, deferred)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, deferred)
handleIdentifier(int, typeReference)
handleNoTypeArguments(deferred)
handleType(int, null)
@@ -1335,7 +1335,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, do)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, do)
handleIdentifier(int, typeReference)
handleNoTypeArguments(do)
handleType(int, null)
@@ -1410,7 +1410,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, dynamic)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, dynamic)
handleIdentifier(int, typeReference)
handleNoTypeArguments(dynamic)
handleType(int, null)
@@ -1468,7 +1468,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, else)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, else)
handleIdentifier(int, typeReference)
handleNoTypeArguments(else)
handleType(int, null)
@@ -1538,7 +1538,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, enum)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, enum)
handleIdentifier(int, typeReference)
handleNoTypeArguments(enum)
handleType(int, null)
@@ -1598,7 +1598,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, export)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, export)
handleIdentifier(int, typeReference)
handleNoTypeArguments(export)
handleType(int, null)
@@ -1656,7 +1656,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, extends)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, extends)
handleIdentifier(int, typeReference)
handleNoTypeArguments(extends)
handleType(int, null)
@@ -1716,7 +1716,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, extension)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, extension)
handleIdentifier(int, typeReference)
handleNoTypeArguments(extension)
handleType(int, null)
@@ -1774,7 +1774,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, external)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, external)
handleIdentifier(int, typeReference)
handleNoTypeArguments(external)
handleType(int, null)
@@ -1832,7 +1832,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, factory)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, factory)
handleIdentifier(int, typeReference)
handleNoTypeArguments(factory)
handleType(int, null)
@@ -1890,7 +1890,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, false)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, false)
handleIdentifier(int, typeReference)
handleNoTypeArguments(false)
handleType(int, null)
@@ -1949,7 +1949,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, final)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, final)
handleIdentifier(int, typeReference)
handleNoTypeArguments(final)
handleType(int, null)
@@ -2036,7 +2036,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, finally)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, finally)
handleIdentifier(int, typeReference)
handleNoTypeArguments(finally)
handleType(int, null)
@@ -2096,7 +2096,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, for)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, for)
handleIdentifier(int, typeReference)
handleNoTypeArguments(for)
handleType(int, null)
@@ -2176,7 +2176,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Function)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Function)
handleIdentifier(int, typeReference)
handleNoTypeArguments(Function)
handleType(int, null)
@@ -2234,7 +2234,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, get)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, get)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -2292,7 +2292,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, hide)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, hide)
handleIdentifier(int, typeReference)
handleNoTypeArguments(hide)
handleType(int, null)
@@ -2350,7 +2350,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, if)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, if)
handleIdentifier(int, typeReference)
handleNoTypeArguments(if)
handleType(int, null)
@@ -2421,7 +2421,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, implements)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, implements)
handleIdentifier(int, typeReference)
handleNoTypeArguments(implements)
handleType(int, null)
@@ -2479,7 +2479,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, import)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, import)
handleIdentifier(int, typeReference)
handleNoTypeArguments(import)
handleType(int, null)
@@ -2537,7 +2537,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, in)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, in)
handleIdentifier(int, typeReference)
handleNoTypeArguments(in)
handleType(int, null)
@@ -2597,7 +2597,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, inout)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, inout)
handleIdentifier(int, typeReference)
handleNoTypeArguments(inout)
handleType(int, null)
@@ -2655,7 +2655,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, interface)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, interface)
handleIdentifier(int, typeReference)
handleNoTypeArguments(interface)
handleType(int, null)
@@ -2713,7 +2713,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, is)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, is)
handleIdentifier(int, typeReference)
handleNoTypeArguments(is)
handleType(int, null)
@@ -2782,7 +2782,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
handleIdentifier(int, typeReference)
handleNoTypeArguments(late)
handleType(int, null)
@@ -2840,7 +2840,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, library)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, library)
handleIdentifier(int, typeReference)
handleNoTypeArguments(library)
handleType(int, null)
@@ -2898,7 +2898,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, mixin)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, mixin)
handleIdentifier(int, typeReference)
handleNoTypeArguments(mixin)
handleType(int, null)
@@ -2956,7 +2956,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, native)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, native)
handleIdentifier(int, typeReference)
handleNoTypeArguments(native)
handleType(int, null)
@@ -3014,7 +3014,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, new)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, new)
handleIdentifier(int, typeReference)
handleNoTypeArguments(new)
handleType(int, null)
@@ -3078,7 +3078,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, null)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, null)
handleIdentifier(int, typeReference)
handleNoTypeArguments(null)
handleType(int, null)
@@ -3137,7 +3137,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, of)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, of)
handleIdentifier(int, typeReference)
handleNoTypeArguments(of)
handleType(int, null)
@@ -3195,7 +3195,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, on)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, on)
handleIdentifier(int, typeReference)
handleNoTypeArguments(on)
handleType(int, null)
@@ -3253,7 +3253,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
@@ -3311,7 +3311,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, out)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, out)
handleIdentifier(int, typeReference)
handleNoTypeArguments(out)
handleType(int, null)
@@ -3369,7 +3369,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, part)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, part)
handleIdentifier(int, typeReference)
handleNoTypeArguments(part)
handleType(int, null)
@@ -3427,7 +3427,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, patch)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, patch)
handleIdentifier(int, typeReference)
handleNoTypeArguments(patch)
handleType(int, null)
@@ -3485,7 +3485,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
handleIdentifier(int, typeReference)
handleNoTypeArguments(required)
handleType(int, null)
@@ -3543,7 +3543,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, rethrow)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, rethrow)
handleIdentifier(int, typeReference)
handleNoTypeArguments(rethrow)
handleType(int, null)
@@ -3603,7 +3603,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, return)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, return)
handleIdentifier(int, typeReference)
handleNoTypeArguments(return)
handleType(int, null)
@@ -3659,7 +3659,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, set)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, set)
handleIdentifier(int, typeReference)
handleNoTypeArguments(set)
handleType(int, null)
@@ -3717,7 +3717,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, show)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, show)
handleIdentifier(int, typeReference)
handleNoTypeArguments(show)
handleType(int, null)
@@ -3775,7 +3775,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, source)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, source)
handleIdentifier(int, typeReference)
handleNoTypeArguments(source)
handleType(int, null)
@@ -3833,7 +3833,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, static)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, static)
handleIdentifier(int, typeReference)
handleNoTypeArguments(static)
handleType(int, null)
@@ -3904,7 +3904,7 @@
beginMetadataStar(()
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, ()
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ()
handleNoType(;)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
handleIdentifier(, methodDeclaration)
@@ -3961,7 +3961,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, switch)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, switch)
handleIdentifier(int, typeReference)
handleNoTypeArguments(switch)
handleType(int, null)
@@ -4033,7 +4033,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, sync)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, sync)
handleIdentifier(int, typeReference)
handleNoTypeArguments(sync)
handleType(int, null)
@@ -4104,7 +4104,7 @@
beginMetadataStar(()
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, ()
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ()
handleNoType(;)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
handleIdentifier(, methodDeclaration)
@@ -4161,7 +4161,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, throw)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, throw)
handleIdentifier(int, typeReference)
handleNoTypeArguments(throw)
handleType(int, null)
@@ -4217,7 +4217,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, true)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, true)
handleIdentifier(int, typeReference)
handleNoTypeArguments(true)
handleType(int, null)
@@ -4276,7 +4276,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, try)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, try)
handleIdentifier(int, typeReference)
handleNoTypeArguments(try)
handleType(int, null)
@@ -4344,7 +4344,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, typedef)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, typedef)
handleIdentifier(int, typeReference)
handleNoTypeArguments(typedef)
handleType(int, null)
@@ -4402,7 +4402,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, var)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, var)
handleIdentifier(int, typeReference)
handleNoTypeArguments(var)
handleType(int, null)
@@ -4489,7 +4489,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, void)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, void)
handleIdentifier(int, typeReference)
handleNoTypeArguments(void)
handleType(int, null)
@@ -4576,7 +4576,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, while)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, while)
handleIdentifier(int, typeReference)
handleNoTypeArguments(while)
handleType(int, null)
@@ -4647,7 +4647,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, with)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, with)
handleIdentifier(int, typeReference)
handleNoTypeArguments(with)
handleType(int, null)
@@ -4707,7 +4707,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, yield)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, yield)
handleIdentifier(int, typeReference)
handleNoTypeArguments(yield)
handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.intertwined.expect
index 4bb7d7b..2b9a2c3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/keyword_named_class_methods.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, abstract, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, abstract)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, abstract, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, abstract)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(abstract)
listener: handleType(int, null)
@@ -175,8 +175,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, as, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, as)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, as, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, as)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(as)
listener: handleType(int, null)
@@ -321,8 +321,8 @@
listener: beginMember()
isReservedKeyword(assert)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, assert, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, assert)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, assert, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, assert)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(assert)
listener: handleType(int, null)
@@ -458,8 +458,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, async, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, async)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, async, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, async)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(async)
listener: handleType(int, null)
@@ -602,8 +602,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, await, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, await)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, await, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, await)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(await)
listener: handleType(int, null)
@@ -751,8 +751,8 @@
listener: beginMember()
isReservedKeyword(break)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, break, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, break)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, break, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, break)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(break)
listener: handleType(int, null)
@@ -930,8 +930,8 @@
listener: beginMember()
isReservedKeyword(case)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, case, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, case)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, case, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, case)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(case)
listener: handleType(int, null)
@@ -1077,8 +1077,8 @@
listener: beginMember()
isReservedKeyword(catch)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, catch, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, catch)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, catch, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, catch)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(catch)
listener: handleType(int, null)
@@ -1224,8 +1224,8 @@
listener: beginMember()
isReservedKeyword(class)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, class, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, class)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, class, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, class)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(class)
listener: handleType(int, null)
@@ -1371,8 +1371,8 @@
listener: beginMember()
isReservedKeyword(const)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, const, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, const)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, const, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, const)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(const)
listener: handleType(int, null)
@@ -1523,8 +1523,8 @@
listener: beginMember()
isReservedKeyword(continue)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, continue, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, continue)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, continue, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, continue)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(continue)
listener: handleType(int, null)
@@ -1700,8 +1700,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, covariant, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, covariant)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, covariant, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, covariant)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(covariant)
listener: handleType(int, null)
@@ -1846,8 +1846,8 @@
listener: beginMember()
isReservedKeyword(default)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, default, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, default)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, default, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, default)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(default)
listener: handleType(int, null)
@@ -1991,8 +1991,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, deferred, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, deferred)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, deferred, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, deferred)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(deferred)
listener: handleType(int, null)
@@ -2137,8 +2137,8 @@
listener: beginMember()
isReservedKeyword(do)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, do, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, do)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, do, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, do)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(do)
listener: handleType(int, null)
@@ -2338,8 +2338,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, dynamic, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, dynamic)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, dynamic, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, dynamic)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(dynamic)
listener: handleType(int, null)
@@ -2484,8 +2484,8 @@
listener: beginMember()
isReservedKeyword(else)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, else, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, else)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, else, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, else)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(else)
listener: handleType(int, null)
@@ -2681,8 +2681,8 @@
listener: beginMember()
isReservedKeyword(enum)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, enum, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, enum)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, enum, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, enum)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(enum)
listener: handleType(int, null)
@@ -2826,8 +2826,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, export, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, export)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, export, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, export)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(export)
listener: handleType(int, null)
@@ -2972,8 +2972,8 @@
listener: beginMember()
isReservedKeyword(extends)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, extends, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, extends)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, extends, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, extends)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(extends)
listener: handleType(int, null)
@@ -3117,8 +3117,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, extension, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, extension)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, extension, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, extension)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(extension)
listener: handleType(int, null)
@@ -3261,8 +3261,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, external, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, external)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, external, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, external)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(external)
listener: handleType(int, null)
@@ -3405,8 +3405,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, factory, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, factory)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, factory, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, factory)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(factory)
listener: handleType(int, null)
@@ -3551,8 +3551,8 @@
listener: beginMember()
isReservedKeyword(false)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, false, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, false)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, false, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, false)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(false)
listener: handleType(int, null)
@@ -3693,8 +3693,8 @@
listener: beginMember()
isReservedKeyword(final)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, final, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, final)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, final, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, final)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(final)
listener: handleType(int, null)
@@ -3932,8 +3932,8 @@
listener: beginMember()
isReservedKeyword(finally)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, finally, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, finally)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, finally, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, finally)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(finally)
listener: handleType(int, null)
@@ -4079,8 +4079,8 @@
listener: beginMember()
isReservedKeyword(for)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, for, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, for)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, for, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, for)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(for)
listener: handleType(int, null)
@@ -4291,8 +4291,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, Function, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Function)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, Function, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Function)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(Function)
listener: handleType(int, null)
@@ -4436,8 +4436,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, get, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, get, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, get)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -4580,8 +4580,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, hide, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, hide)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, hide, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, hide)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(hide)
listener: handleType(int, null)
@@ -4726,8 +4726,8 @@
listener: beginMember()
isReservedKeyword(if)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, if, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, if)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, if, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, if)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(if)
listener: handleType(int, null)
@@ -4909,8 +4909,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, implements, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, implements)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, implements, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, implements)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(implements)
listener: handleType(int, null)
@@ -5053,8 +5053,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, import, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, import)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, import, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, import)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(import)
listener: handleType(int, null)
@@ -5199,8 +5199,8 @@
listener: beginMember()
isReservedKeyword(in)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, in, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, in)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, in, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, in)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(in)
listener: handleType(int, null)
@@ -5344,8 +5344,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, inout, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, inout)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, inout, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, inout)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(inout)
listener: handleType(int, null)
@@ -5488,8 +5488,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, interface, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, interface)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, interface, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, interface)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(interface)
listener: handleType(int, null)
@@ -5634,8 +5634,8 @@
listener: beginMember()
isReservedKeyword(is)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, is, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, is)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, is, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, is)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(is)
listener: handleType(int, null)
@@ -5811,8 +5811,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, late, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, late, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(late)
listener: handleType(int, null)
@@ -5955,8 +5955,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, library, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, library)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, library, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, library)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(library)
listener: handleType(int, null)
@@ -6099,8 +6099,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, mixin, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, mixin)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, mixin, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, mixin)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(mixin)
listener: handleType(int, null)
@@ -6243,8 +6243,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, native, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, native)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, native, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, native)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(native)
listener: handleType(int, null)
@@ -6389,8 +6389,8 @@
listener: beginMember()
isReservedKeyword(new)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, new, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, new)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, new, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, new)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(new)
listener: handleType(int, null)
@@ -6542,8 +6542,8 @@
listener: beginMember()
isReservedKeyword(null)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, null, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, null, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, null)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(null)
listener: handleType(int, null)
@@ -6682,8 +6682,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, of, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, of)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, of, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, of)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(of)
listener: handleType(int, null)
@@ -6826,8 +6826,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, on, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, on)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, on, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, on)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(on)
listener: handleType(int, null)
@@ -6971,9 +6971,9 @@
listener: endMetadataStar(0)
listener: beginMember()
isUnaryMinus(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, WrapperClass, false)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, WrapperClass, false)
isUnaryMinus(()
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
@@ -7116,8 +7116,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, out, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, out)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, out, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, out)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(out)
listener: handleType(int, null)
@@ -7260,8 +7260,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, part, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, part)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, part, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, part)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(part)
listener: handleType(int, null)
@@ -7404,8 +7404,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, patch, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, patch)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, patch, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, patch)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(patch)
listener: handleType(int, null)
@@ -7548,8 +7548,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, required, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, required, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(required)
listener: handleType(int, null)
@@ -7694,8 +7694,8 @@
listener: beginMember()
isReservedKeyword(rethrow)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, rethrow, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, rethrow)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, rethrow, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, rethrow)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(rethrow)
listener: handleType(int, null)
@@ -7841,8 +7841,8 @@
listener: beginMember()
isReservedKeyword(return)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, return, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, return)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, return, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, return)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(return)
listener: handleType(int, null)
@@ -7983,8 +7983,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, set, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, set, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, set)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(set)
listener: handleType(int, null)
@@ -8127,8 +8127,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, show, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, show)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, show, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, show)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(show)
listener: handleType(int, null)
@@ -8271,8 +8271,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, source, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, source)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, source, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, source)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(source)
listener: handleType(int, null)
@@ -8415,8 +8415,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, static, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, static)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, static, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, static)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(static)
listener: handleType(int, null)
@@ -8584,8 +8584,8 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(;, ;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, DeclarationKind.Class, WrapperClass)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, (, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, ()
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, (, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ()
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
insertSyntheticIdentifier(;, methodDeclaration, message: null, messageOnToken: null)
@@ -8725,8 +8725,8 @@
listener: beginMember()
isReservedKeyword(switch)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, switch, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, switch)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, switch, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, switch)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(switch)
listener: handleType(int, null)
@@ -8917,8 +8917,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, sync, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, sync)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, sync, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, sync)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(sync)
listener: handleType(int, null)
@@ -9086,8 +9086,8 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(;, ;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, DeclarationKind.Class, WrapperClass)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, (, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, ()
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, (, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ()
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
insertSyntheticIdentifier(;, methodDeclaration, message: null, messageOnToken: null)
@@ -9227,8 +9227,8 @@
listener: beginMember()
isReservedKeyword(throw)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, throw, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, throw)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, throw, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, throw)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(throw)
listener: handleType(int, null)
@@ -9369,8 +9369,8 @@
listener: beginMember()
isReservedKeyword(true)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, true, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, true)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, true, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, true)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(true)
listener: handleType(int, null)
@@ -9511,8 +9511,8 @@
listener: beginMember()
isReservedKeyword(try)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, try, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, try)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, try, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, try)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(try)
listener: handleType(int, null)
@@ -9694,8 +9694,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, typedef, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, typedef)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, typedef, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, typedef)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(typedef)
listener: handleType(int, null)
@@ -9840,8 +9840,8 @@
listener: beginMember()
isReservedKeyword(var)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, var, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, var)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, var, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, var)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(var)
listener: handleType(int, null)
@@ -10079,8 +10079,8 @@
listener: beginMember()
isReservedKeyword(void)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, void, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, void)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, void, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, void)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(void)
listener: handleType(int, null)
@@ -10319,8 +10319,8 @@
listener: beginMember()
isReservedKeyword(while)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, while, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, while)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, while, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, while)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(while)
listener: handleType(int, null)
@@ -10504,8 +10504,8 @@
listener: beginMember()
isReservedKeyword(with)
indicatesMethodOrField(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, with, DeclarationKind.Class, WrapperClass, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, with)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, with, DeclarationKind.Class, WrapperClass, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, with)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(with)
listener: handleType(int, null)
@@ -10649,8 +10649,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, yield, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, yield)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, yield, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, yield)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(yield)
listener: handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.expect b/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.expect
index 12b6dd3..e2047f3 100644
--- a/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.expect
@@ -40,7 +40,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, with)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, with)
handleIdentifier(int, typeReference)
handleNoTypeArguments(with)
handleType(int, null)
@@ -72,7 +72,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, with)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, with)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -89,7 +89,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, with)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, with)
handleVoidKeyword(void)
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'with' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: with}], with, with)
handleIdentifier(with, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.intertwined.expect
index e9bd679..6934455 100644
--- a/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/method_called_with.dart.intertwined.expect
@@ -33,8 +33,8 @@
listener: beginMember()
isReservedKeyword(with)
indicatesMethodOrField(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, with, DeclarationKind.Class, C, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, with)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, with, DeclarationKind.Class, C, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, with)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(with)
listener: handleType(int, null)
@@ -105,8 +105,8 @@
listener: beginMember()
isReservedKeyword(with)
indicatesMethodOrField(=>)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, with, DeclarationKind.Class, C, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, with)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, with, DeclarationKind.Class, C, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, with)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -146,8 +146,8 @@
listener: beginMember()
isReservedKeyword(with)
indicatesMethodOrField(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'VoidType', set, with, DeclarationKind.Class, C, true)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, with)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'VoidType', set, with, DeclarationKind.Class, C, true)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, with)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, true)
reportRecoverableErrorWithToken(with, Instance of 'Template<(Token) => Message>')
diff --git a/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.expect b/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.expect
index d232122..5eeaf82 100644
--- a/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, With)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, With)
handleIdentifier(int, typeReference)
handleNoTypeArguments(With)
handleType(int, null)
@@ -44,7 +44,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, With)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, With)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -60,7 +60,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, With)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, With)
handleVoidKeyword(void)
handleIdentifier(With, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.intertwined.expect b/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.intertwined.expect
index c4703fa..e653b4e 100644
--- a/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/error_recovery/method_called_with_prime.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, With, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, With)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, With, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, With)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(With)
listener: handleType(int, null)
@@ -95,8 +95,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, With, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, With)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', get, With, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, With)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -132,8 +132,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'VoidType', set, With, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, With)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'VoidType', set, With, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, With)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(With, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/extension_named_type.dart.expect b/pkg/front_end/parser_testcases/extension_named_type.dart.expect
index 6c0a1eb..1744160 100644
--- a/pkg/front_end/parser_testcases/extension_named_type.dart.expect
+++ b/pkg/front_end/parser_testcases/extension_named_type.dart.expect
@@ -27,7 +27,7 @@
beginMetadataStar(method)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, method)
handleNoType({)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/extension_named_type.dart.intertwined.expect b/pkg/front_end/parser_testcases/extension_named_type.dart.intertwined.expect
index becb018..ddf7ace 100644
--- a/pkg/front_end/parser_testcases/extension_named_type.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/extension_named_type.dart.intertwined.expect
@@ -51,8 +51,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, method, DeclarationKind.Extension, type, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, method)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, method, DeclarationKind.Extension, type, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, method)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/extensions/covariant.dart.expect b/pkg/front_end/parser_testcases/extensions/covariant.dart.expect
index db73130..f37431c 100644
--- a/pkg/front_end/parser_testcases/extensions/covariant.dart.expect
+++ b/pkg/front_end/parser_testcases/extensions/covariant.dart.expect
@@ -50,7 +50,7 @@
beginMetadataStar(addChild)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, addChild)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, addChild)
handleNoType({)
handleIdentifier(addChild, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/extensions/covariant.dart.intertwined.expect b/pkg/front_end/parser_testcases/extensions/covariant.dart.intertwined.expect
index 8761c78..835d04c 100644
--- a/pkg/front_end/parser_testcases/extensions/covariant.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/extensions/covariant.dart.intertwined.expect
@@ -81,8 +81,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, addChild)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, addChild)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(addChild, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/extensions/not_covariant.dart.expect b/pkg/front_end/parser_testcases/extensions/not_covariant.dart.expect
index acf77e1..7c25b4c 100644
--- a/pkg/front_end/parser_testcases/extensions/not_covariant.dart.expect
+++ b/pkg/front_end/parser_testcases/extensions/not_covariant.dart.expect
@@ -44,7 +44,7 @@
beginMetadataStar(addChild)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, addChild)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, addChild)
handleNoType({)
handleIdentifier(addChild, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/extensions/not_covariant.dart.intertwined.expect b/pkg/front_end/parser_testcases/extensions/not_covariant.dart.intertwined.expect
index 066ec7b..d0869ba 100644
--- a/pkg/front_end/parser_testcases/extensions/not_covariant.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/extensions/not_covariant.dart.intertwined.expect
@@ -81,8 +81,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, addChild)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, addChild)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(addChild, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/extensions/static.dart.expect b/pkg/front_end/parser_testcases/extensions/static.dart.expect
index e697392..932e894 100644
--- a/pkg/front_end/parser_testcases/extensions/static.dart.expect
+++ b/pkg/front_end/parser_testcases/extensions/static.dart.expect
@@ -44,7 +44,7 @@
beginMetadataStar(static)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, static, null, null, null, addChild)
+ beginMethod(DeclarationKind.Extension, null, null, static, null, null, null, addChild)
handleNoType(static)
handleIdentifier(addChild, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/extensions/static.dart.intertwined.expect b/pkg/front_end/parser_testcases/extensions/static.dart.intertwined.expect
index bdb3c0b..57ce9e6 100644
--- a/pkg/front_end/parser_testcases/extensions/static.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/extensions/static.dart.intertwined.expect
@@ -81,8 +81,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, static, null, null, null, static, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, static, null, null, null, addChild)
+ parseMethod({, null, null, null, static, null, null, null, static, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, static, null, null, null, addChild)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(static, methodDeclaration, false)
listener: handleIdentifier(addChild, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/extensions/static_covariant.dart.expect b/pkg/front_end/parser_testcases/extensions/static_covariant.dart.expect
index 39a6f90..3224be6 100644
--- a/pkg/front_end/parser_testcases/extensions/static_covariant.dart.expect
+++ b/pkg/front_end/parser_testcases/extensions/static_covariant.dart.expect
@@ -50,7 +50,7 @@
beginMetadataStar(static)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, static, null, null, null, addChild)
+ beginMethod(DeclarationKind.Extension, null, null, static, null, null, null, addChild)
handleNoType(static)
handleIdentifier(addChild, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/extensions/static_covariant.dart.intertwined.expect b/pkg/front_end/parser_testcases/extensions/static_covariant.dart.intertwined.expect
index 96b9864..f23594f 100644
--- a/pkg/front_end/parser_testcases/extensions/static_covariant.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/extensions/static_covariant.dart.intertwined.expect
@@ -81,8 +81,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod({, null, null, static, null, null, null, static, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, static, null, null, null, addChild)
+ parseMethod({, null, null, null, static, null, null, null, static, Instance of 'NoType', null, addChild, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, static, null, null, null, addChild)
listener: handleNoType(static)
ensureIdentifierPotentiallyRecovered(static, methodDeclaration, false)
listener: handleIdentifier(addChild, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.expect b/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.expect
index 3176b23..65c4451 100644
--- a/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.expect
+++ b/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, abstract)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, abstract)
handleIdentifier(int, typeReference)
handleNoTypeArguments(abstract)
handleType(int, null)
@@ -69,7 +69,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, as)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, as)
handleIdentifier(int, typeReference)
handleNoTypeArguments(as)
handleType(int, null)
@@ -124,7 +124,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, covariant)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, covariant)
handleIdentifier(int, typeReference)
handleNoTypeArguments(covariant)
handleType(int, null)
@@ -179,7 +179,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, deferred)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, deferred)
handleIdentifier(int, typeReference)
handleNoTypeArguments(deferred)
handleType(int, null)
@@ -234,7 +234,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, dynamic)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, dynamic)
handleIdentifier(int, typeReference)
handleNoTypeArguments(dynamic)
handleType(int, null)
@@ -289,7 +289,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, export)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, export)
handleIdentifier(int, typeReference)
handleNoTypeArguments(export)
handleType(int, null)
@@ -344,7 +344,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, external)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, external)
handleIdentifier(int, typeReference)
handleNoTypeArguments(external)
handleType(int, null)
@@ -399,7 +399,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, factory)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, factory)
handleIdentifier(int, typeReference)
handleNoTypeArguments(factory)
handleType(int, null)
@@ -454,7 +454,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Function)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Function)
handleIdentifier(int, typeReference)
handleNoTypeArguments(Function)
handleType(int, null)
@@ -509,7 +509,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, get)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, get)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -564,7 +564,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, implements)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, implements)
handleIdentifier(int, typeReference)
handleNoTypeArguments(implements)
handleType(int, null)
@@ -619,7 +619,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, import)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, import)
handleIdentifier(int, typeReference)
handleNoTypeArguments(import)
handleType(int, null)
@@ -674,7 +674,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, interface)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, interface)
handleIdentifier(int, typeReference)
handleNoTypeArguments(interface)
handleType(int, null)
@@ -729,7 +729,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, library)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, library)
handleIdentifier(int, typeReference)
handleNoTypeArguments(library)
handleType(int, null)
@@ -784,7 +784,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
@@ -839,7 +839,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, mixin)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, mixin)
handleIdentifier(int, typeReference)
handleNoTypeArguments(mixin)
handleType(int, null)
@@ -894,7 +894,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, part)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, part)
handleIdentifier(int, typeReference)
handleNoTypeArguments(part)
handleType(int, null)
@@ -949,7 +949,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, set)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, set)
handleIdentifier(int, typeReference)
handleNoTypeArguments(set)
handleType(int, null)
@@ -1004,7 +1004,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, static)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, static)
handleIdentifier(int, typeReference)
handleNoTypeArguments(static)
handleType(int, null)
@@ -1059,7 +1059,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, typedef)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, typedef)
handleIdentifier(int, typeReference)
handleNoTypeArguments(typedef)
handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.intertwined.expect b/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.intertwined.expect
index a943518..8006263 100644
--- a/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/general/built_in_identifier_class_methods.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, abstract, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, abstract)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, abstract, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, abstract)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(abstract)
listener: handleType(int, null)
@@ -168,8 +168,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, as, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, as)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, as, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, as)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(as)
listener: handleType(int, null)
@@ -305,8 +305,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, covariant, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, covariant)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, covariant, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, covariant)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(covariant)
listener: handleType(int, null)
@@ -442,8 +442,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, deferred, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, deferred)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, deferred, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, deferred)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(deferred)
listener: handleType(int, null)
@@ -579,8 +579,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, dynamic, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, dynamic)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, dynamic, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, dynamic)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(dynamic)
listener: handleType(int, null)
@@ -716,8 +716,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, export, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, export)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, export, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, export)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(export)
listener: handleType(int, null)
@@ -853,8 +853,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, external, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, external)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, external, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, external)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(external)
listener: handleType(int, null)
@@ -990,8 +990,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, factory, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, factory)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, factory, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, factory)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(factory)
listener: handleType(int, null)
@@ -1127,8 +1127,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, Function, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Function)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, Function, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Function)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(Function)
listener: handleType(int, null)
@@ -1265,8 +1265,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, get, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, get, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, get)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -1402,8 +1402,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, implements, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, implements)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, implements, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, implements)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(implements)
listener: handleType(int, null)
@@ -1539,8 +1539,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, import, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, import)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, import, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, import)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(import)
listener: handleType(int, null)
@@ -1676,8 +1676,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, interface, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, interface)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, interface, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, interface)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(interface)
listener: handleType(int, null)
@@ -1813,8 +1813,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, library, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, library)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, library, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, library)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(library)
listener: handleType(int, null)
@@ -1951,9 +1951,9 @@
listener: endMetadataStar(0)
listener: beginMember()
isUnaryMinus(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, WrapperClass, false)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, WrapperClass, false)
isUnaryMinus(()
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
@@ -2089,8 +2089,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, mixin, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, mixin)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, mixin, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, mixin)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(mixin)
listener: handleType(int, null)
@@ -2226,8 +2226,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, part, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, part)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, part, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, part)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(part)
listener: handleType(int, null)
@@ -2364,8 +2364,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, set, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, set, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, set)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(set)
listener: handleType(int, null)
@@ -2501,8 +2501,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, static, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, static)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, static, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, static)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(static)
listener: handleType(int, null)
@@ -2638,8 +2638,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, typedef, DeclarationKind.Class, WrapperClass, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, typedef)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, typedef, DeclarationKind.Class, WrapperClass, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, typedef)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(typedef)
listener: handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/general/issue_41121.dart.expect b/pkg/front_end/parser_testcases/general/issue_41121.dart.expect
index c0dc534..4962c43 100644
--- a/pkg/front_end/parser_testcases/general/issue_41121.dart.expect
+++ b/pkg/front_end/parser_testcases/general/issue_41121.dart.expect
@@ -67,7 +67,7 @@
beginMetadataStar(ConfigurationService)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, ConfigurationService)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ConfigurationService)
handleNoType(;)
handleIdentifier(ConfigurationService, methodDeclaration)
handleNoTypeVariables(()
@@ -114,7 +114,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, set, configuration)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, set, configuration)
handleVoidKeyword(void)
handleIdentifier(configuration, methodDeclaration)
handleNoTypeVariables(()
@@ -164,7 +164,7 @@
beginMetadataStar(Configuration)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, configuration)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, configuration)
handleIdentifier(Configuration, typeReference)
handleNoTypeArguments(get)
handleType(Configuration, null)
@@ -219,7 +219,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, method)
handleVoidKeyword(void)
handleIdentifier(method, methodDeclaration)
handleNoTypeVariables(()
@@ -245,7 +245,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(})
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -285,7 +285,7 @@
beginMetadataStar(Configuration)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
handleIdentifier(Configuration, typeReference)
handleNoTypeArguments(get)
handleType(Configuration, null)
diff --git a/pkg/front_end/parser_testcases/general/issue_41121.dart.intertwined.expect b/pkg/front_end/parser_testcases/general/issue_41121.dart.intertwined.expect
index 6b04848..7b2445b 100644
--- a/pkg/front_end/parser_testcases/general/issue_41121.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/general/issue_41121.dart.intertwined.expect
@@ -49,8 +49,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, ConfigurationService, DeclarationKind.Class, ConfigurationService, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, ConfigurationService)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, ConfigurationService, DeclarationKind.Class, ConfigurationService, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, ConfigurationService)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(ConfigurationService, methodDeclaration)
@@ -150,8 +150,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', set, configuration, DeclarationKind.Class, ConfigurationService, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, set, configuration)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', set, configuration, DeclarationKind.Class, ConfigurationService, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, set, configuration)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(set, methodDeclaration, false)
listener: handleIdentifier(configuration, methodDeclaration)
@@ -257,8 +257,8 @@
listener: beginMetadataStar(Configuration)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', get, configuration, DeclarationKind.Class, ConfigurationService, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, configuration)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', get, configuration, DeclarationKind.Class, ConfigurationService, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, configuration)
listener: handleIdentifier(Configuration, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(Configuration, null)
@@ -389,8 +389,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, method, DeclarationKind.Class, ConfigurationService, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, method)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, method, DeclarationKind.Class, ConfigurationService, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, method)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(method, methodDeclaration)
@@ -450,8 +450,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, ConfigurationService, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'NoType', null, Foo, DeclarationKind.Class, ConfigurationService, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(})
ensureIdentifierPotentiallyRecovered(}, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -535,8 +535,8 @@
listener: beginMetadataStar(Configuration)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, foo, DeclarationKind.Class, Configuration, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, foo)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, foo, DeclarationKind.Class, Configuration, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, foo)
listener: handleIdentifier(Configuration, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(Configuration, null)
diff --git a/pkg/front_end/parser_testcases/general/new_as_identifier.dart.expect b/pkg/front_end/parser_testcases/general/new_as_identifier.dart.expect
index 1941c5b..e9179ab 100644
--- a/pkg/front_end/parser_testcases/general/new_as_identifier.dart.expect
+++ b/pkg/front_end/parser_testcases/general/new_as_identifier.dart.expect
@@ -56,7 +56,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleNewAsIdentifier(new)
@@ -73,7 +73,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType(;)
handleIdentifier(C, methodDeclaration)
handleIdentifier(constructor_field_initializer, methodDeclarationContinuation)
@@ -113,7 +113,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, =, =)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType(new)
handleRecoverableError(Message[InvalidOperator, The string '=' isn't a user-definable operator., null, {lexeme: =}], =, =)
handleInvalidOperatorName(operator, =)
@@ -275,7 +275,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
handleNoType(;)
handleIdentifier(D, methodDeclaration)
handleIdentifier(super_invocation, methodDeclarationContinuation)
@@ -302,7 +302,7 @@
beginMetadataStar(D)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
handleNoType(;)
handleIdentifier(D, methodDeclaration)
handleIdentifier(this_redirection, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/general/new_as_identifier.dart.intertwined.expect b/pkg/front_end/parser_testcases/general/new_as_identifier.dart.intertwined.expect
index 37068d2..8c87ac4 100644
--- a/pkg/front_end/parser_testcases/general/new_as_identifier.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/general/new_as_identifier.dart.intertwined.expect
@@ -32,8 +32,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -68,8 +68,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -164,12 +164,12 @@
listener: endMetadataStar(0)
listener: beginMember()
recoverFromInvalidMember(new, new, null, null, null, null, null, null, null, new, Instance of 'NoType', null, DeclarationKind.Class, C)
- parseInvalidOperatorDeclaration(new, null, null, null, null, null, null, new, DeclarationKind.Class, C)
+ parseInvalidOperatorDeclaration(new, null, null, null, null, null, null, null, new, DeclarationKind.Class, C)
reportRecoverableError(=, MissingOperatorKeyword)
listener: handleRecoverableError(MissingOperatorKeyword, =, =)
rewriter()
- parseMethod(new, null, null, null, null, null, null, new, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(new, null, null, null, null, null, null, null, new, Instance of 'NoType', null, operator, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType(new)
parseOperatorName(new)
isUnaryMinus(=)
@@ -496,8 +496,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(D, methodDeclaration)
@@ -559,8 +559,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, D)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, D, DeclarationKind.Class, D, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, D)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(D, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/general/operator_01.dart.expect b/pkg/front_end/parser_testcases/general/operator_01.dart.expect
index bc4a1a8..87f4d7f 100644
--- a/pkg/front_end/parser_testcases/general/operator_01.dart.expect
+++ b/pkg/front_end/parser_testcases/general/operator_01.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(bool)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(bool, typeReference)
handleNoTypeArguments(operator)
handleType(bool, null)
@@ -43,7 +43,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
@@ -72,7 +72,7 @@
beginMetadataStar(bool)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(bool, typeReference)
handleNoTypeArguments(operator)
handleType(bool, null)
@@ -101,7 +101,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
@@ -130,7 +130,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/general/operator_01.dart.intertwined.expect b/pkg/front_end/parser_testcases/general/operator_01.dart.intertwined.expect
index 519a75c..0f8ef5f 100644
--- a/pkg/front_end/parser_testcases/general/operator_01.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/general/operator_01.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(bool)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(bool, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(bool, null)
@@ -89,8 +89,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
@@ -147,8 +147,8 @@
listener: beginMetadataStar(bool)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(bool, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(bool, null)
@@ -205,8 +205,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
@@ -263,8 +263,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.expect b/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.expect
index 3cbd7e4..1f57566 100644
--- a/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.expect
+++ b/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.expect
@@ -21,7 +21,7 @@
beginMetadataStar(operator)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType({)
handleOperatorName(operator, ^)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.intertwined.expect b/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.intertwined.expect
index 6e0e362..dec4f2e 100644
--- a/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/general/operator_hat_class.crash_dart.intertwined.expect
@@ -33,8 +33,8 @@
listener: beginMetadataStar(operator)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, operator, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, operator, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType({)
parseOperatorName({)
listener: handleOperatorName(operator, ^)
diff --git a/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.expect b/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.expect
index f6ebe0e..22d669e 100644
--- a/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.expect
@@ -80,7 +80,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
@@ -105,7 +105,7 @@
beginMetadataStar(static)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, static, null, null, null, bar)
+ beginMethod(DeclarationKind.Class, null, null, static, null, null, null, bar)
handleVoidKeyword(void)
handleIdentifier(bar, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.intertwined.expect
index 8cea79d..bf85ccf 100644
--- a/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/error_recovery/late_without_var_etc.dart.intertwined.expect
@@ -116,8 +116,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -169,8 +169,8 @@
listener: beginMetadataStar(static)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, static, null, null, null, static, Instance of 'VoidType', null, bar, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, static, null, null, null, bar)
+ parseMethod(}, null, null, null, static, null, null, null, static, Instance of 'VoidType', null, bar, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, static, null, null, null, bar)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(bar, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.expect
index 166b630..c7ab142 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(operator)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType({)
handleOperatorName(operator, [])
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.intertwined.expect
index ba9575a..427c908 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_39723.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(operator)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType({)
parseOperatorName({)
listener: handleOperatorName(operator, [])
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.expect
index a62e03a..7637e0a 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(operator)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleNoType({)
handleOperatorName(operator, [])
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.intertwined.expect
index cf302a7..9e35037 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_39723_prime.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(operator)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, A, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, operator, DeclarationKind.Class, A, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleNoType({)
parseOperatorName({)
listener: handleOperatorName(operator, [])
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.expect
index eab0a48..b03f7c8 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.expect
@@ -36,7 +36,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -85,7 +85,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(a, methodDeclarationContinuation)
@@ -149,7 +149,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(b, methodDeclarationContinuation)
@@ -213,7 +213,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(c, methodDeclarationContinuation)
@@ -277,7 +277,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleIdentifier(d, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.intertwined.expect
index c81d4e5..2739059 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_01.dart.intertwined.expect
@@ -66,8 +66,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -172,8 +172,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -317,8 +317,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -462,8 +462,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -607,8 +607,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.expect
index ff4c676..ef0735d 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.expect
@@ -36,7 +36,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.intertwined.expect
index ab615a6..b8fd957 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_02.dart.intertwined.expect
@@ -66,8 +66,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.expect
index 7bc7737..e9498ef 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.expect
@@ -36,7 +36,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
handleNoType(;)
handleIdentifier(Foo, methodDeclaration)
handleNoTypeVariables(()
@@ -96,7 +96,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
handleVoidKeyword(void)
handleIdentifier(foo, methodDeclaration)
handleNoTypeVariables(()
@@ -153,7 +153,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, bar)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, bar)
handleVoidKeyword(void)
handleIdentifier(bar, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.intertwined.expect
index 6f46cd0..19ff1e8 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_40834_03.dart.intertwined.expect
@@ -66,8 +66,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, Foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, Foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, Foo)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(Foo, methodDeclaration)
@@ -202,8 +202,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'VoidType', null, foo, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo, methodDeclaration)
@@ -343,8 +343,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(}, null, null, null, null, null, null, }, Instance of 'VoidType', null, bar, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, bar)
+ parseMethod(}, null, null, null, null, null, null, null, }, Instance of 'VoidType', null, bar, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, bar)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(bar, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.expect b/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.expect
index fc7ca09..64122c4 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.expect
@@ -82,7 +82,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType({)
handleIdentifier(C, methodDeclaration)
handleIdentifier(c0, methodDeclarationContinuation)
@@ -106,7 +106,7 @@
beginMetadataStar(C)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
handleNoType(;)
handleIdentifier(C, methodDeclaration)
handleIdentifier(c1, methodDeclarationContinuation)
diff --git a/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.intertwined.expect
index 085a195..af76789 100644
--- a/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/issue_41597.dart.intertwined.expect
@@ -212,8 +212,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
@@ -265,8 +265,8 @@
listener: endMetadataStar(0)
listener: beginMember()
isReservedKeyword(.)
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, C)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'NoType', null, C, DeclarationKind.Class, C, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, C)
listener: handleNoType(;)
ensureIdentifierPotentiallyRecovered(;, methodDeclaration, false)
listener: handleIdentifier(C, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/late_member.dart.expect b/pkg/front_end/parser_testcases/nnbd/late_member.dart.expect
index 6a79a89..dab179c 100644
--- a/pkg/front_end/parser_testcases/nnbd/late_member.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/late_member.dart.expect
@@ -133,7 +133,7 @@
beginMetadataStar(late)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
handleNoType({)
handleIdentifier(late, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/late_member.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/late_member.dart.intertwined.expect
index ea1027e..d52f8d6 100644
--- a/pkg/front_end/parser_testcases/nnbd/late_member.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/late_member.dart.intertwined.expect
@@ -350,8 +350,8 @@
listener: beginMetadataStar(late)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, late, DeclarationKind.Class, X, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, late, DeclarationKind.Class, X, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(late, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.expect b/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.expect
index 4d6028c..4bf8c3c 100644
--- a/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.expect
@@ -151,7 +151,7 @@
beginMetadataStar(late)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
handleNoType({)
handleIdentifier(late, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.intertwined.expect
index ad365d3..779ed57 100644
--- a/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/late_modifier.dart.intertwined.expect
@@ -399,8 +399,8 @@
listener: beginMetadataStar(late)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, late, DeclarationKind.Class, X, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, late)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, late, DeclarationKind.Class, X, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, late)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(late, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.expect b/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.expect
index cbf67f0..9c2a5d2 100644
--- a/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(int, typeReference)
handleNoTypeArguments(operator)
handleType(int, null)
@@ -43,7 +43,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleVoidKeyword(void)
handleOperatorName(operator, []=)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.intertwined.expect
index a5e27dc..1799ed6 100644
--- a/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/null_shorting_index.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Class1, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Class1, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(int, null)
@@ -89,8 +89,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'VoidType', null, operator, DeclarationKind.Class, Class1, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'VoidType', null, operator, DeclarationKind.Class, Class1, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleVoidKeyword(void)
parseOperatorName(void)
listener: handleOperatorName(operator, []=)
diff --git a/pkg/front_end/parser_testcases/nnbd/required_member.dart.expect b/pkg/front_end/parser_testcases/nnbd/required_member.dart.expect
index 17cfea9..1262919 100644
--- a/pkg/front_end/parser_testcases/nnbd/required_member.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/required_member.dart.expect
@@ -133,7 +133,7 @@
beginMetadataStar(required)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
handleNoType({)
handleIdentifier(required, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/required_member.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/required_member.dart.intertwined.expect
index 8cb707f..1339faa 100644
--- a/pkg/front_end/parser_testcases/nnbd/required_member.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/required_member.dart.intertwined.expect
@@ -350,8 +350,8 @@
listener: beginMetadataStar(required)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, required, DeclarationKind.Class, X, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, required, DeclarationKind.Class, X, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(required, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.expect b/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.expect
index 7ece451..0201be0 100644
--- a/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.expect
+++ b/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.expect
@@ -144,7 +144,7 @@
beginMetadataStar(required)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
handleNoType({)
handleIdentifier(required, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.intertwined.expect b/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.intertwined.expect
index 43339cd..9e00462 100644
--- a/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/nnbd/required_modifier.dart.intertwined.expect
@@ -366,8 +366,8 @@
listener: beginMetadataStar(required)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'NoType', null, required, DeclarationKind.Class, X, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, required)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'NoType', null, required, DeclarationKind.Class, X, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, required)
listener: handleNoType({)
ensureIdentifierPotentiallyRecovered({, methodDeclaration, false)
listener: handleIdentifier(required, methodDeclaration)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.expect b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.expect
index c6ff7b0..677cc26 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.expect
@@ -37,7 +37,7 @@
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExperimentNotEnabled, This requires the 'triple-shift' language feature to be enabled., Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14 or higher, and running 'pub get'., {string: triple-shift, string2: 2.14}], >>, >)
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(Foo, typeReference)
handleNoTypeArguments(operator)
handleType(Foo, null)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.intertwined.expect b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.intertwined.expect
index 92cd05f..bb151a0 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method.dart.intertwined.expect
@@ -31,11 +31,11 @@
listener: beginMetadataStar(Foo)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
reportRecoverableErrorWithEnd(>>, >, Message[ExperimentNotEnabled, This requires the 'triple-shift' language feature to be enabled., Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14 or higher, and running 'pub get'., {string: triple-shift, string2: 2.14}])
listener: handleRecoverableError(Message[ExperimentNotEnabled, This requires the 'triple-shift' language feature to be enabled., Try updating your pubspec.yaml to set the minimum SDK constraint to 2.14 or higher, and running 'pub get'., {string: triple-shift, string2: 2.14}], >>, >)
rewriter()
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(Foo, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(Foo, null)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.expect b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.expect
index f73d693..1bb956b 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(Foo)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
handleIdentifier(Foo, typeReference)
handleNoTypeArguments(operator)
handleType(Foo, null)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.intertwined.expect b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.intertwined.expect
index 71b9bf9..d083d95 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/define_triple_shift_method_prime.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(Foo)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, operator)
listener: handleIdentifier(Foo, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(Foo, null)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.expect b/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.expect
index e03ee2d..f167070 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.expect
@@ -12,7 +12,7 @@
beginMetadataStar(String)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, operator)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, operator)
handleIdentifier(String, typeReference)
handleNoTypeArguments(operator)
handleType(String, null)
@@ -37,7 +37,7 @@
beginMetadataStar(String)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Extension, null, null, null, null, null, call)
+ beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, call)
handleIdentifier(String, typeReference)
handleNoTypeArguments(call)
handleType(String, null)
diff --git a/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.intertwined.expect b/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.intertwined.expect
index 98f25c20..b8e8393 100644
--- a/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/no-triple-shift/triple_shift_not_triple_shift.dart.intertwined.expect
@@ -23,8 +23,8 @@
listener: beginMetadataStar(String)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, operator)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', null, operator, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, operator)
listener: handleIdentifier(String, typeReference)
listener: handleNoTypeArguments(operator)
listener: handleType(String, null)
@@ -74,8 +74,8 @@
listener: beginMetadataStar(String)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod(;, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, call, DeclarationKind.Extension, null, false)
- listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, call)
+ parseMethod(;, null, null, null, null, null, null, null, ;, Instance of 'SimpleType', null, call, DeclarationKind.Extension, null, false)
+ listener: beginMethod(DeclarationKind.Extension, null, null, null, null, null, null, call)
listener: handleIdentifier(String, typeReference)
listener: handleNoTypeArguments(call)
listener: handleType(String, null)
diff --git a/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.expect b/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.expect
index 625ab2e..6481b9d 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -45,7 +45,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.intertwined.expect b/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.intertwined.expect
index cc13d4e..3a276f8 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/issue_40288.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, late, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, late, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -95,8 +95,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, required, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, required, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.expect b/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.expect
index 13464ad..26f2e58 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.expect
@@ -14,7 +14,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
@@ -45,7 +45,7 @@
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.intertwined.expect b/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.intertwined.expect
index 3a3b363..524bc98 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/issue_40288_prime.dart.intertwined.expect
@@ -31,8 +31,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, Xlate, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, Xlate, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
@@ -95,8 +95,8 @@
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, Xrequired, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, get, g)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'SimpleType', get, g, DeclarationKind.Class, Xrequired, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, get, g)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(get)
listener: handleType(int, null)
diff --git a/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.expect b/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.expect
index 2c8c319..a27babc 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.expect
@@ -135,7 +135,7 @@
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
- beginMethod(DeclarationKind.Class, null, null, null, null, null, foo4)
+ beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo4)
handleVoidKeyword(void)
handleIdentifier(foo4, methodDeclaration)
handleNoTypeVariables(()
diff --git a/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.intertwined.expect b/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.intertwined.expect
index 084a1cd..d218d3f 100644
--- a/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.intertwined.expect
+++ b/pkg/front_end/parser_testcases/non-nnbd/use_required_in_non_nnbd.dart.intertwined.expect
@@ -278,8 +278,8 @@
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
listener: beginMember()
- parseMethod({, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo4, DeclarationKind.Class, Foo, false)
- listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, foo4)
+ parseMethod({, null, null, null, null, null, null, null, {, Instance of 'VoidType', null, foo4, DeclarationKind.Class, Foo, false)
+ listener: beginMethod(DeclarationKind.Class, null, null, null, null, null, null, foo4)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, methodDeclaration, false)
listener: handleIdentifier(foo4, methodDeclaration)
diff --git a/pkg/front_end/test/lint_suite.dart b/pkg/front_end/test/lint_suite.dart
index 175b648..2d91952 100644
--- a/pkg/front_end/test/lint_suite.dart
+++ b/pkg/front_end/test/lint_suite.dart
@@ -307,7 +307,7 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
Token importUriToken = importKeyword.next!;
String importUri = importUriToken.lexeme;
if (importUri.startsWith("r")) {
diff --git a/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro1.dart b/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro1.dart
new file mode 100644
index 0000000..e732909
--- /dev/null
+++ b/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro1.dart
@@ -0,0 +1,20 @@
+// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import 'dart:async';
+import 'package:_fe_analyzer_shared/src/macros/api.dart';
+
+macro
+
+class Macro1 implements ClassDeclarationsMacro {
+ const Macro1();
+
+ @override
+ FutureOr<void> buildDeclarationsForClass(ClassDeclaration clazz,
+ ClassMemberDeclarationBuilder builder) {
+ builder.declareInClass(new DeclarationCode.fromString('''
+ get isMacro => true;
+'''));
+ }
+}
diff --git a/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro2.dart b/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro2.dart
new file mode 100644
index 0000000..a444cf0
--- /dev/null
+++ b/pkg/front_end/test/macro_application/data/pkgs/macro/lib/macro2.dart
@@ -0,0 +1,22 @@
+// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import 'dart:async';
+import 'package:_fe_analyzer_shared/src/macros/api.dart';
+import 'macro1.dart';
+
+@Macro1()
+macro
+
+class Macro2 implements ClassDeclarationsMacro {
+ const Macro2();
+
+ @override
+ FutureOr<void> buildDeclarationsForClass(ClassDeclaration clazz,
+ ClassMemberDeclarationBuilder builder) {
+ builder.declareInClass(new DeclarationCode.fromString('''
+ hasMacro() => true;
+'''));
+ }
+}
diff --git a/pkg/front_end/test/macro_application/data/tests/layers.dart b/pkg/front_end/test/macro_application/data/tests/layers.dart
new file mode 100644
index 0000000..8a09eda
--- /dev/null
+++ b/pkg/front_end/test/macro_application/data/tests/layers.dart
@@ -0,0 +1,13 @@
+// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import 'package:macro/macro2.dart';
+
+@Macro2()
+/*class: Class:
+augment class Class {
+ hasMacro() => true;
+
+}*/
+class Class {}
diff --git a/pkg/front_end/test/macro_application/data/tests/layers.dart.expect b/pkg/front_end/test/macro_application/data/tests/layers.dart.expect
new file mode 100644
index 0000000..749a2c7
--- /dev/null
+++ b/pkg/front_end/test/macro_application/data/tests/layers.dart.expect
@@ -0,0 +1,19 @@
+library /*isNonNullableByDefault*/;
+import self as self;
+import "package:macro/macro2.dart" as mac;
+import "dart:core" as core;
+
+import "package:macro/macro2.dart";
+
+@#C1
+class Class extends core::Object {
+ synthetic constructor •() → self::Class
+ : super core::Object::•()
+ ;
+ method /* from org-dartlang-augmentation:/a/b/c/main.dart-0 */ hasMacro() → dynamic
+ return true;
+}
+
+constants {
+ #C1 = mac::Macro2 {}
+}
diff --git a/pkg/front_end/test/parser_test_listener.dart b/pkg/front_end/test/parser_test_listener.dart
index a3b7fc2..92bd9ea 100644
--- a/pkg/front_end/test/parser_test_listener.dart
+++ b/pkg/front_end/test/parser_test_listener.dart
@@ -1168,11 +1168,12 @@
}
@override
- void endImport(Token importKeyword, Token? semicolon) {
+ void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) {
indent--;
seen(importKeyword);
+ seen(augmentToken);
seen(semicolon);
- doPrint('endImport(' '$importKeyword, ' '$semicolon)');
+ doPrint('endImport(' '$importKeyword, ' '$augmentToken, ' '$semicolon)');
}
@override
@@ -1427,12 +1428,14 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
Token? varFinalOrConst,
Token? getOrSet,
Token name) {
+ seen(augmentToken);
seen(externalToken);
seen(staticToken);
seen(covariantToken);
@@ -1441,6 +1444,7 @@
seen(name);
doPrint('beginMethod('
'$declarationKind, '
+ '$augmentToken, '
'$externalToken, '
'$staticToken, '
'$covariantToken, '
diff --git a/pkg/front_end/test/parser_test_listener_creator.dart b/pkg/front_end/test/parser_test_listener_creator.dart
index 4fbb032..fdcc4b9 100644
--- a/pkg/front_end/test/parser_test_listener_creator.dart
+++ b/pkg/front_end/test/parser_test_listener_creator.dart
@@ -139,6 +139,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
diff --git a/pkg/front_end/test/parser_test_parser.dart b/pkg/front_end/test/parser_test_parser.dart
index 7277cfb..3c015f1 100644
--- a/pkg/front_end/test/parser_test_parser.dart
+++ b/pkg/front_end/test/parser_test_parser.dart
@@ -1182,6 +1182,7 @@
Token parseMethod(
Token beforeStart,
Token? abstractToken,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -1197,6 +1198,7 @@
doPrint('parseMethod('
'$beforeStart, '
'$abstractToken, '
+ '$augmentToken, '
'$externalToken, '
'$staticToken, '
'$covariantToken, '
@@ -1213,6 +1215,7 @@
var result = super.parseMethod(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
@@ -2241,6 +2244,7 @@
Token parseInvalidOperatorDeclaration(
Token beforeStart,
Token? abstractToken,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
@@ -2252,6 +2256,7 @@
doPrint('parseInvalidOperatorDeclaration('
'$beforeStart, '
'$abstractToken, '
+ '$augmentToken, '
'$externalToken, '
'$staticToken, '
'$covariantToken, '
@@ -2264,6 +2269,7 @@
var result = super.parseInvalidOperatorDeclaration(
beforeStart,
abstractToken,
+ augmentToken,
externalToken,
staticToken,
covariantToken,
diff --git a/pkg/front_end/test/parser_test_parser_creator.dart b/pkg/front_end/test/parser_test_parser_creator.dart
index 856d485..17c7ff3 100644
--- a/pkg/front_end/test/parser_test_parser_creator.dart
+++ b/pkg/front_end/test/parser_test_parser_creator.dart
@@ -124,6 +124,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
diff --git a/pkg/front_end/tool/_fasta/parser_ast_helper_creator.dart b/pkg/front_end/tool/_fasta/parser_ast_helper_creator.dart
index ce27c8a..814c242 100644
--- a/pkg/front_end/tool/_fasta/parser_ast_helper_creator.dart
+++ b/pkg/front_end/tool/_fasta/parser_ast_helper_creator.dart
@@ -116,6 +116,7 @@
@override
void beginMethod(
DeclarationKind declarationKind,
+ Token? augmentToken,
Token? externalToken,
Token? staticToken,
Token? covariantToken,
diff --git a/pkg/front_end/tool/dart_doctest_impl.dart b/pkg/front_end/tool/dart_doctest_impl.dart
index 09a9e7f..5706ec9 100644
--- a/pkg/front_end/tool/dart_doctest_impl.dart
+++ b/pkg/front_end/tool/dart_doctest_impl.dart
@@ -855,20 +855,32 @@
}
dartDocTestLibrary.addImport(
- null,
- dependency.importedLibraryReference.asLibrary.importUri.toString(),
- null,
- dependency.name,
- combinators,
- dependency.isDeferred,
- -1,
- -1,
- -1,
- -1);
+ metadata: null,
+ isAugmentationImport: false,
+ uri: dependency.importedLibraryReference.asLibrary.importUri
+ .toString(),
+ configurations: null,
+ prefix: dependency.name,
+ combinators: combinators,
+ deferred: dependency.isDeferred,
+ charOffset: -1,
+ prefixCharOffset: -1,
+ uriOffset: -1,
+ importIndex: -1);
}
- dartDocTestLibrary.addImport(null, libraryBuilder.importUri.toString(),
- null, null, null, false, -1, -1, -1, -1);
+ dartDocTestLibrary.addImport(
+ metadata: null,
+ isAugmentationImport: false,
+ uri: libraryBuilder.importUri.toString(),
+ configurations: null,
+ prefix: null,
+ combinators: null,
+ deferred: false,
+ charOffset: -1,
+ prefixCharOffset: -1,
+ uriOffset: -1,
+ importIndex: -1);
dartDocTestLibrary.addImportsToScope();
} else {
diff --git a/sdk/lib/wasm/wasm_types.dart b/sdk/lib/wasm/wasm_types.dart
index 1ec7bb3..288deaa 100644
--- a/sdk/lib/wasm/wasm_types.dart
+++ b/sdk/lib/wasm/wasm_types.dart
@@ -47,19 +47,32 @@
/// The Wasm `i32` type.
@pragma("wasm:entry-point")
-class WasmI32 extends _WasmInt {}
+class WasmI32 extends _WasmInt {
+ external factory WasmI32.fromInt(int value);
+ external int toIntSigned();
+ external int toIntUnsigned();
+}
/// The Wasm `i64` type.
@pragma("wasm:entry-point")
-class WasmI64 extends _WasmInt {}
+class WasmI64 extends _WasmInt {
+ external factory WasmI64.fromInt(int value);
+ external int toInt();
+}
/// The Wasm `f32` type.
@pragma("wasm:entry-point")
-class WasmF32 extends _WasmFloat {}
+class WasmF32 extends _WasmFloat {
+ external factory WasmF32.fromDouble(double value);
+ external double toDouble();
+}
/// The Wasm `f64` type.
@pragma("wasm:entry-point")
-class WasmF64 extends _WasmFloat {}
+class WasmF64 extends _WasmFloat {
+ external factory WasmF64.fromDouble(double value);
+ external double toDouble();
+}
/// A Wasm array with integer element type.
@pragma("wasm:entry-point")
@@ -88,3 +101,13 @@
external T read(int index);
external void write(int index, T value);
}
+
+extension IntToWasmInt on int {
+ WasmI32 toWasmI32() => WasmI32.fromInt(this);
+ WasmI64 toWasmI64() => WasmI64.fromInt(this);
+}
+
+extension DoubleToWasmFloat on double {
+ WasmF32 toWasmF32() => WasmF32.fromDouble(this);
+ WasmF64 toWasmF64() => WasmF64.fromDouble(this);
+}
diff --git a/tools/VERSION b/tools/VERSION
index 8a1db93..8bbd500 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 17
PATCH 0
-PRERELEASE 152
+PRERELEASE 153
PRERELEASE_PATCH 0
\ No newline at end of file