diff --git a/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart b/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart index b51a7772aea..a5c55df8e31 100644 --- a/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart +++ b/pkg/_fe_analyzer_shared/lib/src/experiments/flags.dart @@ -11,308 +11,271 @@ const Version defaultLanguageVersion = const Version(3, 7); /// Enum for experimental flags shared between the CFE and the analyzer. enum ExperimentalFlag { augmentations( - name: 'augmentations', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 6), - ), + name: 'augmentations', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 6)), classModifiers( - name: 'class-modifiers', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ), + name: 'class-modifiers', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)), constFunctions( - name: 'const-functions', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'const-functions', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), constantUpdate2018( - name: 'constant-update-2018', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ), + name: 'constant-update-2018', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)), constructorTearoffs( - name: 'constructor-tearoffs', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 15), - experimentReleasedVersion: const Version(2, 15), - ), + name: 'constructor-tearoffs', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 15), + experimentReleasedVersion: const Version(2, 15)), controlFlowCollections( - name: 'control-flow-collections', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ), + name: 'control-flow-collections', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)), digitSeparators( - name: 'digit-separators', - isEnabledByDefault: true, - isExpired: false, - experimentEnabledVersion: const Version(3, 6), - experimentReleasedVersion: const Version(3, 6), - ), + name: 'digit-separators', + isEnabledByDefault: true, + isExpired: false, + experimentEnabledVersion: const Version(3, 6), + experimentReleasedVersion: const Version(3, 6)), enhancedEnums( - name: 'enhanced-enums', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ), + name: 'enhanced-enums', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)), enhancedParts( - name: 'enhanced-parts', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 6), - ), + name: 'enhanced-parts', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 6)), enumShorthands( - name: 'enum-shorthands', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'enum-shorthands', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), extensionMethods( - name: 'extension-methods', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 6), - experimentReleasedVersion: const Version(2, 6), - ), + name: 'extension-methods', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 6), + experimentReleasedVersion: const Version(2, 6)), genericMetadata( - name: 'generic-metadata', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 14), - experimentReleasedVersion: const Version(2, 14), - ), + name: 'generic-metadata', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 14), + experimentReleasedVersion: const Version(2, 14)), getterSetterError( - name: 'getter-setter-error', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'getter-setter-error', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), inferenceUpdate1( - name: 'inference-update-1', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 18), - experimentReleasedVersion: const Version(2, 18), - ), + name: 'inference-update-1', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 18), + experimentReleasedVersion: const Version(2, 18)), inferenceUpdate2( - name: 'inference-update-2', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 2), - experimentReleasedVersion: const Version(3, 2), - ), + name: 'inference-update-2', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 2), + experimentReleasedVersion: const Version(3, 2)), inferenceUpdate3( - name: 'inference-update-3', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 4), - experimentReleasedVersion: const Version(3, 4), - ), + name: 'inference-update-3', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 4), + experimentReleasedVersion: const Version(3, 4)), inferenceUpdate4( - name: 'inference-update-4', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'inference-update-4', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), inferenceUsingBounds( - name: 'inference-using-bounds', - isEnabledByDefault: true, - isExpired: false, - experimentEnabledVersion: const Version(3, 7), - experimentReleasedVersion: const Version(3, 7), - ), + name: 'inference-using-bounds', + isEnabledByDefault: true, + isExpired: false, + experimentEnabledVersion: const Version(3, 7), + experimentReleasedVersion: const Version(3, 7)), inlineClass( - name: 'inline-class', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 3), - experimentReleasedVersion: const Version(3, 3), - ), + name: 'inline-class', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 3), + experimentReleasedVersion: const Version(3, 3)), macros( - name: 'macros', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 3), - ), + name: 'macros', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 3)), namedArgumentsAnywhere( - name: 'named-arguments-anywhere', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ), + name: 'named-arguments-anywhere', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)), nativeAssets( - name: 'native-assets', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'native-assets', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), nonNullable( - name: 'non-nullable', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 12), - experimentReleasedVersion: const Version(2, 10), - ), + name: 'non-nullable', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 12), + experimentReleasedVersion: const Version(2, 10)), nonfunctionTypeAliases( - name: 'nonfunction-type-aliases', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 13), - experimentReleasedVersion: const Version(2, 13), - ), + name: 'nonfunction-type-aliases', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 13), + experimentReleasedVersion: const Version(2, 13)), nullAwareElements( - name: 'null-aware-elements', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'null-aware-elements', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), patterns( - name: 'patterns', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ), + name: 'patterns', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)), recordUse( - name: 'record-use', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'record-use', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), records( - name: 'records', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ), + name: 'records', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)), sealedClass( - name: 'sealed-class', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ), + name: 'sealed-class', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)), setLiterals( - name: 'set-literals', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ), + name: 'set-literals', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)), spreadCollections( - name: 'spread-collections', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ), + name: 'spread-collections', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)), superParameters( - name: 'super-parameters', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ), + name: 'super-parameters', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)), testExperiment( - name: 'test-experiment', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'test-experiment', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), tripleShift( - name: 'triple-shift', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 14), - experimentReleasedVersion: const Version(2, 14), - ), + name: 'triple-shift', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 14), + experimentReleasedVersion: const Version(2, 14)), unnamedLibraries( - name: 'unnamed-libraries', - isEnabledByDefault: true, - isExpired: true, - experimentEnabledVersion: const Version(2, 19), - experimentReleasedVersion: const Version(2, 19), - ), + name: 'unnamed-libraries', + isEnabledByDefault: true, + isExpired: true, + experimentEnabledVersion: const Version(2, 19), + experimentReleasedVersion: const Version(2, 19)), unquotedImports( - name: 'unquoted-imports', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'unquoted-imports', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), variance( - name: 'variance', - isEnabledByDefault: false, - isExpired: false, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ), + name: 'variance', + isEnabledByDefault: false, + isExpired: false, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion), wildcardVariables( - name: 'wildcard-variables', - isEnabledByDefault: true, - isExpired: false, - experimentEnabledVersion: const Version(3, 7), - experimentReleasedVersion: const Version(3, 7), - ); + name: 'wildcard-variables', + isEnabledByDefault: true, + isExpired: false, + experimentEnabledVersion: const Version(3, 7), + experimentReleasedVersion: const Version(3, 7)), + ; final String name; final bool isEnabledByDefault; @@ -320,13 +283,12 @@ enum ExperimentalFlag { final Version experimentEnabledVersion; final Version experimentReleasedVersion; - const ExperimentalFlag({ - required this.name, - required this.isEnabledByDefault, - required this.isExpired, - required this.experimentEnabledVersion, - required this.experimentReleasedVersion, - }); + const ExperimentalFlag( + {required this.name, + required this.isEnabledByDefault, + required this.isExpired, + required this.experimentEnabledVersion, + required this.experimentReleasedVersion}); } class Version { diff --git a/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart b/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart index 58931419ee0..b08f11ecd6e 100644 --- a/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart +++ b/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart @@ -23,20 +23,20 @@ const MessageCode messageAbstractClassConstructorTearOff = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAbstractClassInstantiation = + templateAbstractClassInstantiation = const Template( - "AbstractClassInstantiation", - problemMessageTemplate: - r"""The class '#name' is abstract and can't be instantiated.""", - withArguments: _withArgumentsAbstractClassInstantiation, - ); + "AbstractClassInstantiation", + problemMessageTemplate: + r"""The class '#name' is abstract and can't be instantiated.""", + withArguments: _withArgumentsAbstractClassInstantiation, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeAbstractClassInstantiation = const Code( - "AbstractClassInstantiation", - analyzerCodes: ["NEW_WITH_ABSTRACT_CLASS"], - ); + "AbstractClassInstantiation", + analyzerCodes: ["NEW_WITH_ABSTRACT_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAbstractClassInstantiation(String name) { @@ -46,7 +46,9 @@ Message _withArgumentsAbstractClassInstantiation(String name) { codeAbstractClassInstantiation, problemMessage: """The class '${name}' is abstract and can't be instantiated.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -90,8 +92,8 @@ const Code codeAbstractFieldConstructorInitializer = messageAbstractFieldConstructorInitializer; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageAbstractFieldConstructorInitializer = const MessageCode( +const MessageCode messageAbstractFieldConstructorInitializer = + const MessageCode( "AbstractFieldConstructorInitializer", problemMessage: r"""Abstract fields cannot have initializers.""", correctionMessage: @@ -159,9 +161,8 @@ const MessageCode messageAbstractNotSync = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAbstractRedirectedClassInstantiation = const Template< - Message Function(String name) ->( + templateAbstractRedirectedClassInstantiation = + const Template( "AbstractRedirectedClassInstantiation", problemMessageTemplate: r"""Factory redirects to class '#name', which is abstract and can't be instantiated.""", @@ -170,11 +171,11 @@ templateAbstractRedirectedClassInstantiation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeAbstractRedirectedClassInstantiation = + codeAbstractRedirectedClassInstantiation = const Code( - "AbstractRedirectedClassInstantiation", - analyzerCodes: ["FACTORY_REDIRECTS_TO_ABSTRACT_CLASS"], - ); + "AbstractRedirectedClassInstantiation", + analyzerCodes: ["FACTORY_REDIRECTS_TO_ABSTRACT_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAbstractRedirectedClassInstantiation(String name) { @@ -184,7 +185,9 @@ Message _withArgumentsAbstractRedirectedClassInstantiation(String name) { codeAbstractRedirectedClassInstantiation, problemMessage: """Factory redirects to class '${name}', which is abstract and can't be instantiated.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -214,14 +217,16 @@ const MessageCode messageAbstractStaticField = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateAccessError = const Template( - "AccessError", - problemMessageTemplate: r"""Access error: '#name'.""", - withArguments: _withArgumentsAccessError, - ); + "AccessError", + problemMessageTemplate: r"""Access error: '#name'.""", + withArguments: _withArgumentsAccessError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeAccessError = - const Code("AccessError"); + const Code( + "AccessError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAccessError(String name) { @@ -230,7 +235,9 @@ Message _withArgumentsAccessError(String name) { return new Message( codeAccessError, problemMessage: """Access error: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -251,10 +258,10 @@ const Code codeAnnotationOnFunctionTypeTypeParameter = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageAnnotationOnFunctionTypeTypeParameter = const MessageCode( - "AnnotationOnFunctionTypeTypeParameter", - problemMessage: - r"""A type variable on a function type can't have annotations.""", - ); + "AnnotationOnFunctionTypeTypeParameter", + problemMessage: + r"""A type variable on a function type can't have annotations.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeAnnotationOnTypeArgument = messageAnnotationOnTypeArgument; @@ -274,10 +281,10 @@ const Code codeAnonymousBreakTargetOutsideFunction = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageAnonymousBreakTargetOutsideFunction = const MessageCode( - "AnonymousBreakTargetOutsideFunction", - analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], - problemMessage: r"""Can't break to a target in a different function.""", - ); + "AnonymousBreakTargetOutsideFunction", + analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], + problemMessage: r"""Can't break to a target in a different function.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeAnonymousContinueTargetOutsideFunction = @@ -286,15 +293,14 @@ const Code codeAnonymousContinueTargetOutsideFunction = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageAnonymousContinueTargetOutsideFunction = const MessageCode( - "AnonymousContinueTargetOutsideFunction", - analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], - problemMessage: - r"""Can't continue at a target in a different function.""", - ); + "AnonymousContinueTargetOutsideFunction", + analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], + problemMessage: r"""Can't continue at a target in a different function.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateAsciiControlCharacter = const Template( +const Template templateAsciiControlCharacter = + const Template( "AsciiControlCharacter", problemMessageTemplate: r"""The control character #unicode can only be used in strings and comments.""", @@ -304,9 +310,9 @@ templateAsciiControlCharacter = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeAsciiControlCharacter = const Code( - "AsciiControlCharacter", - analyzerCodes: ["ILLEGAL_CHARACTER"], - ); + "AsciiControlCharacter", + analyzerCodes: ["ILLEGAL_CHARACTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAsciiControlCharacter(int codePoint) { @@ -316,7 +322,9 @@ Message _withArgumentsAsciiControlCharacter(int codePoint) { codeAsciiControlCharacter, problemMessage: """The control character ${unicode} can only be used in strings and comments.""", - arguments: {'unicode': codePoint}, + arguments: { + 'unicode': codePoint, + }, ); } @@ -398,9 +406,8 @@ const MessageCode messageAwaitOfExtensionTypeNotFuture = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBaseClassImplementedOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateBaseClassImplementedOutsideOfLibrary = + const Template( "BaseClassImplementedOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be implemented outside of its library because it's a base class.""", @@ -409,11 +416,11 @@ templateBaseClassImplementedOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBaseClassImplementedOutsideOfLibrary = + codeBaseClassImplementedOutsideOfLibrary = const Code( - "BaseClassImplementedOutsideOfLibrary", - analyzerCodes: ["BASE_CLASS_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], - ); + "BaseClassImplementedOutsideOfLibrary", + analyzerCodes: ["BASE_CLASS_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBaseClassImplementedOutsideOfLibrary(String name) { @@ -423,7 +430,9 @@ Message _withArgumentsBaseClassImplementedOutsideOfLibrary(String name) { codeBaseClassImplementedOutsideOfLibrary, problemMessage: """The class '${name}' can't be implemented outside of its library because it's a base class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -440,9 +449,8 @@ const MessageCode messageBaseEnum = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBaseMixinImplementedOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateBaseMixinImplementedOutsideOfLibrary = + const Template( "BaseMixinImplementedOutsideOfLibrary", problemMessageTemplate: r"""The mixin '#name' can't be implemented outside of its library because it's a base mixin.""", @@ -451,11 +459,11 @@ templateBaseMixinImplementedOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBaseMixinImplementedOutsideOfLibrary = + codeBaseMixinImplementedOutsideOfLibrary = const Code( - "BaseMixinImplementedOutsideOfLibrary", - analyzerCodes: ["BASE_MIXIN_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], - ); + "BaseMixinImplementedOutsideOfLibrary", + analyzerCodes: ["BASE_MIXIN_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBaseMixinImplementedOutsideOfLibrary(String name) { @@ -465,15 +473,16 @@ Message _withArgumentsBaseMixinImplementedOutsideOfLibrary(String name) { codeBaseMixinImplementedOutsideOfLibrary, problemMessage: """The mixin '${name}' can't be implemented outside of its library because it's a base mixin.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBaseOrFinalClassImplementedOutsideOfLibraryCause = const Template< - Message Function(String name, String name2) ->( + templateBaseOrFinalClassImplementedOutsideOfLibraryCause = + const Template( "BaseOrFinalClassImplementedOutsideOfLibraryCause", problemMessageTemplate: r"""The type '#name' is a subtype of '#name2', and '#name2' is defined here.""", @@ -482,17 +491,15 @@ templateBaseOrFinalClassImplementedOutsideOfLibraryCause = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBaseOrFinalClassImplementedOutsideOfLibraryCause = + codeBaseOrFinalClassImplementedOutsideOfLibraryCause = const Code( - "BaseOrFinalClassImplementedOutsideOfLibraryCause", - severity: Severity.context, - ); + "BaseOrFinalClassImplementedOutsideOfLibraryCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBaseOrFinalClassImplementedOutsideOfLibraryCause( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -501,15 +508,17 @@ Message _withArgumentsBaseOrFinalClassImplementedOutsideOfLibraryCause( codeBaseOrFinalClassImplementedOutsideOfLibraryCause, problemMessage: """The type '${name}' is a subtype of '${name2}', and '${name2}' is defined here.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBinaryOperatorWrittenOut = const Template< - Message Function(String string, String string2) ->( + templateBinaryOperatorWrittenOut = + const Template( "BinaryOperatorWrittenOut", problemMessageTemplate: r"""Binary operator '#string' is written as '#string2' instead of the written out word.""", @@ -519,11 +528,11 @@ templateBinaryOperatorWrittenOut = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBinaryOperatorWrittenOut = + codeBinaryOperatorWrittenOut = const Code( - "BinaryOperatorWrittenOut", - index: 112, - ); + "BinaryOperatorWrittenOut", + index: 112, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBinaryOperatorWrittenOut(String string, String string2) { @@ -534,15 +543,17 @@ Message _withArgumentsBinaryOperatorWrittenOut(String string, String string2) { problemMessage: """Binary operator '${string}' is written as '${string2}' instead of the written out word.""", correctionMessage: """Try replacing '${string}' with '${string2}'.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBoundIssueViaCycleNonSimplicity = const Template< - Message Function(String name, String name2) ->( + templateBoundIssueViaCycleNonSimplicity = + const Template( "BoundIssueViaCycleNonSimplicity", problemMessageTemplate: r"""Generic type '#name' can't be used without type arguments in the bounds of its own type variables. It is referenced indirectly through '#name2'.""", @@ -553,17 +564,15 @@ templateBoundIssueViaCycleNonSimplicity = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBoundIssueViaCycleNonSimplicity = + codeBoundIssueViaCycleNonSimplicity = const Code( - "BoundIssueViaCycleNonSimplicity", - analyzerCodes: ["NOT_INSTANTIATED_BOUND"], - ); + "BoundIssueViaCycleNonSimplicity", + analyzerCodes: ["NOT_INSTANTIATED_BOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBoundIssueViaCycleNonSimplicity( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -574,15 +583,17 @@ Message _withArgumentsBoundIssueViaCycleNonSimplicity( """Generic type '${name}' can't be used without type arguments in the bounds of its own type variables. It is referenced indirectly through '${name2}'.""", correctionMessage: """Try providing type arguments to '${name2}' here or to some other raw types in the bounds along the reference chain.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBoundIssueViaLoopNonSimplicity = const Template< - Message Function(String name) ->( + templateBoundIssueViaLoopNonSimplicity = + const Template( "BoundIssueViaLoopNonSimplicity", problemMessageTemplate: r"""Generic type '#name' can't be used without type arguments in the bounds of its own type variables.""", @@ -594,9 +605,9 @@ templateBoundIssueViaLoopNonSimplicity = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeBoundIssueViaLoopNonSimplicity = const Code( - "BoundIssueViaLoopNonSimplicity", - analyzerCodes: ["NOT_INSTANTIATED_BOUND"], - ); + "BoundIssueViaLoopNonSimplicity", + analyzerCodes: ["NOT_INSTANTIATED_BOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBoundIssueViaLoopNonSimplicity(String name) { @@ -607,15 +618,16 @@ Message _withArgumentsBoundIssueViaLoopNonSimplicity(String name) { problemMessage: """Generic type '${name}' can't be used without type arguments in the bounds of its own type variables.""", correctionMessage: """Try providing type arguments to '${name}' here.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBoundIssueViaRawTypeWithNonSimpleBounds = const Template< - Message Function(String name) ->( + templateBoundIssueViaRawTypeWithNonSimpleBounds = + const Template( "BoundIssueViaRawTypeWithNonSimpleBounds", problemMessageTemplate: r"""Generic type '#name' can't be used without type arguments in a type variable bound.""", @@ -626,11 +638,11 @@ templateBoundIssueViaRawTypeWithNonSimpleBounds = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeBoundIssueViaRawTypeWithNonSimpleBounds = + codeBoundIssueViaRawTypeWithNonSimpleBounds = const Code( - "BoundIssueViaRawTypeWithNonSimpleBounds", - analyzerCodes: ["NOT_INSTANTIATED_BOUND"], - ); + "BoundIssueViaRawTypeWithNonSimpleBounds", + analyzerCodes: ["NOT_INSTANTIATED_BOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBoundIssueViaRawTypeWithNonSimpleBounds(String name) { @@ -641,7 +653,9 @@ Message _withArgumentsBoundIssueViaRawTypeWithNonSimpleBounds(String name) { problemMessage: """Generic type '${name}' can't be used without type arguments in a type variable bound.""", correctionMessage: """Try providing type arguments to '${name}' here.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -659,20 +673,20 @@ const MessageCode messageBreakOutsideOfLoop = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBreakTargetOutsideFunction = + templateBreakTargetOutsideFunction = const Template( - "BreakTargetOutsideFunction", - problemMessageTemplate: - r"""Can't break to '#name' in a different function.""", - withArguments: _withArgumentsBreakTargetOutsideFunction, - ); + "BreakTargetOutsideFunction", + problemMessageTemplate: + r"""Can't break to '#name' in a different function.""", + withArguments: _withArgumentsBreakTargetOutsideFunction, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeBreakTargetOutsideFunction = const Code( - "BreakTargetOutsideFunction", - analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], - ); + "BreakTargetOutsideFunction", + analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBreakTargetOutsideFunction(String name) { @@ -681,25 +695,27 @@ Message _withArgumentsBreakTargetOutsideFunction(String name) { return new Message( codeBreakTargetOutsideFunction, problemMessage: """Can't break to '${name}' in a different function.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateBuiltInIdentifierAsType = const Template( - "BuiltInIdentifierAsType", - problemMessageTemplate: - r"""The built-in identifier '#lexeme' can't be used as a type.""", - withArguments: _withArgumentsBuiltInIdentifierAsType, - ); + "BuiltInIdentifierAsType", + problemMessageTemplate: + r"""The built-in identifier '#lexeme' can't be used as a type.""", + withArguments: _withArgumentsBuiltInIdentifierAsType, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeBuiltInIdentifierAsType = const Code( - "BuiltInIdentifierAsType", - analyzerCodes: ["BUILT_IN_IDENTIFIER_AS_TYPE"], - ); + "BuiltInIdentifierAsType", + analyzerCodes: ["BUILT_IN_IDENTIFIER_AS_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBuiltInIdentifierAsType(Token token) { @@ -708,25 +724,27 @@ Message _withArgumentsBuiltInIdentifierAsType(Token token) { codeBuiltInIdentifierAsType, problemMessage: """The built-in identifier '${lexeme}' can't be used as a type.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateBuiltInIdentifierInDeclaration = + templateBuiltInIdentifierInDeclaration = const Template( - "BuiltInIdentifierInDeclaration", - problemMessageTemplate: r"""Can't use '#lexeme' as a name here.""", - withArguments: _withArgumentsBuiltInIdentifierInDeclaration, - ); + "BuiltInIdentifierInDeclaration", + problemMessageTemplate: r"""Can't use '#lexeme' as a name here.""", + withArguments: _withArgumentsBuiltInIdentifierInDeclaration, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeBuiltInIdentifierInDeclaration = const Code( - "BuiltInIdentifierInDeclaration", - analyzerCodes: ["BUILT_IN_IDENTIFIER_IN_DECLARATION"], - ); + "BuiltInIdentifierInDeclaration", + analyzerCodes: ["BUILT_IN_IDENTIFIER_IN_DECLARATION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsBuiltInIdentifierInDeclaration(Token token) { @@ -734,7 +752,9 @@ Message _withArgumentsBuiltInIdentifierInDeclaration(Token token) { return new Message( codeBuiltInIdentifierInDeclaration, problemMessage: """Can't use '${lexeme}' as a name here.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -750,21 +770,21 @@ const MessageCode messageCandidateFound = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCandidateFoundIsDefaultConstructor = + templateCandidateFoundIsDefaultConstructor = const Template( - "CandidateFoundIsDefaultConstructor", - problemMessageTemplate: - r"""The class '#name' has a constructor that takes no arguments.""", - withArguments: _withArgumentsCandidateFoundIsDefaultConstructor, - ); + "CandidateFoundIsDefaultConstructor", + problemMessageTemplate: + r"""The class '#name' has a constructor that takes no arguments.""", + withArguments: _withArgumentsCandidateFoundIsDefaultConstructor, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCandidateFoundIsDefaultConstructor = + codeCandidateFoundIsDefaultConstructor = const Code( - "CandidateFoundIsDefaultConstructor", - severity: Severity.context, - ); + "CandidateFoundIsDefaultConstructor", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCandidateFoundIsDefaultConstructor(String name) { @@ -774,23 +794,26 @@ Message _withArgumentsCandidateFoundIsDefaultConstructor(String name) { codeCandidateFoundIsDefaultConstructor, problemMessage: """The class '${name}' has a constructor that takes no arguments.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCannotAssignToConstVariable = + templateCannotAssignToConstVariable = const Template( - "CannotAssignToConstVariable", - problemMessageTemplate: - r"""Can't assign to the const variable '#name'.""", - withArguments: _withArgumentsCannotAssignToConstVariable, - ); + "CannotAssignToConstVariable", + problemMessageTemplate: r"""Can't assign to the const variable '#name'.""", + withArguments: _withArgumentsCannotAssignToConstVariable, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCannotAssignToConstVariable = - const Code("CannotAssignToConstVariable"); + const Code( + "CannotAssignToConstVariable", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCannotAssignToConstVariable(String name) { @@ -799,7 +822,9 @@ Message _withArgumentsCannotAssignToConstVariable(String name) { return new Message( codeCannotAssignToConstVariable, problemMessage: """Can't assign to the const variable '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -815,17 +840,18 @@ const MessageCode messageCannotAssignToExtensionThis = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCannotAssignToFinalVariable = + templateCannotAssignToFinalVariable = const Template( - "CannotAssignToFinalVariable", - problemMessageTemplate: - r"""Can't assign to the final variable '#name'.""", - withArguments: _withArgumentsCannotAssignToFinalVariable, - ); + "CannotAssignToFinalVariable", + problemMessageTemplate: r"""Can't assign to the final variable '#name'.""", + withArguments: _withArgumentsCannotAssignToFinalVariable, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCannotAssignToFinalVariable = - const Code("CannotAssignToFinalVariable"); + const Code( + "CannotAssignToFinalVariable", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCannotAssignToFinalVariable(String name) { @@ -834,7 +860,9 @@ Message _withArgumentsCannotAssignToFinalVariable(String name) { return new Message( codeCannotAssignToFinalVariable, problemMessage: """Can't assign to the final variable '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -845,10 +873,10 @@ const Code codeCannotAssignToParenthesizedExpression = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageCannotAssignToParenthesizedExpression = const MessageCode( - "CannotAssignToParenthesizedExpression", - analyzerCodes: ["ASSIGNMENT_TO_PARENTHESIZED_EXPRESSION"], - problemMessage: r"""Can't assign to a parenthesized expression.""", - ); + "CannotAssignToParenthesizedExpression", + analyzerCodes: ["ASSIGNMENT_TO_PARENTHESIZED_EXPRESSION"], + problemMessage: r"""Can't assign to a parenthesized expression.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCannotAssignToSuper = messageCannotAssignToSuper; @@ -872,18 +900,20 @@ const MessageCode messageCannotAssignToTypeLiteral = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCannotReadSdkSpecification = + templateCannotReadSdkSpecification = const Template( - "CannotReadSdkSpecification", - problemMessageTemplate: - r"""Unable to read the 'libraries.json' specification file: + "CannotReadSdkSpecification", + problemMessageTemplate: + r"""Unable to read the 'libraries.json' specification file: #string.""", - withArguments: _withArgumentsCannotReadSdkSpecification, - ); + withArguments: _withArgumentsCannotReadSdkSpecification, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCannotReadSdkSpecification = - const Code("CannotReadSdkSpecification"); + const Code( + "CannotReadSdkSpecification", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCannotReadSdkSpecification(String string) { @@ -892,7 +922,9 @@ Message _withArgumentsCannotReadSdkSpecification(String string) { codeCannotReadSdkSpecification, problemMessage: """Unable to read the 'libraries.json' specification file: ${string}.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -901,8 +933,8 @@ const Code codeCantDisambiguateAmbiguousInformation = messageCantDisambiguateAmbiguousInformation; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageCantDisambiguateAmbiguousInformation = const MessageCode( +const MessageCode messageCantDisambiguateAmbiguousInformation = + const MessageCode( "CantDisambiguateAmbiguousInformation", problemMessage: r"""Both Iterable and Map spread elements encountered in ambiguous literal.""", @@ -913,8 +945,8 @@ const Code codeCantDisambiguateNotEnoughInformation = messageCantDisambiguateNotEnoughInformation; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageCantDisambiguateNotEnoughInformation = const MessageCode( +const MessageCode messageCantDisambiguateNotEnoughInformation = + const MessageCode( "CantDisambiguateNotEnoughInformation", problemMessage: r"""Not enough type information to disambiguate between literal set and literal map.""", @@ -925,15 +957,17 @@ messageCantDisambiguateNotEnoughInformation = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateCantHaveNamedParameters = const Template( - "CantHaveNamedParameters", - problemMessageTemplate: - r"""'#name' can't be declared with named parameters.""", - withArguments: _withArgumentsCantHaveNamedParameters, - ); + "CantHaveNamedParameters", + problemMessageTemplate: + r"""'#name' can't be declared with named parameters.""", + withArguments: _withArgumentsCantHaveNamedParameters, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantHaveNamedParameters = - const Code("CantHaveNamedParameters"); + const Code( + "CantHaveNamedParameters", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantHaveNamedParameters(String name) { @@ -942,23 +976,27 @@ Message _withArgumentsCantHaveNamedParameters(String name) { return new Message( codeCantHaveNamedParameters, problemMessage: """'${name}' can't be declared with named parameters.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantHaveOptionalParameters = + templateCantHaveOptionalParameters = const Template( - "CantHaveOptionalParameters", - problemMessageTemplate: - r"""'#name' can't be declared with optional parameters.""", - withArguments: _withArgumentsCantHaveOptionalParameters, - ); + "CantHaveOptionalParameters", + problemMessageTemplate: + r"""'#name' can't be declared with optional parameters.""", + withArguments: _withArgumentsCantHaveOptionalParameters, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantHaveOptionalParameters = - const Code("CantHaveOptionalParameters"); + const Code( + "CantHaveOptionalParameters", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantHaveOptionalParameters(String name) { @@ -967,7 +1005,9 @@ Message _withArgumentsCantHaveOptionalParameters(String name) { return new Message( codeCantHaveOptionalParameters, problemMessage: """'${name}' can't be declared with optional parameters.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -999,9 +1039,8 @@ const MessageCode messageCantInferPackagesFromPackageUri = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantInferReturnTypeDueToNoCombinedSignature = const Template< - Message Function(String name) ->( + templateCantInferReturnTypeDueToNoCombinedSignature = + const Template( "CantInferReturnTypeDueToNoCombinedSignature", problemMessageTemplate: r"""Can't infer a return type for '#name' as the overridden members don't have a combined signature.""", @@ -1011,11 +1050,11 @@ templateCantInferReturnTypeDueToNoCombinedSignature = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCantInferReturnTypeDueToNoCombinedSignature = + codeCantInferReturnTypeDueToNoCombinedSignature = const Code( - "CantInferReturnTypeDueToNoCombinedSignature", - analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], - ); + "CantInferReturnTypeDueToNoCombinedSignature", + analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantInferReturnTypeDueToNoCombinedSignature(String name) { @@ -1026,15 +1065,16 @@ Message _withArgumentsCantInferReturnTypeDueToNoCombinedSignature(String name) { problemMessage: """Can't infer a return type for '${name}' as the overridden members don't have a combined signature.""", correctionMessage: """Try adding an explicit type.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantInferTypeDueToCircularity = const Template< - Message Function(String string) ->( + templateCantInferTypeDueToCircularity = + const Template( "CantInferTypeDueToCircularity", problemMessageTemplate: r"""Can't infer the type of '#string': circularity found during type inference.""", @@ -1045,9 +1085,9 @@ templateCantInferTypeDueToCircularity = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantInferTypeDueToCircularity = const Code( - "CantInferTypeDueToCircularity", - analyzerCodes: ["RECURSIVE_COMPILE_TIME_CONSTANT"], - ); + "CantInferTypeDueToCircularity", + analyzerCodes: ["RECURSIVE_COMPILE_TIME_CONSTANT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantInferTypeDueToCircularity(String string) { @@ -1057,15 +1097,16 @@ Message _withArgumentsCantInferTypeDueToCircularity(String string) { problemMessage: """Can't infer the type of '${string}': circularity found during type inference.""", correctionMessage: """Specify the type explicitly.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantInferTypeDueToNoCombinedSignature = const Template< - Message Function(String name) ->( + templateCantInferTypeDueToNoCombinedSignature = + const Template( "CantInferTypeDueToNoCombinedSignature", problemMessageTemplate: r"""Can't infer a type for '#name' as the overridden members don't have a combined signature.""", @@ -1075,11 +1116,11 @@ templateCantInferTypeDueToNoCombinedSignature = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCantInferTypeDueToNoCombinedSignature = + codeCantInferTypeDueToNoCombinedSignature = const Code( - "CantInferTypeDueToNoCombinedSignature", - analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], - ); + "CantInferTypeDueToNoCombinedSignature", + analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantInferTypeDueToNoCombinedSignature(String name) { @@ -1090,15 +1131,16 @@ Message _withArgumentsCantInferTypeDueToNoCombinedSignature(String name) { problemMessage: """Can't infer a type for '${name}' as the overridden members don't have a combined signature.""", correctionMessage: """Try adding an explicit type.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantInferTypesDueToNoCombinedSignature = const Template< - Message Function(String name) ->( + templateCantInferTypesDueToNoCombinedSignature = + const Template( "CantInferTypesDueToNoCombinedSignature", problemMessageTemplate: r"""Can't infer types for '#name' as the overridden members don't have a combined signature.""", @@ -1108,11 +1150,11 @@ templateCantInferTypesDueToNoCombinedSignature = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCantInferTypesDueToNoCombinedSignature = + codeCantInferTypesDueToNoCombinedSignature = const Code( - "CantInferTypesDueToNoCombinedSignature", - analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], - ); + "CantInferTypesDueToNoCombinedSignature", + analyzerCodes: ["COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantInferTypesDueToNoCombinedSignature(String name) { @@ -1123,24 +1165,26 @@ Message _withArgumentsCantInferTypesDueToNoCombinedSignature(String name) { problemMessage: """Can't infer types for '${name}' as the overridden members don't have a combined signature.""", correctionMessage: """Try adding explicit types.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateCantReadFile = const Template( - "CantReadFile", - problemMessageTemplate: r"""Error when reading '#uri': #string""", - withArguments: _withArgumentsCantReadFile, - ); + "CantReadFile", + problemMessageTemplate: r"""Error when reading '#uri': #string""", + withArguments: _withArgumentsCantReadFile, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantReadFile = const Code( - "CantReadFile", - analyzerCodes: ["URI_DOES_NOT_EXIST"], - ); + "CantReadFile", + analyzerCodes: ["URI_DOES_NOT_EXIST"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantReadFile(Uri uri_, String string) { @@ -1149,13 +1193,16 @@ Message _withArgumentsCantReadFile(Uri uri_, String string) { return new Message( codeCantReadFile, problemMessage: """Error when reading '${uri}': ${string}""", - arguments: {'uri': uri_, 'string': string}, + arguments: { + 'uri': uri_, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateCantUseClassAsMixin = const Template( +const Template templateCantUseClassAsMixin = + const Template( "CantUseClassAsMixin", problemMessageTemplate: r"""The class '#name' can't be used as a mixin because it isn't a mixin class nor a mixin.""", @@ -1165,9 +1212,9 @@ templateCantUseClassAsMixin = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantUseClassAsMixin = const Code( - "CantUseClassAsMixin", - analyzerCodes: ["CLASS_USED_AS_MIXIN"], - ); + "CantUseClassAsMixin", + analyzerCodes: ["CLASS_USED_AS_MIXIN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantUseClassAsMixin(String name) { @@ -1177,27 +1224,29 @@ Message _withArgumentsCantUseClassAsMixin(String name) { codeCantUseClassAsMixin, problemMessage: """The class '${name}' can't be used as a mixin because it isn't a mixin class nor a mixin.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantUseControlFlowOrSpreadAsConstant = + templateCantUseControlFlowOrSpreadAsConstant = const Template( - "CantUseControlFlowOrSpreadAsConstant", - problemMessageTemplate: - r"""'#lexeme' is not supported in constant expressions.""", - withArguments: _withArgumentsCantUseControlFlowOrSpreadAsConstant, - ); + "CantUseControlFlowOrSpreadAsConstant", + problemMessageTemplate: + r"""'#lexeme' is not supported in constant expressions.""", + withArguments: _withArgumentsCantUseControlFlowOrSpreadAsConstant, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCantUseControlFlowOrSpreadAsConstant = + codeCantUseControlFlowOrSpreadAsConstant = const Code( - "CantUseControlFlowOrSpreadAsConstant", - analyzerCodes: ["NOT_CONSTANT_EXPRESSION"], - ); + "CantUseControlFlowOrSpreadAsConstant", + analyzerCodes: ["NOT_CONSTANT_EXPRESSION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantUseControlFlowOrSpreadAsConstant(Token token) { @@ -1205,15 +1254,16 @@ Message _withArgumentsCantUseControlFlowOrSpreadAsConstant(Token token) { return new Message( codeCantUseControlFlowOrSpreadAsConstant, problemMessage: """'${lexeme}' is not supported in constant expressions.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCantUseDeferredPrefixAsConstant = const Template< - Message Function(Token token) ->( + templateCantUseDeferredPrefixAsConstant = + const Template( "CantUseDeferredPrefixAsConstant", problemMessageTemplate: r"""'#lexeme' can't be used in a constant expression because it's marked as 'deferred' which means it isn't available until loaded.""", @@ -1226,9 +1276,9 @@ templateCantUseDeferredPrefixAsConstant = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCantUseDeferredPrefixAsConstant = const Code( - "CantUseDeferredPrefixAsConstant", - analyzerCodes: ["CONST_DEFERRED_CLASS"], - ); + "CantUseDeferredPrefixAsConstant", + analyzerCodes: ["CONST_DEFERRED_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCantUseDeferredPrefixAsConstant(Token token) { @@ -1240,7 +1290,9 @@ Message _withArgumentsCantUseDeferredPrefixAsConstant(Token token) { correctionMessage: """Try moving the constant from the deferred library, or removing 'deferred' from the import. """, - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -1320,9 +1372,8 @@ const MessageCode messageClassInClass = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateClassShouldBeListedAsCallableInDynamicInterface = const Template< - Message Function(String name) ->( + templateClassShouldBeListedAsCallableInDynamicInterface = + const Template( "ClassShouldBeListedAsCallableInDynamicInterface", problemMessageTemplate: r"""Cannot use class '#name' in a dynamic module.""", correctionMessageTemplate: @@ -1332,15 +1383,14 @@ templateClassShouldBeListedAsCallableInDynamicInterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeClassShouldBeListedAsCallableInDynamicInterface = + codeClassShouldBeListedAsCallableInDynamicInterface = const Code( - "ClassShouldBeListedAsCallableInDynamicInterface", - ); + "ClassShouldBeListedAsCallableInDynamicInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsClassShouldBeListedAsCallableInDynamicInterface( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -1348,15 +1398,16 @@ Message _withArgumentsClassShouldBeListedAsCallableInDynamicInterface( problemMessage: """Cannot use class '${name}' in a dynamic module.""", correctionMessage: """Try removing the reference to class '${name}' or update the dynamic interface to list class '${name}' as callable.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateClassShouldBeListedAsExtendableInDynamicInterface = const Template< - Message Function(String name) ->( + templateClassShouldBeListedAsExtendableInDynamicInterface = + const Template( "ClassShouldBeListedAsExtendableInDynamicInterface", problemMessageTemplate: r"""Cannot extend, implement or mix-in class '#name' in a dynamic module.""", @@ -1368,15 +1419,14 @@ templateClassShouldBeListedAsExtendableInDynamicInterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeClassShouldBeListedAsExtendableInDynamicInterface = + codeClassShouldBeListedAsExtendableInDynamicInterface = const Code( - "ClassShouldBeListedAsExtendableInDynamicInterface", - ); + "ClassShouldBeListedAsExtendableInDynamicInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsClassShouldBeListedAsExtendableInDynamicInterface( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -1385,7 +1435,9 @@ Message _withArgumentsClassShouldBeListedAsExtendableInDynamicInterface( """Cannot extend, implement or mix-in class '${name}' in a dynamic module.""", correctionMessage: """Try removing the reference to class '${name}' or update the dynamic interface to list class '${name}' as extendable.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -1402,9 +1454,8 @@ const MessageCode messageColonInPlaceOfIn = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCombinedMemberSignatureFailed = const Template< - Message Function(String name, String name2) ->( + templateCombinedMemberSignatureFailed = + const Template( "CombinedMemberSignatureFailed", problemMessageTemplate: r"""Class '#name' inherits multiple members named '#name2' with incompatible signatures.""", @@ -1415,11 +1466,11 @@ templateCombinedMemberSignatureFailed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCombinedMemberSignatureFailed = + codeCombinedMemberSignatureFailed = const Code( - "CombinedMemberSignatureFailed", - analyzerCodes: ["INCONSISTENT_INHERITANCE"], - ); + "CombinedMemberSignatureFailed", + analyzerCodes: ["INCONSISTENT_INHERITANCE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCombinedMemberSignatureFailed(String name, String name2) { @@ -1433,7 +1484,10 @@ Message _withArgumentsCombinedMemberSignatureFailed(String name, String name2) { """Class '${name}' inherits multiple members named '${name2}' with incompatible signatures.""", correctionMessage: """Try adding a declaration of '${name2}' to '${name}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -1451,22 +1505,22 @@ Dart 3 will only support sound null safety, see https://dart.dev/null-safety""", // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConflictingModifiers = + templateConflictingModifiers = const Template( - "ConflictingModifiers", - problemMessageTemplate: - r"""Members can't be declared to be both '#string' and '#string2'.""", - correctionMessageTemplate: r"""Try removing one of the keywords.""", - withArguments: _withArgumentsConflictingModifiers, - ); + "ConflictingModifiers", + problemMessageTemplate: + r"""Members can't be declared to be both '#string' and '#string2'.""", + correctionMessageTemplate: r"""Try removing one of the keywords.""", + withArguments: _withArgumentsConflictingModifiers, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConflictingModifiers = + codeConflictingModifiers = const Code( - "ConflictingModifiers", - index: 59, - ); + "ConflictingModifiers", + index: 59, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictingModifiers(String string, String string2) { @@ -1477,26 +1531,29 @@ Message _withArgumentsConflictingModifiers(String string, String string2) { problemMessage: """Members can't be declared to be both '${string}' and '${string2}'.""", correctionMessage: """Try removing one of the keywords.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConflictsWithImplicitSetter = + templateConflictsWithImplicitSetter = const Template( - "ConflictsWithImplicitSetter", - problemMessageTemplate: - r"""Conflicts with the implicit setter of the field '#name'.""", - withArguments: _withArgumentsConflictsWithImplicitSetter, - ); + "ConflictsWithImplicitSetter", + problemMessageTemplate: + r"""Conflicts with the implicit setter of the field '#name'.""", + withArguments: _withArgumentsConflictsWithImplicitSetter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConflictsWithImplicitSetter = const Code( - "ConflictsWithImplicitSetter", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "ConflictsWithImplicitSetter", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictsWithImplicitSetter(String name) { @@ -1506,25 +1563,27 @@ Message _withArgumentsConflictsWithImplicitSetter(String name) { codeConflictsWithImplicitSetter, problemMessage: """Conflicts with the implicit setter of the field '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConflictsWithImplicitSetterCause = + templateConflictsWithImplicitSetterCause = const Template( - "ConflictsWithImplicitSetterCause", - problemMessageTemplate: r"""Field '#name' with the implicit setter.""", - withArguments: _withArgumentsConflictsWithImplicitSetterCause, - ); + "ConflictsWithImplicitSetterCause", + problemMessageTemplate: r"""Field '#name' with the implicit setter.""", + withArguments: _withArgumentsConflictsWithImplicitSetterCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConflictsWithImplicitSetterCause = const Code( - "ConflictsWithImplicitSetterCause", - severity: Severity.context, - ); + "ConflictsWithImplicitSetterCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictsWithImplicitSetterCause(String name) { @@ -1533,24 +1592,26 @@ Message _withArgumentsConflictsWithImplicitSetterCause(String name) { return new Message( codeConflictsWithImplicitSetterCause, problemMessage: """Field '${name}' with the implicit setter.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateConflictsWithSetter = const Template( - "ConflictsWithSetter", - problemMessageTemplate: r"""Conflicts with setter '#name'.""", - withArguments: _withArgumentsConflictsWithSetter, - ); + "ConflictsWithSetter", + problemMessageTemplate: r"""Conflicts with setter '#name'.""", + withArguments: _withArgumentsConflictsWithSetter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConflictsWithSetter = const Code( - "ConflictsWithSetter", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "ConflictsWithSetter", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictsWithSetter(String name) { @@ -1559,24 +1620,26 @@ Message _withArgumentsConflictsWithSetter(String name) { return new Message( codeConflictsWithSetter, problemMessage: """Conflicts with setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateConflictsWithSetterCause = const Template( - "ConflictsWithSetterCause", - problemMessageTemplate: r"""Conflicting setter '#name'.""", - withArguments: _withArgumentsConflictsWithSetterCause, - ); + "ConflictsWithSetterCause", + problemMessageTemplate: r"""Conflicting setter '#name'.""", + withArguments: _withArgumentsConflictsWithSetterCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConflictsWithSetterCause = const Code( - "ConflictsWithSetterCause", - severity: Severity.context, - ); + "ConflictsWithSetterCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictsWithSetterCause(String name) { @@ -1585,25 +1648,27 @@ Message _withArgumentsConflictsWithSetterCause(String name) { return new Message( codeConflictsWithSetterCause, problemMessage: """Conflicting setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConflictsWithTypeParameter = + templateConflictsWithTypeParameter = const Template( - "ConflictsWithTypeParameter", - problemMessageTemplate: r"""Conflicts with type variable '#name'.""", - withArguments: _withArgumentsConflictsWithTypeParameter, - ); + "ConflictsWithTypeParameter", + problemMessageTemplate: r"""Conflicts with type variable '#name'.""", + withArguments: _withArgumentsConflictsWithTypeParameter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConflictsWithTypeParameter = const Code( - "ConflictsWithTypeParameter", - analyzerCodes: ["CONFLICTING_TYPE_VARIABLE_AND_MEMBER"], - ); + "ConflictsWithTypeParameter", + analyzerCodes: ["CONFLICTING_TYPE_VARIABLE_AND_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConflictsWithTypeParameter(String name) { @@ -1612,7 +1677,9 @@ Message _withArgumentsConflictsWithTypeParameter(String name) { return new Message( codeConflictsWithTypeParameter, problemMessage: """Conflicts with type variable '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -1658,18 +1725,18 @@ const Code codeConstConstructorLateFinalFieldCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageConstConstructorLateFinalFieldCause = const MessageCode( - "ConstConstructorLateFinalFieldCause", - severity: Severity.context, - problemMessage: r"""This constructor is const.""", - ); + "ConstConstructorLateFinalFieldCause", + severity: Severity.context, + problemMessage: r"""This constructor is const.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstConstructorLateFinalFieldError = messageConstConstructorLateFinalFieldError; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageConstConstructorLateFinalFieldError = const MessageCode( +const MessageCode messageConstConstructorLateFinalFieldError = + const MessageCode( "ConstConstructorLateFinalFieldError", problemMessage: r"""Can't have a late final field in a class with a const constructor.""", @@ -1705,10 +1772,10 @@ const Code codeConstConstructorRedirectionToNonConst = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageConstConstructorRedirectionToNonConst = const MessageCode( - "ConstConstructorRedirectionToNonConst", - problemMessage: - r"""A constant constructor can't call a non-constant constructor.""", - ); + "ConstConstructorRedirectionToNonConst", + problemMessage: + r"""A constant constructor can't call a non-constant constructor.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstConstructorWithBody = messageConstConstructorWithBody; @@ -1755,9 +1822,8 @@ const MessageCode messageConstEvalContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalDeferredLibrary = const Template< - Message Function(String nameOKEmpty) ->( + templateConstEvalDeferredLibrary = + const Template( "ConstEvalDeferredLibrary", problemMessageTemplate: r"""'#nameOKEmpty' can't be used in a constant expression because it's marked as 'deferred' which means it isn't available until loaded.""", @@ -1770,11 +1836,11 @@ templateConstEvalDeferredLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalDeferredLibrary = const Code( - "ConstEvalDeferredLibrary", - analyzerCodes: [ - "INVALID_ANNOTATION_CONSTANT_VALUE_FROM_DEFERRED_LIBRARY", - ], - ); + "ConstEvalDeferredLibrary", + analyzerCodes: [ + "INVALID_ANNOTATION_CONSTANT_VALUE_FROM_DEFERRED_LIBRARY" + ], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalDeferredLibrary(String nameOKEmpty) { @@ -1786,22 +1852,25 @@ Message _withArgumentsConstEvalDeferredLibrary(String nameOKEmpty) { correctionMessage: """Try moving the constant from the deferred library, or removing 'deferred' from the import. """, - arguments: {'nameOKEmpty': nameOKEmpty}, + arguments: { + 'nameOKEmpty': nameOKEmpty, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateConstEvalError = const Template( - "ConstEvalError", - problemMessageTemplate: - r"""Error evaluating constant expression: #string""", - withArguments: _withArgumentsConstEvalError, - ); + "ConstEvalError", + problemMessageTemplate: r"""Error evaluating constant expression: #string""", + withArguments: _withArgumentsConstEvalError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalError = - const Code("ConstEvalError"); + const Code( + "ConstEvalError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalError(String string) { @@ -1809,7 +1878,9 @@ Message _withArgumentsConstEvalError(String string) { return new Message( codeConstEvalError, problemMessage: """Error evaluating constant expression: ${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -1857,31 +1928,32 @@ const MessageCode messageConstEvalFailedAssertion = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalFailedAssertionWithMessage = + templateConstEvalFailedAssertionWithMessage = const Template( - "ConstEvalFailedAssertionWithMessage", - problemMessageTemplate: - r"""This assertion failed with message: #stringOKEmpty""", - withArguments: _withArgumentsConstEvalFailedAssertionWithMessage, - ); + "ConstEvalFailedAssertionWithMessage", + problemMessageTemplate: + r"""This assertion failed with message: #stringOKEmpty""", + withArguments: _withArgumentsConstEvalFailedAssertionWithMessage, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalFailedAssertionWithMessage = + codeConstEvalFailedAssertionWithMessage = const Code( - "ConstEvalFailedAssertionWithMessage", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - ); + "ConstEvalFailedAssertionWithMessage", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalFailedAssertionWithMessage( - String stringOKEmpty, -) { + String stringOKEmpty) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; return new Message( codeConstEvalFailedAssertionWithMessage, problemMessage: """This assertion failed with message: ${stringOKEmpty}""", - arguments: {'stringOKEmpty': stringOKEmpty}, + arguments: { + 'stringOKEmpty': stringOKEmpty, + }, ); } @@ -1892,23 +1964,25 @@ const Code codeConstEvalFailedAssertionWithNonStringMessage = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageConstEvalFailedAssertionWithNonStringMessage = const MessageCode( - "ConstEvalFailedAssertionWithNonStringMessage", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - problemMessage: r"""This assertion failed with a non-String message.""", - ); + "ConstEvalFailedAssertionWithNonStringMessage", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], + problemMessage: r"""This assertion failed with a non-String message.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalGetterNotFound = + templateConstEvalGetterNotFound = const Template( - "ConstEvalGetterNotFound", - problemMessageTemplate: r"""Variable get not found: '#nameOKEmpty'""", - withArguments: _withArgumentsConstEvalGetterNotFound, - ); + "ConstEvalGetterNotFound", + problemMessageTemplate: r"""Variable get not found: '#nameOKEmpty'""", + withArguments: _withArgumentsConstEvalGetterNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalGetterNotFound = - const Code("ConstEvalGetterNotFound"); + const Code( + "ConstEvalGetterNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalGetterNotFound(String nameOKEmpty) { @@ -1916,15 +1990,16 @@ Message _withArgumentsConstEvalGetterNotFound(String nameOKEmpty) { return new Message( codeConstEvalGetterNotFound, problemMessage: """Variable get not found: '${nameOKEmpty}'""", - arguments: {'nameOKEmpty': nameOKEmpty}, + arguments: { + 'nameOKEmpty': nameOKEmpty, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidStaticInvocation = const Template< - Message Function(String nameOKEmpty) ->( + templateConstEvalInvalidStaticInvocation = + const Template( "ConstEvalInvalidStaticInvocation", problemMessageTemplate: r"""The invocation of '#nameOKEmpty' is not allowed in a constant expression.""", @@ -1933,11 +2008,11 @@ templateConstEvalInvalidStaticInvocation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidStaticInvocation = + codeConstEvalInvalidStaticInvocation = const Code( - "ConstEvalInvalidStaticInvocation", - analyzerCodes: ["CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE"], - ); + "ConstEvalInvalidStaticInvocation", + analyzerCodes: ["CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidStaticInvocation(String nameOKEmpty) { @@ -1946,15 +2021,16 @@ Message _withArgumentsConstEvalInvalidStaticInvocation(String nameOKEmpty) { codeConstEvalInvalidStaticInvocation, problemMessage: """The invocation of '${nameOKEmpty}' is not allowed in a constant expression.""", - arguments: {'nameOKEmpty': nameOKEmpty}, + arguments: { + 'nameOKEmpty': nameOKEmpty, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalNegativeShift = const Template< - Message Function(String string, String string2, String string3) ->( + templateConstEvalNegativeShift = const Template< + Message Function(String string, String string2, String string3)>( "ConstEvalNegativeShift", problemMessageTemplate: r"""Binary operator '#string' on '#string2' requires non-negative operand, but was '#string3'.""", @@ -1963,17 +2039,14 @@ templateConstEvalNegativeShift = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalNegativeShift = + codeConstEvalNegativeShift = const Code( - "ConstEvalNegativeShift", - ); + "ConstEvalNegativeShift", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalNegativeShift( - String string, - String string2, - String string3, -) { + String string, String string2, String string3) { if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; if (string3.isEmpty) throw 'No string provided'; @@ -1981,15 +2054,18 @@ Message _withArgumentsConstEvalNegativeShift( codeConstEvalNegativeShift, problemMessage: """Binary operator '${string}' on '${string2}' requires non-negative operand, but was '${string3}'.""", - arguments: {'string': string, 'string2': string2, 'string3': string3}, + arguments: { + 'string': string, + 'string2': string2, + 'string3': string3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalNonConstantVariableGet = const Template< - Message Function(String nameOKEmpty) ->( + templateConstEvalNonConstantVariableGet = + const Template( "ConstEvalNonConstantVariableGet", problemMessageTemplate: r"""The variable '#nameOKEmpty' is not a constant, only constant expressions are allowed.""", @@ -1998,11 +2074,11 @@ templateConstEvalNonConstantVariableGet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalNonConstantVariableGet = + codeConstEvalNonConstantVariableGet = const Code( - "ConstEvalNonConstantVariableGet", - analyzerCodes: ["NON_CONSTANT_VALUE_IN_INITIALIZER"], - ); + "ConstEvalNonConstantVariableGet", + analyzerCodes: ["NON_CONSTANT_VALUE_IN_INITIALIZER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalNonConstantVariableGet(String nameOKEmpty) { @@ -2011,7 +2087,9 @@ Message _withArgumentsConstEvalNonConstantVariableGet(String nameOKEmpty) { codeConstEvalNonConstantVariableGet, problemMessage: """The variable '${nameOKEmpty}' is not a constant, only constant expressions are allowed.""", - arguments: {'nameOKEmpty': nameOKEmpty}, + arguments: { + 'nameOKEmpty': nameOKEmpty, + }, ); } @@ -2067,9 +2145,8 @@ const MessageCode messageConstEvalStartingPoint = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalTruncateError = const Template< - Message Function(String string, String string2) ->( + templateConstEvalTruncateError = + const Template( "ConstEvalTruncateError", problemMessageTemplate: r"""Binary operator '#string ~/ #string2' results is Infinity or NaN.""", @@ -2078,10 +2155,10 @@ templateConstEvalTruncateError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalTruncateError = + codeConstEvalTruncateError = const Code( - "ConstEvalTruncateError", - ); + "ConstEvalTruncateError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalTruncateError(String string, String string2) { @@ -2091,7 +2168,10 @@ Message _withArgumentsConstEvalTruncateError(String string, String string2) { codeConstEvalTruncateError, problemMessage: """Binary operator '${string} ~/ ${string2}' results is Infinity or NaN.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -2106,19 +2186,19 @@ const MessageCode messageConstEvalUnevaluated = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalUnhandledCoreException = + templateConstEvalUnhandledCoreException = const Template( - "ConstEvalUnhandledCoreException", - problemMessageTemplate: r"""Unhandled core exception: #stringOKEmpty""", - withArguments: _withArgumentsConstEvalUnhandledCoreException, - ); + "ConstEvalUnhandledCoreException", + problemMessageTemplate: r"""Unhandled core exception: #stringOKEmpty""", + withArguments: _withArgumentsConstEvalUnhandledCoreException, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalUnhandledCoreException = + codeConstEvalUnhandledCoreException = const Code( - "ConstEvalUnhandledCoreException", - ); + "ConstEvalUnhandledCoreException", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalUnhandledCoreException(String stringOKEmpty) { @@ -2126,15 +2206,16 @@ Message _withArgumentsConstEvalUnhandledCoreException(String stringOKEmpty) { return new Message( codeConstEvalUnhandledCoreException, problemMessage: """Unhandled core exception: ${stringOKEmpty}""", - arguments: {'stringOKEmpty': stringOKEmpty}, + arguments: { + 'stringOKEmpty': stringOKEmpty, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalZeroDivisor = const Template< - Message Function(String string, String string2) ->( + templateConstEvalZeroDivisor = + const Template( "ConstEvalZeroDivisor", problemMessageTemplate: r"""Binary operator '#string' on '#string2' requires non-zero divisor, but divisor was '0'.""", @@ -2143,11 +2224,11 @@ templateConstEvalZeroDivisor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalZeroDivisor = + codeConstEvalZeroDivisor = const Code( - "ConstEvalZeroDivisor", - analyzerCodes: ["CONST_EVAL_THROWS_IDBZE"], - ); + "ConstEvalZeroDivisor", + analyzerCodes: ["CONST_EVAL_THROWS_IDBZE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalZeroDivisor(String string, String string2) { @@ -2157,7 +2238,10 @@ Message _withArgumentsConstEvalZeroDivisor(String string, String string2) { codeConstEvalZeroDivisor, problemMessage: """Binary operator '${string}' on '${string2}' requires non-zero divisor, but divisor was '0'.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -2190,22 +2274,22 @@ const MessageCode messageConstFactoryRedirectionToNonConst = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstFieldWithoutInitializer = + templateConstFieldWithoutInitializer = const Template( - "ConstFieldWithoutInitializer", - problemMessageTemplate: - r"""The const variable '#name' must be initialized.""", - correctionMessageTemplate: - r"""Try adding an initializer ('= expression') to the declaration.""", - withArguments: _withArgumentsConstFieldWithoutInitializer, - ); + "ConstFieldWithoutInitializer", + problemMessageTemplate: + r"""The const variable '#name' must be initialized.""", + correctionMessageTemplate: + r"""Try adding an initializer ('= expression') to the declaration.""", + withArguments: _withArgumentsConstFieldWithoutInitializer, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstFieldWithoutInitializer = const Code( - "ConstFieldWithoutInitializer", - analyzerCodes: ["CONST_NOT_INITIALIZED"], - ); + "ConstFieldWithoutInitializer", + analyzerCodes: ["CONST_NOT_INITIALIZED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstFieldWithoutInitializer(String name) { @@ -2216,7 +2300,9 @@ Message _withArgumentsConstFieldWithoutInitializer(String name) { problemMessage: """The const variable '${name}' must be initialized.""", correctionMessage: """Try adding an initializer ('= expression') to the declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2246,20 +2332,19 @@ const MessageCode messageConstMethod = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstructorConflictsWithMember = + templateConstructorConflictsWithMember = const Template( - "ConstructorConflictsWithMember", - problemMessageTemplate: - r"""The constructor conflicts with member '#name'.""", - withArguments: _withArgumentsConstructorConflictsWithMember, - ); + "ConstructorConflictsWithMember", + problemMessageTemplate: r"""The constructor conflicts with member '#name'.""", + withArguments: _withArgumentsConstructorConflictsWithMember, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstructorConflictsWithMember = const Code( - "ConstructorConflictsWithMember", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "ConstructorConflictsWithMember", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorConflictsWithMember(String name) { @@ -2268,26 +2353,28 @@ Message _withArgumentsConstructorConflictsWithMember(String name) { return new Message( codeConstructorConflictsWithMember, problemMessage: """The constructor conflicts with member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstructorConflictsWithMemberCause = + templateConstructorConflictsWithMemberCause = const Template( - "ConstructorConflictsWithMemberCause", - problemMessageTemplate: r"""Conflicting member '#name'.""", - withArguments: _withArgumentsConstructorConflictsWithMemberCause, - ); + "ConstructorConflictsWithMemberCause", + problemMessageTemplate: r"""Conflicting member '#name'.""", + withArguments: _withArgumentsConstructorConflictsWithMemberCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstructorConflictsWithMemberCause = + codeConstructorConflictsWithMemberCause = const Code( - "ConstructorConflictsWithMemberCause", - severity: Severity.context, - ); + "ConstructorConflictsWithMemberCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorConflictsWithMemberCause(String name) { @@ -2296,7 +2383,9 @@ Message _withArgumentsConstructorConflictsWithMemberCause(String name) { return new Message( codeConstructorConflictsWithMemberCause, problemMessage: """Conflicting member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2314,51 +2403,52 @@ const MessageCode messageConstructorCyclic = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstructorInitializeSameInstanceVariableSeveralTimes = + templateConstructorInitializeSameInstanceVariableSeveralTimes = const Template( - "ConstructorInitializeSameInstanceVariableSeveralTimes", - problemMessageTemplate: - r"""'#name' was already initialized by this constructor.""", - withArguments: - _withArgumentsConstructorInitializeSameInstanceVariableSeveralTimes, - ); + "ConstructorInitializeSameInstanceVariableSeveralTimes", + problemMessageTemplate: + r"""'#name' was already initialized by this constructor.""", + withArguments: + _withArgumentsConstructorInitializeSameInstanceVariableSeveralTimes, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstructorInitializeSameInstanceVariableSeveralTimes = + codeConstructorInitializeSameInstanceVariableSeveralTimes = const Code( - "ConstructorInitializeSameInstanceVariableSeveralTimes", - analyzerCodes: ["FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS"], - ); + "ConstructorInitializeSameInstanceVariableSeveralTimes", + analyzerCodes: ["FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorInitializeSameInstanceVariableSeveralTimes( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( codeConstructorInitializeSameInstanceVariableSeveralTimes, problemMessage: """'${name}' was already initialized by this constructor.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateConstructorNotFound = const Template( - "ConstructorNotFound", - problemMessageTemplate: r"""Couldn't find constructor '#name'.""", - withArguments: _withArgumentsConstructorNotFound, - ); + "ConstructorNotFound", + problemMessageTemplate: r"""Couldn't find constructor '#name'.""", + withArguments: _withArgumentsConstructorNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstructorNotFound = const Code( - "ConstructorNotFound", - analyzerCodes: ["CONSTRUCTOR_NOT_FOUND"], - ); + "ConstructorNotFound", + analyzerCodes: ["CONSTRUCTOR_NOT_FOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorNotFound(String name) { @@ -2367,7 +2457,9 @@ Message _withArgumentsConstructorNotFound(String name) { return new Message( codeConstructorNotFound, problemMessage: """Couldn't find constructor '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2384,9 +2476,8 @@ const MessageCode messageConstructorNotSync = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstructorShouldBeListedAsCallableInDynamicInterface = const Template< - Message Function(String name) ->( + templateConstructorShouldBeListedAsCallableInDynamicInterface = + const Template( "ConstructorShouldBeListedAsCallableInDynamicInterface", problemMessageTemplate: r"""Cannot invoke constructor '#name' from a dynamic module.""", @@ -2398,15 +2489,14 @@ templateConstructorShouldBeListedAsCallableInDynamicInterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstructorShouldBeListedAsCallableInDynamicInterface = + codeConstructorShouldBeListedAsCallableInDynamicInterface = const Code( - "ConstructorShouldBeListedAsCallableInDynamicInterface", - ); + "ConstructorShouldBeListedAsCallableInDynamicInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorShouldBeListedAsCallableInDynamicInterface( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -2415,7 +2505,9 @@ Message _withArgumentsConstructorShouldBeListedAsCallableInDynamicInterface( """Cannot invoke constructor '${name}' from a dynamic module.""", correctionMessage: """Try removing the call or update the dynamic interface to list constructor '${name}' as callable.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2424,8 +2516,8 @@ const Code codeConstructorTearOffWithTypeArguments = messageConstructorTearOffWithTypeArguments; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageConstructorTearOffWithTypeArguments = const MessageCode( +const MessageCode messageConstructorTearOffWithTypeArguments = + const MessageCode( "ConstructorTearOffWithTypeArguments", problemMessage: r"""A constructor tear-off can't have type arguments after the constructor name.""", @@ -2484,20 +2576,19 @@ const MessageCode messageConstructorWithWrongName = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstructorWithWrongNameContext = + templateConstructorWithWrongNameContext = const Template( - "ConstructorWithWrongNameContext", - problemMessageTemplate: - r"""The name of the enclosing class is '#name'.""", - withArguments: _withArgumentsConstructorWithWrongNameContext, - ); + "ConstructorWithWrongNameContext", + problemMessageTemplate: r"""The name of the enclosing class is '#name'.""", + withArguments: _withArgumentsConstructorWithWrongNameContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstructorWithWrongNameContext = const Code( - "ConstructorWithWrongNameContext", - severity: Severity.context, - ); + "ConstructorWithWrongNameContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstructorWithWrongNameContext(String name) { @@ -2506,7 +2597,9 @@ Message _withArgumentsConstructorWithWrongNameContext(String name) { return new Message( codeConstructorWithWrongNameContext, problemMessage: """The name of the enclosing class is '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2535,20 +2628,20 @@ const MessageCode messageContinueOutsideOfLoop = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateContinueTargetOutsideFunction = + templateContinueTargetOutsideFunction = const Template( - "ContinueTargetOutsideFunction", - problemMessageTemplate: - r"""Can't continue at '#name' in a different function.""", - withArguments: _withArgumentsContinueTargetOutsideFunction, - ); + "ContinueTargetOutsideFunction", + problemMessageTemplate: + r"""Can't continue at '#name' in a different function.""", + withArguments: _withArgumentsContinueTargetOutsideFunction, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeContinueTargetOutsideFunction = const Code( - "ContinueTargetOutsideFunction", - analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], - ); + "ContinueTargetOutsideFunction", + analyzerCodes: ["LABEL_IN_OUTER_SCOPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsContinueTargetOutsideFunction(String name) { @@ -2557,7 +2650,9 @@ Message _withArgumentsContinueTargetOutsideFunction(String name) { return new Message( codeContinueTargetOutsideFunction, problemMessage: """Can't continue at '${name}' in a different function.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2577,20 +2672,20 @@ const MessageCode messageContinueWithoutLabelInCase = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCouldNotParseUri = + templateCouldNotParseUri = const Template( - "CouldNotParseUri", - problemMessageTemplate: r"""Couldn't parse URI '#string': + "CouldNotParseUri", + problemMessageTemplate: r"""Couldn't parse URI '#string': #string2.""", - withArguments: _withArgumentsCouldNotParseUri, - ); + withArguments: _withArgumentsCouldNotParseUri, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCouldNotParseUri = + codeCouldNotParseUri = const Code( - "CouldNotParseUri", - ); + "CouldNotParseUri", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCouldNotParseUri(String string, String string2) { @@ -2600,7 +2695,10 @@ Message _withArgumentsCouldNotParseUri(String string, String string2) { codeCouldNotParseUri, problemMessage: """Couldn't parse URI '${string}': ${string2}.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -2631,9 +2729,8 @@ const MessageCode messageCovariantMember = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCycleInTypeParameters = const Template< - Message Function(String name, String string) ->( + templateCycleInTypeParameters = + const Template( "CycleInTypeParameters", problemMessageTemplate: r"""Type '#name' is a bound of itself via '#string'.""", @@ -2644,11 +2741,11 @@ templateCycleInTypeParameters = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCycleInTypeParameters = + codeCycleInTypeParameters = const Code( - "CycleInTypeParameters", - analyzerCodes: ["TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND"], - ); + "CycleInTypeParameters", + analyzerCodes: ["TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCycleInTypeParameters(String name, String string) { @@ -2660,24 +2757,27 @@ Message _withArgumentsCycleInTypeParameters(String name, String string) { problemMessage: """Type '${name}' is a bound of itself via '${string}'.""", correctionMessage: """Try breaking the cycle by removing at least one of the 'extends' clauses in the cycle.""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateCyclicClassHierarchy = const Template( - "CyclicClassHierarchy", - problemMessageTemplate: r"""'#name' is a supertype of itself.""", - withArguments: _withArgumentsCyclicClassHierarchy, - ); + "CyclicClassHierarchy", + problemMessageTemplate: r"""'#name' is a supertype of itself.""", + withArguments: _withArgumentsCyclicClassHierarchy, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCyclicClassHierarchy = const Code( - "CyclicClassHierarchy", - analyzerCodes: ["RECURSIVE_INTERFACE_INHERITANCE"], - ); + "CyclicClassHierarchy", + analyzerCodes: ["RECURSIVE_INTERFACE_INHERITANCE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCyclicClassHierarchy(String name) { @@ -2686,26 +2786,28 @@ Message _withArgumentsCyclicClassHierarchy(String name) { return new Message( codeCyclicClassHierarchy, problemMessage: """'${name}' is a supertype of itself.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateCyclicRedirectingFactoryConstructors = + templateCyclicRedirectingFactoryConstructors = const Template( - "CyclicRedirectingFactoryConstructors", - problemMessageTemplate: r"""Cyclic definition of factory '#name'.""", - withArguments: _withArgumentsCyclicRedirectingFactoryConstructors, - ); + "CyclicRedirectingFactoryConstructors", + problemMessageTemplate: r"""Cyclic definition of factory '#name'.""", + withArguments: _withArgumentsCyclicRedirectingFactoryConstructors, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeCyclicRedirectingFactoryConstructors = + codeCyclicRedirectingFactoryConstructors = const Code( - "CyclicRedirectingFactoryConstructors", - analyzerCodes: ["RECURSIVE_FACTORY_REDIRECT"], - ); + "CyclicRedirectingFactoryConstructors", + analyzerCodes: ["RECURSIVE_FACTORY_REDIRECT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCyclicRedirectingFactoryConstructors(String name) { @@ -2714,7 +2816,9 @@ Message _withArgumentsCyclicRedirectingFactoryConstructors(String name) { return new Message( codeCyclicRedirectingFactoryConstructors, problemMessage: """Cyclic definition of factory '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2732,18 +2836,17 @@ const MessageCode messageCyclicRepresentationDependency = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateCyclicTypedef = const Template( - "CyclicTypedef", - problemMessageTemplate: - r"""The typedef '#name' has a reference to itself.""", - withArguments: _withArgumentsCyclicTypedef, - ); + "CyclicTypedef", + problemMessageTemplate: r"""The typedef '#name' has a reference to itself.""", + withArguments: _withArgumentsCyclicTypedef, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeCyclicTypedef = const Code( - "CyclicTypedef", - analyzerCodes: ["TYPE_ALIAS_CANNOT_REFERENCE_ITSELF"], - ); + "CyclicTypedef", + analyzerCodes: ["TYPE_ALIAS_CANNOT_REFERENCE_ITSELF"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsCyclicTypedef(String name) { @@ -2752,7 +2855,9 @@ Message _withArgumentsCyclicTypedef(String name) { return new Message( codeCyclicTypedef, problemMessage: """The typedef '${name}' has a reference to itself.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2768,20 +2873,20 @@ const MessageCode messageDartFfiLibraryInDart2Wasm = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDebugTrace = + templateDebugTrace = const Template( - "DebugTrace", - problemMessageTemplate: r"""Fatal '#name' at: + "DebugTrace", + problemMessageTemplate: r"""Fatal '#name' at: #string""", - withArguments: _withArgumentsDebugTrace, - ); + withArguments: _withArgumentsDebugTrace, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDebugTrace = const Code( - "DebugTrace", - severity: Severity.ignored, - ); + "DebugTrace", + severity: Severity.ignored, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDebugTrace(String name, String string) { @@ -2792,26 +2897,28 @@ Message _withArgumentsDebugTrace(String name, String string) { codeDebugTrace, problemMessage: """Fatal '${name}' at: ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDeclarationConflictsWithSetter = + templateDeclarationConflictsWithSetter = const Template( - "DeclarationConflictsWithSetter", - problemMessageTemplate: - r"""The declaration conflicts with setter '#name'.""", - withArguments: _withArgumentsDeclarationConflictsWithSetter, - ); + "DeclarationConflictsWithSetter", + problemMessageTemplate: r"""The declaration conflicts with setter '#name'.""", + withArguments: _withArgumentsDeclarationConflictsWithSetter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeclarationConflictsWithSetter = const Code( - "DeclarationConflictsWithSetter", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "DeclarationConflictsWithSetter", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeclarationConflictsWithSetter(String name) { @@ -2820,26 +2927,28 @@ Message _withArgumentsDeclarationConflictsWithSetter(String name) { return new Message( codeDeclarationConflictsWithSetter, problemMessage: """The declaration conflicts with setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDeclarationConflictsWithSetterCause = + templateDeclarationConflictsWithSetterCause = const Template( - "DeclarationConflictsWithSetterCause", - problemMessageTemplate: r"""Conflicting setter '#name'.""", - withArguments: _withArgumentsDeclarationConflictsWithSetterCause, - ); + "DeclarationConflictsWithSetterCause", + problemMessageTemplate: r"""Conflicting setter '#name'.""", + withArguments: _withArgumentsDeclarationConflictsWithSetterCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDeclarationConflictsWithSetterCause = + codeDeclarationConflictsWithSetterCause = const Code( - "DeclarationConflictsWithSetterCause", - severity: Severity.context, - ); + "DeclarationConflictsWithSetterCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeclarationConflictsWithSetterCause(String name) { @@ -2848,7 +2957,9 @@ Message _withArgumentsDeclarationConflictsWithSetterCause(String name) { return new Message( codeDeclarationConflictsWithSetterCause, problemMessage: """Conflicting setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2859,11 +2970,11 @@ const Code codeDeclaredMemberConflictsWithInheritedMember = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDeclaredMemberConflictsWithInheritedMember = const MessageCode( - "DeclaredMemberConflictsWithInheritedMember", - analyzerCodes: ["DECLARED_MEMBER_CONFLICTS_WITH_INHERITED"], - problemMessage: - r"""Can't declare a member that conflicts with an inherited one.""", - ); + "DeclaredMemberConflictsWithInheritedMember", + analyzerCodes: ["DECLARED_MEMBER_CONFLICTS_WITH_INHERITED"], + problemMessage: + r"""Can't declare a member that conflicts with an inherited one.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeclaredMemberConflictsWithInheritedMemberCause = @@ -2872,10 +2983,10 @@ const Code codeDeclaredMemberConflictsWithInheritedMemberCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDeclaredMemberConflictsWithInheritedMemberCause = const MessageCode( - "DeclaredMemberConflictsWithInheritedMemberCause", - severity: Severity.context, - problemMessage: r"""This is the inherited member.""", - ); + "DeclaredMemberConflictsWithInheritedMemberCause", + severity: Severity.context, + problemMessage: r"""This is the inherited member.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeclaredMemberConflictsWithInheritedMembersCause = @@ -2884,10 +2995,10 @@ const Code codeDeclaredMemberConflictsWithInheritedMembersCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDeclaredMemberConflictsWithInheritedMembersCause = const MessageCode( - "DeclaredMemberConflictsWithInheritedMembersCause", - severity: Severity.context, - problemMessage: r"""This is one of the inherited members.""", - ); + "DeclaredMemberConflictsWithInheritedMembersCause", + severity: Severity.context, + problemMessage: r"""This is one of the inherited members.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeclaredMemberConflictsWithOverriddenMembersCause = @@ -2896,10 +3007,10 @@ const Code codeDeclaredMemberConflictsWithOverriddenMembersCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDeclaredMemberConflictsWithOverriddenMembersCause = const MessageCode( - "DeclaredMemberConflictsWithOverriddenMembersCause", - severity: Severity.context, - problemMessage: r"""This is one of the overridden members.""", - ); + "DeclaredMemberConflictsWithOverriddenMembersCause", + severity: Severity.context, + problemMessage: r"""This is one of the overridden members.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDefaultInSwitchExpression = @@ -2915,9 +3026,8 @@ const MessageCode messageDefaultInSwitchExpression = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDefaultValueInRedirectingFactoryConstructor = const Template< - Message Function(String name) ->( + templateDefaultValueInRedirectingFactoryConstructor = + const Template( "DefaultValueInRedirectingFactoryConstructor", problemMessageTemplate: r"""Can't have a default value here because any default values of '#name' would be used instead.""", @@ -2927,13 +3037,11 @@ templateDefaultValueInRedirectingFactoryConstructor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDefaultValueInRedirectingFactoryConstructor = + codeDefaultValueInRedirectingFactoryConstructor = const Code( - "DefaultValueInRedirectingFactoryConstructor", - analyzerCodes: [ - "DEFAULT_VALUE_IN_REDIRECTING_FACTORY_CONSTRUCTOR", - ], - ); + "DefaultValueInRedirectingFactoryConstructor", + analyzerCodes: ["DEFAULT_VALUE_IN_REDIRECTING_FACTORY_CONSTRUCTOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDefaultValueInRedirectingFactoryConstructor(String name) { @@ -2944,7 +3052,9 @@ Message _withArgumentsDefaultValueInRedirectingFactoryConstructor(String name) { problemMessage: """Can't have a default value here because any default values of '${name}' would be used instead.""", correctionMessage: """Try removing the default value.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -2961,8 +3071,8 @@ const MessageCode messageDeferredAfterPrefix = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateDeferredExtensionImport = const Template( +const Template templateDeferredExtensionImport = + const Template( "DeferredExtensionImport", problemMessageTemplate: r"""Extension '#name' cannot be imported through a deferred import.""", @@ -2972,7 +3082,9 @@ templateDeferredExtensionImport = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeferredExtensionImport = - const Code("DeferredExtensionImport"); + const Code( + "DeferredExtensionImport", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeferredExtensionImport(String name) { @@ -2983,15 +3095,15 @@ Message _withArgumentsDeferredExtensionImport(String name) { problemMessage: """Extension '${name}' cannot be imported through a deferred import.""", correctionMessage: """Try adding the `hide ${name}` to the import.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateDeferredPrefixDuplicated = const Template< - Message Function(String name) ->( +const Template templateDeferredPrefixDuplicated = + const Template( "DeferredPrefixDuplicated", problemMessageTemplate: r"""Can't use the name '#name' for a deferred library, as the name is used elsewhere.""", @@ -3001,9 +3113,9 @@ templateDeferredPrefixDuplicated = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeferredPrefixDuplicated = const Code( - "DeferredPrefixDuplicated", - analyzerCodes: ["SHARED_DEFERRED_PREFIX"], - ); + "DeferredPrefixDuplicated", + analyzerCodes: ["SHARED_DEFERRED_PREFIX"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeferredPrefixDuplicated(String name) { @@ -3013,25 +3125,27 @@ Message _withArgumentsDeferredPrefixDuplicated(String name) { codeDeferredPrefixDuplicated, problemMessage: """Can't use the name '${name}' for a deferred library, as the name is used elsewhere.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDeferredPrefixDuplicatedCause = + templateDeferredPrefixDuplicatedCause = const Template( - "DeferredPrefixDuplicatedCause", - problemMessageTemplate: r"""'#name' is used here.""", - withArguments: _withArgumentsDeferredPrefixDuplicatedCause, - ); + "DeferredPrefixDuplicatedCause", + problemMessageTemplate: r"""'#name' is used here.""", + withArguments: _withArgumentsDeferredPrefixDuplicatedCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDeferredPrefixDuplicatedCause = const Code( - "DeferredPrefixDuplicatedCause", - severity: Severity.context, - ); + "DeferredPrefixDuplicatedCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeferredPrefixDuplicatedCause(String name) { @@ -3040,17 +3154,17 @@ Message _withArgumentsDeferredPrefixDuplicatedCause(String name) { return new Message( codeDeferredPrefixDuplicatedCause, problemMessage: """'${name}' is used here.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -templateDillOutlineSummary = const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->( + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> templateDillOutlineSummary = const Template< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( "DillOutlineSummary", problemMessageTemplate: r"""Indexed #count libraries (#count2 bytes) in #num1%.3ms, that is, @@ -3061,20 +3175,15 @@ templateDillOutlineSummary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -codeDillOutlineSummary = const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->("DillOutlineSummary"); + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> codeDillOutlineSummary = const Code< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( + "DillOutlineSummary", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDillOutlineSummary( - int count, - int count2, - num _num1, - num _num2, - num _num3, -) { + int count, int count2, num _num1, num _num2, num _num3) { String num1 = _num1.toStringAsFixed(3); String num2 = _num2.toStringAsFixed(3).padLeft(12); String num3 = _num3.toStringAsFixed(3).padLeft(12); @@ -3096,9 +3205,8 @@ ${num3} ms/libraries.""", // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDirectCycleInTypeParameters = const Template< - Message Function(String name) ->( + templateDirectCycleInTypeParameters = + const Template( "DirectCycleInTypeParameters", problemMessageTemplate: r"""Type '#name' can't use itself as a bound.""", correctionMessageTemplate: @@ -3109,9 +3217,9 @@ templateDirectCycleInTypeParameters = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDirectCycleInTypeParameters = const Code( - "DirectCycleInTypeParameters", - analyzerCodes: ["TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND"], - ); + "DirectCycleInTypeParameters", + analyzerCodes: ["TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDirectCycleInTypeParameters(String name) { @@ -3122,7 +3230,9 @@ Message _withArgumentsDirectCycleInTypeParameters(String name) { problemMessage: """Type '${name}' can't use itself as a bound.""", correctionMessage: """Try breaking the cycle by removing at least one of the 'extends' clauses in the cycle.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3152,22 +3262,22 @@ const MessageCode messageDuplicateDeferred = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicateLabelInSwitchStatement = + templateDuplicateLabelInSwitchStatement = const Template( - "DuplicateLabelInSwitchStatement", - problemMessageTemplate: - r"""The label '#name' was already used in this switch statement.""", - correctionMessageTemplate: - r"""Try choosing a different name for this label.""", - withArguments: _withArgumentsDuplicateLabelInSwitchStatement, - ); + "DuplicateLabelInSwitchStatement", + problemMessageTemplate: + r"""The label '#name' was already used in this switch statement.""", + correctionMessageTemplate: + r"""Try choosing a different name for this label.""", + withArguments: _withArgumentsDuplicateLabelInSwitchStatement, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicateLabelInSwitchStatement = const Code( - "DuplicateLabelInSwitchStatement", - index: 72, - ); + "DuplicateLabelInSwitchStatement", + index: 72, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicateLabelInSwitchStatement(String name) { @@ -3178,28 +3288,30 @@ Message _withArgumentsDuplicateLabelInSwitchStatement(String name) { problemMessage: """The label '${name}' was already used in this switch statement.""", correctionMessage: """Try choosing a different name for this label.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatePatternAssignmentVariable = + templateDuplicatePatternAssignmentVariable = const Template( - "DuplicatePatternAssignmentVariable", - problemMessageTemplate: - r"""The variable '#name' is already assigned in this pattern.""", - correctionMessageTemplate: r"""Try renaming the variable.""", - withArguments: _withArgumentsDuplicatePatternAssignmentVariable, - ); + "DuplicatePatternAssignmentVariable", + problemMessageTemplate: + r"""The variable '#name' is already assigned in this pattern.""", + correctionMessageTemplate: r"""Try renaming the variable.""", + withArguments: _withArgumentsDuplicatePatternAssignmentVariable, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatePatternAssignmentVariable = + codeDuplicatePatternAssignmentVariable = const Code( - "DuplicatePatternAssignmentVariable", - analyzerCodes: ["DUPLICATE_PATTERN_ASSIGNMENT_VARIABLE"], - ); + "DuplicatePatternAssignmentVariable", + analyzerCodes: ["DUPLICATE_PATTERN_ASSIGNMENT_VARIABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatePatternAssignmentVariable(String name) { @@ -3210,7 +3322,9 @@ Message _withArgumentsDuplicatePatternAssignmentVariable(String name) { problemMessage: """The variable '${name}' is already assigned in this pattern.""", correctionMessage: """Try renaming the variable.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3221,10 +3335,10 @@ const Code codeDuplicatePatternAssignmentVariableContext = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDuplicatePatternAssignmentVariableContext = const MessageCode( - "DuplicatePatternAssignmentVariableContext", - severity: Severity.context, - problemMessage: r"""The first assigned variable pattern.""", - ); + "DuplicatePatternAssignmentVariableContext", + severity: Severity.context, + problemMessage: r"""The first assigned variable pattern.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatePrefix = messageDuplicatePrefix; @@ -3240,21 +3354,21 @@ const MessageCode messageDuplicatePrefix = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicateRecordPatternField = + templateDuplicateRecordPatternField = const Template( - "DuplicateRecordPatternField", - problemMessageTemplate: - r"""The field '#name' is already matched in this pattern.""", - correctionMessageTemplate: r"""Try removing the duplicate field.""", - withArguments: _withArgumentsDuplicateRecordPatternField, - ); + "DuplicateRecordPatternField", + problemMessageTemplate: + r"""The field '#name' is already matched in this pattern.""", + correctionMessageTemplate: r"""Try removing the duplicate field.""", + withArguments: _withArgumentsDuplicateRecordPatternField, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicateRecordPatternField = const Code( - "DuplicateRecordPatternField", - analyzerCodes: ["DUPLICATE_RECORD_PATTERN_FIELD"], - ); + "DuplicateRecordPatternField", + analyzerCodes: ["DUPLICATE_RECORD_PATTERN_FIELD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicateRecordPatternField(String name) { @@ -3265,7 +3379,9 @@ Message _withArgumentsDuplicateRecordPatternField(String name) { problemMessage: """The field '${name}' is already matched in this pattern.""", correctionMessage: """Try removing the duplicate field.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3300,25 +3416,25 @@ const Code codeDuplicateRestElementInPatternContext = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDuplicateRestElementInPatternContext = const MessageCode( - "DuplicateRestElementInPatternContext", - severity: Severity.context, - problemMessage: r"""The first rest element.""", - ); + "DuplicateRestElementInPatternContext", + severity: Severity.context, + problemMessage: r"""The first rest element.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateDuplicatedDeclaration = const Template( - "DuplicatedDeclaration", - problemMessageTemplate: r"""'#name' is already declared in this scope.""", - withArguments: _withArgumentsDuplicatedDeclaration, - ); + "DuplicatedDeclaration", + problemMessageTemplate: r"""'#name' is already declared in this scope.""", + withArguments: _withArgumentsDuplicatedDeclaration, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedDeclaration = const Code( - "DuplicatedDeclaration", - analyzerCodes: ["DUPLICATE_DEFINITION"], - ); + "DuplicatedDeclaration", + analyzerCodes: ["DUPLICATE_DEFINITION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedDeclaration(String name) { @@ -3327,25 +3443,27 @@ Message _withArgumentsDuplicatedDeclaration(String name) { return new Message( codeDuplicatedDeclaration, problemMessage: """'${name}' is already declared in this scope.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedDeclarationCause = + templateDuplicatedDeclarationCause = const Template( - "DuplicatedDeclarationCause", - problemMessageTemplate: r"""Previous declaration of '#name'.""", - withArguments: _withArgumentsDuplicatedDeclarationCause, - ); + "DuplicatedDeclarationCause", + problemMessageTemplate: r"""Previous declaration of '#name'.""", + withArguments: _withArgumentsDuplicatedDeclarationCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedDeclarationCause = const Code( - "DuplicatedDeclarationCause", - severity: Severity.context, - ); + "DuplicatedDeclarationCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedDeclarationCause(String name) { @@ -3354,27 +3472,29 @@ Message _withArgumentsDuplicatedDeclarationCause(String name) { return new Message( codeDuplicatedDeclarationCause, problemMessage: """Previous declaration of '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedDeclarationSyntheticCause = + templateDuplicatedDeclarationSyntheticCause = const Template( - "DuplicatedDeclarationSyntheticCause", - problemMessageTemplate: - r"""Previous declaration of '#name' is implied by this definition.""", - withArguments: _withArgumentsDuplicatedDeclarationSyntheticCause, - ); + "DuplicatedDeclarationSyntheticCause", + problemMessageTemplate: + r"""Previous declaration of '#name' is implied by this definition.""", + withArguments: _withArgumentsDuplicatedDeclarationSyntheticCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatedDeclarationSyntheticCause = + codeDuplicatedDeclarationSyntheticCause = const Code( - "DuplicatedDeclarationSyntheticCause", - severity: Severity.context, - ); + "DuplicatedDeclarationSyntheticCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedDeclarationSyntheticCause(String name) { @@ -3384,22 +3504,26 @@ Message _withArgumentsDuplicatedDeclarationSyntheticCause(String name) { codeDuplicatedDeclarationSyntheticCause, problemMessage: """Previous declaration of '${name}' is implied by this definition.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateDuplicatedDeclarationUse = const Template( - "DuplicatedDeclarationUse", - problemMessageTemplate: - r"""Can't use '#name' because it is declared more than once.""", - withArguments: _withArgumentsDuplicatedDeclarationUse, - ); + "DuplicatedDeclarationUse", + problemMessageTemplate: + r"""Can't use '#name' because it is declared more than once.""", + withArguments: _withArgumentsDuplicatedDeclarationUse, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedDeclarationUse = - const Code("DuplicatedDeclarationUse"); + const Code( + "DuplicatedDeclarationUse", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedDeclarationUse(String name) { @@ -3409,27 +3533,29 @@ Message _withArgumentsDuplicatedDeclarationUse(String name) { codeDuplicatedDeclarationUse, problemMessage: """Can't use '${name}' because it is declared more than once.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedExport = + templateDuplicatedExport = const Template( - "DuplicatedExport", - problemMessageTemplate: - r"""'#name' is exported from both '#uri' and '#uri2'.""", - withArguments: _withArgumentsDuplicatedExport, - ); + "DuplicatedExport", + problemMessageTemplate: + r"""'#name' is exported from both '#uri' and '#uri2'.""", + withArguments: _withArgumentsDuplicatedExport, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatedExport = + codeDuplicatedExport = const Code( - "DuplicatedExport", - analyzerCodes: ["AMBIGUOUS_EXPORT"], - ); + "DuplicatedExport", + analyzerCodes: ["AMBIGUOUS_EXPORT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedExport(String name, Uri uri_, Uri uri2_) { @@ -3441,27 +3567,31 @@ Message _withArgumentsDuplicatedExport(String name, Uri uri_, Uri uri2_) { codeDuplicatedExport, problemMessage: """'${name}' is exported from both '${uri}' and '${uri2}'.""", - arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}, + arguments: { + 'name': name, + 'uri': uri_, + 'uri2': uri2_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedImport = + templateDuplicatedImport = const Template( - "DuplicatedImport", - problemMessageTemplate: - r"""'#name' is imported from both '#uri' and '#uri2'.""", - withArguments: _withArgumentsDuplicatedImport, - ); + "DuplicatedImport", + problemMessageTemplate: + r"""'#name' is imported from both '#uri' and '#uri2'.""", + withArguments: _withArgumentsDuplicatedImport, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatedImport = + codeDuplicatedImport = const Code( - "DuplicatedImport", - analyzerCodes: ["AMBIGUOUS_IMPORT"], - ); + "DuplicatedImport", + analyzerCodes: ["AMBIGUOUS_IMPORT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedImport(String name, Uri uri_, Uri uri2_) { @@ -3473,24 +3603,30 @@ Message _withArgumentsDuplicatedImport(String name, Uri uri_, Uri uri2_) { codeDuplicatedImport, problemMessage: """'${name}' is imported from both '${uri}' and '${uri2}'.""", - arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}, + arguments: { + 'name': name, + 'uri': uri_, + 'uri2': uri2_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateDuplicatedModifier = const Template( - "DuplicatedModifier", - problemMessageTemplate: - r"""The modifier '#lexeme' was already specified.""", - correctionMessageTemplate: - r"""Try removing all but one occurrence of the modifier.""", - withArguments: _withArgumentsDuplicatedModifier, - ); + "DuplicatedModifier", + problemMessageTemplate: r"""The modifier '#lexeme' was already specified.""", + correctionMessageTemplate: + r"""Try removing all but one occurrence of the modifier.""", + withArguments: _withArgumentsDuplicatedModifier, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedModifier = - const Code("DuplicatedModifier", index: 70); + const Code( + "DuplicatedModifier", + index: 70, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedModifier(Token token) { @@ -3500,24 +3636,26 @@ Message _withArgumentsDuplicatedModifier(Token token) { problemMessage: """The modifier '${lexeme}' was already specified.""", correctionMessage: """Try removing all but one occurrence of the modifier.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateDuplicatedNamedArgument = const Template( - "DuplicatedNamedArgument", - problemMessageTemplate: r"""Duplicated named argument '#name'.""", - withArguments: _withArgumentsDuplicatedNamedArgument, - ); + "DuplicatedNamedArgument", + problemMessageTemplate: r"""Duplicated named argument '#name'.""", + withArguments: _withArgumentsDuplicatedNamedArgument, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedNamedArgument = const Code( - "DuplicatedNamedArgument", - analyzerCodes: ["DUPLICATE_NAMED_ARGUMENT"], - ); + "DuplicatedNamedArgument", + analyzerCodes: ["DUPLICATE_NAMED_ARGUMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedNamedArgument(String name) { @@ -3526,24 +3664,26 @@ Message _withArgumentsDuplicatedNamedArgument(String name) { return new Message( codeDuplicatedNamedArgument, problemMessage: """Duplicated named argument '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateDuplicatedParameterName = const Template( - "DuplicatedParameterName", - problemMessageTemplate: r"""Duplicated parameter name '#name'.""", - withArguments: _withArgumentsDuplicatedParameterName, - ); + "DuplicatedParameterName", + problemMessageTemplate: r"""Duplicated parameter name '#name'.""", + withArguments: _withArgumentsDuplicatedParameterName, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedParameterName = const Code( - "DuplicatedParameterName", - analyzerCodes: ["DUPLICATE_DEFINITION"], - ); + "DuplicatedParameterName", + analyzerCodes: ["DUPLICATE_DEFINITION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedParameterName(String name) { @@ -3552,25 +3692,27 @@ Message _withArgumentsDuplicatedParameterName(String name) { return new Message( codeDuplicatedParameterName, problemMessage: """Duplicated parameter name '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedParameterNameCause = + templateDuplicatedParameterNameCause = const Template( - "DuplicatedParameterNameCause", - problemMessageTemplate: r"""Other parameter named '#name'.""", - withArguments: _withArgumentsDuplicatedParameterNameCause, - ); + "DuplicatedParameterNameCause", + problemMessageTemplate: r"""Other parameter named '#name'.""", + withArguments: _withArgumentsDuplicatedParameterNameCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedParameterNameCause = const Code( - "DuplicatedParameterNameCause", - severity: Severity.context, - ); + "DuplicatedParameterNameCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedParameterNameCause(String name) { @@ -3579,15 +3721,16 @@ Message _withArgumentsDuplicatedParameterNameCause(String name) { return new Message( codeDuplicatedParameterNameCause, problemMessage: """Other parameter named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedRecordLiteralFieldName = const Template< - Message Function(String name) ->( + templateDuplicatedRecordLiteralFieldName = + const Template( "DuplicatedRecordLiteralFieldName", problemMessageTemplate: r"""Duplicated record literal field name '#name'.""", correctionMessageTemplate: @@ -3598,8 +3741,8 @@ templateDuplicatedRecordLiteralFieldName = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedRecordLiteralFieldName = const Code( - "DuplicatedRecordLiteralFieldName", - ); + "DuplicatedRecordLiteralFieldName", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedRecordLiteralFieldName(String name) { @@ -3610,27 +3753,29 @@ Message _withArgumentsDuplicatedRecordLiteralFieldName(String name) { problemMessage: """Duplicated record literal field name '${name}'.""", correctionMessage: """Try renaming or removing one of the named record literal fields.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedRecordLiteralFieldNameContext = + templateDuplicatedRecordLiteralFieldNameContext = const Template( - "DuplicatedRecordLiteralFieldNameContext", - problemMessageTemplate: - r"""This is the existing record literal field named '#name'.""", - withArguments: _withArgumentsDuplicatedRecordLiteralFieldNameContext, - ); + "DuplicatedRecordLiteralFieldNameContext", + problemMessageTemplate: + r"""This is the existing record literal field named '#name'.""", + withArguments: _withArgumentsDuplicatedRecordLiteralFieldNameContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatedRecordLiteralFieldNameContext = + codeDuplicatedRecordLiteralFieldNameContext = const Code( - "DuplicatedRecordLiteralFieldNameContext", - severity: Severity.context, - ); + "DuplicatedRecordLiteralFieldNameContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedRecordLiteralFieldNameContext(String name) { @@ -3640,24 +3785,28 @@ Message _withArgumentsDuplicatedRecordLiteralFieldNameContext(String name) { codeDuplicatedRecordLiteralFieldNameContext, problemMessage: """This is the existing record literal field named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedRecordTypeFieldName = + templateDuplicatedRecordTypeFieldName = const Template( - "DuplicatedRecordTypeFieldName", - problemMessageTemplate: r"""Duplicated record type field name '#name'.""", - correctionMessageTemplate: - r"""Try renaming or removing one of the named record type fields.""", - withArguments: _withArgumentsDuplicatedRecordTypeFieldName, - ); + "DuplicatedRecordTypeFieldName", + problemMessageTemplate: r"""Duplicated record type field name '#name'.""", + correctionMessageTemplate: + r"""Try renaming or removing one of the named record type fields.""", + withArguments: _withArgumentsDuplicatedRecordTypeFieldName, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeDuplicatedRecordTypeFieldName = - const Code("DuplicatedRecordTypeFieldName"); + const Code( + "DuplicatedRecordTypeFieldName", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedRecordTypeFieldName(String name) { @@ -3668,27 +3817,29 @@ Message _withArgumentsDuplicatedRecordTypeFieldName(String name) { problemMessage: """Duplicated record type field name '${name}'.""", correctionMessage: """Try renaming or removing one of the named record type fields.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDuplicatedRecordTypeFieldNameContext = + templateDuplicatedRecordTypeFieldNameContext = const Template( - "DuplicatedRecordTypeFieldNameContext", - problemMessageTemplate: - r"""This is the existing record type field named '#name'.""", - withArguments: _withArgumentsDuplicatedRecordTypeFieldNameContext, - ); + "DuplicatedRecordTypeFieldNameContext", + problemMessageTemplate: + r"""This is the existing record type field named '#name'.""", + withArguments: _withArgumentsDuplicatedRecordTypeFieldNameContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDuplicatedRecordTypeFieldNameContext = + codeDuplicatedRecordTypeFieldNameContext = const Code( - "DuplicatedRecordTypeFieldNameContext", - severity: Severity.context, - ); + "DuplicatedRecordTypeFieldNameContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDuplicatedRecordTypeFieldNameContext(String name) { @@ -3698,7 +3849,9 @@ Message _withArgumentsDuplicatedRecordTypeFieldNameContext(String name) { codeDuplicatedRecordTypeFieldNameContext, problemMessage: """This is the existing record type field named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3709,9 +3862,9 @@ const Code codeDynamicCallsAreNotAllowedInDynamicModule = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageDynamicCallsAreNotAllowedInDynamicModule = const MessageCode( - "DynamicCallsAreNotAllowedInDynamicModule", - problemMessage: r"""Dynamic calls are not allowed in a dynamic module.""", - ); + "DynamicCallsAreNotAllowedInDynamicModule", + problemMessage: r"""Dynamic calls are not allowed in a dynamic module.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeEmptyMapPattern = messageEmptyMapPattern; @@ -3780,9 +3933,8 @@ const MessageCode messageEnumAbstractMember = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateEnumConstantSameNameAsEnclosing = const Template< - Message Function(String name) ->( + templateEnumConstantSameNameAsEnclosing = + const Template( "EnumConstantSameNameAsEnclosing", problemMessageTemplate: r"""Name of enum constant '#name' can't be the same as the enum's own name.""", @@ -3792,9 +3944,9 @@ templateEnumConstantSameNameAsEnclosing = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeEnumConstantSameNameAsEnclosing = const Code( - "EnumConstantSameNameAsEnclosing", - analyzerCodes: ["ENUM_CONSTANT_WITH_ENUM_NAME"], - ); + "EnumConstantSameNameAsEnclosing", + analyzerCodes: ["ENUM_CONSTANT_WITH_ENUM_NAME"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumConstantSameNameAsEnclosing(String name) { @@ -3804,7 +3956,9 @@ Message _withArgumentsEnumConstantSameNameAsEnclosing(String name) { codeEnumConstantSameNameAsEnclosing, problemMessage: """Name of enum constant '${name}' can't be the same as the enum's own name.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3829,20 +3983,20 @@ const MessageCode messageEnumConstructorTearoff = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateEnumContainsRestrictedInstanceDeclaration = + templateEnumContainsRestrictedInstanceDeclaration = const Template( - "EnumContainsRestrictedInstanceDeclaration", - problemMessageTemplate: - r"""An enum can't declare a non-abstract member named '#name'.""", - withArguments: _withArgumentsEnumContainsRestrictedInstanceDeclaration, - ); + "EnumContainsRestrictedInstanceDeclaration", + problemMessageTemplate: + r"""An enum can't declare a non-abstract member named '#name'.""", + withArguments: _withArgumentsEnumContainsRestrictedInstanceDeclaration, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeEnumContainsRestrictedInstanceDeclaration = + codeEnumContainsRestrictedInstanceDeclaration = const Code( - "EnumContainsRestrictedInstanceDeclaration", - ); + "EnumContainsRestrictedInstanceDeclaration", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumContainsRestrictedInstanceDeclaration(String name) { @@ -3852,7 +4006,9 @@ Message _withArgumentsEnumContainsRestrictedInstanceDeclaration(String name) { codeEnumContainsRestrictedInstanceDeclaration, problemMessage: """An enum can't declare a non-abstract member named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3899,9 +4055,8 @@ const MessageCode messageEnumFactoryRedirectsToConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateEnumImplementerContainsRestrictedInstanceDeclaration = const Template< - Message Function(String name, String name2) ->( + templateEnumImplementerContainsRestrictedInstanceDeclaration = + const Template( "EnumImplementerContainsRestrictedInstanceDeclaration", problemMessageTemplate: r"""'#name' has 'Enum' as a superinterface and can't contain non-static members with name '#name2'.""", @@ -3911,16 +4066,14 @@ templateEnumImplementerContainsRestrictedInstanceDeclaration = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeEnumImplementerContainsRestrictedInstanceDeclaration = + codeEnumImplementerContainsRestrictedInstanceDeclaration = const Code( - "EnumImplementerContainsRestrictedInstanceDeclaration", - ); + "EnumImplementerContainsRestrictedInstanceDeclaration", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumImplementerContainsRestrictedInstanceDeclaration( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -3929,15 +4082,17 @@ Message _withArgumentsEnumImplementerContainsRestrictedInstanceDeclaration( codeEnumImplementerContainsRestrictedInstanceDeclaration, problemMessage: """'${name}' has 'Enum' as a superinterface and can't contain non-static members with name '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateEnumImplementerContainsValuesDeclaration = const Template< - Message Function(String name) ->( + templateEnumImplementerContainsValuesDeclaration = + const Template( "EnumImplementerContainsValuesDeclaration", problemMessageTemplate: r"""'#name' has 'Enum' as a superinterface and can't contain non-static member with name 'values'.""", @@ -3946,10 +4101,10 @@ templateEnumImplementerContainsValuesDeclaration = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeEnumImplementerContainsValuesDeclaration = + codeEnumImplementerContainsValuesDeclaration = const Code( - "EnumImplementerContainsValuesDeclaration", - ); + "EnumImplementerContainsValuesDeclaration", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumImplementerContainsValuesDeclaration(String name) { @@ -3959,7 +4114,9 @@ Message _withArgumentsEnumImplementerContainsValuesDeclaration(String name) { codeEnumImplementerContainsValuesDeclaration, problemMessage: """'${name}' has 'Enum' as a superinterface and can't contain non-static member with name 'values'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -3977,15 +4134,16 @@ const MessageCode messageEnumInClass = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateEnumInheritsRestricted = const Template( - "EnumInheritsRestricted", - problemMessageTemplate: - r"""An enum can't inherit a member named '#name'.""", - withArguments: _withArgumentsEnumInheritsRestricted, - ); + "EnumInheritsRestricted", + problemMessageTemplate: r"""An enum can't inherit a member named '#name'.""", + withArguments: _withArgumentsEnumInheritsRestricted, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeEnumInheritsRestricted = - const Code("EnumInheritsRestricted"); + const Code( + "EnumInheritsRestricted", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumInheritsRestricted(String name) { @@ -3994,7 +4152,9 @@ Message _withArgumentsEnumInheritsRestricted(String name) { return new Message( codeEnumInheritsRestricted, problemMessage: """An enum can't inherit a member named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -4031,19 +4191,19 @@ const MessageCode messageEnumNonConstConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateEnumSupertypeOfNonAbstractClass = + templateEnumSupertypeOfNonAbstractClass = const Template( - "EnumSupertypeOfNonAbstractClass", - problemMessageTemplate: - r"""Non-abstract class '#name' has 'Enum' as a superinterface.""", - withArguments: _withArgumentsEnumSupertypeOfNonAbstractClass, - ); + "EnumSupertypeOfNonAbstractClass", + problemMessageTemplate: + r"""Non-abstract class '#name' has 'Enum' as a superinterface.""", + withArguments: _withArgumentsEnumSupertypeOfNonAbstractClass, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeEnumSupertypeOfNonAbstractClass = const Code( - "EnumSupertypeOfNonAbstractClass", - ); + "EnumSupertypeOfNonAbstractClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsEnumSupertypeOfNonAbstractClass(String name) { @@ -4053,7 +4213,9 @@ Message _withArgumentsEnumSupertypeOfNonAbstractClass(String name) { codeEnumSupertypeOfNonAbstractClass, problemMessage: """Non-abstract class '${name}' has 'Enum' as a superinterface.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -4106,18 +4268,18 @@ const MessageCode messageEqualityCannotBeEqualityOperand = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExceptionReadingFile = + templateExceptionReadingFile = const Template( - "ExceptionReadingFile", - problemMessageTemplate: r"""Exception when reading '#uri': #string""", - withArguments: _withArgumentsExceptionReadingFile, - ); + "ExceptionReadingFile", + problemMessageTemplate: r"""Exception when reading '#uri': #string""", + withArguments: _withArgumentsExceptionReadingFile, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExceptionReadingFile = const Code( - "ExceptionReadingFile", - ); + "ExceptionReadingFile", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExceptionReadingFile(Uri uri_, String string) { @@ -4126,24 +4288,27 @@ Message _withArgumentsExceptionReadingFile(Uri uri_, String string) { return new Message( codeExceptionReadingFile, problemMessage: """Exception when reading '${uri}': ${string}""", - arguments: {'uri': uri_, 'string': string}, + arguments: { + 'uri': uri_, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedAfterButGot = const Template( - "ExpectedAfterButGot", - problemMessageTemplate: r"""Expected '#string' after this.""", - withArguments: _withArgumentsExpectedAfterButGot, - ); + "ExpectedAfterButGot", + problemMessageTemplate: r"""Expected '#string' after this.""", + withArguments: _withArgumentsExpectedAfterButGot, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedAfterButGot = const Code( - "ExpectedAfterButGot", - analyzerCodes: ["EXPECTED_TOKEN"], - ); + "ExpectedAfterButGot", + analyzerCodes: ["EXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedAfterButGot(String string) { @@ -4151,7 +4316,9 @@ Message _withArgumentsExpectedAfterButGot(String string) { return new Message( codeExpectedAfterButGot, problemMessage: """Expected '${string}' after this.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -4201,17 +4368,17 @@ const MessageCode messageExpectedBody = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedButGot = const Template( - "ExpectedButGot", - problemMessageTemplate: r"""Expected '#string' before this.""", - withArguments: _withArgumentsExpectedButGot, - ); + "ExpectedButGot", + problemMessageTemplate: r"""Expected '#string' before this.""", + withArguments: _withArgumentsExpectedButGot, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedButGot = const Code( - "ExpectedButGot", - analyzerCodes: ["EXPECTED_TOKEN"], - ); + "ExpectedButGot", + analyzerCodes: ["EXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedButGot(String string) { @@ -4219,7 +4386,9 @@ Message _withArgumentsExpectedButGot(String string) { return new Message( codeExpectedButGot, problemMessage: """Expected '${string}' before this.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -4249,18 +4418,17 @@ const MessageCode messageExpectedClassBody = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedClassMember = const Template( - "ExpectedClassMember", - problemMessageTemplate: - r"""Expected a class member, but got '#lexeme'.""", - withArguments: _withArgumentsExpectedClassMember, - ); + "ExpectedClassMember", + problemMessageTemplate: r"""Expected a class member, but got '#lexeme'.""", + withArguments: _withArgumentsExpectedClassMember, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedClassMember = const Code( - "ExpectedClassMember", - analyzerCodes: ["EXPECTED_CLASS_MEMBER"], - ); + "ExpectedClassMember", + analyzerCodes: ["EXPECTED_CLASS_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedClassMember(Token token) { @@ -4268,24 +4436,26 @@ Message _withArgumentsExpectedClassMember(Token token) { return new Message( codeExpectedClassMember, problemMessage: """Expected a class member, but got '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedDeclaration = const Template( - "ExpectedDeclaration", - problemMessageTemplate: r"""Expected a declaration, but got '#lexeme'.""", - withArguments: _withArgumentsExpectedDeclaration, - ); + "ExpectedDeclaration", + problemMessageTemplate: r"""Expected a declaration, but got '#lexeme'.""", + withArguments: _withArgumentsExpectedDeclaration, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedDeclaration = const Code( - "ExpectedDeclaration", - analyzerCodes: ["EXPECTED_EXECUTABLE"], - ); + "ExpectedDeclaration", + analyzerCodes: ["EXPECTED_EXECUTABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedDeclaration(Token token) { @@ -4293,7 +4463,9 @@ Message _withArgumentsExpectedDeclaration(Token token) { return new Message( codeExpectedDeclaration, problemMessage: """Expected a declaration, but got '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -4308,8 +4480,8 @@ const MessageCode messageExpectedElseOrComma = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateExpectedEnumBody = const Template( +const Template templateExpectedEnumBody = + const Template( "ExpectedEnumBody", problemMessageTemplate: r"""Expected a enum body, but got '#lexeme'.""", correctionMessageTemplate: @@ -4320,9 +4492,9 @@ templateExpectedEnumBody = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedEnumBody = const Code( - "ExpectedEnumBody", - analyzerCodes: ["MISSING_ENUM_BODY"], - ); + "ExpectedEnumBody", + analyzerCodes: ["MISSING_ENUM_BODY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedEnumBody(Token token) { @@ -4332,7 +4504,9 @@ Message _withArgumentsExpectedEnumBody(Token token) { problemMessage: """Expected a enum body, but got '${lexeme}'.""", correctionMessage: """An enum definition must have a body with at least one constant name.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -4377,18 +4551,17 @@ const MessageCode messageExpectedFinallyClauseBody = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedFunctionBody = const Template( - "ExpectedFunctionBody", - problemMessageTemplate: - r"""Expected a function body, but got '#lexeme'.""", - withArguments: _withArgumentsExpectedFunctionBody, - ); + "ExpectedFunctionBody", + problemMessageTemplate: r"""Expected a function body, but got '#lexeme'.""", + withArguments: _withArgumentsExpectedFunctionBody, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedFunctionBody = const Code( - "ExpectedFunctionBody", - analyzerCodes: ["MISSING_FUNCTION_BODY"], - ); + "ExpectedFunctionBody", + analyzerCodes: ["MISSING_FUNCTION_BODY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedFunctionBody(Token token) { @@ -4396,7 +4569,9 @@ Message _withArgumentsExpectedFunctionBody(Token token) { return new Message( codeExpectedFunctionBody, problemMessage: """Expected a function body, but got '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -4413,19 +4588,19 @@ const MessageCode messageExpectedHexDigit = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedIdentifier = const Template( - "ExpectedIdentifier", - problemMessageTemplate: r"""Expected an identifier, but got '#lexeme'.""", - correctionMessageTemplate: - r"""Try inserting an identifier before '#lexeme'.""", - withArguments: _withArgumentsExpectedIdentifier, - ); + "ExpectedIdentifier", + problemMessageTemplate: r"""Expected an identifier, but got '#lexeme'.""", + correctionMessageTemplate: + r"""Try inserting an identifier before '#lexeme'.""", + withArguments: _withArgumentsExpectedIdentifier, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedIdentifier = const Code( - "ExpectedIdentifier", - analyzerCodes: ["MISSING_IDENTIFIER"], - ); + "ExpectedIdentifier", + analyzerCodes: ["MISSING_IDENTIFIER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedIdentifier(Token token) { @@ -4434,15 +4609,16 @@ Message _withArgumentsExpectedIdentifier(Token token) { codeExpectedIdentifier, problemMessage: """Expected an identifier, but got '${lexeme}'.""", correctionMessage: """Try inserting an identifier before '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExpectedIdentifierButGotKeyword = const Template< - Message Function(Token token) ->( + templateExpectedIdentifierButGotKeyword = + const Template( "ExpectedIdentifierButGotKeyword", problemMessageTemplate: r"""'#lexeme' can't be used as an identifier because it's a keyword.""", @@ -4454,9 +4630,9 @@ templateExpectedIdentifierButGotKeyword = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedIdentifierButGotKeyword = const Code( - "ExpectedIdentifierButGotKeyword", - index: 113, - ); + "ExpectedIdentifierButGotKeyword", + index: 113, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedIdentifierButGotKeyword(Token token) { @@ -4467,21 +4643,26 @@ Message _withArgumentsExpectedIdentifierButGotKeyword(Token token) { """'${lexeme}' can't be used as an identifier because it's a keyword.""", correctionMessage: """Try renaming this to be an identifier that isn't a keyword.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedInstead = const Template( - "ExpectedInstead", - problemMessageTemplate: r"""Expected '#string' instead of this.""", - withArguments: _withArgumentsExpectedInstead, - ); + "ExpectedInstead", + problemMessageTemplate: r"""Expected '#string' instead of this.""", + withArguments: _withArgumentsExpectedInstead, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedInstead = - const Code("ExpectedInstead", index: 41); + const Code( + "ExpectedInstead", + index: 41, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedInstead(String string) { @@ -4489,7 +4670,9 @@ Message _withArgumentsExpectedInstead(String string) { return new Message( codeExpectedInstead, problemMessage: """Expected '${string}' instead of this.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -4568,17 +4751,17 @@ const MessageCode messageExpectedStatement = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedString = const Template( - "ExpectedString", - problemMessageTemplate: r"""Expected a String, but got '#lexeme'.""", - withArguments: _withArgumentsExpectedString, - ); + "ExpectedString", + problemMessageTemplate: r"""Expected a String, but got '#lexeme'.""", + withArguments: _withArgumentsExpectedString, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedString = const Code( - "ExpectedString", - analyzerCodes: ["EXPECTED_STRING_LITERAL"], - ); + "ExpectedString", + analyzerCodes: ["EXPECTED_STRING_LITERAL"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedString(Token token) { @@ -4586,7 +4769,9 @@ Message _withArgumentsExpectedString(Token token) { return new Message( codeExpectedString, problemMessage: """Expected a String, but got '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -4619,17 +4804,17 @@ const MessageCode messageExpectedSwitchStatementBody = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedToken = const Template( - "ExpectedToken", - problemMessageTemplate: r"""Expected to find '#string'.""", - withArguments: _withArgumentsExpectedToken, - ); + "ExpectedToken", + problemMessageTemplate: r"""Expected to find '#string'.""", + withArguments: _withArgumentsExpectedToken, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedToken = const Code( - "ExpectedToken", - analyzerCodes: ["EXPECTED_TOKEN"], - ); + "ExpectedToken", + analyzerCodes: ["EXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedToken(String string) { @@ -4637,7 +4822,9 @@ Message _withArgumentsExpectedToken(String string) { return new Message( codeExpectedToken, problemMessage: """Expected to find '${string}'.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -4655,17 +4842,17 @@ const MessageCode messageExpectedTryStatementBody = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExpectedType = const Template( - "ExpectedType", - problemMessageTemplate: r"""Expected a type, but got '#lexeme'.""", - withArguments: _withArgumentsExpectedType, - ); + "ExpectedType", + problemMessageTemplate: r"""Expected a type, but got '#lexeme'.""", + withArguments: _withArgumentsExpectedType, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExpectedType = const Code( - "ExpectedType", - analyzerCodes: ["EXPECTED_TYPE_NAME"], - ); + "ExpectedType", + analyzerCodes: ["EXPECTED_TYPE_NAME"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExpectedType(Token token) { @@ -4673,7 +4860,9 @@ Message _withArgumentsExpectedType(Token token) { return new Message( codeExpectedType, problemMessage: """Expected a type, but got '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -4687,8 +4876,8 @@ const MessageCode messageExpectedUri = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateExperimentDisabled = const Template( +const Template templateExperimentDisabled = + const Template( "ExperimentDisabled", problemMessageTemplate: r"""This requires the '#string' language feature to be enabled.""", @@ -4700,9 +4889,9 @@ templateExperimentDisabled = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExperimentDisabled = const Code( - "ExperimentDisabled", - analyzerCodes: ["ParserErrorCode.EXPERIMENT_NOT_ENABLED"], - ); + "ExperimentDisabled", + analyzerCodes: ["ParserErrorCode.EXPERIMENT_NOT_ENABLED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentDisabled(String string) { @@ -4713,15 +4902,16 @@ Message _withArgumentsExperimentDisabled(String string) { """This requires the '${string}' language feature to be enabled.""", correctionMessage: """The feature is on by default but is currently disabled, maybe because the '--enable-experiment=no-${string}' command line option is passed.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentDisabledInvalidLanguageVersion = const Template< - Message Function(String string, String string2) ->( + templateExperimentDisabledInvalidLanguageVersion = + const Template( "ExperimentDisabledInvalidLanguageVersion", problemMessageTemplate: r"""This requires the '#string' language feature, which requires language version of #string2 or higher.""", @@ -4730,40 +4920,43 @@ templateExperimentDisabledInvalidLanguageVersion = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExperimentDisabledInvalidLanguageVersion = + codeExperimentDisabledInvalidLanguageVersion = const Code( - "ExperimentDisabledInvalidLanguageVersion", - analyzerCodes: ["ParserErrorCode.EXPERIMENT_NOT_ENABLED"], - ); + "ExperimentDisabledInvalidLanguageVersion", + analyzerCodes: ["ParserErrorCode.EXPERIMENT_NOT_ENABLED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentDisabledInvalidLanguageVersion( - String string, - String string2, -) { + String string, String string2) { if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; return new Message( codeExperimentDisabledInvalidLanguageVersion, problemMessage: """This requires the '${string}' language feature, which requires language version of ${string2} or higher.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentExpiredDisabled = + templateExperimentExpiredDisabled = const Template( - "ExperimentExpiredDisabled", - problemMessageTemplate: - r"""The experiment '#name' has expired and can't be disabled.""", - withArguments: _withArgumentsExperimentExpiredDisabled, - ); + "ExperimentExpiredDisabled", + problemMessageTemplate: + r"""The experiment '#name' has expired and can't be disabled.""", + withArguments: _withArgumentsExperimentExpiredDisabled, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExperimentExpiredDisabled = - const Code("ExperimentExpiredDisabled"); + const Code( + "ExperimentExpiredDisabled", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentExpiredDisabled(String name) { @@ -4773,22 +4966,26 @@ Message _withArgumentsExperimentExpiredDisabled(String name) { codeExperimentExpiredDisabled, problemMessage: """The experiment '${name}' has expired and can't be disabled.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExperimentExpiredEnabled = const Template( - "ExperimentExpiredEnabled", - problemMessageTemplate: - r"""The experiment '#name' has expired and can't be enabled.""", - withArguments: _withArgumentsExperimentExpiredEnabled, - ); + "ExperimentExpiredEnabled", + problemMessageTemplate: + r"""The experiment '#name' has expired and can't be enabled.""", + withArguments: _withArgumentsExperimentExpiredEnabled, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExperimentExpiredEnabled = - const Code("ExperimentExpiredEnabled"); + const Code( + "ExperimentExpiredEnabled", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentExpiredEnabled(String name) { @@ -4798,15 +4995,16 @@ Message _withArgumentsExperimentExpiredEnabled(String name) { codeExperimentExpiredEnabled, problemMessage: """The experiment '${name}' has expired and can't be enabled.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentNotEnabled = const Template< - Message Function(String string, String string2) ->( + templateExperimentNotEnabled = + const Template( "ExperimentNotEnabled", problemMessageTemplate: r"""This requires the '#string' language feature to be enabled.""", @@ -4817,11 +5015,11 @@ templateExperimentNotEnabled = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExperimentNotEnabled = + codeExperimentNotEnabled = const Code( - "ExperimentNotEnabled", - index: 48, - ); + "ExperimentNotEnabled", + index: 48, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentNotEnabled(String string, String string2) { @@ -4833,15 +5031,17 @@ Message _withArgumentsExperimentNotEnabled(String string, String string2) { """This requires the '${string}' language feature to be enabled.""", correctionMessage: """Try updating your pubspec.yaml to set the minimum SDK constraint to ${string2} or higher, and running 'pub get'.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentNotEnabledOffByDefault = const Template< - Message Function(String string) ->( + templateExperimentNotEnabledOffByDefault = + const Template( "ExperimentNotEnabledOffByDefault", problemMessageTemplate: r"""This requires the experimental '#string' language feature to be enabled.""", @@ -4852,11 +5052,11 @@ templateExperimentNotEnabledOffByDefault = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExperimentNotEnabledOffByDefault = + codeExperimentNotEnabledOffByDefault = const Code( - "ExperimentNotEnabledOffByDefault", - index: 133, - ); + "ExperimentNotEnabledOffByDefault", + index: 133, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentNotEnabledOffByDefault(String string) { @@ -4867,15 +5067,16 @@ Message _withArgumentsExperimentNotEnabledOffByDefault(String string) { """This requires the experimental '${string}' language feature to be enabled.""", correctionMessage: """Try passing the '--enable-experiment=${string}' command line option.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentOptOutComment = const Template< - Message Function(String string) ->( + templateExperimentOptOutComment = + const Template( "ExperimentOptOutComment", problemMessageTemplate: r"""This is the annotation that opts out this library from the '#string' language feature.""", @@ -4885,9 +5086,9 @@ templateExperimentOptOutComment = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExperimentOptOutComment = const Code( - "ExperimentOptOutComment", - severity: Severity.context, - ); + "ExperimentOptOutComment", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentOptOutComment(String string) { @@ -4896,15 +5097,16 @@ Message _withArgumentsExperimentOptOutComment(String string) { codeExperimentOptOutComment, problemMessage: """This is the annotation that opts out this library from the '${string}' language feature.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentOptOutExplicit = const Template< - Message Function(String string, String string2) ->( + templateExperimentOptOutExplicit = + const Template( "ExperimentOptOutExplicit", problemMessageTemplate: r"""The '#string' language feature is disabled for this library.""", @@ -4915,10 +5117,10 @@ templateExperimentOptOutExplicit = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExperimentOptOutExplicit = + codeExperimentOptOutExplicit = const Code( - "ExperimentOptOutExplicit", - ); + "ExperimentOptOutExplicit", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentOptOutExplicit(String string, String string2) { @@ -4930,15 +5132,17 @@ Message _withArgumentsExperimentOptOutExplicit(String string, String string2) { """The '${string}' language feature is disabled for this library.""", correctionMessage: """Try removing the `@dart=` annotation or setting the language version to ${string2} or higher.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExperimentOptOutImplicit = const Template< - Message Function(String string, String string2) ->( + templateExperimentOptOutImplicit = + const Template( "ExperimentOptOutImplicit", problemMessageTemplate: r"""The '#string' language feature is disabled for this library.""", @@ -4949,10 +5153,10 @@ templateExperimentOptOutImplicit = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExperimentOptOutImplicit = + codeExperimentOptOutImplicit = const Code( - "ExperimentOptOutImplicit", - ); + "ExperimentOptOutImplicit", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExperimentOptOutImplicit(String string, String string2) { @@ -4964,7 +5168,10 @@ Message _withArgumentsExperimentOptOutImplicit(String string, String string2) { """The '${string}' language feature is disabled for this library.""", correctionMessage: """Try removing the package language version or setting the language version to ${string2} or higher.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -5003,9 +5210,8 @@ const MessageCode messageExplicitExtensionAsLvalue = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExplicitExtensionTypeArgumentMismatch = const Template< - Message Function(String name, int count) ->( + templateExplicitExtensionTypeArgumentMismatch = + const Template( "ExplicitExtensionTypeArgumentMismatch", problemMessageTemplate: r"""Explicit extension application of extension '#name' takes '#count' type argument(s).""", @@ -5014,23 +5220,24 @@ templateExplicitExtensionTypeArgumentMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExplicitExtensionTypeArgumentMismatch = + codeExplicitExtensionTypeArgumentMismatch = const Code( - "ExplicitExtensionTypeArgumentMismatch", - ); + "ExplicitExtensionTypeArgumentMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExplicitExtensionTypeArgumentMismatch( - String name, - int count, -) { + String name, int count) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( codeExplicitExtensionTypeArgumentMismatch, problemMessage: """Explicit extension application of extension '${name}' takes '${count}' type argument(s).""", - arguments: {'name': name, 'count': count}, + arguments: { + 'name': name, + 'count': count, + }, ); } @@ -5069,18 +5276,18 @@ const MessageCode messageExpressionNotMetadata = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExtendingEnum = const Template( - "ExtendingEnum", - problemMessageTemplate: - r"""'#name' is an enum and can't be extended or implemented.""", - withArguments: _withArgumentsExtendingEnum, - ); + "ExtendingEnum", + problemMessageTemplate: + r"""'#name' is an enum and can't be extended or implemented.""", + withArguments: _withArgumentsExtendingEnum, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtendingEnum = const Code( - "ExtendingEnum", - analyzerCodes: ["EXTENDS_ENUM"], - ); + "ExtendingEnum", + analyzerCodes: ["EXTENDS_ENUM"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtendingEnum(String name) { @@ -5090,25 +5297,27 @@ Message _withArgumentsExtendingEnum(String name) { codeExtendingEnum, problemMessage: """'${name}' is an enum and can't be extended or implemented.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExtendingRestricted = const Template( - "ExtendingRestricted", - problemMessageTemplate: - r"""'#name' is restricted and can't be extended or implemented.""", - withArguments: _withArgumentsExtendingRestricted, - ); + "ExtendingRestricted", + problemMessageTemplate: + r"""'#name' is restricted and can't be extended or implemented.""", + withArguments: _withArgumentsExtendingRestricted, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtendingRestricted = const Code( - "ExtendingRestricted", - analyzerCodes: ["EXTENDS_DISALLOWED_CLASS"], - ); + "ExtendingRestricted", + analyzerCodes: ["EXTENDS_DISALLOWED_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtendingRestricted(String name) { @@ -5118,7 +5327,9 @@ Message _withArgumentsExtendingRestricted(String name) { codeExtendingRestricted, problemMessage: """'${name}' is restricted and can't be extended or implemented.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -5213,20 +5424,20 @@ const MessageCode messageExtensionDeclaresInstanceField = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExtensionMemberConflictsWithObjectMember = + templateExtensionMemberConflictsWithObjectMember = const Template( - "ExtensionMemberConflictsWithObjectMember", - problemMessageTemplate: - r"""This extension member conflicts with Object member '#name'.""", - withArguments: _withArgumentsExtensionMemberConflictsWithObjectMember, - ); + "ExtensionMemberConflictsWithObjectMember", + problemMessageTemplate: + r"""This extension member conflicts with Object member '#name'.""", + withArguments: _withArgumentsExtensionMemberConflictsWithObjectMember, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExtensionMemberConflictsWithObjectMember = + codeExtensionMemberConflictsWithObjectMember = const Code( - "ExtensionMemberConflictsWithObjectMember", - ); + "ExtensionMemberConflictsWithObjectMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtensionMemberConflictsWithObjectMember(String name) { @@ -5236,15 +5447,16 @@ Message _withArgumentsExtensionMemberConflictsWithObjectMember(String name) { codeExtensionMemberConflictsWithObjectMember, problemMessage: """This extension member conflicts with Object member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExtensionTypeCombinedMemberSignatureFailed = const Template< - Message Function(String name, String name2) ->( + templateExtensionTypeCombinedMemberSignatureFailed = + const Template( "ExtensionTypeCombinedMemberSignatureFailed", problemMessageTemplate: r"""Extension type '#name' inherits multiple members named '#name2' with incompatible signatures.""", @@ -5255,17 +5467,15 @@ templateExtensionTypeCombinedMemberSignatureFailed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExtensionTypeCombinedMemberSignatureFailed = + codeExtensionTypeCombinedMemberSignatureFailed = const Code( - "ExtensionTypeCombinedMemberSignatureFailed", - analyzerCodes: ["INCONSISTENT_INHERITANCE"], - ); + "ExtensionTypeCombinedMemberSignatureFailed", + analyzerCodes: ["INCONSISTENT_INHERITANCE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtensionTypeCombinedMemberSignatureFailed( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -5276,7 +5486,10 @@ Message _withArgumentsExtensionTypeCombinedMemberSignatureFailed( """Extension type '${name}' inherits multiple members named '${name2}' with incompatible signatures.""", correctionMessage: """Try adding a declaration of '${name2}' to '${name}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -5285,11 +5498,11 @@ const Code codeExtensionTypeConstructorWithSuperFormalParameter = messageExtensionTypeConstructorWithSuperFormalParameter; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageExtensionTypeConstructorWithSuperFormalParameter = const MessageCode( +const MessageCode messageExtensionTypeConstructorWithSuperFormalParameter = + const MessageCode( "ExtensionTypeConstructorWithSuperFormalParameter", analyzerCodes: [ - "EXTENSION_TYPE_CONSTRUCTOR_WITH_SUPER_FORMAL_PARAMETER", + "EXTENSION_TYPE_CONSTRUCTOR_WITH_SUPER_FORMAL_PARAMETER" ], problemMessage: r"""Extension type constructors can't declare super formal parameters.""", @@ -5313,11 +5526,11 @@ const Code codeExtensionTypeDeclaresAbstractMember = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageExtensionTypeDeclaresAbstractMember = const MessageCode( - "ExtensionTypeDeclaresAbstractMember", - analyzerCodes: ["EXTENSION_TYPE_WITH_ABSTRACT_MEMBER"], - problemMessage: r"""Extension types can't declare abstract members.""", - correctionMessage: r"""Try providing an implementation for the member.""", - ); + "ExtensionTypeDeclaresAbstractMember", + analyzerCodes: ["EXTENSION_TYPE_WITH_ABSTRACT_MEMBER"], + problemMessage: r"""Extension types can't declare abstract members.""", + correctionMessage: r"""Try providing an implementation for the member.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtensionTypeDeclaresInstanceField = @@ -5382,12 +5595,13 @@ const MessageCode messageExtensionTypeMemberOneOfContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExtensionTypePrimaryConstructorFunctionFormalParameterSyntax = + codeExtensionTypePrimaryConstructorFunctionFormalParameterSyntax = messageExtensionTypePrimaryConstructorFunctionFormalParameterSyntax; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode -messageExtensionTypePrimaryConstructorFunctionFormalParameterSyntax = const MessageCode( + messageExtensionTypePrimaryConstructorFunctionFormalParameterSyntax = + const MessageCode( "ExtensionTypePrimaryConstructorFunctionFormalParameterSyntax", problemMessage: r"""Primary constructors in extension types can't use function formal parameter syntax.""", @@ -5400,8 +5614,8 @@ const Code codeExtensionTypePrimaryConstructorWithInitializingFormal = messageExtensionTypePrimaryConstructorWithInitializingFormal; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageExtensionTypePrimaryConstructorWithInitializingFormal = const MessageCode( +const MessageCode messageExtensionTypePrimaryConstructorWithInitializingFormal = + const MessageCode( "ExtensionTypePrimaryConstructorWithInitializingFormal", problemMessage: r"""Primary constructors in extension types can't use initializing formals.""", @@ -5415,10 +5629,10 @@ const Code codeExtensionTypeRepresentationTypeBottom = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageExtensionTypeRepresentationTypeBottom = const MessageCode( - "ExtensionTypeRepresentationTypeBottom", - analyzerCodes: ["EXTENSION_TYPE_REPRESENTATION_TYPE_BOTTOM"], - problemMessage: r"""The representation type can't be a bottom type.""", - ); + "ExtensionTypeRepresentationTypeBottom", + analyzerCodes: ["EXTENSION_TYPE_REPRESENTATION_TYPE_BOTTOM"], + problemMessage: r"""The representation type can't be a bottom type.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtensionTypeWith = messageExtensionTypeWith; @@ -5462,8 +5676,8 @@ const Code codeExternalConstructorWithFieldInitializers = messageExternalConstructorWithFieldInitializers; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageExternalConstructorWithFieldInitializers = const MessageCode( +const MessageCode messageExternalConstructorWithFieldInitializers = + const MessageCode( "ExternalConstructorWithFieldInitializers", index: 178, problemMessage: r"""An external constructor can't initialize fields.""", @@ -5534,8 +5748,8 @@ const Code codeExternalFieldConstructorInitializer = messageExternalFieldConstructorInitializer; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageExternalFieldConstructorInitializer = const MessageCode( +const MessageCode messageExternalFieldConstructorInitializer = + const MessageCode( "ExternalFieldConstructorInitializer", problemMessage: r"""External fields cannot have initializers.""", correctionMessage: @@ -5588,15 +5802,18 @@ const MessageCode messageExternalTypedef = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateExtraneousModifier = const Template( - "ExtraneousModifier", - problemMessageTemplate: r"""Can't have modifier '#lexeme' here.""", - correctionMessageTemplate: r"""Try removing '#lexeme'.""", - withArguments: _withArgumentsExtraneousModifier, - ); + "ExtraneousModifier", + problemMessageTemplate: r"""Can't have modifier '#lexeme' here.""", + correctionMessageTemplate: r"""Try removing '#lexeme'.""", + withArguments: _withArgumentsExtraneousModifier, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtraneousModifier = - const Code("ExtraneousModifier", index: 77); + const Code( + "ExtraneousModifier", + index: 77, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtraneousModifier(Token token) { @@ -5605,27 +5822,28 @@ Message _withArgumentsExtraneousModifier(Token token) { codeExtraneousModifier, problemMessage: """Can't have modifier '${lexeme}' here.""", correctionMessage: """Try removing '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExtraneousModifierInExtension = + templateExtraneousModifierInExtension = const Template( - "ExtraneousModifierInExtension", - problemMessageTemplate: - r"""Can't have modifier '#lexeme' in an extension.""", - correctionMessageTemplate: r"""Try removing '#lexeme'.""", - withArguments: _withArgumentsExtraneousModifierInExtension, - ); + "ExtraneousModifierInExtension", + problemMessageTemplate: r"""Can't have modifier '#lexeme' in an extension.""", + correctionMessageTemplate: r"""Try removing '#lexeme'.""", + withArguments: _withArgumentsExtraneousModifierInExtension, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeExtraneousModifierInExtension = const Code( - "ExtraneousModifierInExtension", - index: 98, - ); + "ExtraneousModifierInExtension", + index: 98, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtraneousModifierInExtension(Token token) { @@ -5634,28 +5852,30 @@ Message _withArgumentsExtraneousModifierInExtension(Token token) { codeExtraneousModifierInExtension, problemMessage: """Can't have modifier '${lexeme}' in an extension.""", correctionMessage: """Try removing '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExtraneousModifierInExtensionType = + templateExtraneousModifierInExtensionType = const Template( - "ExtraneousModifierInExtensionType", - problemMessageTemplate: - r"""Can't have modifier '#lexeme' in an extension type.""", - correctionMessageTemplate: r"""Try removing '#lexeme'.""", - withArguments: _withArgumentsExtraneousModifierInExtensionType, - ); + "ExtraneousModifierInExtensionType", + problemMessageTemplate: + r"""Can't have modifier '#lexeme' in an extension type.""", + correctionMessageTemplate: r"""Try removing '#lexeme'.""", + withArguments: _withArgumentsExtraneousModifierInExtensionType, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExtraneousModifierInExtensionType = + codeExtraneousModifierInExtensionType = const Code( - "ExtraneousModifierInExtensionType", - index: 174, - ); + "ExtraneousModifierInExtensionType", + index: 174, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtraneousModifierInExtensionType(Token token) { @@ -5664,28 +5884,30 @@ Message _withArgumentsExtraneousModifierInExtensionType(Token token) { codeExtraneousModifierInExtensionType, problemMessage: """Can't have modifier '${lexeme}' in an extension type.""", correctionMessage: """Try removing '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateExtraneousModifierInPrimaryConstructor = + templateExtraneousModifierInPrimaryConstructor = const Template( - "ExtraneousModifierInPrimaryConstructor", - problemMessageTemplate: - r"""Can't have modifier '#lexeme' in a primary constructor.""", - correctionMessageTemplate: r"""Try removing '#lexeme'.""", - withArguments: _withArgumentsExtraneousModifierInPrimaryConstructor, - ); + "ExtraneousModifierInPrimaryConstructor", + problemMessageTemplate: + r"""Can't have modifier '#lexeme' in a primary constructor.""", + correctionMessageTemplate: r"""Try removing '#lexeme'.""", + withArguments: _withArgumentsExtraneousModifierInPrimaryConstructor, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeExtraneousModifierInPrimaryConstructor = + codeExtraneousModifierInPrimaryConstructor = const Code( - "ExtraneousModifierInPrimaryConstructor", - index: 175, - ); + "ExtraneousModifierInPrimaryConstructor", + index: 175, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsExtraneousModifierInPrimaryConstructor(Token token) { @@ -5695,25 +5917,27 @@ Message _withArgumentsExtraneousModifierInPrimaryConstructor(Token token) { problemMessage: """Can't have modifier '${lexeme}' in a primary constructor.""", correctionMessage: """Try removing '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFactoryConflictsWithMember = + templateFactoryConflictsWithMember = const Template( - "FactoryConflictsWithMember", - problemMessageTemplate: r"""The factory conflicts with member '#name'.""", - withArguments: _withArgumentsFactoryConflictsWithMember, - ); + "FactoryConflictsWithMember", + problemMessageTemplate: r"""The factory conflicts with member '#name'.""", + withArguments: _withArgumentsFactoryConflictsWithMember, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFactoryConflictsWithMember = const Code( - "FactoryConflictsWithMember", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "FactoryConflictsWithMember", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFactoryConflictsWithMember(String name) { @@ -5722,25 +5946,27 @@ Message _withArgumentsFactoryConflictsWithMember(String name) { return new Message( codeFactoryConflictsWithMember, problemMessage: """The factory conflicts with member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFactoryConflictsWithMemberCause = + templateFactoryConflictsWithMemberCause = const Template( - "FactoryConflictsWithMemberCause", - problemMessageTemplate: r"""Conflicting member '#name'.""", - withArguments: _withArgumentsFactoryConflictsWithMemberCause, - ); + "FactoryConflictsWithMemberCause", + problemMessageTemplate: r"""Conflicting member '#name'.""", + withArguments: _withArgumentsFactoryConflictsWithMemberCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFactoryConflictsWithMemberCause = const Code( - "FactoryConflictsWithMemberCause", - severity: Severity.context, - ); + "FactoryConflictsWithMemberCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFactoryConflictsWithMemberCause(String name) { @@ -5749,7 +5975,9 @@ Message _withArgumentsFactoryConflictsWithMemberCause(String name) { return new Message( codeFactoryConflictsWithMemberCause, problemMessage: """Conflicting member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -5780,14 +6008,16 @@ const MessageCode messageFactoryTopLevelDeclaration = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateFastaCLIArgumentRequired = const Template( - "FastaCLIArgumentRequired", - problemMessageTemplate: r"""Expected value after '#name'.""", - withArguments: _withArgumentsFastaCLIArgumentRequired, - ); + "FastaCLIArgumentRequired", + problemMessageTemplate: r"""Expected value after '#name'.""", + withArguments: _withArgumentsFastaCLIArgumentRequired, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFastaCLIArgumentRequired = - const Code("FastaCLIArgumentRequired"); + const Code( + "FastaCLIArgumentRequired", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFastaCLIArgumentRequired(String name) { @@ -5796,7 +6026,9 @@ Message _withArgumentsFastaCLIArgumentRequired(String name) { return new Message( codeFastaCLIArgumentRequired, problemMessage: """Expected value after '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -5921,8 +6153,8 @@ const Code codeFfiAbiSpecificIntegerMappingInvalid = messageFfiAbiSpecificIntegerMappingInvalid; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFfiAbiSpecificIntegerMappingInvalid = const MessageCode( +const MessageCode messageFfiAbiSpecificIntegerMappingInvalid = + const MessageCode( "FfiAbiSpecificIntegerMappingInvalid", problemMessage: r"""Classes extending 'AbiSpecificInteger' must have exactly one 'AbiSpecificIntegerMapping' annotation specifying the mapping from ABI to a NativeType integer with a fixed size.""", @@ -5963,28 +6195,25 @@ const MessageCode messageFfiAddressReceiver = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiCompoundImplementsFinalizable = + templateFfiCompoundImplementsFinalizable = const Template( - "FfiCompoundImplementsFinalizable", - problemMessageTemplate: - r"""#string '#name' can't implement Finalizable.""", - correctionMessageTemplate: - r"""Try removing the implements clause from '#name'.""", - withArguments: _withArgumentsFfiCompoundImplementsFinalizable, - ); + "FfiCompoundImplementsFinalizable", + problemMessageTemplate: r"""#string '#name' can't implement Finalizable.""", + correctionMessageTemplate: + r"""Try removing the implements clause from '#name'.""", + withArguments: _withArgumentsFfiCompoundImplementsFinalizable, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiCompoundImplementsFinalizable = + codeFfiCompoundImplementsFinalizable = const Code( - "FfiCompoundImplementsFinalizable", - ); + "FfiCompoundImplementsFinalizable", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiCompoundImplementsFinalizable( - String string, - String name, -) { + String string, String name) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -5992,7 +6221,10 @@ Message _withArgumentsFfiCompoundImplementsFinalizable( codeFfiCompoundImplementsFinalizable, problemMessage: """${string} '${name}' can't implement Finalizable.""", correctionMessage: """Try removing the implements clause from '${name}'.""", - arguments: {'string': string, 'name': name}, + arguments: { + 'string': string, + 'name': name, + }, ); } @@ -6013,10 +6245,10 @@ const Code codeFfiDeeplyImmutableClassesMustBeFinalOrSealed = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageFfiDeeplyImmutableClassesMustBeFinalOrSealed = const MessageCode( - "FfiDeeplyImmutableClassesMustBeFinalOrSealed", - problemMessage: r"""Deeply immutable classes must be final or sealed.""", - correctionMessage: r"""Try marking this class as final or sealed.""", - ); + "FfiDeeplyImmutableClassesMustBeFinalOrSealed", + problemMessage: r"""Deeply immutable classes must be final or sealed.""", + correctionMessage: r"""Try marking this class as final or sealed.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiDeeplyImmutableFieldsModifiers = @@ -6036,8 +6268,8 @@ const Code codeFfiDeeplyImmutableFieldsMustBeDeeplyImmutable = messageFfiDeeplyImmutableFieldsMustBeDeeplyImmutable; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFfiDeeplyImmutableFieldsMustBeDeeplyImmutable = const MessageCode( +const MessageCode messageFfiDeeplyImmutableFieldsMustBeDeeplyImmutable = + const MessageCode( "FfiDeeplyImmutableFieldsMustBeDeeplyImmutable", problemMessage: r"""Deeply immutable classes must only have deeply immutable instance fields. Deeply immutable types include 'int', 'double', 'bool', 'String', 'Pointer', 'Float32x4', 'Float64x2', 'Int32x4', and classes annotated with `@pragma('vm:deeply-immutable')`.""", @@ -6050,8 +6282,8 @@ const Code codeFfiDeeplyImmutableSubtypesMustBeDeeplyImmutable = messageFfiDeeplyImmutableSubtypesMustBeDeeplyImmutable; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFfiDeeplyImmutableSubtypesMustBeDeeplyImmutable = const MessageCode( +const MessageCode messageFfiDeeplyImmutableSubtypesMustBeDeeplyImmutable = + const MessageCode( "FfiDeeplyImmutableSubtypesMustBeDeeplyImmutable", problemMessage: r"""Subtypes of deeply immutable classes must be deeply immutable.""", @@ -6064,8 +6296,8 @@ const Code codeFfiDeeplyImmutableSupertypeMustBeDeeplyImmutable = messageFfiDeeplyImmutableSupertypeMustBeDeeplyImmutable; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFfiDeeplyImmutableSupertypeMustBeDeeplyImmutable = const MessageCode( +const MessageCode messageFfiDeeplyImmutableSupertypeMustBeDeeplyImmutable = + const MessageCode( "FfiDeeplyImmutableSupertypeMustBeDeeplyImmutable", problemMessage: r"""The super type of deeply immutable classes must be deeply immutable.""", @@ -6086,9 +6318,8 @@ const MessageCode messageFfiDefaultAssetDuplicate = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiEmptyStruct = const Template< - Message Function(String string, String name) ->( + templateFfiEmptyStruct = + const Template( "FfiEmptyStruct", problemMessageTemplate: r"""#string '#name' is empty. Empty structs and unions are undefined behavior.""", @@ -6097,7 +6328,9 @@ templateFfiEmptyStruct = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiEmptyStruct = - const Code("FfiEmptyStruct"); + const Code( + "FfiEmptyStruct", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiEmptyStruct(String string, String name) { @@ -6108,7 +6341,10 @@ Message _withArgumentsFfiEmptyStruct(String string, String name) { codeFfiEmptyStruct, problemMessage: """${string} '${name}' is empty. Empty structs and unions are undefined behavior.""", - arguments: {'string': string, 'name': name}, + arguments: { + 'string': string, + 'name': name, + }, ); } @@ -6133,14 +6369,16 @@ const MessageCode messageFfiExpectedConstant = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateFfiExpectedConstantArg = const Template( - "FfiExpectedConstantArg", - problemMessageTemplate: r"""Argument '#name' must be a constant.""", - withArguments: _withArgumentsFfiExpectedConstantArg, - ); + "FfiExpectedConstantArg", + problemMessageTemplate: r"""Argument '#name' must be a constant.""", + withArguments: _withArgumentsFfiExpectedConstantArg, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiExpectedConstantArg = - const Code("FfiExpectedConstantArg"); + const Code( + "FfiExpectedConstantArg", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiExpectedConstantArg(String name) { @@ -6149,26 +6387,28 @@ Message _withArgumentsFfiExpectedConstantArg(String name) { return new Message( codeFfiExpectedConstantArg, problemMessage: """Argument '${name}' must be a constant.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiExtendsOrImplementsSealedClass = + templateFfiExtendsOrImplementsSealedClass = const Template( - "FfiExtendsOrImplementsSealedClass", - problemMessageTemplate: - r"""Class '#name' cannot be extended or implemented.""", - withArguments: _withArgumentsFfiExtendsOrImplementsSealedClass, - ); + "FfiExtendsOrImplementsSealedClass", + problemMessageTemplate: + r"""Class '#name' cannot be extended or implemented.""", + withArguments: _withArgumentsFfiExtendsOrImplementsSealedClass, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiExtendsOrImplementsSealedClass = + codeFfiExtendsOrImplementsSealedClass = const Code( - "FfiExtendsOrImplementsSealedClass", - ); + "FfiExtendsOrImplementsSealedClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiExtendsOrImplementsSealedClass(String name) { @@ -6177,13 +6417,15 @@ Message _withArgumentsFfiExtendsOrImplementsSealedClass(String name) { return new Message( codeFfiExtendsOrImplementsSealedClass, problemMessage: """Class '${name}' cannot be extended or implemented.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiFieldAnnotation = const Template( +const Template templateFfiFieldAnnotation = + const Template( "FfiFieldAnnotation", problemMessageTemplate: r"""Field '#name' requires exactly one annotation to declare its native type, which cannot be Void. dart:ffi Structs and Unions cannot have regular Dart fields.""", @@ -6192,7 +6434,9 @@ templateFfiFieldAnnotation = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiFieldAnnotation = - const Code("FfiFieldAnnotation"); + const Code( + "FfiFieldAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiFieldAnnotation(String name) { @@ -6202,17 +6446,17 @@ Message _withArgumentsFfiFieldAnnotation(String name) { codeFfiFieldAnnotation, problemMessage: """Field '${name}' requires exactly one annotation to declare its native type, which cannot be Void. dart:ffi Structs and Unions cannot have regular Dart fields.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(String string, String name, List _names) -> -templateFfiFieldCyclic = const Template< - Message Function(String string, String name, List _names) ->( + Message Function(String string, String name, List _names)> + templateFfiFieldCyclic = const Template< + Message Function(String string, String name, List _names)>( "FfiFieldCyclic", problemMessageTemplate: r"""#string '#name' contains itself. Cycle elements: #names""", @@ -6221,16 +6465,14 @@ templateFfiFieldCyclic = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code _names)> -codeFfiFieldCyclic = const Code< - Message Function(String string, String name, List _names) ->("FfiFieldCyclic"); + codeFfiFieldCyclic = const Code< + Message Function(String string, String name, List _names)>( + "FfiFieldCyclic", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiFieldCyclic( - String string, - String name, - List _names, -) { + String string, String name, List _names) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -6240,13 +6482,17 @@ Message _withArgumentsFfiFieldCyclic( codeFfiFieldCyclic, problemMessage: """${string} '${name}' contains itself. Cycle elements: ${names}""", - arguments: {'string': string, 'name': name, 'names': _names}, + arguments: { + 'string': string, + 'name': name, + 'names': _names, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiFieldInitializer = const Template( +const Template templateFfiFieldInitializer = + const Template( "FfiFieldInitializer", problemMessageTemplate: r"""Field '#name' is a dart:ffi Pointer to a struct field and therefore cannot be initialized before constructor execution.""", @@ -6257,7 +6503,9 @@ templateFfiFieldInitializer = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiFieldInitializer = - const Code("FfiFieldInitializer"); + const Code( + "FfiFieldInitializer", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiFieldInitializer(String name) { @@ -6269,13 +6517,15 @@ Message _withArgumentsFfiFieldInitializer(String name) { """Field '${name}' is a dart:ffi Pointer to a struct field and therefore cannot be initialized before constructor execution.""", correctionMessage: """Mark the field as external to avoid having to initialize it.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiFieldNoAnnotation = const Template( +const Template templateFfiFieldNoAnnotation = + const Template( "FfiFieldNoAnnotation", problemMessageTemplate: r"""Field '#name' requires no annotation to declare its native type, it is a Pointer which is represented by the same type in Dart and native code.""", @@ -6284,7 +6534,9 @@ templateFfiFieldNoAnnotation = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiFieldNoAnnotation = - const Code("FfiFieldNoAnnotation"); + const Code( + "FfiFieldNoAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiFieldNoAnnotation(String name) { @@ -6294,13 +6546,15 @@ Message _withArgumentsFfiFieldNoAnnotation(String name) { codeFfiFieldNoAnnotation, problemMessage: """Field '${name}' requires no annotation to declare its native type, it is a Pointer which is represented by the same type in Dart and native code.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiFieldNull = const Template( +const Template templateFfiFieldNull = + const Template( "FfiFieldNull", problemMessageTemplate: r"""Field '#name' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`.""", @@ -6309,7 +6563,9 @@ templateFfiFieldNull = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiFieldNull = - const Code("FfiFieldNull"); + const Code( + "FfiFieldNull", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiFieldNull(String name) { @@ -6319,7 +6575,9 @@ Message _withArgumentsFfiFieldNull(String name) { codeFfiFieldNull, problemMessage: """Field '${name}' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -6403,8 +6661,8 @@ const Code codeFfiNativeOnlyNativeFieldWrapperClassCanBePointer = messageFfiNativeOnlyNativeFieldWrapperClassCanBePointer; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFfiNativeOnlyNativeFieldWrapperClassCanBePointer = const MessageCode( +const MessageCode messageFfiNativeOnlyNativeFieldWrapperClassCanBePointer = + const MessageCode( "FfiNativeOnlyNativeFieldWrapperClassCanBePointer", problemMessage: r"""Only classes extending NativeFieldWrapperClass1 can be passed as Pointer.""", @@ -6412,9 +6670,8 @@ messageFfiNativeOnlyNativeFieldWrapperClassCanBePointer = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiNativeUnexpectedNumberOfParameters = const Template< - Message Function(int count, int count2) ->( + templateFfiNativeUnexpectedNumberOfParameters = + const Template( "FfiNativeUnexpectedNumberOfParameters", problemMessageTemplate: r"""Unexpected number of Native annotation parameters. Expected #count but has #count2.""", @@ -6423,29 +6680,29 @@ templateFfiNativeUnexpectedNumberOfParameters = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiNativeUnexpectedNumberOfParameters = + codeFfiNativeUnexpectedNumberOfParameters = const Code( - "FfiNativeUnexpectedNumberOfParameters", - ); + "FfiNativeUnexpectedNumberOfParameters", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiNativeUnexpectedNumberOfParameters( - int count, - int count2, -) { + int count, int count2) { return new Message( codeFfiNativeUnexpectedNumberOfParameters, problemMessage: """Unexpected number of Native annotation parameters. Expected ${count} but has ${count2}.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiNativeUnexpectedNumberOfParametersWithReceiver = const Template< - Message Function(int count, int count2) ->( + templateFfiNativeUnexpectedNumberOfParametersWithReceiver = + const Template( "FfiNativeUnexpectedNumberOfParametersWithReceiver", problemMessageTemplate: r"""Unexpected number of Native annotation parameters. Expected #count but has #count2. Native instance method annotation must have receiver as first argument.""", @@ -6455,27 +6712,28 @@ templateFfiNativeUnexpectedNumberOfParametersWithReceiver = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiNativeUnexpectedNumberOfParametersWithReceiver = + codeFfiNativeUnexpectedNumberOfParametersWithReceiver = const Code( - "FfiNativeUnexpectedNumberOfParametersWithReceiver", - ); + "FfiNativeUnexpectedNumberOfParametersWithReceiver", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiNativeUnexpectedNumberOfParametersWithReceiver( - int count, - int count2, -) { + int count, int count2) { return new Message( codeFfiNativeUnexpectedNumberOfParametersWithReceiver, problemMessage: """Unexpected number of Native annotation parameters. Expected ${count} but has ${count2}. Native instance method annotation must have receiver as first argument.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiNotStatic = const Template( +const Template templateFfiNotStatic = + const Template( "FfiNotStatic", problemMessageTemplate: r"""#name expects a static function as parameter. dart:ffi only supports calling static Dart functions from native code. Closures and tear-offs are not supported because they can capture context.""", @@ -6484,7 +6742,9 @@ templateFfiNotStatic = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiNotStatic = - const Code("FfiNotStatic"); + const Code( + "FfiNotStatic", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiNotStatic(String name) { @@ -6494,22 +6754,26 @@ Message _withArgumentsFfiNotStatic(String name) { codeFfiNotStatic, problemMessage: """${name} expects a static function as parameter. dart:ffi only supports calling static Dart functions from native code. Closures and tear-offs are not supported because they can capture context.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateFfiPackedAnnotation = const Template( - "FfiPackedAnnotation", - problemMessageTemplate: - r"""Struct '#name' must have at most one 'Packed' annotation.""", - withArguments: _withArgumentsFfiPackedAnnotation, - ); + "FfiPackedAnnotation", + problemMessageTemplate: + r"""Struct '#name' must have at most one 'Packed' annotation.""", + withArguments: _withArgumentsFfiPackedAnnotation, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiPackedAnnotation = - const Code("FfiPackedAnnotation"); + const Code( + "FfiPackedAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiPackedAnnotation(String name) { @@ -6519,7 +6783,9 @@ Message _withArgumentsFfiPackedAnnotation(String name) { codeFfiPackedAnnotation, problemMessage: """Struct '${name}' must have at most one 'Packed' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -6536,15 +6802,17 @@ const MessageCode messageFfiPackedAnnotationAlignment = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateFfiSizeAnnotation = const Template( - "FfiSizeAnnotation", - problemMessageTemplate: - r"""Field '#name' must have exactly one 'Array' annotation.""", - withArguments: _withArgumentsFfiSizeAnnotation, - ); + "FfiSizeAnnotation", + problemMessageTemplate: + r"""Field '#name' must have exactly one 'Array' annotation.""", + withArguments: _withArgumentsFfiSizeAnnotation, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiSizeAnnotation = - const Code("FfiSizeAnnotation"); + const Code( + "FfiSizeAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiSizeAnnotation(String name) { @@ -6554,15 +6822,16 @@ Message _withArgumentsFfiSizeAnnotation(String name) { codeFfiSizeAnnotation, problemMessage: """Field '${name}' must have exactly one 'Array' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiSizeAnnotationDimensions = const Template< - Message Function(String name) ->( + templateFfiSizeAnnotationDimensions = + const Template( "FfiSizeAnnotationDimensions", problemMessageTemplate: r"""Field '#name' must have an 'Array' annotation that matches the dimensions.""", @@ -6571,7 +6840,9 @@ templateFfiSizeAnnotationDimensions = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiSizeAnnotationDimensions = - const Code("FfiSizeAnnotationDimensions"); + const Code( + "FfiSizeAnnotationDimensions", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiSizeAnnotationDimensions(String name) { @@ -6581,24 +6852,26 @@ Message _withArgumentsFfiSizeAnnotationDimensions(String name) { codeFfiSizeAnnotationDimensions, problemMessage: """Field '${name}' must have an 'Array' annotation that matches the dimensions.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiStructGeneric = + templateFfiStructGeneric = const Template( - "FfiStructGeneric", - problemMessageTemplate: r"""#string '#name' should not be generic.""", - withArguments: _withArgumentsFfiStructGeneric, - ); + "FfiStructGeneric", + problemMessageTemplate: r"""#string '#name' should not be generic.""", + withArguments: _withArgumentsFfiStructGeneric, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiStructGeneric = const Code( - "FfiStructGeneric", - ); + "FfiStructGeneric", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiStructGeneric(String string, String name) { @@ -6608,7 +6881,10 @@ Message _withArgumentsFfiStructGeneric(String string, String name) { return new Message( codeFfiStructGeneric, problemMessage: """${string} '${name}' should not be generic.""", - arguments: {'string': string, 'name': name}, + arguments: { + 'string': string, + 'name': name, + }, ); } @@ -6627,9 +6903,8 @@ const MessageCode messageFfiVariableLengthArrayNotLast = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldAlreadyInitializedAtDeclaration = const Template< - Message Function(String name) ->( + templateFieldAlreadyInitializedAtDeclaration = + const Template( "FieldAlreadyInitializedAtDeclaration", problemMessageTemplate: r"""'#name' is a final instance variable that was initialized at the declaration.""", @@ -6638,13 +6913,11 @@ templateFieldAlreadyInitializedAtDeclaration = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldAlreadyInitializedAtDeclaration = + codeFieldAlreadyInitializedAtDeclaration = const Code( - "FieldAlreadyInitializedAtDeclaration", - analyzerCodes: [ - "FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION", - ], - ); + "FieldAlreadyInitializedAtDeclaration", + analyzerCodes: ["FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldAlreadyInitializedAtDeclaration(String name) { @@ -6654,26 +6927,28 @@ Message _withArgumentsFieldAlreadyInitializedAtDeclaration(String name) { codeFieldAlreadyInitializedAtDeclaration, problemMessage: """'${name}' is a final instance variable that was initialized at the declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldAlreadyInitializedAtDeclarationCause = + templateFieldAlreadyInitializedAtDeclarationCause = const Template( - "FieldAlreadyInitializedAtDeclarationCause", - problemMessageTemplate: r"""'#name' was initialized here.""", - withArguments: _withArgumentsFieldAlreadyInitializedAtDeclarationCause, - ); + "FieldAlreadyInitializedAtDeclarationCause", + problemMessageTemplate: r"""'#name' was initialized here.""", + withArguments: _withArgumentsFieldAlreadyInitializedAtDeclarationCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldAlreadyInitializedAtDeclarationCause = + codeFieldAlreadyInitializedAtDeclarationCause = const Code( - "FieldAlreadyInitializedAtDeclarationCause", - severity: Severity.context, - ); + "FieldAlreadyInitializedAtDeclarationCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldAlreadyInitializedAtDeclarationCause(String name) { @@ -6682,7 +6957,9 @@ Message _withArgumentsFieldAlreadyInitializedAtDeclarationCause(String name) { return new Message( codeFieldAlreadyInitializedAtDeclarationCause, problemMessage: """'${name}' was initialized here.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -6691,8 +6968,8 @@ const Code codeFieldInitializedOutsideDeclaringClass = messageFieldInitializedOutsideDeclaringClass; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFieldInitializedOutsideDeclaringClass = const MessageCode( +const MessageCode messageFieldInitializedOutsideDeclaringClass = + const MessageCode( "FieldInitializedOutsideDeclaringClass", index: 88, problemMessage: r"""A field can only be initialized in its declaring class""", @@ -6715,9 +6992,8 @@ const MessageCode messageFieldInitializerOutsideConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseConflictingField = const Template< - Message Function(String name, String name2, String string) ->( + templateFieldNotPromotedBecauseConflictingField = + const Template( "FieldNotPromotedBecauseConflictingField", problemMessageTemplate: r"""'#name' couldn't be promoted because there is a conflicting non-promotable field in class '#name2'.""", @@ -6727,17 +7003,14 @@ templateFieldNotPromotedBecauseConflictingField = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseConflictingField = + codeFieldNotPromotedBecauseConflictingField = const Code( - "FieldNotPromotedBecauseConflictingField", - ); + "FieldNotPromotedBecauseConflictingField", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseConflictingField( - String name, - String name2, - String string, -) { + String name, String name2, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -6748,15 +7021,18 @@ Message _withArgumentsFieldNotPromotedBecauseConflictingField( problemMessage: """'${name}' couldn't be promoted because there is a conflicting non-promotable field in class '${name2}'.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'name2': name2, 'string': string}, + arguments: { + 'name': name, + 'name2': name2, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseConflictingGetter = const Template< - Message Function(String name, String name2, String string) ->( + templateFieldNotPromotedBecauseConflictingGetter = + const Template( "FieldNotPromotedBecauseConflictingGetter", problemMessageTemplate: r"""'#name' couldn't be promoted because there is a conflicting getter in class '#name2'.""", @@ -6766,17 +7042,14 @@ templateFieldNotPromotedBecauseConflictingGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseConflictingGetter = + codeFieldNotPromotedBecauseConflictingGetter = const Code( - "FieldNotPromotedBecauseConflictingGetter", - ); + "FieldNotPromotedBecauseConflictingGetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseConflictingGetter( - String name, - String name2, - String string, -) { + String name, String name2, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -6787,15 +7060,18 @@ Message _withArgumentsFieldNotPromotedBecauseConflictingGetter( problemMessage: """'${name}' couldn't be promoted because there is a conflicting getter in class '${name2}'.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'name2': name2, 'string': string}, + arguments: { + 'name': name, + 'name2': name2, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseConflictingNsmForwarder = const Template< - Message Function(String name, String name2, String string) ->( + templateFieldNotPromotedBecauseConflictingNsmForwarder = + const Template( "FieldNotPromotedBecauseConflictingNsmForwarder", problemMessageTemplate: r"""'#name' couldn't be promoted because there is a conflicting noSuchMethod forwarder in class '#name2'.""", @@ -6805,17 +7081,14 @@ templateFieldNotPromotedBecauseConflictingNsmForwarder = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseConflictingNsmForwarder = + codeFieldNotPromotedBecauseConflictingNsmForwarder = const Code( - "FieldNotPromotedBecauseConflictingNsmForwarder", - ); + "FieldNotPromotedBecauseConflictingNsmForwarder", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseConflictingNsmForwarder( - String name, - String name2, - String string, -) { + String name, String name2, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -6826,15 +7099,18 @@ Message _withArgumentsFieldNotPromotedBecauseConflictingNsmForwarder( problemMessage: """'${name}' couldn't be promoted because there is a conflicting noSuchMethod forwarder in class '${name2}'.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'name2': name2, 'string': string}, + arguments: { + 'name': name, + 'name2': name2, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseExternal = const Template< - Message Function(String name, String string) ->( + templateFieldNotPromotedBecauseExternal = + const Template( "FieldNotPromotedBecauseExternal", problemMessageTemplate: r"""'#name' refers to an external field so it couldn't be promoted.""", @@ -6844,16 +7120,14 @@ templateFieldNotPromotedBecauseExternal = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseExternal = + codeFieldNotPromotedBecauseExternal = const Code( - "FieldNotPromotedBecauseExternal", - ); + "FieldNotPromotedBecauseExternal", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseExternal( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -6862,15 +7136,17 @@ Message _withArgumentsFieldNotPromotedBecauseExternal( problemMessage: """'${name}' refers to an external field so it couldn't be promoted.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseNotEnabled = const Template< - Message Function(String name, String string) ->( + templateFieldNotPromotedBecauseNotEnabled = + const Template( "FieldNotPromotedBecauseNotEnabled", problemMessageTemplate: r"""'#name' couldn't be promoted because field promotion is only available in Dart 3.2 and above.""", @@ -6880,16 +7156,14 @@ templateFieldNotPromotedBecauseNotEnabled = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseNotEnabled = + codeFieldNotPromotedBecauseNotEnabled = const Code( - "FieldNotPromotedBecauseNotEnabled", - ); + "FieldNotPromotedBecauseNotEnabled", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseNotEnabled( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -6898,33 +7172,34 @@ Message _withArgumentsFieldNotPromotedBecauseNotEnabled( problemMessage: """'${name}' couldn't be promoted because field promotion is only available in Dart 3.2 and above.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseNotField = + templateFieldNotPromotedBecauseNotField = const Template( - "FieldNotPromotedBecauseNotField", - problemMessageTemplate: - r"""'#name' refers to a getter so it couldn't be promoted.""", - correctionMessageTemplate: r"""See #string""", - withArguments: _withArgumentsFieldNotPromotedBecauseNotField, - ); + "FieldNotPromotedBecauseNotField", + problemMessageTemplate: + r"""'#name' refers to a getter so it couldn't be promoted.""", + correctionMessageTemplate: r"""See #string""", + withArguments: _withArgumentsFieldNotPromotedBecauseNotField, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseNotField = + codeFieldNotPromotedBecauseNotField = const Code( - "FieldNotPromotedBecauseNotField", - ); + "FieldNotPromotedBecauseNotField", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseNotField( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -6933,15 +7208,17 @@ Message _withArgumentsFieldNotPromotedBecauseNotField( problemMessage: """'${name}' refers to a getter so it couldn't be promoted.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseNotFinal = const Template< - Message Function(String name, String string) ->( + templateFieldNotPromotedBecauseNotFinal = + const Template( "FieldNotPromotedBecauseNotFinal", problemMessageTemplate: r"""'#name' refers to a non-final field so it couldn't be promoted.""", @@ -6951,16 +7228,14 @@ templateFieldNotPromotedBecauseNotFinal = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseNotFinal = + codeFieldNotPromotedBecauseNotFinal = const Code( - "FieldNotPromotedBecauseNotFinal", - ); + "FieldNotPromotedBecauseNotFinal", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseNotFinal( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -6969,15 +7244,17 @@ Message _withArgumentsFieldNotPromotedBecauseNotFinal( problemMessage: """'${name}' refers to a non-final field so it couldn't be promoted.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNotPromotedBecauseNotPrivate = const Template< - Message Function(String name, String string) ->( + templateFieldNotPromotedBecauseNotPrivate = + const Template( "FieldNotPromotedBecauseNotPrivate", problemMessageTemplate: r"""'#name' refers to a public property so it couldn't be promoted.""", @@ -6987,16 +7264,14 @@ templateFieldNotPromotedBecauseNotPrivate = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNotPromotedBecauseNotPrivate = + codeFieldNotPromotedBecauseNotPrivate = const Code( - "FieldNotPromotedBecauseNotPrivate", - ); + "FieldNotPromotedBecauseNotPrivate", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNotPromotedBecauseNotPrivate( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -7005,7 +7280,10 @@ Message _withArgumentsFieldNotPromotedBecauseNotPrivate( problemMessage: """'${name}' refers to a public property so it couldn't be promoted.""", correctionMessage: """See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } @@ -7027,8 +7305,8 @@ const Code codeFinalAndCovariantLateWithInitializer = messageFinalAndCovariantLateWithInitializer; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageFinalAndCovariantLateWithInitializer = const MessageCode( +const MessageCode messageFinalAndCovariantLateWithInitializer = + const MessageCode( "FinalAndCovariantLateWithInitializer", index: 101, problemMessage: @@ -7051,9 +7329,8 @@ const MessageCode messageFinalAndVar = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalClassExtendedOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateFinalClassExtendedOutsideOfLibrary = + const Template( "FinalClassExtendedOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be extended outside of its library because it's a final class.""", @@ -7062,11 +7339,11 @@ templateFinalClassExtendedOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFinalClassExtendedOutsideOfLibrary = + codeFinalClassExtendedOutsideOfLibrary = const Code( - "FinalClassExtendedOutsideOfLibrary", - analyzerCodes: ["FINAL_CLASS_EXTENDED_OUTSIDE_OF_LIBRARY"], - ); + "FinalClassExtendedOutsideOfLibrary", + analyzerCodes: ["FINAL_CLASS_EXTENDED_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalClassExtendedOutsideOfLibrary(String name) { @@ -7076,15 +7353,16 @@ Message _withArgumentsFinalClassExtendedOutsideOfLibrary(String name) { codeFinalClassExtendedOutsideOfLibrary, problemMessage: """The class '${name}' can't be extended outside of its library because it's a final class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalClassImplementedOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateFinalClassImplementedOutsideOfLibrary = + const Template( "FinalClassImplementedOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be implemented outside of its library because it's a final class.""", @@ -7093,11 +7371,11 @@ templateFinalClassImplementedOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFinalClassImplementedOutsideOfLibrary = + codeFinalClassImplementedOutsideOfLibrary = const Code( - "FinalClassImplementedOutsideOfLibrary", - analyzerCodes: ["FINAL_CLASS_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], - ); + "FinalClassImplementedOutsideOfLibrary", + analyzerCodes: ["FINAL_CLASS_IMPLEMENTED_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalClassImplementedOutsideOfLibrary(String name) { @@ -7107,15 +7385,16 @@ Message _withArgumentsFinalClassImplementedOutsideOfLibrary(String name) { codeFinalClassImplementedOutsideOfLibrary, problemMessage: """The class '${name}' can't be implemented outside of its library because it's a final class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalClassUsedAsMixinConstraintOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateFinalClassUsedAsMixinConstraintOutsideOfLibrary = + const Template( "FinalClassUsedAsMixinConstraintOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be used as a mixin superclass constraint outside of its library because it's a final class.""", @@ -7124,25 +7403,26 @@ templateFinalClassUsedAsMixinConstraintOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFinalClassUsedAsMixinConstraintOutsideOfLibrary = + codeFinalClassUsedAsMixinConstraintOutsideOfLibrary = const Code( - "FinalClassUsedAsMixinConstraintOutsideOfLibrary", - analyzerCodes: [ - "FINAL_CLASS_USED_AS_MIXIN_CONSTRAINT_OUTSIDE_OF_LIBRARY", - ], - ); + "FinalClassUsedAsMixinConstraintOutsideOfLibrary", + analyzerCodes: [ + "FINAL_CLASS_USED_AS_MIXIN_CONSTRAINT_OUTSIDE_OF_LIBRARY" + ], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalClassUsedAsMixinConstraintOutsideOfLibrary( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( codeFinalClassUsedAsMixinConstraintOutsideOfLibrary, problemMessage: """The class '${name}' can't be used as a mixin superclass constraint outside of its library because it's a final class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -7158,10 +7438,8 @@ const MessageCode messageFinalEnum = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFinalFieldNotInitialized = const Template< - Message Function(String name) ->( +const Template templateFinalFieldNotInitialized = + const Template( "FinalFieldNotInitialized", problemMessageTemplate: r"""Final field '#name' is not initialized.""", correctionMessageTemplate: @@ -7172,9 +7450,9 @@ templateFinalFieldNotInitialized = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFinalFieldNotInitialized = const Code( - "FinalFieldNotInitialized", - analyzerCodes: ["FINAL_NOT_INITIALIZED"], - ); + "FinalFieldNotInitialized", + analyzerCodes: ["FINAL_NOT_INITIALIZED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalFieldNotInitialized(String name) { @@ -7185,15 +7463,16 @@ Message _withArgumentsFinalFieldNotInitialized(String name) { problemMessage: """Final field '${name}' is not initialized.""", correctionMessage: """Try to initialize the field in the declaration or in every constructor.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalFieldNotInitializedByConstructor = const Template< - Message Function(String name) ->( + templateFinalFieldNotInitializedByConstructor = + const Template( "FinalFieldNotInitializedByConstructor", problemMessageTemplate: r"""Final field '#name' is not initialized by this constructor.""", @@ -7204,11 +7483,11 @@ templateFinalFieldNotInitializedByConstructor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFinalFieldNotInitializedByConstructor = + codeFinalFieldNotInitializedByConstructor = const Code( - "FinalFieldNotInitializedByConstructor", - analyzerCodes: ["FINAL_NOT_INITIALIZED_CONSTRUCTOR_1"], - ); + "FinalFieldNotInitializedByConstructor", + analyzerCodes: ["FINAL_NOT_INITIALIZED_CONSTRUCTOR_1"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalFieldNotInitializedByConstructor(String name) { @@ -7220,28 +7499,30 @@ Message _withArgumentsFinalFieldNotInitializedByConstructor(String name) { """Final field '${name}' is not initialized by this constructor.""", correctionMessage: """Try to initialize the field using an initializing formal or a field initializer.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalFieldWithoutInitializer = + templateFinalFieldWithoutInitializer = const Template( - "FinalFieldWithoutInitializer", - problemMessageTemplate: - r"""The final variable '#name' must be initialized.""", - correctionMessageTemplate: - r"""Try adding an initializer ('= expression') to the declaration.""", - withArguments: _withArgumentsFinalFieldWithoutInitializer, - ); + "FinalFieldWithoutInitializer", + problemMessageTemplate: + r"""The final variable '#name' must be initialized.""", + correctionMessageTemplate: + r"""Try adding an initializer ('= expression') to the declaration.""", + withArguments: _withArgumentsFinalFieldWithoutInitializer, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFinalFieldWithoutInitializer = const Code( - "FinalFieldWithoutInitializer", - analyzerCodes: ["FINAL_NOT_INITIALIZED"], - ); + "FinalFieldWithoutInitializer", + analyzerCodes: ["FINAL_NOT_INITIALIZED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalFieldWithoutInitializer(String name) { @@ -7252,7 +7533,9 @@ Message _withArgumentsFinalFieldWithoutInitializer(String name) { problemMessage: """The final variable '${name}' must be initialized.""", correctionMessage: """Try adding an initializer ('= expression') to the declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -7281,18 +7564,18 @@ const MessageCode messageFinalMixinClass = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateFinalNotAssignedError = const Template( - "FinalNotAssignedError", - problemMessageTemplate: - r"""Final variable '#name' must be assigned before it can be used.""", - withArguments: _withArgumentsFinalNotAssignedError, - ); + "FinalNotAssignedError", + problemMessageTemplate: + r"""Final variable '#name' must be assigned before it can be used.""", + withArguments: _withArgumentsFinalNotAssignedError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFinalNotAssignedError = const Code( - "FinalNotAssignedError", - analyzerCodes: ["READ_POTENTIALLY_UNASSIGNED_FINAL"], - ); + "FinalNotAssignedError", + analyzerCodes: ["READ_POTENTIALLY_UNASSIGNED_FINAL"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalNotAssignedError(String name) { @@ -7302,15 +7585,16 @@ Message _withArgumentsFinalNotAssignedError(String name) { codeFinalNotAssignedError, problemMessage: """Final variable '${name}' must be assigned before it can be used.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFinalPossiblyAssignedError = const Template< - Message Function(String name) ->( + templateFinalPossiblyAssignedError = + const Template( "FinalPossiblyAssignedError", problemMessageTemplate: r"""Final variable '#name' might already be assigned at this point.""", @@ -7320,9 +7604,9 @@ templateFinalPossiblyAssignedError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFinalPossiblyAssignedError = const Code( - "FinalPossiblyAssignedError", - analyzerCodes: ["ASSIGNMENT_TO_FINAL_LOCAL"], - ); + "FinalPossiblyAssignedError", + analyzerCodes: ["ASSIGNMENT_TO_FINAL_LOCAL"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFinalPossiblyAssignedError(String name) { @@ -7332,7 +7616,9 @@ Message _withArgumentsFinalPossiblyAssignedError(String name) { codeFinalPossiblyAssignedError, problemMessage: """Final variable '${name}' might already be assigned at this point.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -7420,12 +7706,12 @@ const Code codeGenericFunctionTypeUsedAsActualTypeArgument = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageGenericFunctionTypeUsedAsActualTypeArgument = const MessageCode( - "GenericFunctionTypeUsedAsActualTypeArgument", - analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], - problemMessage: - r"""A generic function type can't be used as a type argument.""", - correctionMessage: r"""Try using a non-generic function type.""", - ); + "GenericFunctionTypeUsedAsActualTypeArgument", + analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], + problemMessage: + r"""A generic function type can't be used as a type argument.""", + correctionMessage: r"""Try using a non-generic function type.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeGetterConstructor = messageGetterConstructor; @@ -7441,17 +7727,17 @@ const MessageCode messageGetterConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateGetterNotFound = const Template( - "GetterNotFound", - problemMessageTemplate: r"""Getter not found: '#name'.""", - withArguments: _withArgumentsGetterNotFound, - ); + "GetterNotFound", + problemMessageTemplate: r"""Getter not found: '#name'.""", + withArguments: _withArgumentsGetterNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeGetterNotFound = const Code( - "GetterNotFound", - analyzerCodes: ["UNDEFINED_GETTER"], - ); + "GetterNotFound", + analyzerCodes: ["UNDEFINED_GETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsGetterNotFound(String name) { @@ -7460,7 +7746,9 @@ Message _withArgumentsGetterNotFound(String name) { return new Message( codeGetterNotFound, problemMessage: """Getter not found: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -7505,10 +7793,10 @@ const Code codeIllegalAsyncGeneratorVoidReturnType = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageIllegalAsyncGeneratorVoidReturnType = const MessageCode( - "IllegalAsyncGeneratorVoidReturnType", - problemMessage: - r"""Functions marked 'async*' can't have return type 'void'.""", - ); + "IllegalAsyncGeneratorVoidReturnType", + problemMessage: + r"""Functions marked 'async*' can't have return type 'void'.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIllegalAsyncReturnType = messageIllegalAsyncReturnType; @@ -7524,17 +7812,17 @@ const MessageCode messageIllegalAsyncReturnType = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateIllegalMixin = const Template( - "IllegalMixin", - problemMessageTemplate: r"""The type '#name' can't be mixed in.""", - withArguments: _withArgumentsIllegalMixin, - ); + "IllegalMixin", + problemMessageTemplate: r"""The type '#name' can't be mixed in.""", + withArguments: _withArgumentsIllegalMixin, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIllegalMixin = const Code( - "IllegalMixin", - analyzerCodes: ["ILLEGAL_MIXIN"], - ); + "IllegalMixin", + analyzerCodes: ["ILLEGAL_MIXIN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalMixin(String name) { @@ -7543,26 +7831,28 @@ Message _withArgumentsIllegalMixin(String name) { return new Message( codeIllegalMixin, problemMessage: """The type '${name}' can't be mixed in.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIllegalMixinDueToConstructors = + templateIllegalMixinDueToConstructors = const Template( - "IllegalMixinDueToConstructors", - problemMessageTemplate: - r"""Can't use '#name' as a mixin because it has constructors.""", - withArguments: _withArgumentsIllegalMixinDueToConstructors, - ); + "IllegalMixinDueToConstructors", + problemMessageTemplate: + r"""Can't use '#name' as a mixin because it has constructors.""", + withArguments: _withArgumentsIllegalMixinDueToConstructors, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIllegalMixinDueToConstructors = const Code( - "IllegalMixinDueToConstructors", - analyzerCodes: ["MIXIN_DECLARES_CONSTRUCTOR"], - ); + "IllegalMixinDueToConstructors", + analyzerCodes: ["MIXIN_DECLARES_CONSTRUCTOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalMixinDueToConstructors(String name) { @@ -7572,27 +7862,29 @@ Message _withArgumentsIllegalMixinDueToConstructors(String name) { codeIllegalMixinDueToConstructors, problemMessage: """Can't use '${name}' as a mixin because it has constructors.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIllegalMixinDueToConstructorsCause = + templateIllegalMixinDueToConstructorsCause = const Template( - "IllegalMixinDueToConstructorsCause", - problemMessageTemplate: - r"""This constructor prevents using '#name' as a mixin.""", - withArguments: _withArgumentsIllegalMixinDueToConstructorsCause, - ); + "IllegalMixinDueToConstructorsCause", + problemMessageTemplate: + r"""This constructor prevents using '#name' as a mixin.""", + withArguments: _withArgumentsIllegalMixinDueToConstructorsCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIllegalMixinDueToConstructorsCause = + codeIllegalMixinDueToConstructorsCause = const Code( - "IllegalMixinDueToConstructorsCause", - severity: Severity.context, - ); + "IllegalMixinDueToConstructorsCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalMixinDueToConstructorsCause(String name) { @@ -7601,15 +7893,16 @@ Message _withArgumentsIllegalMixinDueToConstructorsCause(String name) { return new Message( codeIllegalMixinDueToConstructorsCause, problemMessage: """This constructor prevents using '${name}' as a mixin.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIllegalPatternAssignmentVariableName = const Template< - Message Function(Token token) ->( + templateIllegalPatternAssignmentVariableName = + const Template( "IllegalPatternAssignmentVariableName", problemMessageTemplate: r"""A variable assigned by a pattern assignment can't be named '#lexeme'.""", @@ -7619,11 +7912,11 @@ templateIllegalPatternAssignmentVariableName = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIllegalPatternAssignmentVariableName = + codeIllegalPatternAssignmentVariableName = const Code( - "IllegalPatternAssignmentVariableName", - index: 160, - ); + "IllegalPatternAssignmentVariableName", + index: 160, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalPatternAssignmentVariableName(Token token) { @@ -7633,27 +7926,29 @@ Message _withArgumentsIllegalPatternAssignmentVariableName(Token token) { problemMessage: """A variable assigned by a pattern assignment can't be named '${lexeme}'.""", correctionMessage: """Choose a different name.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIllegalPatternIdentifierName = + templateIllegalPatternIdentifierName = const Template( - "IllegalPatternIdentifierName", - problemMessageTemplate: - r"""A pattern can't refer to an identifier named '#lexeme'.""", - correctionMessageTemplate: r"""Match the identifier using '==""", - withArguments: _withArgumentsIllegalPatternIdentifierName, - ); + "IllegalPatternIdentifierName", + problemMessageTemplate: + r"""A pattern can't refer to an identifier named '#lexeme'.""", + correctionMessageTemplate: r"""Match the identifier using '==""", + withArguments: _withArgumentsIllegalPatternIdentifierName, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIllegalPatternIdentifierName = const Code( - "IllegalPatternIdentifierName", - index: 161, - ); + "IllegalPatternIdentifierName", + index: 161, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalPatternIdentifierName(Token token) { @@ -7663,15 +7958,16 @@ Message _withArgumentsIllegalPatternIdentifierName(Token token) { problemMessage: """A pattern can't refer to an identifier named '${lexeme}'.""", correctionMessage: """Match the identifier using '==""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIllegalPatternVariableName = const Template< - Message Function(Token token) ->( + templateIllegalPatternVariableName = + const Template( "IllegalPatternVariableName", problemMessageTemplate: r"""The variable declared by a variable pattern can't be named '#lexeme'.""", @@ -7682,9 +7978,9 @@ templateIllegalPatternVariableName = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIllegalPatternVariableName = const Code( - "IllegalPatternVariableName", - index: 159, - ); + "IllegalPatternVariableName", + index: 159, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIllegalPatternVariableName(Token token) { @@ -7694,7 +7990,9 @@ Message _withArgumentsIllegalPatternVariableName(Token token) { problemMessage: """The variable declared by a variable pattern can't be named '${lexeme}'.""", correctionMessage: """Choose a different name.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -7723,9 +8021,8 @@ const MessageCode messageIllegalSyncGeneratorVoidReturnType = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplementMultipleExtensionTypeMembers = const Template< - Message Function(String name, String name2) ->( + templateImplementMultipleExtensionTypeMembers = + const Template( "ImplementMultipleExtensionTypeMembers", problemMessageTemplate: r"""The extension type '#name' can't inherit the member '#name2' from more than one extension type.""", @@ -7736,16 +8033,14 @@ templateImplementMultipleExtensionTypeMembers = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImplementMultipleExtensionTypeMembers = + codeImplementMultipleExtensionTypeMembers = const Code( - "ImplementMultipleExtensionTypeMembers", - ); + "ImplementMultipleExtensionTypeMembers", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplementMultipleExtensionTypeMembers( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -7756,15 +8051,17 @@ Message _withArgumentsImplementMultipleExtensionTypeMembers( """The extension type '${name}' can't inherit the member '${name2}' from more than one extension type.""", correctionMessage: """Try declaring a member '${name2}' in '${name}' to resolve the conflict.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplementNonExtensionTypeAndExtensionTypeMember = const Template< - Message Function(String name, String name2) ->( + templateImplementNonExtensionTypeAndExtensionTypeMember = + const Template( "ImplementNonExtensionTypeAndExtensionTypeMember", problemMessageTemplate: r"""The extension type '#name' can't inherit the member '#name2' as both an extension type member and a non-extension type member.""", @@ -7775,16 +8072,14 @@ templateImplementNonExtensionTypeAndExtensionTypeMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImplementNonExtensionTypeAndExtensionTypeMember = + codeImplementNonExtensionTypeAndExtensionTypeMember = const Code( - "ImplementNonExtensionTypeAndExtensionTypeMember", - ); + "ImplementNonExtensionTypeAndExtensionTypeMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplementNonExtensionTypeAndExtensionTypeMember( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -7795,7 +8090,10 @@ Message _withArgumentsImplementNonExtensionTypeAndExtensionTypeMember( """The extension type '${name}' can't inherit the member '${name2}' as both an extension type member and a non-extension type member.""", correctionMessage: """Try declaring a member '${name2}' in '${name}' to resolve the conflict.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -7858,20 +8156,20 @@ const MessageCode messageImplementsNever = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplementsRepeated = + templateImplementsRepeated = const Template( - "ImplementsRepeated", - problemMessageTemplate: r"""'#name' can only be implemented once.""", - correctionMessageTemplate: r"""Try removing #count of the occurrences.""", - withArguments: _withArgumentsImplementsRepeated, - ); + "ImplementsRepeated", + problemMessageTemplate: r"""'#name' can only be implemented once.""", + correctionMessageTemplate: r"""Try removing #count of the occurrences.""", + withArguments: _withArgumentsImplementsRepeated, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeImplementsRepeated = const Code( - "ImplementsRepeated", - analyzerCodes: ["IMPLEMENTS_REPEATED"], - ); + "ImplementsRepeated", + analyzerCodes: ["IMPLEMENTS_REPEATED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplementsRepeated(String name, int count) { @@ -7881,13 +8179,16 @@ Message _withArgumentsImplementsRepeated(String name, int count) { codeImplementsRepeated, problemMessage: """'${name}' can only be implemented once.""", correctionMessage: """Try removing ${count} of the occurrences.""", - arguments: {'name': name, 'count': count}, + arguments: { + 'name': name, + 'count': count, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateImplementsSuperClass = const Template( +const Template templateImplementsSuperClass = + const Template( "ImplementsSuperClass", problemMessageTemplate: r"""'#name' can't be used in both 'extends' and 'implements' clauses.""", @@ -7898,9 +8199,9 @@ templateImplementsSuperClass = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeImplementsSuperClass = const Code( - "ImplementsSuperClass", - analyzerCodes: ["IMPLEMENTS_SUPER_CLASS"], - ); + "ImplementsSuperClass", + analyzerCodes: ["IMPLEMENTS_SUPER_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplementsSuperClass(String name) { @@ -7911,7 +8212,9 @@ Message _withArgumentsImplementsSuperClass(String name) { problemMessage: """'${name}' can't be used in both 'extends' and 'implements' clauses.""", correctionMessage: """Try removing one of the occurrences.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -7927,9 +8230,8 @@ const MessageCode messageImplementsVoid = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplicitMixinOverride = const Template< - Message Function(String name, String name2, String name3) ->( + templateImplicitMixinOverride = + const Template( "ImplicitMixinOverride", problemMessageTemplate: r"""Applying the mixin '#name' to '#name2' introduces an erroneous override of '#name3'.""", @@ -7938,17 +8240,14 @@ templateImplicitMixinOverride = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImplicitMixinOverride = + codeImplicitMixinOverride = const Code( - "ImplicitMixinOverride", - ); + "ImplicitMixinOverride", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplicitMixinOverride( - String name, - String name2, - String name3, -) { + String name, String name2, String name3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -7959,7 +8258,11 @@ Message _withArgumentsImplicitMixinOverride( codeImplicitMixinOverride, problemMessage: """Applying the mixin '${name}' to '${name2}' introduces an erroneous override of '${name3}'.""", - arguments: {'name': name, 'name2': name2, 'name3': name3}, + arguments: { + 'name': name, + 'name2': name2, + 'name3': name3, + }, ); } @@ -7979,9 +8282,8 @@ const MessageCode messageImplicitSuperCallOfNonMethod = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplicitSuperInitializerMissingArguments = const Template< - Message Function(String name) ->( + templateImplicitSuperInitializerMissingArguments = + const Template( "ImplicitSuperInitializerMissingArguments", problemMessageTemplate: r"""The implicitly called unnamed constructor from '#name' has required parameters.""", @@ -7992,11 +8294,11 @@ templateImplicitSuperInitializerMissingArguments = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImplicitSuperInitializerMissingArguments = + codeImplicitSuperInitializerMissingArguments = const Code( - "ImplicitSuperInitializerMissingArguments", - analyzerCodes: ["IMPLICIT_SUPER_INITIALIZER_MISSING_ARGUMENTS"], - ); + "ImplicitSuperInitializerMissingArguments", + analyzerCodes: ["IMPLICIT_SUPER_INITIALIZER_MISSING_ARGUMENTS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplicitSuperInitializerMissingArguments(String name) { @@ -8008,7 +8310,9 @@ Message _withArgumentsImplicitSuperInitializerMissingArguments(String name) { """The implicitly called unnamed constructor from '${name}' has required parameters.""", correctionMessage: """Try adding an explicit super initializer with the required arguments.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -8026,33 +8330,30 @@ const MessageCode messageImportAfterPart = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImportChainContext = + templateImportChainContext = const Template( - "ImportChainContext", - problemMessageTemplate: - r"""The unavailable library '#uri' is imported through these packages: + "ImportChainContext", + problemMessageTemplate: + r"""The unavailable library '#uri' is imported through these packages: #string Detailed import paths for (some of) the these imports: #string2""", - withArguments: _withArgumentsImportChainContext, - ); + withArguments: _withArgumentsImportChainContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImportChainContext = + codeImportChainContext = const Code( - "ImportChainContext", - severity: Severity.context, - ); + "ImportChainContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImportChainContext( - Uri uri_, - String string, - String string2, -) { + Uri uri_, String string, String string2) { String? uri = relativizeUri(uri_); if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; @@ -8065,29 +8366,33 @@ ${string} Detailed import paths for (some of) the these imports: ${string2}""", - arguments: {'uri': uri_, 'string': string, 'string2': string2}, + arguments: { + 'uri': uri_, + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImportChainContextSimple = + templateImportChainContextSimple = const Template( - "ImportChainContextSimple", - problemMessageTemplate: - r"""The unavailable library '#uri' is imported through these paths: + "ImportChainContextSimple", + problemMessageTemplate: + r"""The unavailable library '#uri' is imported through these paths: #string""", - withArguments: _withArgumentsImportChainContextSimple, - ); + withArguments: _withArgumentsImportChainContextSimple, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeImportChainContextSimple = + codeImportChainContextSimple = const Code( - "ImportChainContextSimple", - severity: Severity.context, - ); + "ImportChainContextSimple", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImportChainContextSimple(Uri uri_, String string) { @@ -8099,7 +8404,10 @@ Message _withArgumentsImportChainContextSimple(Uri uri_, String string) { """The unavailable library '${uri}' is imported through these paths: ${string}""", - arguments: {'uri': uri_, 'string': string}, + arguments: { + 'uri': uri_, + 'string': string, + }, ); } @@ -8117,9 +8425,8 @@ const MessageCode messageIncorrectTypeArgumentVariable = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIncrementalCompilerIllegalParameter = const Template< - Message Function(String string) ->( + templateIncrementalCompilerIllegalParameter = + const Template( "IncrementalCompilerIllegalParameter", problemMessageTemplate: r"""Illegal parameter name '#string' found during expression compilation.""", @@ -8128,10 +8435,10 @@ templateIncrementalCompilerIllegalParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIncrementalCompilerIllegalParameter = + codeIncrementalCompilerIllegalParameter = const Code( - "IncrementalCompilerIllegalParameter", - ); + "IncrementalCompilerIllegalParameter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncrementalCompilerIllegalParameter(String string) { @@ -8140,15 +8447,16 @@ Message _withArgumentsIncrementalCompilerIllegalParameter(String string) { codeIncrementalCompilerIllegalParameter, problemMessage: """Illegal parameter name '${string}' found during expression compilation.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIncrementalCompilerIllegalTypeParameter = const Template< - Message Function(String string) ->( + templateIncrementalCompilerIllegalTypeParameter = + const Template( "IncrementalCompilerIllegalTypeParameter", problemMessageTemplate: r"""Illegal type parameter name '#string' found during expression compilation.""", @@ -8157,10 +8465,10 @@ templateIncrementalCompilerIllegalTypeParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIncrementalCompilerIllegalTypeParameter = + codeIncrementalCompilerIllegalTypeParameter = const Code( - "IncrementalCompilerIllegalTypeParameter", - ); + "IncrementalCompilerIllegalTypeParameter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncrementalCompilerIllegalTypeParameter(String string) { @@ -8169,7 +8477,9 @@ Message _withArgumentsIncrementalCompilerIllegalTypeParameter(String string) { codeIncrementalCompilerIllegalTypeParameter, problemMessage: """Illegal type parameter name '${string}' found during expression compilation.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -8207,9 +8517,8 @@ const MessageCode messageInheritedMembersConflictCause2 = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInheritedRestrictedMemberOfEnumImplementer = const Template< - Message Function(String name, String name2) ->( + templateInheritedRestrictedMemberOfEnumImplementer = + const Template( "InheritedRestrictedMemberOfEnumImplementer", problemMessageTemplate: r"""A concrete instance member named '#name' can't be inherited from '#name2' in a class that implements 'Enum'.""", @@ -8218,17 +8527,15 @@ templateInheritedRestrictedMemberOfEnumImplementer = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInheritedRestrictedMemberOfEnumImplementer = + codeInheritedRestrictedMemberOfEnumImplementer = const Code( - "InheritedRestrictedMemberOfEnumImplementer", - analyzerCodes: ["ILLEGAL_CONCRETE_ENUM_MEMBER"], - ); + "InheritedRestrictedMemberOfEnumImplementer", + analyzerCodes: ["ILLEGAL_CONCRETE_ENUM_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInheritedRestrictedMemberOfEnumImplementer( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -8237,15 +8544,17 @@ Message _withArgumentsInheritedRestrictedMemberOfEnumImplementer( codeInheritedRestrictedMemberOfEnumImplementer, problemMessage: """A concrete instance member named '${name}' can't be inherited from '${name2}' in a class that implements 'Enum'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInitializeFromDillNotSelfContained = const Template< - Message Function(String string, Uri uri_) ->( + templateInitializeFromDillNotSelfContained = + const Template( "InitializeFromDillNotSelfContained", problemMessageTemplate: r"""Tried to initialize from a previous compilation (#string), but the file was not self-contained. This might be a bug. @@ -8258,17 +8567,15 @@ Either way, you should probably delete the file so it doesn't use unnecessary di // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInitializeFromDillNotSelfContained = + codeInitializeFromDillNotSelfContained = const Code( - "InitializeFromDillNotSelfContained", - severity: Severity.warning, - ); + "InitializeFromDillNotSelfContained", + severity: Severity.warning, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializeFromDillNotSelfContained( - String string, - Uri uri_, -) { + String string, Uri uri_) { if (string.isEmpty) throw 'No string provided'; String? uri = relativizeUri(uri_); return new Message( @@ -8279,15 +8586,17 @@ Message _withArgumentsInitializeFromDillNotSelfContained( The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new. If you are comfortable with it, it would improve the chances of fixing any bug if you included the file ${uri} in your error report, but be aware that this file includes your source code. Either way, you should probably delete the file so it doesn't use unnecessary disk space.""", - arguments: {'string': string, 'uri': uri_}, + arguments: { + 'string': string, + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInitializeFromDillNotSelfContainedNoDump = const Template< - Message Function(String string) ->( + templateInitializeFromDillNotSelfContainedNoDump = + const Template( "InitializeFromDillNotSelfContainedNoDump", problemMessageTemplate: r"""Tried to initialize from a previous compilation (#string), but the file was not self-contained. This might be a bug. @@ -8298,11 +8607,11 @@ The Dart team would greatly appreciate it if you would take a moment to report t // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInitializeFromDillNotSelfContainedNoDump = + codeInitializeFromDillNotSelfContainedNoDump = const Code( - "InitializeFromDillNotSelfContainedNoDump", - severity: Severity.warning, - ); + "InitializeFromDillNotSelfContainedNoDump", + severity: Severity.warning, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializeFromDillNotSelfContainedNoDump(String string) { @@ -8313,17 +8622,17 @@ Message _withArgumentsInitializeFromDillNotSelfContainedNoDump(String string) { """Tried to initialize from a previous compilation (${string}), but the file was not self-contained. This might be a bug. The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(String string, String string2, String string3, Uri uri_) -> -templateInitializeFromDillUnknownProblem = const Template< - Message Function(String string, String string2, String string3, Uri uri_) ->( + Message Function(String string, String string2, String string3, + Uri uri_)> templateInitializeFromDillUnknownProblem = const Template< + Message Function(String string, String string2, String string3, Uri uri_)>( "InitializeFromDillUnknownProblem", problemMessageTemplate: r"""Tried to initialize from a previous compilation (#string), but couldn't. @@ -8339,19 +8648,16 @@ Either way, you should probably delete the file so it doesn't use unnecessary di // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(String string, String string2, String string3, Uri uri_) -> -codeInitializeFromDillUnknownProblem = const Code< - Message Function(String string, String string2, String string3, Uri uri_) ->("InitializeFromDillUnknownProblem", severity: Severity.warning); + Message Function(String string, String string2, String string3, + Uri uri_)> codeInitializeFromDillUnknownProblem = const Code< + Message Function(String string, String string2, String string3, Uri uri_)>( + "InitializeFromDillUnknownProblem", + severity: Severity.warning, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializeFromDillUnknownProblem( - String string, - String string2, - String string3, - Uri uri_, -) { + String string, String string2, String string3, Uri uri_) { if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; if (string3.isEmpty) throw 'No string provided'; @@ -8378,9 +8684,8 @@ Either way, you should probably delete the file so it doesn't use unnecessary di // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInitializeFromDillUnknownProblemNoDump = const Template< - Message Function(String string, String string2, String string3) ->( + templateInitializeFromDillUnknownProblemNoDump = const Template< + Message Function(String string, String string2, String string3)>( "InitializeFromDillUnknownProblemNoDump", problemMessageTemplate: r"""Tried to initialize from a previous compilation (#string), but couldn't. @@ -8394,18 +8699,15 @@ The Dart team would greatly appreciate it if you would take a moment to report t // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInitializeFromDillUnknownProblemNoDump = + codeInitializeFromDillUnknownProblemNoDump = const Code( - "InitializeFromDillUnknownProblemNoDump", - severity: Severity.warning, - ); + "InitializeFromDillUnknownProblemNoDump", + severity: Severity.warning, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializeFromDillUnknownProblemNoDump( - String string, - String string2, - String string3, -) { + String string, String string2, String string3) { if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; if (string3.isEmpty) throw 'No string provided'; @@ -8418,7 +8720,11 @@ Stacktrace included '${string3}'. This might be a bug. The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new.""", - arguments: {'string': string, 'string2': string2, 'string3': string3}, + arguments: { + 'string': string, + 'string2': string2, + 'string3': string3, + }, ); } @@ -8438,20 +8744,19 @@ const MessageCode messageInitializedVariableInForEach = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInitializerForStaticField = + templateInitializerForStaticField = const Template( - "InitializerForStaticField", - problemMessageTemplate: - r"""'#name' isn't an instance field of this class.""", - withArguments: _withArgumentsInitializerForStaticField, - ); + "InitializerForStaticField", + problemMessageTemplate: r"""'#name' isn't an instance field of this class.""", + withArguments: _withArgumentsInitializerForStaticField, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInitializerForStaticField = const Code( - "InitializerForStaticField", - analyzerCodes: ["INITIALIZER_FOR_STATIC_FIELD"], - ); + "InitializerForStaticField", + analyzerCodes: ["INITIALIZER_FOR_STATIC_FIELD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializerForStaticField(String name) { @@ -8460,7 +8765,9 @@ Message _withArgumentsInitializerForStaticField(String name) { return new Message( codeInitializerForStaticField, problemMessage: """'${name}' isn't an instance field of this class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -8471,22 +8778,24 @@ const Code codeInitializingFormalTypeMismatchField = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInitializingFormalTypeMismatchField = const MessageCode( - "InitializingFormalTypeMismatchField", - severity: Severity.context, - problemMessage: r"""The field that corresponds to the parameter.""", - ); + "InitializingFormalTypeMismatchField", + severity: Severity.context, + problemMessage: r"""The field that corresponds to the parameter.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInputFileNotFound = const Template( - "InputFileNotFound", - problemMessageTemplate: r"""Input file not found: #uri.""", - withArguments: _withArgumentsInputFileNotFound, - ); + "InputFileNotFound", + problemMessageTemplate: r"""Input file not found: #uri.""", + withArguments: _withArgumentsInputFileNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInputFileNotFound = - const Code("InputFileNotFound"); + const Code( + "InputFileNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInputFileNotFound(Uri uri_) { @@ -8494,15 +8803,16 @@ Message _withArgumentsInputFileNotFound(Uri uri_) { return new Message( codeInputFileNotFound, problemMessage: """Input file not found: ${uri}.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstanceAndSynthesizedStaticConflict = const Template< - Message Function(String name) ->( + templateInstanceAndSynthesizedStaticConflict = + const Template( "InstanceAndSynthesizedStaticConflict", problemMessageTemplate: r"""This instance member conflicts with the synthesized static member called '#name'.""", @@ -8511,11 +8821,11 @@ templateInstanceAndSynthesizedStaticConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInstanceAndSynthesizedStaticConflict = + codeInstanceAndSynthesizedStaticConflict = const Code( - "InstanceAndSynthesizedStaticConflict", - analyzerCodes: ["CONFLICTING_STATIC_AND_INSTANCE"], - ); + "InstanceAndSynthesizedStaticConflict", + analyzerCodes: ["CONFLICTING_STATIC_AND_INSTANCE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstanceAndSynthesizedStaticConflict(String name) { @@ -8525,15 +8835,16 @@ Message _withArgumentsInstanceAndSynthesizedStaticConflict(String name) { codeInstanceAndSynthesizedStaticConflict, problemMessage: """This instance member conflicts with the synthesized static member called '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstanceConflictsWithStatic = const Template< - Message Function(String name) ->( + templateInstanceConflictsWithStatic = + const Template( "InstanceConflictsWithStatic", problemMessageTemplate: r"""Instance property '#name' conflicts with static property of the same name.""", @@ -8543,9 +8854,9 @@ templateInstanceConflictsWithStatic = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInstanceConflictsWithStatic = const Code( - "InstanceConflictsWithStatic", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "InstanceConflictsWithStatic", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstanceConflictsWithStatic(String name) { @@ -8555,25 +8866,27 @@ Message _withArgumentsInstanceConflictsWithStatic(String name) { codeInstanceConflictsWithStatic, problemMessage: """Instance property '${name}' conflicts with static property of the same name.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstanceConflictsWithStaticCause = + templateInstanceConflictsWithStaticCause = const Template( - "InstanceConflictsWithStaticCause", - problemMessageTemplate: r"""Conflicting static property '#name'.""", - withArguments: _withArgumentsInstanceConflictsWithStaticCause, - ); + "InstanceConflictsWithStaticCause", + problemMessageTemplate: r"""Conflicting static property '#name'.""", + withArguments: _withArgumentsInstanceConflictsWithStaticCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInstanceConflictsWithStaticCause = const Code( - "InstanceConflictsWithStaticCause", - severity: Severity.context, - ); + "InstanceConflictsWithStaticCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstanceConflictsWithStaticCause(String name) { @@ -8582,27 +8895,29 @@ Message _withArgumentsInstanceConflictsWithStaticCause(String name) { return new Message( codeInstanceConflictsWithStaticCause, problemMessage: """Conflicting static property '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstantiationTooFewArguments = + templateInstantiationTooFewArguments = const Template( - "InstantiationTooFewArguments", - problemMessageTemplate: - r"""Too few type arguments: #count required, #count2 given.""", - correctionMessageTemplate: r"""Try adding the missing type arguments.""", - withArguments: _withArgumentsInstantiationTooFewArguments, - ); + "InstantiationTooFewArguments", + problemMessageTemplate: + r"""Too few type arguments: #count required, #count2 given.""", + correctionMessageTemplate: r"""Try adding the missing type arguments.""", + withArguments: _withArgumentsInstantiationTooFewArguments, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInstantiationTooFewArguments = + codeInstantiationTooFewArguments = const Code( - "InstantiationTooFewArguments", - ); + "InstantiationTooFewArguments", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstantiationTooFewArguments(int count, int count2) { @@ -8611,27 +8926,30 @@ Message _withArgumentsInstantiationTooFewArguments(int count, int count2) { problemMessage: """Too few type arguments: ${count} required, ${count2} given.""", correctionMessage: """Try adding the missing type arguments.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstantiationTooManyArguments = + templateInstantiationTooManyArguments = const Template( - "InstantiationTooManyArguments", - problemMessageTemplate: - r"""Too many type arguments: #count allowed, but #count2 found.""", - correctionMessageTemplate: r"""Try removing the extra type arguments.""", - withArguments: _withArgumentsInstantiationTooManyArguments, - ); + "InstantiationTooManyArguments", + problemMessageTemplate: + r"""Too many type arguments: #count allowed, but #count2 found.""", + correctionMessageTemplate: r"""Try removing the extra type arguments.""", + withArguments: _withArgumentsInstantiationTooManyArguments, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInstantiationTooManyArguments = + codeInstantiationTooManyArguments = const Code( - "InstantiationTooManyArguments", - ); + "InstantiationTooManyArguments", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstantiationTooManyArguments(int count, int count2) { @@ -8640,15 +8958,17 @@ Message _withArgumentsInstantiationTooManyArguments(int count, int count2) { problemMessage: """Too many type arguments: ${count} allowed, but ${count2} found.""", correctionMessage: """Try removing the extra type arguments.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIntegerLiteralIsOutOfRange = const Template< - Message Function(String string) ->( + templateIntegerLiteralIsOutOfRange = + const Template( "IntegerLiteralIsOutOfRange", problemMessageTemplate: r"""The integer literal #string can't be represented in 64 bits.""", @@ -8660,9 +8980,9 @@ templateIntegerLiteralIsOutOfRange = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeIntegerLiteralIsOutOfRange = const Code( - "IntegerLiteralIsOutOfRange", - analyzerCodes: ["INTEGER_LITERAL_OUT_OF_RANGE"], - ); + "IntegerLiteralIsOutOfRange", + analyzerCodes: ["INTEGER_LITERAL_OUT_OF_RANGE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIntegerLiteralIsOutOfRange(String string) { @@ -8673,15 +8993,16 @@ Message _withArgumentsIntegerLiteralIsOutOfRange(String string) { """The integer literal ${string} can't be represented in 64 bits.""", correctionMessage: """Try using the BigInt class if you need an integer larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,808.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInterfaceCheck = const Template< - Message Function(String name, String name2) ->( + templateInterfaceCheck = + const Template( "InterfaceCheck", problemMessageTemplate: r"""The implementation of '#name' in the non-abstract class '#name2' does not conform to its interface.""", @@ -8690,7 +9011,9 @@ templateInterfaceCheck = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInterfaceCheck = - const Code("InterfaceCheck"); + const Code( + "InterfaceCheck", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInterfaceCheck(String name, String name2) { @@ -8702,15 +9025,17 @@ Message _withArgumentsInterfaceCheck(String name, String name2) { codeInterfaceCheck, problemMessage: """The implementation of '${name}' in the non-abstract class '${name2}' does not conform to its interface.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInterfaceClassExtendedOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateInterfaceClassExtendedOutsideOfLibrary = + const Template( "InterfaceClassExtendedOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be extended outside of its library because it's an interface class.""", @@ -8719,11 +9044,11 @@ templateInterfaceClassExtendedOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInterfaceClassExtendedOutsideOfLibrary = + codeInterfaceClassExtendedOutsideOfLibrary = const Code( - "InterfaceClassExtendedOutsideOfLibrary", - analyzerCodes: ["INTERFACE_CLASS_EXTENDED_OUTSIDE_OF_LIBRARY"], - ); + "InterfaceClassExtendedOutsideOfLibrary", + analyzerCodes: ["INTERFACE_CLASS_EXTENDED_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInterfaceClassExtendedOutsideOfLibrary(String name) { @@ -8733,7 +9058,9 @@ Message _withArgumentsInterfaceClassExtendedOutsideOfLibrary(String name) { codeInterfaceClassExtendedOutsideOfLibrary, problemMessage: """The class '${name}' can't be extended outside of its library because it's an interface class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -8789,59 +9116,60 @@ const Code codeInternalProblemBodyOnAbstractMethod = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInternalProblemBodyOnAbstractMethod = const MessageCode( - "InternalProblemBodyOnAbstractMethod", - severity: Severity.internalProblem, - problemMessage: r"""Attempting to set body on abstract method.""", - ); + "InternalProblemBodyOnAbstractMethod", + severity: Severity.internalProblem, + problemMessage: r"""Attempting to set body on abstract method.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemConstructorNotFound = + templateInternalProblemConstructorNotFound = const Template( - "InternalProblemConstructorNotFound", - problemMessageTemplate: r"""No constructor named '#name' in '#uri'.""", - withArguments: _withArgumentsInternalProblemConstructorNotFound, - ); + "InternalProblemConstructorNotFound", + problemMessageTemplate: r"""No constructor named '#name' in '#uri'.""", + withArguments: _withArgumentsInternalProblemConstructorNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemConstructorNotFound = + codeInternalProblemConstructorNotFound = const Code( - "InternalProblemConstructorNotFound", - severity: Severity.internalProblem, - ); + "InternalProblemConstructorNotFound", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemConstructorNotFound( - String name, - Uri uri_, -) { + String name, Uri uri_) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); String? uri = relativizeUri(uri_); return new Message( codeInternalProblemConstructorNotFound, problemMessage: """No constructor named '${name}' in '${uri}'.""", - arguments: {'name': name, 'uri': uri_}, + arguments: { + 'name': name, + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemContextSeverity = + templateInternalProblemContextSeverity = const Template( - "InternalProblemContextSeverity", - problemMessageTemplate: - r"""Non-context message has context severity: #string""", - withArguments: _withArgumentsInternalProblemContextSeverity, - ); + "InternalProblemContextSeverity", + problemMessageTemplate: + r"""Non-context message has context severity: #string""", + withArguments: _withArgumentsInternalProblemContextSeverity, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemContextSeverity = const Code( - "InternalProblemContextSeverity", - severity: Severity.internalProblem, - ); + "InternalProblemContextSeverity", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemContextSeverity(String string) { @@ -8849,27 +9177,29 @@ Message _withArgumentsInternalProblemContextSeverity(String string) { return new Message( codeInternalProblemContextSeverity, problemMessage: """Non-context message has context severity: ${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemDebugAbort = + templateInternalProblemDebugAbort = const Template( - "InternalProblemDebugAbort", - problemMessageTemplate: r"""Compilation aborted due to fatal '#name' at: + "InternalProblemDebugAbort", + problemMessageTemplate: r"""Compilation aborted due to fatal '#name' at: #string""", - withArguments: _withArgumentsInternalProblemDebugAbort, - ); + withArguments: _withArgumentsInternalProblemDebugAbort, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemDebugAbort = + codeInternalProblemDebugAbort = const Code( - "InternalProblemDebugAbort", - severity: Severity.internalProblem, - ); + "InternalProblemDebugAbort", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemDebugAbort(String name, String string) { @@ -8880,7 +9210,10 @@ Message _withArgumentsInternalProblemDebugAbort(String name, String string) { codeInternalProblemDebugAbort, problemMessage: """Compilation aborted due to fatal '${name}' at: ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } @@ -8891,10 +9224,10 @@ const Code codeInternalProblemExtendingUnmodifiableScope = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInternalProblemExtendingUnmodifiableScope = const MessageCode( - "InternalProblemExtendingUnmodifiableScope", - severity: Severity.internalProblem, - problemMessage: r"""Can't extend an unmodifiable scope.""", - ); + "InternalProblemExtendingUnmodifiableScope", + severity: Severity.internalProblem, + problemMessage: r"""Can't extend an unmodifiable scope.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemLabelUsageInVariablesDeclaration = @@ -8903,11 +9236,11 @@ const Code codeInternalProblemLabelUsageInVariablesDeclaration = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInternalProblemLabelUsageInVariablesDeclaration = const MessageCode( - "InternalProblemLabelUsageInVariablesDeclaration", - severity: Severity.internalProblem, - problemMessage: - r"""Unexpected usage of label inside declaration of variables.""", - ); + "InternalProblemLabelUsageInVariablesDeclaration", + severity: Severity.internalProblem, + problemMessage: + r"""Unexpected usage of label inside declaration of variables.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemMissingContext = @@ -8925,17 +9258,17 @@ const MessageCode messageInternalProblemMissingContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInternalProblemNotFound = const Template( - "InternalProblemNotFound", - problemMessageTemplate: r"""Couldn't find '#name'.""", - withArguments: _withArgumentsInternalProblemNotFound, - ); + "InternalProblemNotFound", + problemMessageTemplate: r"""Couldn't find '#name'.""", + withArguments: _withArgumentsInternalProblemNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemNotFound = const Code( - "InternalProblemNotFound", - severity: Severity.internalProblem, - ); + "InternalProblemNotFound", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemNotFound(String name) { @@ -8944,26 +9277,28 @@ Message _withArgumentsInternalProblemNotFound(String name) { return new Message( codeInternalProblemNotFound, problemMessage: """Couldn't find '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemNotFoundIn = + templateInternalProblemNotFoundIn = const Template( - "InternalProblemNotFoundIn", - problemMessageTemplate: r"""Couldn't find '#name' in '#name2'.""", - withArguments: _withArgumentsInternalProblemNotFoundIn, - ); + "InternalProblemNotFoundIn", + problemMessageTemplate: r"""Couldn't find '#name' in '#name2'.""", + withArguments: _withArgumentsInternalProblemNotFoundIn, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemNotFoundIn = + codeInternalProblemNotFoundIn = const Code( - "InternalProblemNotFoundIn", - severity: Severity.internalProblem, - ); + "InternalProblemNotFoundIn", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemNotFoundIn(String name, String name2) { @@ -8974,7 +9309,10 @@ Message _withArgumentsInternalProblemNotFoundIn(String name, String name2) { return new Message( codeInternalProblemNotFoundIn, problemMessage: """Couldn't find '${name}' in '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -8983,8 +9321,8 @@ const Code codeInternalProblemOmittedTypeNameInConstructorReference = messageInternalProblemOmittedTypeNameInConstructorReference; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageInternalProblemOmittedTypeNameInConstructorReference = const MessageCode( +const MessageCode messageInternalProblemOmittedTypeNameInConstructorReference = + const MessageCode( "InternalProblemOmittedTypeNameInConstructorReference", severity: Severity.internalProblem, problemMessage: @@ -8998,27 +9336,27 @@ const Code codeInternalProblemPreviousTokenNotFound = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInternalProblemPreviousTokenNotFound = const MessageCode( - "InternalProblemPreviousTokenNotFound", - severity: Severity.internalProblem, - problemMessage: r"""Couldn't find previous token.""", - ); + "InternalProblemPreviousTokenNotFound", + severity: Severity.internalProblem, + problemMessage: r"""Couldn't find previous token.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemPrivateConstructorAccess = + templateInternalProblemPrivateConstructorAccess = const Template( - "InternalProblemPrivateConstructorAccess", - problemMessageTemplate: r"""Can't access private constructor '#name'.""", - withArguments: _withArgumentsInternalProblemPrivateConstructorAccess, - ); + "InternalProblemPrivateConstructorAccess", + problemMessageTemplate: r"""Can't access private constructor '#name'.""", + withArguments: _withArgumentsInternalProblemPrivateConstructorAccess, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemPrivateConstructorAccess = + codeInternalProblemPrivateConstructorAccess = const Code( - "InternalProblemPrivateConstructorAccess", - severity: Severity.internalProblem, - ); + "InternalProblemPrivateConstructorAccess", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemPrivateConstructorAccess(String name) { @@ -9027,7 +9365,9 @@ Message _withArgumentsInternalProblemPrivateConstructorAccess(String name) { return new Message( codeInternalProblemPrivateConstructorAccess, problemMessage: """Can't access private constructor '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -9038,29 +9378,29 @@ const Code codeInternalProblemProvidedBothCompileSdkAndSdkSummary = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInternalProblemProvidedBothCompileSdkAndSdkSummary = const MessageCode( - "InternalProblemProvidedBothCompileSdkAndSdkSummary", - severity: Severity.internalProblem, - problemMessage: - r"""The compileSdk and sdkSummary options are mutually exclusive""", - ); + "InternalProblemProvidedBothCompileSdkAndSdkSummary", + severity: Severity.internalProblem, + problemMessage: + r"""The compileSdk and sdkSummary options are mutually exclusive""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemStackNotEmpty = + templateInternalProblemStackNotEmpty = const Template( - "InternalProblemStackNotEmpty", - problemMessageTemplate: r"""#name.stack isn't empty: + "InternalProblemStackNotEmpty", + problemMessageTemplate: r"""#name.stack isn't empty: #string""", - withArguments: _withArgumentsInternalProblemStackNotEmpty, - ); + withArguments: _withArgumentsInternalProblemStackNotEmpty, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemStackNotEmpty = + codeInternalProblemStackNotEmpty = const Code( - "InternalProblemStackNotEmpty", - severity: Severity.internalProblem, - ); + "InternalProblemStackNotEmpty", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemStackNotEmpty(String name, String string) { @@ -9071,26 +9411,29 @@ Message _withArgumentsInternalProblemStackNotEmpty(String name, String string) { codeInternalProblemStackNotEmpty, problemMessage: """${name}.stack isn't empty: ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUnexpected = + templateInternalProblemUnexpected = const Template( - "InternalProblemUnexpected", - problemMessageTemplate: r"""Expected '#string', but got '#string2'.""", - withArguments: _withArgumentsInternalProblemUnexpected, - ); + "InternalProblemUnexpected", + problemMessageTemplate: r"""Expected '#string', but got '#string2'.""", + withArguments: _withArgumentsInternalProblemUnexpected, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemUnexpected = + codeInternalProblemUnexpected = const Code( - "InternalProblemUnexpected", - severity: Severity.internalProblem, - ); + "InternalProblemUnexpected", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUnexpected(String string, String string2) { @@ -9099,26 +9442,29 @@ Message _withArgumentsInternalProblemUnexpected(String string, String string2) { return new Message( codeInternalProblemUnexpected, problemMessage: """Expected '${string}', but got '${string2}'.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUnhandled = + templateInternalProblemUnhandled = const Template( - "InternalProblemUnhandled", - problemMessageTemplate: r"""Unhandled #string in #string2.""", - withArguments: _withArgumentsInternalProblemUnhandled, - ); + "InternalProblemUnhandled", + problemMessageTemplate: r"""Unhandled #string in #string2.""", + withArguments: _withArgumentsInternalProblemUnhandled, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemUnhandled = + codeInternalProblemUnhandled = const Code( - "InternalProblemUnhandled", - severity: Severity.internalProblem, - ); + "InternalProblemUnhandled", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUnhandled(String string, String string2) { @@ -9127,25 +9473,28 @@ Message _withArgumentsInternalProblemUnhandled(String string, String string2) { return new Message( codeInternalProblemUnhandled, problemMessage: """Unhandled ${string} in ${string2}.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUnimplemented = + templateInternalProblemUnimplemented = const Template( - "InternalProblemUnimplemented", - problemMessageTemplate: r"""Unimplemented #string.""", - withArguments: _withArgumentsInternalProblemUnimplemented, - ); + "InternalProblemUnimplemented", + problemMessageTemplate: r"""Unimplemented #string.""", + withArguments: _withArgumentsInternalProblemUnimplemented, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemUnimplemented = const Code( - "InternalProblemUnimplemented", - severity: Severity.internalProblem, - ); + "InternalProblemUnimplemented", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUnimplemented(String string) { @@ -9153,25 +9502,27 @@ Message _withArgumentsInternalProblemUnimplemented(String string) { return new Message( codeInternalProblemUnimplemented, problemMessage: """Unimplemented ${string}.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUnsupported = + templateInternalProblemUnsupported = const Template( - "InternalProblemUnsupported", - problemMessageTemplate: r"""Unsupported operation: '#name'.""", - withArguments: _withArgumentsInternalProblemUnsupported, - ); + "InternalProblemUnsupported", + problemMessageTemplate: r"""Unsupported operation: '#name'.""", + withArguments: _withArgumentsInternalProblemUnsupported, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemUnsupported = const Code( - "InternalProblemUnsupported", - severity: Severity.internalProblem, - ); + "InternalProblemUnsupported", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUnsupported(String name) { @@ -9180,25 +9531,27 @@ Message _withArgumentsInternalProblemUnsupported(String name) { return new Message( codeInternalProblemUnsupported, problemMessage: """Unsupported operation: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUriMissingScheme = + templateInternalProblemUriMissingScheme = const Template( - "InternalProblemUriMissingScheme", - problemMessageTemplate: r"""The URI '#uri' has no scheme.""", - withArguments: _withArgumentsInternalProblemUriMissingScheme, - ); + "InternalProblemUriMissingScheme", + problemMessageTemplate: r"""The URI '#uri' has no scheme.""", + withArguments: _withArgumentsInternalProblemUriMissingScheme, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInternalProblemUriMissingScheme = const Code( - "InternalProblemUriMissingScheme", - severity: Severity.internalProblem, - ); + "InternalProblemUriMissingScheme", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUriMissingScheme(Uri uri_) { @@ -9206,27 +9559,29 @@ Message _withArgumentsInternalProblemUriMissingScheme(Uri uri_) { return new Message( codeInternalProblemUriMissingScheme, problemMessage: """The URI '${uri}' has no scheme.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemVerificationError = + templateInternalProblemVerificationError = const Template( - "InternalProblemVerificationError", - problemMessageTemplate: r"""Verification of the generated program failed: + "InternalProblemVerificationError", + problemMessageTemplate: r"""Verification of the generated program failed: #string""", - withArguments: _withArgumentsInternalProblemVerificationError, - ); + withArguments: _withArgumentsInternalProblemVerificationError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemVerificationError = + codeInternalProblemVerificationError = const Code( - "InternalProblemVerificationError", - severity: Severity.internalProblem, - ); + "InternalProblemVerificationError", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemVerificationError(String string) { @@ -9235,7 +9590,9 @@ Message _withArgumentsInternalProblemVerificationError(String string) { codeInternalProblemVerificationError, problemMessage: """Verification of the generated program failed: ${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -9275,14 +9632,16 @@ const MessageCode messageInvalidAwaitFor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInvalidBreakTarget = const Template( - "InvalidBreakTarget", - problemMessageTemplate: r"""Can't break to '#name'.""", - withArguments: _withArgumentsInvalidBreakTarget, - ); + "InvalidBreakTarget", + problemMessageTemplate: r"""Can't break to '#name'.""", + withArguments: _withArgumentsInvalidBreakTarget, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidBreakTarget = - const Code("InvalidBreakTarget"); + const Code( + "InvalidBreakTarget", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidBreakTarget(String name) { @@ -9291,7 +9650,9 @@ Message _withArgumentsInvalidBreakTarget(String name) { return new Message( codeInvalidBreakTarget, problemMessage: """Can't break to '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -9318,9 +9679,8 @@ const MessageCode messageInvalidCodePoint = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidConstantPatternBinary = const Template< - Message Function(String name) ->( + templateInvalidConstantPatternBinary = + const Template( "InvalidConstantPatternBinary", problemMessageTemplate: r"""The binary operator #name is not supported as a constant pattern.""", @@ -9332,9 +9692,9 @@ templateInvalidConstantPatternBinary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidConstantPatternBinary = const Code( - "InvalidConstantPatternBinary", - index: 141, - ); + "InvalidConstantPatternBinary", + index: 141, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidConstantPatternBinary(String name) { @@ -9345,7 +9705,9 @@ Message _withArgumentsInvalidConstantPatternBinary(String name) { problemMessage: """The binary operator ${name} is not supported as a constant pattern.""", correctionMessage: """Try wrapping the expression in 'const ( ... )'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -9370,19 +9732,19 @@ const Code codeInvalidConstantPatternDuplicateConst = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageInvalidConstantPatternDuplicateConst = const MessageCode( - "InvalidConstantPatternDuplicateConst", - index: 137, - problemMessage: r"""Duplicate 'const' keyword in constant expression.""", - correctionMessage: r"""Try removing one of the 'const' keywords.""", - ); + "InvalidConstantPatternDuplicateConst", + index: 137, + problemMessage: r"""Duplicate 'const' keyword in constant expression.""", + correctionMessage: r"""Try removing one of the 'const' keywords.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidConstantPatternEmptyRecordLiteral = messageInvalidConstantPatternEmptyRecordLiteral; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageInvalidConstantPatternEmptyRecordLiteral = const MessageCode( +const MessageCode messageInvalidConstantPatternEmptyRecordLiteral = + const MessageCode( "InvalidConstantPatternEmptyRecordLiteral", index: 138, problemMessage: @@ -9417,9 +9779,8 @@ const MessageCode messageInvalidConstantPatternNegation = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidConstantPatternUnary = const Template< - Message Function(String name) ->( + templateInvalidConstantPatternUnary = + const Template( "InvalidConstantPatternUnary", problemMessageTemplate: r"""The unary operator #name is not supported as a constant pattern.""", @@ -9431,9 +9792,9 @@ templateInvalidConstantPatternUnary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidConstantPatternUnary = const Code( - "InvalidConstantPatternUnary", - index: 136, - ); + "InvalidConstantPatternUnary", + index: 136, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidConstantPatternUnary(String name) { @@ -9444,21 +9805,25 @@ Message _withArgumentsInvalidConstantPatternUnary(String name) { problemMessage: """The unary operator ${name} is not supported as a constant pattern.""", correctionMessage: """Try wrapping the expression in 'const ( ... )'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInvalidContinueTarget = const Template( - "InvalidContinueTarget", - problemMessageTemplate: r"""Can't continue at '#name'.""", - withArguments: _withArgumentsInvalidContinueTarget, - ); + "InvalidContinueTarget", + problemMessageTemplate: r"""Can't continue at '#name'.""", + withArguments: _withArgumentsInvalidContinueTarget, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidContinueTarget = - const Code("InvalidContinueTarget"); + const Code( + "InvalidContinueTarget", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidContinueTarget(String name) { @@ -9467,7 +9832,9 @@ Message _withArgumentsInvalidContinueTarget(String name) { return new Message( codeInvalidContinueTarget, problemMessage: """Can't continue at '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -9484,21 +9851,20 @@ const MessageCode messageInvalidEscapeStarted = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidGetterSetterTypeFieldContext = + templateInvalidGetterSetterTypeFieldContext = const Template( - "InvalidGetterSetterTypeFieldContext", - problemMessageTemplate: - r"""This is the declaration of the field '#name'.""", - withArguments: _withArgumentsInvalidGetterSetterTypeFieldContext, - ); + "InvalidGetterSetterTypeFieldContext", + problemMessageTemplate: r"""This is the declaration of the field '#name'.""", + withArguments: _withArgumentsInvalidGetterSetterTypeFieldContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidGetterSetterTypeFieldContext = + codeInvalidGetterSetterTypeFieldContext = const Code( - "InvalidGetterSetterTypeFieldContext", - severity: Severity.context, - ); + "InvalidGetterSetterTypeFieldContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeFieldContext(String name) { @@ -9507,27 +9873,28 @@ Message _withArgumentsInvalidGetterSetterTypeFieldContext(String name) { return new Message( codeInvalidGetterSetterTypeFieldContext, problemMessage: """This is the declaration of the field '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidGetterSetterTypeGetterContext = + templateInvalidGetterSetterTypeGetterContext = const Template( - "InvalidGetterSetterTypeGetterContext", - problemMessageTemplate: - r"""This is the declaration of the getter '#name'.""", - withArguments: _withArgumentsInvalidGetterSetterTypeGetterContext, - ); + "InvalidGetterSetterTypeGetterContext", + problemMessageTemplate: r"""This is the declaration of the getter '#name'.""", + withArguments: _withArgumentsInvalidGetterSetterTypeGetterContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidGetterSetterTypeGetterContext = + codeInvalidGetterSetterTypeGetterContext = const Code( - "InvalidGetterSetterTypeGetterContext", - severity: Severity.context, - ); + "InvalidGetterSetterTypeGetterContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeGetterContext(String name) { @@ -9536,27 +9903,28 @@ Message _withArgumentsInvalidGetterSetterTypeGetterContext(String name) { return new Message( codeInvalidGetterSetterTypeGetterContext, problemMessage: """This is the declaration of the getter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidGetterSetterTypeSetterContext = + templateInvalidGetterSetterTypeSetterContext = const Template( - "InvalidGetterSetterTypeSetterContext", - problemMessageTemplate: - r"""This is the declaration of the setter '#name'.""", - withArguments: _withArgumentsInvalidGetterSetterTypeSetterContext, - ); + "InvalidGetterSetterTypeSetterContext", + problemMessageTemplate: r"""This is the declaration of the setter '#name'.""", + withArguments: _withArgumentsInvalidGetterSetterTypeSetterContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidGetterSetterTypeSetterContext = + codeInvalidGetterSetterTypeSetterContext = const Code( - "InvalidGetterSetterTypeSetterContext", - severity: Severity.context, - ); + "InvalidGetterSetterTypeSetterContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeSetterContext(String name) { @@ -9565,7 +9933,9 @@ Message _withArgumentsInvalidGetterSetterTypeSetterContext(String name) { return new Message( codeInvalidGetterSetterTypeSetterContext, problemMessage: """This is the declaration of the setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -9622,18 +9992,18 @@ const MessageCode messageInvalidInsideUnaryPattern = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidMacroApplicationTarget = + templateInvalidMacroApplicationTarget = const Template( - "InvalidMacroApplicationTarget", - problemMessageTemplate: r"""The macro can only be applied to #string.""", - withArguments: _withArgumentsInvalidMacroApplicationTarget, - ); + "InvalidMacroApplicationTarget", + problemMessageTemplate: r"""The macro can only be applied to #string.""", + withArguments: _withArgumentsInvalidMacroApplicationTarget, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidMacroApplicationTarget = const Code( - "InvalidMacroApplicationTarget", - ); + "InvalidMacroApplicationTarget", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidMacroApplicationTarget(String string) { @@ -9641,7 +10011,9 @@ Message _withArgumentsInvalidMacroApplicationTarget(String string) { return new Message( codeInvalidMacroApplicationTarget, problemMessage: """The macro can only be applied to ${string}.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -9657,15 +10029,18 @@ const MessageCode messageInvalidNnbdDillLibrary = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInvalidOperator = const Template( - "InvalidOperator", - problemMessageTemplate: - r"""The string '#lexeme' isn't a user-definable operator.""", - withArguments: _withArgumentsInvalidOperator, - ); + "InvalidOperator", + problemMessageTemplate: + r"""The string '#lexeme' isn't a user-definable operator.""", + withArguments: _withArgumentsInvalidOperator, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidOperator = - const Code("InvalidOperator", index: 39); + const Code( + "InvalidOperator", + index: 39, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidOperator(Token token) { @@ -9674,23 +10049,27 @@ Message _withArgumentsInvalidOperator(Token token) { codeInvalidOperator, problemMessage: """The string '${lexeme}' isn't a user-definable operator.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidPackageUri = + templateInvalidPackageUri = const Template( - "InvalidPackageUri", - problemMessageTemplate: r"""Invalid package URI '#uri': + "InvalidPackageUri", + problemMessageTemplate: r"""Invalid package URI '#uri': #string.""", - withArguments: _withArgumentsInvalidPackageUri, - ); + withArguments: _withArgumentsInvalidPackageUri, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidPackageUri = - const Code("InvalidPackageUri"); + const Code( + "InvalidPackageUri", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidPackageUri(Uri uri_, String string) { @@ -9700,7 +10079,10 @@ Message _withArgumentsInvalidPackageUri(Uri uri_, String string) { codeInvalidPackageUri, problemMessage: """Invalid package URI '${uri}': ${string}.""", - arguments: {'uri': uri_, 'string': string}, + arguments: { + 'uri': uri_, + 'string': string, + }, ); } @@ -9740,9 +10122,8 @@ const MessageCode messageInvalidThisInInitializer = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidTypeParameterInSupertype = const Template< - Message Function(String name, String string2, String name2) ->( + templateInvalidTypeParameterInSupertype = + const Template( "InvalidTypeParameterInSupertype", problemMessageTemplate: r"""Can't use implicitly 'out' variable '#name' in an '#string2' position in supertype '#name2'.""", @@ -9751,17 +10132,14 @@ templateInvalidTypeParameterInSupertype = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidTypeParameterInSupertype = + codeInvalidTypeParameterInSupertype = const Code( - "InvalidTypeParameterInSupertype", - ); + "InvalidTypeParameterInSupertype", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidTypeParameterInSupertype( - String name, - String string2, - String name2, -) { + String name, String string2, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string2.isEmpty) throw 'No string provided'; @@ -9771,17 +10149,21 @@ Message _withArgumentsInvalidTypeParameterInSupertype( codeInvalidTypeParameterInSupertype, problemMessage: """Can't use implicitly 'out' variable '${name}' in an '${string2}' position in supertype '${name2}'.""", - arguments: {'name': name, 'string2': string2, 'name2': name2}, + arguments: { + 'name': name, + 'string2': string2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(String string, String name, String string2, String name2) -> -templateInvalidTypeParameterInSupertypeWithVariance = const Template< - Message Function(String string, String name, String string2, String name2) ->( + Message Function( + String string, String name, String string2, String name2)> + templateInvalidTypeParameterInSupertypeWithVariance = const Template< + Message Function( + String string, String name, String string2, String name2)>( "InvalidTypeParameterInSupertypeWithVariance", problemMessageTemplate: r"""Can't use '#string' type variable '#name' in an '#string2' position in supertype '#name2'.""", @@ -9790,19 +10172,17 @@ templateInvalidTypeParameterInSupertypeWithVariance = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(String string, String name, String string2, String name2) -> -codeInvalidTypeParameterInSupertypeWithVariance = const Code< - Message Function(String string, String name, String string2, String name2) ->("InvalidTypeParameterInSupertypeWithVariance"); + Message Function( + String string, String name, String string2, String name2)> + codeInvalidTypeParameterInSupertypeWithVariance = const Code< + Message Function( + String string, String name, String string2, String name2)>( + "InvalidTypeParameterInSupertypeWithVariance", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidTypeParameterInSupertypeWithVariance( - String string, - String name, - String string2, - String name2, -) { + String string, String name, String string2, String name2) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -9824,9 +10204,8 @@ Message _withArgumentsInvalidTypeParameterInSupertypeWithVariance( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidTypeParameterVariancePosition = const Template< - Message Function(String string, String name, String string2) ->( + templateInvalidTypeParameterVariancePosition = const Template< + Message Function(String string, String name, String string2)>( "InvalidTypeParameterVariancePosition", problemMessageTemplate: r"""Can't use '#string' type variable '#name' in an '#string2' position.""", @@ -9835,17 +10214,14 @@ templateInvalidTypeParameterVariancePosition = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidTypeParameterVariancePosition = + codeInvalidTypeParameterVariancePosition = const Code( - "InvalidTypeParameterVariancePosition", - ); + "InvalidTypeParameterVariancePosition", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidTypeParameterVariancePosition( - String string, - String name, - String string2, -) { + String string, String name, String string2) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -9854,15 +10230,18 @@ Message _withArgumentsInvalidTypeParameterVariancePosition( codeInvalidTypeParameterVariancePosition, problemMessage: """Can't use '${string}' type variable '${name}' in an '${string2}' position.""", - arguments: {'string': string, 'name': name, 'string2': string2}, + arguments: { + 'string': string, + 'name': name, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidTypeParameterVariancePositionInReturnType = const Template< - Message Function(String string, String name, String string2) ->( + templateInvalidTypeParameterVariancePositionInReturnType = const Template< + Message Function(String string, String name, String string2)>( "InvalidTypeParameterVariancePositionInReturnType", problemMessageTemplate: r"""Can't use '#string' type variable '#name' in an '#string2' position in the return type.""", @@ -9871,17 +10250,14 @@ templateInvalidTypeParameterVariancePositionInReturnType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidTypeParameterVariancePositionInReturnType = + codeInvalidTypeParameterVariancePositionInReturnType = const Code( - "InvalidTypeParameterVariancePositionInReturnType", - ); + "InvalidTypeParameterVariancePositionInReturnType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidTypeParameterVariancePositionInReturnType( - String string, - String name, - String string2, -) { + String string, String name, String string2) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -9890,7 +10266,11 @@ Message _withArgumentsInvalidTypeParameterVariancePositionInReturnType( codeInvalidTypeParameterVariancePositionInReturnType, problemMessage: """Can't use '${string}' type variable '${name}' in an '${string2}' position in the return type.""", - arguments: {'string': string, 'name': name, 'string2': string2}, + arguments: { + 'string': string, + 'name': name, + 'string2': string2, + }, ); } @@ -9957,18 +10337,18 @@ const MessageCode messageInvalidVoid = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateInvokeNonFunction = const Template( - "InvokeNonFunction", - problemMessageTemplate: - r"""'#name' isn't a function or method and can't be invoked.""", - withArguments: _withArgumentsInvokeNonFunction, - ); + "InvokeNonFunction", + problemMessageTemplate: + r"""'#name' isn't a function or method and can't be invoked.""", + withArguments: _withArgumentsInvokeNonFunction, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvokeNonFunction = const Code( - "InvokeNonFunction", - analyzerCodes: ["INVOCATION_OF_NON_FUNCTION"], - ); + "InvokeNonFunction", + analyzerCodes: ["INVOCATION_OF_NON_FUNCTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvokeNonFunction(String name) { @@ -9978,15 +10358,16 @@ Message _withArgumentsInvokeNonFunction(String name) { codeInvokeNonFunction, problemMessage: """'${name}' isn't a function or method and can't be invoked.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJointPatternVariableNotInAll = const Template< - Message Function(String name) ->( + templateJointPatternVariableNotInAll = + const Template( "JointPatternVariableNotInAll", problemMessageTemplate: r"""The variable '#name' is available in some, but not all cases that share this body.""", @@ -9996,9 +10377,9 @@ templateJointPatternVariableNotInAll = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeJointPatternVariableNotInAll = const Code( - "JointPatternVariableNotInAll", - analyzerCodes: ["INVALID_PATTERN_VARIABLE_IN_SHARED_CASE_SCOPE"], - ); + "JointPatternVariableNotInAll", + analyzerCodes: ["INVALID_PATTERN_VARIABLE_IN_SHARED_CASE_SCOPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJointPatternVariableNotInAll(String name) { @@ -10008,15 +10389,16 @@ Message _withArgumentsJointPatternVariableNotInAll(String name) { codeJointPatternVariableNotInAll, problemMessage: """The variable '${name}' is available in some, but not all cases that share this body.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJointPatternVariableWithLabelDefault = const Template< - Message Function(String name) ->( + templateJointPatternVariableWithLabelDefault = + const Template( "JointPatternVariableWithLabelDefault", problemMessageTemplate: r"""The variable '#name' is not available because there is a label or 'default' case.""", @@ -10025,11 +10407,11 @@ templateJointPatternVariableWithLabelDefault = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJointPatternVariableWithLabelDefault = + codeJointPatternVariableWithLabelDefault = const Code( - "JointPatternVariableWithLabelDefault", - analyzerCodes: ["INVALID_PATTERN_VARIABLE_IN_SHARED_CASE_SCOPE"], - ); + "JointPatternVariableWithLabelDefault", + analyzerCodes: ["INVALID_PATTERN_VARIABLE_IN_SHARED_CASE_SCOPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJointPatternVariableWithLabelDefault(String name) { @@ -10039,15 +10421,16 @@ Message _withArgumentsJointPatternVariableWithLabelDefault(String name) { codeJointPatternVariableWithLabelDefault, problemMessage: """The variable '${name}' is not available because there is a label or 'default' case.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJointPatternVariablesMismatch = const Template< - Message Function(String name) ->( + templateJointPatternVariablesMismatch = + const Template( "JointPatternVariablesMismatch", problemMessageTemplate: r"""Variable pattern '#name' doesn't have the same type or finality in all cases.""", @@ -10056,7 +10439,9 @@ templateJointPatternVariablesMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeJointPatternVariablesMismatch = - const Code("JointPatternVariablesMismatch"); + const Code( + "JointPatternVariablesMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJointPatternVariablesMismatch(String name) { @@ -10066,15 +10451,16 @@ Message _withArgumentsJointPatternVariablesMismatch(String name) { codeJointPatternVariablesMismatch, problemMessage: """Variable pattern '${name}' doesn't have the same type or finality in all cases.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropDartClassExtendsJSClass = const Template< - Message Function(String name, String name2) ->( + templateJsInteropDartClassExtendsJSClass = + const Template( "JsInteropDartClassExtendsJSClass", problemMessageTemplate: r"""Dart class '#name' cannot extend JS interop class '#name2'.""", @@ -10085,16 +10471,14 @@ templateJsInteropDartClassExtendsJSClass = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropDartClassExtendsJSClass = + codeJsInteropDartClassExtendsJSClass = const Code( - "JsInteropDartClassExtendsJSClass", - ); + "JsInteropDartClassExtendsJSClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropDartClassExtendsJSClass( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -10105,7 +10489,10 @@ Message _withArgumentsJsInteropDartClassExtendsJSClass( """Dart class '${name}' cannot extend JS interop class '${name2}'.""", correctionMessage: """Try adding the JS interop annotation or removing it from the parent class.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -10114,8 +10501,8 @@ const Code codeJsInteropDartJsInteropAnnotationForStaticInteropOnly = messageJsInteropDartJsInteropAnnotationForStaticInteropOnly; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropDartJsInteropAnnotationForStaticInteropOnly = const MessageCode( +const MessageCode messageJsInteropDartJsInteropAnnotationForStaticInteropOnly = + const MessageCode( "JsInteropDartJsInteropAnnotationForStaticInteropOnly", problemMessage: r"""The '@JS' annotation from 'dart:js_interop' can only be used for static interop, either through extension types or '@staticInterop' classes.""", @@ -10125,9 +10512,8 @@ messageJsInteropDartJsInteropAnnotationForStaticInteropOnly = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropDisallowedInteropLibraryInDart2Wasm = const Template< - Message Function(String name) ->( + templateJsInteropDisallowedInteropLibraryInDart2Wasm = + const Template( "JsInteropDisallowedInteropLibraryInDart2Wasm", problemMessageTemplate: r"""JS interop library '#name' can't be imported when compiling to Wasm.""", @@ -10138,15 +10524,14 @@ templateJsInteropDisallowedInteropLibraryInDart2Wasm = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropDisallowedInteropLibraryInDart2Wasm = + codeJsInteropDisallowedInteropLibraryInDart2Wasm = const Code( - "JsInteropDisallowedInteropLibraryInDart2Wasm", - ); + "JsInteropDisallowedInteropLibraryInDart2Wasm", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropDisallowedInteropLibraryInDart2Wasm( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -10155,7 +10540,9 @@ Message _withArgumentsJsInteropDisallowedInteropLibraryInDart2Wasm( """JS interop library '${name}' can't be imported when compiling to Wasm.""", correctionMessage: """Try using 'dart:js_interop' or 'dart:js_interop_unsafe' instead.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -10164,8 +10551,8 @@ const Code codeJsInteropEnclosingClassJSAnnotation = messageJsInteropEnclosingClassJSAnnotation; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropEnclosingClassJSAnnotation = const MessageCode( +const MessageCode messageJsInteropEnclosingClassJSAnnotation = + const MessageCode( "JsInteropEnclosingClassJSAnnotation", problemMessage: r"""Member has a JS interop annotation but the enclosing class does not.""", @@ -10179,16 +10566,15 @@ const Code codeJsInteropEnclosingClassJSAnnotationContext = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageJsInteropEnclosingClassJSAnnotationContext = const MessageCode( - "JsInteropEnclosingClassJSAnnotationContext", - severity: Severity.context, - problemMessage: r"""This is the enclosing class.""", - ); + "JsInteropEnclosingClassJSAnnotationContext", + severity: Severity.context, + problemMessage: r"""This is the enclosing class.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportClassNotMarkedExportable = const Template< - Message Function(String name) ->( + templateJsInteropExportClassNotMarkedExportable = + const Template( "JsInteropExportClassNotMarkedExportable", problemMessageTemplate: r"""Class '#name' does not have a `@JSExport` on it or any of its members.""", @@ -10199,10 +10585,10 @@ templateJsInteropExportClassNotMarkedExportable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportClassNotMarkedExportable = + codeJsInteropExportClassNotMarkedExportable = const Code( - "JsInteropExportClassNotMarkedExportable", - ); + "JsInteropExportClassNotMarkedExportable", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportClassNotMarkedExportable(String name) { @@ -10213,15 +10599,16 @@ Message _withArgumentsJsInteropExportClassNotMarkedExportable(String name) { problemMessage: """Class '${name}' does not have a `@JSExport` on it or any of its members.""", correctionMessage: """Use the `@JSExport` annotation on this class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportDartInterfaceHasNonEmptyJSExportValue = const Template< - Message Function(String name) ->( + templateJsInteropExportDartInterfaceHasNonEmptyJSExportValue = + const Template( "JsInteropExportDartInterfaceHasNonEmptyJSExportValue", problemMessageTemplate: r"""The value in the `@JSExport` annotation on the class or mixin '#name' will be ignored.""", @@ -10232,16 +10619,15 @@ templateJsInteropExportDartInterfaceHasNonEmptyJSExportValue = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportDartInterfaceHasNonEmptyJSExportValue = + codeJsInteropExportDartInterfaceHasNonEmptyJSExportValue = const Code( - "JsInteropExportDartInterfaceHasNonEmptyJSExportValue", - severity: Severity.warning, - ); + "JsInteropExportDartInterfaceHasNonEmptyJSExportValue", + severity: Severity.warning, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportDartInterfaceHasNonEmptyJSExportValue( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -10249,15 +10635,16 @@ Message _withArgumentsJsInteropExportDartInterfaceHasNonEmptyJSExportValue( problemMessage: """The value in the `@JSExport` annotation on the class or mixin '${name}' will be ignored.""", correctionMessage: """Remove the value in the annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportDisallowedMember = const Template< - Message Function(String name) ->( + templateJsInteropExportDisallowedMember = + const Template( "JsInteropExportDisallowedMember", problemMessageTemplate: r"""Member '#name' is not a concrete instance member or declares type parameters, and therefore can't be exported.""", @@ -10269,8 +10656,8 @@ templateJsInteropExportDisallowedMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeJsInteropExportDisallowedMember = const Code( - "JsInteropExportDisallowedMember", - ); + "JsInteropExportDisallowedMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportDisallowedMember(String name) { @@ -10282,15 +10669,16 @@ Message _withArgumentsJsInteropExportDisallowedMember(String name) { """Member '${name}' is not a concrete instance member or declares type parameters, and therefore can't be exported.""", correctionMessage: """Remove the `@JSExport` annotation from the member, and use an instance member to call this member instead.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportMemberCollision = const Template< - Message Function(String name, String string) ->( + templateJsInteropExportMemberCollision = + const Template( "JsInteropExportMemberCollision", problemMessageTemplate: r"""The following class members collide with the same export '#name': #string.""", @@ -10301,16 +10689,14 @@ templateJsInteropExportMemberCollision = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportMemberCollision = + codeJsInteropExportMemberCollision = const Code( - "JsInteropExportMemberCollision", - ); + "JsInteropExportMemberCollision", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportMemberCollision( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -10320,15 +10706,17 @@ Message _withArgumentsJsInteropExportMemberCollision( """The following class members collide with the same export '${name}': ${string}.""", correctionMessage: """Either remove the conflicting members or use a different export name.""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportNoExportableMembers = const Template< - Message Function(String name) ->( + templateJsInteropExportNoExportableMembers = + const Template( "JsInteropExportNoExportableMembers", problemMessageTemplate: r"""Class '#name' has no exportable members in the class or the inheritance chain.""", @@ -10339,10 +10727,10 @@ templateJsInteropExportNoExportableMembers = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportNoExportableMembers = + codeJsInteropExportNoExportableMembers = const Code( - "JsInteropExportNoExportableMembers", - ); + "JsInteropExportNoExportableMembers", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportNoExportableMembers(String name) { @@ -10354,7 +10742,9 @@ Message _withArgumentsJsInteropExportNoExportableMembers(String name) { """Class '${name}' has no exportable members in the class or the inheritance chain.""", correctionMessage: """Using `@JSExport`, annotate at least one instance member with a body or annotate a class that has such a member in the inheritance chain.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -10363,8 +10753,8 @@ const Code codeJsInteropExtensionTypeMemberNotInterop = messageJsInteropExtensionTypeMemberNotInterop; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropExtensionTypeMemberNotInterop = const MessageCode( +const MessageCode messageJsInteropExtensionTypeMemberNotInterop = + const MessageCode( "JsInteropExtensionTypeMemberNotInterop", problemMessage: r"""Extension type member is marked 'external', but the representation type of its extension type is not a valid JS interop type.""", @@ -10377,8 +10767,8 @@ const Code codeJsInteropExtensionTypeUsedWithWrongJsAnnotation = messageJsInteropExtensionTypeUsedWithWrongJsAnnotation; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropExtensionTypeUsedWithWrongJsAnnotation = const MessageCode( +const MessageCode messageJsInteropExtensionTypeUsedWithWrongJsAnnotation = + const MessageCode( "JsInteropExtensionTypeUsedWithWrongJsAnnotation", problemMessage: r"""Extension types should use the '@JS' annotation from 'dart:js_interop' and not from 'package:js'.""", @@ -10391,8 +10781,8 @@ const Code codeJsInteropExternalExtensionMemberOnTypeInvalid = messageJsInteropExternalExtensionMemberOnTypeInvalid; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropExternalExtensionMemberOnTypeInvalid = const MessageCode( +const MessageCode messageJsInteropExternalExtensionMemberOnTypeInvalid = + const MessageCode( "JsInteropExternalExtensionMemberOnTypeInvalid", problemMessage: r"""JS interop type or @Native type from an SDK web library required for 'external' extension members.""", @@ -10405,8 +10795,8 @@ const Code codeJsInteropExternalExtensionMemberWithStaticDisallowed = messageJsInteropExternalExtensionMemberWithStaticDisallowed; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropExternalExtensionMemberWithStaticDisallowed = const MessageCode( +const MessageCode messageJsInteropExternalExtensionMemberWithStaticDisallowed = + const MessageCode( "JsInteropExternalExtensionMemberWithStaticDisallowed", problemMessage: r"""External extension members with the keyword 'static' on JS interop and @Native types are disallowed.""", @@ -10418,8 +10808,8 @@ const Code codeJsInteropExternalMemberNotJSAnnotated = messageJsInteropExternalMemberNotJSAnnotated; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropExternalMemberNotJSAnnotated = const MessageCode( +const MessageCode messageJsInteropExternalMemberNotJSAnnotated = + const MessageCode( "JsInteropExternalMemberNotJSAnnotated", problemMessage: r"""Only JS interop members may be 'external'.""", correctionMessage: @@ -10431,8 +10821,8 @@ const Code codeJsInteropFunctionToJSNamedParameters = messageJsInteropFunctionToJSNamedParameters; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropFunctionToJSNamedParameters = const MessageCode( +const MessageCode messageJsInteropFunctionToJSNamedParameters = + const MessageCode( "JsInteropFunctionToJSNamedParameters", problemMessage: r"""Functions converted via `toJS` cannot declare named parameters.""", @@ -10447,20 +10837,20 @@ const Code codeJsInteropFunctionToJSTypeParameters = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageJsInteropFunctionToJSTypeParameters = const MessageCode( - "JsInteropFunctionToJSTypeParameters", - problemMessage: - r"""Functions converted via `toJS` cannot declare type parameters.""", - correctionMessage: - r"""Remove the declared type parameters from the function.""", - ); + "JsInteropFunctionToJSTypeParameters", + problemMessage: + r"""Functions converted via `toJS` cannot declare type parameters.""", + correctionMessage: + r"""Remove the declared type parameters from the function.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeJsInteropInvalidStaticClassMemberName = messageJsInteropInvalidStaticClassMemberName; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropInvalidStaticClassMemberName = const MessageCode( +const MessageCode messageJsInteropInvalidStaticClassMemberName = + const MessageCode( "JsInteropInvalidStaticClassMemberName", problemMessage: r"""JS interop static class members cannot have '.' in their JS name.""", @@ -10479,9 +10869,8 @@ const MessageCode messageJsInteropIsATearoff = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropJSClassExtendsDartClass = const Template< - Message Function(String name, String name2) ->( + templateJsInteropJSClassExtendsDartClass = + const Template( "JsInteropJSClassExtendsDartClass", problemMessageTemplate: r"""JS interop class '#name' cannot extend Dart class '#name2'.""", @@ -10492,16 +10881,14 @@ templateJsInteropJSClassExtendsDartClass = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropJSClassExtendsDartClass = + codeJsInteropJSClassExtendsDartClass = const Code( - "JsInteropJSClassExtendsDartClass", - ); + "JsInteropJSClassExtendsDartClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropJSClassExtendsDartClass( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -10512,7 +10899,10 @@ Message _withArgumentsJsInteropJSClassExtendsDartClass( """JS interop class '${name}' cannot extend Dart class '${name2}'.""", correctionMessage: """Try removing the JS interop annotation or adding it to the parent class.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -10530,9 +10920,8 @@ const MessageCode messageJsInteropNamedParameters = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropNativeClassInAnnotation = const Template< - Message Function(String name, String name2, String string3) ->( + templateJsInteropNativeClassInAnnotation = + const Template( "JsInteropNativeClassInAnnotation", problemMessageTemplate: r"""Non-static JS interop class '#name' conflicts with natively supported class '#name2' in '#string3'.""", @@ -10543,17 +10932,14 @@ templateJsInteropNativeClassInAnnotation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropNativeClassInAnnotation = + codeJsInteropNativeClassInAnnotation = const Code( - "JsInteropNativeClassInAnnotation", - ); + "JsInteropNativeClassInAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropNativeClassInAnnotation( - String name, - String name2, - String string3, -) { + String name, String name2, String string3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -10565,7 +10951,11 @@ Message _withArgumentsJsInteropNativeClassInAnnotation( """Non-static JS interop class '${name}' conflicts with natively supported class '${name2}' in '${string3}'.""", correctionMessage: """Try replacing it with a static JS interop class using `@staticInterop` with extension methods, or use js_util to interact with the native object of type '${name2}'.""", - arguments: {'name': name, 'name2': name2, 'string3': string3}, + arguments: { + 'name': name, + 'name2': name2, + 'string3': string3, + }, ); } @@ -10595,9 +10985,8 @@ const MessageCode messageJsInteropNonExternalMember = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropNonStaticWithStaticInteropSupertype = const Template< - Message Function(String name, String name2) ->( + templateJsInteropNonStaticWithStaticInteropSupertype = + const Template( "JsInteropNonStaticWithStaticInteropSupertype", problemMessageTemplate: r"""Class '#name' does not have an `@staticInterop` annotation, but has supertype '#name2', which does.""", @@ -10608,16 +10997,14 @@ templateJsInteropNonStaticWithStaticInteropSupertype = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropNonStaticWithStaticInteropSupertype = + codeJsInteropNonStaticWithStaticInteropSupertype = const Code( - "JsInteropNonStaticWithStaticInteropSupertype", - ); + "JsInteropNonStaticWithStaticInteropSupertype", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropNonStaticWithStaticInteropSupertype( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -10628,41 +11015,45 @@ Message _withArgumentsJsInteropNonStaticWithStaticInteropSupertype( """Class '${name}' does not have an `@staticInterop` annotation, but has supertype '${name2}', which does.""", correctionMessage: """Try marking '${name}' as a `@staticInterop` class, or don't inherit '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropObjectLiteralConstructorPositionalParameters = + templateJsInteropObjectLiteralConstructorPositionalParameters = const Template( - "JsInteropObjectLiteralConstructorPositionalParameters", - problemMessageTemplate: - r"""#string should not contain any positional parameters.""", - correctionMessageTemplate: - r"""Try replacing them with named parameters instead.""", - withArguments: - _withArgumentsJsInteropObjectLiteralConstructorPositionalParameters, - ); + "JsInteropObjectLiteralConstructorPositionalParameters", + problemMessageTemplate: + r"""#string should not contain any positional parameters.""", + correctionMessageTemplate: + r"""Try replacing them with named parameters instead.""", + withArguments: + _withArgumentsJsInteropObjectLiteralConstructorPositionalParameters, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropObjectLiteralConstructorPositionalParameters = + codeJsInteropObjectLiteralConstructorPositionalParameters = const Code( - "JsInteropObjectLiteralConstructorPositionalParameters", - ); + "JsInteropObjectLiteralConstructorPositionalParameters", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropObjectLiteralConstructorPositionalParameters( - String string, -) { + String string) { if (string.isEmpty) throw 'No string provided'; return new Message( codeJsInteropObjectLiteralConstructorPositionalParameters, problemMessage: """${string} should not contain any positional parameters.""", correctionMessage: """Try replacing them with named parameters instead.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -10694,9 +11085,8 @@ const MessageCode messageJsInteropOperatorsNotSupported = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropExternalFunctionTypeViolation = const Template< - Message Function(String string2) ->( + templateJsInteropStaticInteropExternalFunctionTypeViolation = + const Template( "JsInteropStaticInteropExternalFunctionTypeViolation", problemMessageTemplate: r"""External JS interop member contains invalid types in its function signature: '#string2'.""", @@ -10708,15 +11098,14 @@ templateJsInteropStaticInteropExternalFunctionTypeViolation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropExternalFunctionTypeViolation = + codeJsInteropStaticInteropExternalFunctionTypeViolation = const Code( - "JsInteropStaticInteropExternalFunctionTypeViolation", - ); + "JsInteropStaticInteropExternalFunctionTypeViolation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropExternalFunctionTypeViolation( - String string2, -) { + String string2) { if (string2.isEmpty) throw 'No string provided'; return new Message( codeJsInteropStaticInteropExternalFunctionTypeViolation, @@ -10724,7 +11113,9 @@ Message _withArgumentsJsInteropStaticInteropExternalFunctionTypeViolation( """External JS interop member contains invalid types in its function signature: '${string2}'.""", correctionMessage: """Use one of these valid types instead: JS types from 'dart:js_interop', ExternalDartReference, void, bool, num, double, int, String, extension types that erase to one of these types, '@staticInterop' types, 'dart:html' types when compiling to JS, or a type parameter that is a subtype of a valid non-primitive type.""", - arguments: {'string2': string2}, + arguments: { + 'string2': string2, + }, ); } @@ -10733,8 +11124,8 @@ const Code codeJsInteropStaticInteropGenerativeConstructor = messageJsInteropStaticInteropGenerativeConstructor; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropStaticInteropGenerativeConstructor = const MessageCode( +const MessageCode messageJsInteropStaticInteropGenerativeConstructor = + const MessageCode( "JsInteropStaticInteropGenerativeConstructor", problemMessage: r"""`@staticInterop` classes should not contain any generative constructors.""", @@ -10743,23 +11134,11 @@ messageJsInteropStaticInteropGenerativeConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - String name, - String string, - String string2, - String name2, - String string3, - ) -> -templateJsInteropStaticInteropMockMissingGetterOrSetter = const Template< - Message Function( - String name, - String string, - String string2, - String name2, - String string3, - ) ->( + Message Function(String name, String string, String string2, + String name2, String string3)> + templateJsInteropStaticInteropMockMissingGetterOrSetter = const Template< + Message Function(String name, String string, String string2, + String name2, String string3)>( "JsInteropStaticInteropMockMissingGetterOrSetter", problemMessageTemplate: r"""Dart class '#name' has a #string, but does not have a #string2 to implement any of the following extension member(s) with export name '#name2': #string3.""", @@ -10770,32 +11149,17 @@ templateJsInteropStaticInteropMockMissingGetterOrSetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - String name, - String string, - String string2, - String name2, - String string3, - ) -> -codeJsInteropStaticInteropMockMissingGetterOrSetter = const Code< - Message Function( - String name, - String string, - String string2, - String name2, - String string3, - ) ->("JsInteropStaticInteropMockMissingGetterOrSetter"); + Message Function(String name, String string, String string2, + String name2, String string3)> + codeJsInteropStaticInteropMockMissingGetterOrSetter = const Code< + Message Function(String name, String string, String string2, + String name2, String string3)>( + "JsInteropStaticInteropMockMissingGetterOrSetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropMockMissingGetterOrSetter( - String name, - String string, - String string2, - String name2, - String string3, -) { + String name, String string, String string2, String name2, String string3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -10821,9 +11185,8 @@ Message _withArgumentsJsInteropStaticInteropMockMissingGetterOrSetter( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropMockMissingImplements = const Template< - Message Function(String name, String name2, String string) ->( + templateJsInteropStaticInteropMockMissingImplements = + const Template( "JsInteropStaticInteropMockMissingImplements", problemMessageTemplate: r"""Dart class '#name' does not have any members that implement any of the following extension member(s) with export name '#name2': #string.""", @@ -10834,17 +11197,14 @@ templateJsInteropStaticInteropMockMissingImplements = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropMockMissingImplements = + codeJsInteropStaticInteropMockMissingImplements = const Code( - "JsInteropStaticInteropMockMissingImplements", - ); + "JsInteropStaticInteropMockMissingImplements", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropMockMissingImplements( - String name, - String name2, - String string, -) { + String name, String name2, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -10856,15 +11216,18 @@ Message _withArgumentsJsInteropStaticInteropMockMissingImplements( """Dart class '${name}' does not have any members that implement any of the following extension member(s) with export name '${name2}': ${string}.""", correctionMessage: """Declare an exportable member that implements one of these extension members.""", - arguments: {'name': name, 'name2': name2, 'string': string}, + arguments: { + 'name': name, + 'name2': name2, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropNoJSAnnotation = const Template< - Message Function(String name) ->( + templateJsInteropStaticInteropNoJSAnnotation = + const Template( "JsInteropStaticInteropNoJSAnnotation", problemMessageTemplate: r"""`@staticInterop` classes should also have the `@JS` annotation.""", @@ -10874,10 +11237,10 @@ templateJsInteropStaticInteropNoJSAnnotation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropNoJSAnnotation = + codeJsInteropStaticInteropNoJSAnnotation = const Code( - "JsInteropStaticInteropNoJSAnnotation", - ); + "JsInteropStaticInteropNoJSAnnotation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropNoJSAnnotation(String name) { @@ -10888,7 +11251,9 @@ Message _withArgumentsJsInteropStaticInteropNoJSAnnotation(String name) { problemMessage: """`@staticInterop` classes should also have the `@JS` annotation.""", correctionMessage: """Add `@JS` to class '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -10897,8 +11262,8 @@ const Code codeJsInteropStaticInteropParameterInitializersAreIgnored = messageJsInteropStaticInteropParameterInitializersAreIgnored; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropStaticInteropParameterInitializersAreIgnored = const MessageCode( +const MessageCode messageJsInteropStaticInteropParameterInitializersAreIgnored = + const MessageCode( "JsInteropStaticInteropParameterInitializersAreIgnored", severity: Severity.warning, problemMessage: @@ -10912,8 +11277,8 @@ const Code codeJsInteropStaticInteropSyntheticConstructor = messageJsInteropStaticInteropSyntheticConstructor; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageJsInteropStaticInteropSyntheticConstructor = const MessageCode( +const MessageCode messageJsInteropStaticInteropSyntheticConstructor = + const MessageCode( "JsInteropStaticInteropSyntheticConstructor", problemMessage: r"""Synthetic constructors on `@staticInterop` classes can not be used.""", @@ -10923,28 +11288,26 @@ messageJsInteropStaticInteropSyntheticConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropTearOffsDisallowed = + templateJsInteropStaticInteropTearOffsDisallowed = const Template( - "JsInteropStaticInteropTearOffsDisallowed", - problemMessageTemplate: - r"""Tear-offs of external #string '#name' are disallowed.""", - correctionMessageTemplate: - r"""Declare a closure that calls this member instead.""", - withArguments: _withArgumentsJsInteropStaticInteropTearOffsDisallowed, - ); + "JsInteropStaticInteropTearOffsDisallowed", + problemMessageTemplate: + r"""Tear-offs of external #string '#name' are disallowed.""", + correctionMessageTemplate: + r"""Declare a closure that calls this member instead.""", + withArguments: _withArgumentsJsInteropStaticInteropTearOffsDisallowed, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropTearOffsDisallowed = + codeJsInteropStaticInteropTearOffsDisallowed = const Code( - "JsInteropStaticInteropTearOffsDisallowed", - ); + "JsInteropStaticInteropTearOffsDisallowed", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropTearOffsDisallowed( - String string, - String name, -) { + String string, String name) { if (string.isEmpty) throw 'No string provided'; if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -10953,15 +11316,17 @@ Message _withArgumentsJsInteropStaticInteropTearOffsDisallowed( problemMessage: """Tear-offs of external ${string} '${name}' are disallowed.""", correctionMessage: """Declare a closure that calls this member instead.""", - arguments: {'string': string, 'name': name}, + arguments: { + 'string': string, + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropToJSFunctionTypeViolation = const Template< - Message Function(String string2) ->( + templateJsInteropStaticInteropToJSFunctionTypeViolation = + const Template( "JsInteropStaticInteropToJSFunctionTypeViolation", problemMessageTemplate: r"""Function converted via 'toJS' contains invalid types in its function signature: '#string2'.""", @@ -10972,15 +11337,14 @@ templateJsInteropStaticInteropToJSFunctionTypeViolation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropToJSFunctionTypeViolation = + codeJsInteropStaticInteropToJSFunctionTypeViolation = const Code( - "JsInteropStaticInteropToJSFunctionTypeViolation", - ); + "JsInteropStaticInteropToJSFunctionTypeViolation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropToJSFunctionTypeViolation( - String string2, -) { + String string2) { if (string2.isEmpty) throw 'No string provided'; return new Message( codeJsInteropStaticInteropToJSFunctionTypeViolation, @@ -10988,15 +11352,16 @@ Message _withArgumentsJsInteropStaticInteropToJSFunctionTypeViolation( """Function converted via 'toJS' contains invalid types in its function signature: '${string2}'.""", correctionMessage: """Use one of these valid types instead: JS types from 'dart:js_interop', ExternalDartReference, void, bool, num, double, int, String, extension types that erase to one of these types, '@staticInterop' types, 'dart:html' types when compiling to JS, or a type parameter that is a subtype of a valid non-primitive type.""", - arguments: {'string2': string2}, + arguments: { + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropTrustTypesUsageNotAllowed = const Template< - Message Function(String name) ->( + templateJsInteropStaticInteropTrustTypesUsageNotAllowed = + const Template( "JsInteropStaticInteropTrustTypesUsageNotAllowed", problemMessageTemplate: r"""JS interop class '#name' has an `@trustTypes` annotation, but `@trustTypes` is only supported within the sdk.""", @@ -11006,15 +11371,14 @@ templateJsInteropStaticInteropTrustTypesUsageNotAllowed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropTrustTypesUsageNotAllowed = + codeJsInteropStaticInteropTrustTypesUsageNotAllowed = const Code( - "JsInteropStaticInteropTrustTypesUsageNotAllowed", - ); + "JsInteropStaticInteropTrustTypesUsageNotAllowed", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropTrustTypesUsageNotAllowed( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -11022,15 +11386,16 @@ Message _withArgumentsJsInteropStaticInteropTrustTypesUsageNotAllowed( problemMessage: """JS interop class '${name}' has an `@trustTypes` annotation, but `@trustTypes` is only supported within the sdk.""", correctionMessage: """Try removing the `@trustTypes` annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop = const Template< - Message Function(String name) ->( + templateJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop = + const Template( "JsInteropStaticInteropTrustTypesUsedWithoutStaticInterop", problemMessageTemplate: r"""JS interop class '#name' has an `@trustTypes` annotation, but no `@staticInterop` annotation.""", @@ -11042,15 +11407,14 @@ templateJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop = const Templat // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop = + codeJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop = const Code( - "JsInteropStaticInteropTrustTypesUsedWithoutStaticInterop", - ); + "JsInteropStaticInteropTrustTypesUsedWithoutStaticInterop", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -11058,15 +11422,16 @@ Message _withArgumentsJsInteropStaticInteropTrustTypesUsedWithoutStaticInterop( problemMessage: """JS interop class '${name}' has an `@trustTypes` annotation, but no `@staticInterop` annotation.""", correctionMessage: """Try marking the class using `@staticInterop`.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropWithInstanceMembers = const Template< - Message Function(String name) ->( + templateJsInteropStaticInteropWithInstanceMembers = + const Template( "JsInteropStaticInteropWithInstanceMembers", problemMessageTemplate: r"""JS interop class '#name' with `@staticInterop` annotation cannot declare instance members.""", @@ -11077,10 +11442,10 @@ templateJsInteropStaticInteropWithInstanceMembers = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropWithInstanceMembers = + codeJsInteropStaticInteropWithInstanceMembers = const Code( - "JsInteropStaticInteropWithInstanceMembers", - ); + "JsInteropStaticInteropWithInstanceMembers", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropWithInstanceMembers(String name) { @@ -11092,15 +11457,16 @@ Message _withArgumentsJsInteropStaticInteropWithInstanceMembers(String name) { """JS interop class '${name}' with `@staticInterop` annotation cannot declare instance members.""", correctionMessage: """Try moving the instance member to a static extension.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropWithNonStaticSupertype = const Template< - Message Function(String name, String name2) ->( + templateJsInteropStaticInteropWithNonStaticSupertype = + const Template( "JsInteropStaticInteropWithNonStaticSupertype", problemMessageTemplate: r"""JS interop class '#name' has an `@staticInterop` annotation, but has supertype '#name2', which does not.""", @@ -11111,16 +11477,14 @@ templateJsInteropStaticInteropWithNonStaticSupertype = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropWithNonStaticSupertype = + codeJsInteropStaticInteropWithNonStaticSupertype = const Code( - "JsInteropStaticInteropWithNonStaticSupertype", - ); + "JsInteropStaticInteropWithNonStaticSupertype", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropWithNonStaticSupertype( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -11131,13 +11495,16 @@ Message _withArgumentsJsInteropStaticInteropWithNonStaticSupertype( """JS interop class '${name}' has an `@staticInterop` annotation, but has supertype '${name2}', which does not.""", correctionMessage: """Try marking the supertype as a static interop class using `@staticInterop`.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateLabelNotFound = const Template( +const Template templateLabelNotFound = + const Template( "LabelNotFound", problemMessageTemplate: r"""Can't find label '#name'.""", correctionMessageTemplate: @@ -11148,9 +11515,9 @@ templateLabelNotFound = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeLabelNotFound = const Code( - "LabelNotFound", - analyzerCodes: ["LABEL_UNDEFINED"], - ); + "LabelNotFound", + analyzerCodes: ["LABEL_UNDEFINED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLabelNotFound(String name) { @@ -11161,7 +11528,9 @@ Message _withArgumentsLabelNotFound(String name) { problemMessage: """Can't find label '${name}'.""", correctionMessage: """Try defining the label, or correcting the name to match an existing label.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -11170,8 +11539,8 @@ const Code codeLanguageVersionInvalidInDotPackages = messageLanguageVersionInvalidInDotPackages; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageLanguageVersionInvalidInDotPackages = const MessageCode( +const MessageCode messageLanguageVersionInvalidInDotPackages = + const MessageCode( "LanguageVersionInvalidInDotPackages", problemMessage: r"""The language version is not specified correctly in the packages file.""", @@ -11234,9 +11603,8 @@ const MessageCode messageLanguageVersionPatchContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLanguageVersionTooHighExplicit = const Template< - Message Function(int count, int count2, int count3, int count4) ->( + templateLanguageVersionTooHighExplicit = const Template< + Message Function(int count, int count2, int count3, int count4)>( "LanguageVersionTooHighExplicit", problemMessageTemplate: r"""The specified language version #count.#count2 is too high. The highest supported language version is #count3.#count4.""", @@ -11245,18 +11613,14 @@ templateLanguageVersionTooHighExplicit = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeLanguageVersionTooHighExplicit = + codeLanguageVersionTooHighExplicit = const Code( - "LanguageVersionTooHighExplicit", - ); + "LanguageVersionTooHighExplicit", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLanguageVersionTooHighExplicit( - int count, - int count2, - int count3, - int count4, -) { + int count, int count2, int count3, int count4) { return new Message( codeLanguageVersionTooHighExplicit, problemMessage: @@ -11272,11 +11636,11 @@ Message _withArgumentsLanguageVersionTooHighExplicit( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(int count, int count2, String name, int count3, int count4) -> -templateLanguageVersionTooHighPackage = const Template< - Message Function(int count, int count2, String name, int count3, int count4) ->( + Message Function( + int count, int count2, String name, int count3, int count4)> + templateLanguageVersionTooHighPackage = const Template< + Message Function( + int count, int count2, String name, int count3, int count4)>( "LanguageVersionTooHighPackage", problemMessageTemplate: r"""The language version #count.#count2 specified for the package '#name' is too high. The highest supported language version is #count3.#count4.""", @@ -11285,20 +11649,17 @@ templateLanguageVersionTooHighPackage = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(int count, int count2, String name, int count3, int count4) -> -codeLanguageVersionTooHighPackage = const Code< - Message Function(int count, int count2, String name, int count3, int count4) ->("LanguageVersionTooHighPackage"); + Message Function( + int count, int count2, String name, int count3, int count4)> + codeLanguageVersionTooHighPackage = const Code< + Message Function( + int count, int count2, String name, int count3, int count4)>( + "LanguageVersionTooHighPackage", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLanguageVersionTooHighPackage( - int count, - int count2, - String name, - int count3, - int count4, -) { + int count, int count2, String name, int count3, int count4) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -11317,9 +11678,8 @@ Message _withArgumentsLanguageVersionTooHighPackage( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLanguageVersionTooLowExplicit = const Template< - Message Function(int count, int count2, int count3, int count4) ->( + templateLanguageVersionTooLowExplicit = const Template< + Message Function(int count, int count2, int count3, int count4)>( "LanguageVersionTooLowExplicit", problemMessageTemplate: r"""The specified language version #count.#count2 is too low. The lowest supported language version is #count3.#count4.""", @@ -11328,18 +11688,14 @@ templateLanguageVersionTooLowExplicit = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeLanguageVersionTooLowExplicit = + codeLanguageVersionTooLowExplicit = const Code( - "LanguageVersionTooLowExplicit", - ); + "LanguageVersionTooLowExplicit", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLanguageVersionTooLowExplicit( - int count, - int count2, - int count3, - int count4, -) { + int count, int count2, int count3, int count4) { return new Message( codeLanguageVersionTooLowExplicit, problemMessage: @@ -11355,11 +11711,11 @@ Message _withArgumentsLanguageVersionTooLowExplicit( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(int count, int count2, String name, int count3, int count4) -> -templateLanguageVersionTooLowPackage = const Template< - Message Function(int count, int count2, String name, int count3, int count4) ->( + Message Function( + int count, int count2, String name, int count3, int count4)> + templateLanguageVersionTooLowPackage = const Template< + Message Function( + int count, int count2, String name, int count3, int count4)>( "LanguageVersionTooLowPackage", problemMessageTemplate: r"""The language version #count.#count2 specified for the package '#name' is too low. The lowest supported language version is #count3.#count4.""", @@ -11368,20 +11724,17 @@ templateLanguageVersionTooLowPackage = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(int count, int count2, String name, int count3, int count4) -> -codeLanguageVersionTooLowPackage = const Code< - Message Function(int count, int count2, String name, int count3, int count4) ->("LanguageVersionTooLowPackage"); + Message Function( + int count, int count2, String name, int count3, int count4)> + codeLanguageVersionTooLowPackage = const Code< + Message Function( + int count, int count2, String name, int count3, int count4)>( + "LanguageVersionTooLowPackage", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLanguageVersionTooLowPackage( - int count, - int count2, - String name, - int count3, - int count4, -) { + int count, int count2, String name, int count3, int count4) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -11400,17 +11753,19 @@ Message _withArgumentsLanguageVersionTooLowPackage( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLateDefinitelyAssignedError = + templateLateDefinitelyAssignedError = const Template( - "LateDefinitelyAssignedError", - problemMessageTemplate: - r"""Late final variable '#name' definitely assigned.""", - withArguments: _withArgumentsLateDefinitelyAssignedError, - ); + "LateDefinitelyAssignedError", + problemMessageTemplate: + r"""Late final variable '#name' definitely assigned.""", + withArguments: _withArgumentsLateDefinitelyAssignedError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeLateDefinitelyAssignedError = - const Code("LateDefinitelyAssignedError"); + const Code( + "LateDefinitelyAssignedError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLateDefinitelyAssignedError(String name) { @@ -11419,15 +11774,16 @@ Message _withArgumentsLateDefinitelyAssignedError(String name) { return new Message( codeLateDefinitelyAssignedError, problemMessage: """Late final variable '${name}' definitely assigned.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLateDefinitelyUnassignedError = const Template< - Message Function(String name) ->( + templateLateDefinitelyUnassignedError = + const Template( "LateDefinitelyUnassignedError", problemMessageTemplate: r"""Late variable '#name' without initializer is definitely unassigned.""", @@ -11436,7 +11792,9 @@ templateLateDefinitelyUnassignedError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeLateDefinitelyUnassignedError = - const Code("LateDefinitelyUnassignedError"); + const Code( + "LateDefinitelyUnassignedError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLateDefinitelyUnassignedError(String name) { @@ -11446,7 +11804,9 @@ Message _withArgumentsLateDefinitelyUnassignedError(String name) { codeLateDefinitelyUnassignedError, problemMessage: """Late variable '${name}' without initializer is definitely unassigned.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -11500,21 +11860,21 @@ const MessageCode messageListPatternTooManyTypeArguments = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLiteralWithClass = + templateLiteralWithClass = const Template( - "LiteralWithClass", - problemMessageTemplate: - r"""A #string literal can't be prefixed by '#lexeme'.""", - correctionMessageTemplate: r"""Try removing '#lexeme'""", - withArguments: _withArgumentsLiteralWithClass, - ); + "LiteralWithClass", + problemMessageTemplate: + r"""A #string literal can't be prefixed by '#lexeme'.""", + correctionMessageTemplate: r"""Try removing '#lexeme'""", + withArguments: _withArgumentsLiteralWithClass, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeLiteralWithClass = const Code( - "LiteralWithClass", - index: 116, - ); + "LiteralWithClass", + index: 116, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLiteralWithClass(String string, Token token) { @@ -11524,28 +11884,31 @@ Message _withArgumentsLiteralWithClass(String string, Token token) { codeLiteralWithClass, problemMessage: """A ${string} literal can't be prefixed by '${lexeme}'.""", correctionMessage: """Try removing '${lexeme}'""", - arguments: {'string': string, 'lexeme': token}, + arguments: { + 'string': string, + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLiteralWithClassAndNew = + templateLiteralWithClassAndNew = const Template( - "LiteralWithClassAndNew", - problemMessageTemplate: - r"""A #string literal can't be prefixed by 'new #lexeme'.""", - correctionMessageTemplate: r"""Try removing 'new' and '#lexeme'""", - withArguments: _withArgumentsLiteralWithClassAndNew, - ); + "LiteralWithClassAndNew", + problemMessageTemplate: + r"""A #string literal can't be prefixed by 'new #lexeme'.""", + correctionMessageTemplate: r"""Try removing 'new' and '#lexeme'""", + withArguments: _withArgumentsLiteralWithClassAndNew, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeLiteralWithClassAndNew = + codeLiteralWithClassAndNew = const Code( - "LiteralWithClassAndNew", - index: 115, - ); + "LiteralWithClassAndNew", + index: 115, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLiteralWithClassAndNew(String string, Token token) { @@ -11556,7 +11919,10 @@ Message _withArgumentsLiteralWithClassAndNew(String string, Token token) { problemMessage: """A ${string} literal can't be prefixed by 'new ${lexeme}'.""", correctionMessage: """Try removing 'new' and '${lexeme}'""", - arguments: {'string': string, 'lexeme': token}, + arguments: { + 'string': string, + 'lexeme': token, + }, ); } @@ -11584,9 +11950,8 @@ const MessageCode messageLoadLibraryTakesNoArguments = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLocalVariableUsedBeforeDeclared = const Template< - Message Function(String name) ->( + templateLocalVariableUsedBeforeDeclared = + const Template( "LocalVariableUsedBeforeDeclared", problemMessageTemplate: r"""Local variable '#name' can't be referenced before it is declared.""", @@ -11596,9 +11961,9 @@ templateLocalVariableUsedBeforeDeclared = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeLocalVariableUsedBeforeDeclared = const Code( - "LocalVariableUsedBeforeDeclared", - analyzerCodes: ["REFERENCED_BEFORE_DECLARATION"], - ); + "LocalVariableUsedBeforeDeclared", + analyzerCodes: ["REFERENCED_BEFORE_DECLARATION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLocalVariableUsedBeforeDeclared(String name) { @@ -11608,27 +11973,29 @@ Message _withArgumentsLocalVariableUsedBeforeDeclared(String name) { codeLocalVariableUsedBeforeDeclared, problemMessage: """Local variable '${name}' can't be referenced before it is declared.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateLocalVariableUsedBeforeDeclaredContext = + templateLocalVariableUsedBeforeDeclaredContext = const Template( - "LocalVariableUsedBeforeDeclaredContext", - problemMessageTemplate: - r"""This is the declaration of the variable '#name'.""", - withArguments: _withArgumentsLocalVariableUsedBeforeDeclaredContext, - ); + "LocalVariableUsedBeforeDeclaredContext", + problemMessageTemplate: + r"""This is the declaration of the variable '#name'.""", + withArguments: _withArgumentsLocalVariableUsedBeforeDeclaredContext, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeLocalVariableUsedBeforeDeclaredContext = + codeLocalVariableUsedBeforeDeclaredContext = const Code( - "LocalVariableUsedBeforeDeclaredContext", - severity: Severity.context, - ); + "LocalVariableUsedBeforeDeclaredContext", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsLocalVariableUsedBeforeDeclaredContext(String name) { @@ -11637,15 +12004,16 @@ Message _withArgumentsLocalVariableUsedBeforeDeclaredContext(String name) { return new Message( codeLocalVariableUsedBeforeDeclaredContext, problemMessage: """This is the declaration of the variable '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMacroClassNotDeclaredMacro = const Template< - Message Function(String name) ->( + templateMacroClassNotDeclaredMacro = + const Template( "MacroClassNotDeclaredMacro", problemMessageTemplate: r"""Non-abstract class '#name' implements 'Macro' but isn't declared as a macro class.""", @@ -11655,7 +12023,9 @@ templateMacroClassNotDeclaredMacro = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMacroClassNotDeclaredMacro = - const Code("MacroClassNotDeclaredMacro"); + const Code( + "MacroClassNotDeclaredMacro", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMacroClassNotDeclaredMacro(String name) { @@ -11666,15 +12036,16 @@ Message _withArgumentsMacroClassNotDeclaredMacro(String name) { problemMessage: """Non-abstract class '${name}' implements 'Macro' but isn't declared as a macro class.""", correctionMessage: """Try adding the 'macro' class modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMacroDefinitionApplicationSameLibraryCycle = const Template< - Message Function(String name) ->( + templateMacroDefinitionApplicationSameLibraryCycle = + const Template( "MacroDefinitionApplicationSameLibraryCycle", problemMessageTemplate: r"""The macro '#name' can't be applied in the same library cycle where it is defined.""", @@ -11685,10 +12056,10 @@ templateMacroDefinitionApplicationSameLibraryCycle = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMacroDefinitionApplicationSameLibraryCycle = + codeMacroDefinitionApplicationSameLibraryCycle = const Code( - "MacroDefinitionApplicationSameLibraryCycle", - ); + "MacroDefinitionApplicationSameLibraryCycle", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMacroDefinitionApplicationSameLibraryCycle(String name) { @@ -11700,7 +12071,9 @@ Message _withArgumentsMacroDefinitionApplicationSameLibraryCycle(String name) { """The macro '${name}' can't be applied in the same library cycle where it is defined.""", correctionMessage: """Try moving it to a different library that does not import the one where it is applied.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -11741,8 +12114,8 @@ const Code codeMainRequiredNamedParametersExported = messageMainRequiredNamedParametersExported; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageMainRequiredNamedParametersExported = const MessageCode( +const MessageCode messageMainRequiredNamedParametersExported = + const MessageCode( "MainRequiredNamedParametersExported", problemMessage: r"""The exported 'main' method cannot have required named parameters.""", @@ -11764,8 +12137,8 @@ const Code codeMainTooManyRequiredParametersExported = messageMainTooManyRequiredParametersExported; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageMainTooManyRequiredParametersExported = const MessageCode( +const MessageCode messageMainTooManyRequiredParametersExported = + const MessageCode( "MainTooManyRequiredParametersExported", problemMessage: r"""The exported 'main' method must have at most 2 required parameters.""", @@ -11795,20 +12168,19 @@ const MessageCode messageMapPatternTypeArgumentMismatch = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberConflictsWithConstructor = + templateMemberConflictsWithConstructor = const Template( - "MemberConflictsWithConstructor", - problemMessageTemplate: - r"""The member conflicts with constructor '#name'.""", - withArguments: _withArgumentsMemberConflictsWithConstructor, - ); + "MemberConflictsWithConstructor", + problemMessageTemplate: r"""The member conflicts with constructor '#name'.""", + withArguments: _withArgumentsMemberConflictsWithConstructor, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMemberConflictsWithConstructor = const Code( - "MemberConflictsWithConstructor", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "MemberConflictsWithConstructor", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberConflictsWithConstructor(String name) { @@ -11817,26 +12189,28 @@ Message _withArgumentsMemberConflictsWithConstructor(String name) { return new Message( codeMemberConflictsWithConstructor, problemMessage: """The member conflicts with constructor '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberConflictsWithConstructorCause = + templateMemberConflictsWithConstructorCause = const Template( - "MemberConflictsWithConstructorCause", - problemMessageTemplate: r"""Conflicting constructor '#name'.""", - withArguments: _withArgumentsMemberConflictsWithConstructorCause, - ); + "MemberConflictsWithConstructorCause", + problemMessageTemplate: r"""Conflicting constructor '#name'.""", + withArguments: _withArgumentsMemberConflictsWithConstructorCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMemberConflictsWithConstructorCause = + codeMemberConflictsWithConstructorCause = const Code( - "MemberConflictsWithConstructorCause", - severity: Severity.context, - ); + "MemberConflictsWithConstructorCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberConflictsWithConstructorCause(String name) { @@ -11845,25 +12219,27 @@ Message _withArgumentsMemberConflictsWithConstructorCause(String name) { return new Message( codeMemberConflictsWithConstructorCause, problemMessage: """Conflicting constructor '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberConflictsWithFactory = + templateMemberConflictsWithFactory = const Template( - "MemberConflictsWithFactory", - problemMessageTemplate: r"""The member conflicts with factory '#name'.""", - withArguments: _withArgumentsMemberConflictsWithFactory, - ); + "MemberConflictsWithFactory", + problemMessageTemplate: r"""The member conflicts with factory '#name'.""", + withArguments: _withArgumentsMemberConflictsWithFactory, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMemberConflictsWithFactory = const Code( - "MemberConflictsWithFactory", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "MemberConflictsWithFactory", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberConflictsWithFactory(String name) { @@ -11872,25 +12248,27 @@ Message _withArgumentsMemberConflictsWithFactory(String name) { return new Message( codeMemberConflictsWithFactory, problemMessage: """The member conflicts with factory '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberConflictsWithFactoryCause = + templateMemberConflictsWithFactoryCause = const Template( - "MemberConflictsWithFactoryCause", - problemMessageTemplate: r"""Conflicting factory '#name'.""", - withArguments: _withArgumentsMemberConflictsWithFactoryCause, - ); + "MemberConflictsWithFactoryCause", + problemMessageTemplate: r"""Conflicting factory '#name'.""", + withArguments: _withArgumentsMemberConflictsWithFactoryCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMemberConflictsWithFactoryCause = const Code( - "MemberConflictsWithFactoryCause", - severity: Severity.context, - ); + "MemberConflictsWithFactoryCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberConflictsWithFactoryCause(String name) { @@ -11899,24 +12277,26 @@ Message _withArgumentsMemberConflictsWithFactoryCause(String name) { return new Message( codeMemberConflictsWithFactoryCause, problemMessage: """Conflicting factory '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateMemberNotFound = const Template( - "MemberNotFound", - problemMessageTemplate: r"""Member not found: '#name'.""", - withArguments: _withArgumentsMemberNotFound, - ); + "MemberNotFound", + problemMessageTemplate: r"""Member not found: '#name'.""", + withArguments: _withArgumentsMemberNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMemberNotFound = const Code( - "MemberNotFound", - analyzerCodes: ["UNDEFINED_GETTER"], - ); + "MemberNotFound", + analyzerCodes: ["UNDEFINED_GETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberNotFound(String name) { @@ -11925,15 +12305,16 @@ Message _withArgumentsMemberNotFound(String name) { return new Message( codeMemberNotFound, problemMessage: """Member not found: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberShouldBeListedAsCallableInDynamicInterface = const Template< - Message Function(String name) ->( + templateMemberShouldBeListedAsCallableInDynamicInterface = + const Template( "MemberShouldBeListedAsCallableInDynamicInterface", problemMessageTemplate: r"""Cannot invoke member '#name' from a dynamic module.""", @@ -11944,15 +12325,14 @@ templateMemberShouldBeListedAsCallableInDynamicInterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMemberShouldBeListedAsCallableInDynamicInterface = + codeMemberShouldBeListedAsCallableInDynamicInterface = const Code( - "MemberShouldBeListedAsCallableInDynamicInterface", - ); + "MemberShouldBeListedAsCallableInDynamicInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberShouldBeListedAsCallableInDynamicInterface( - String name, -) { + String name) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); return new Message( @@ -11960,15 +12340,16 @@ Message _withArgumentsMemberShouldBeListedAsCallableInDynamicInterface( problemMessage: """Cannot invoke member '${name}' from a dynamic module.""", correctionMessage: """Try removing the call or update the dynamic interface to list member '${name}' as callable.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMemberShouldBeListedAsCanBeOverriddenInDynamicInterface = const Template< - Message Function(String name, String name2) ->( + templateMemberShouldBeListedAsCanBeOverriddenInDynamicInterface = + const Template( "MemberShouldBeListedAsCanBeOverriddenInDynamicInterface", problemMessageTemplate: r"""Cannot override member '#name.#name2' in a dynamic module.""", @@ -11980,16 +12361,14 @@ templateMemberShouldBeListedAsCanBeOverriddenInDynamicInterface = const Template // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMemberShouldBeListedAsCanBeOverriddenInDynamicInterface = + codeMemberShouldBeListedAsCanBeOverriddenInDynamicInterface = const Code( - "MemberShouldBeListedAsCanBeOverriddenInDynamicInterface", - ); + "MemberShouldBeListedAsCanBeOverriddenInDynamicInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMemberShouldBeListedAsCanBeOverriddenInDynamicInterface( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -12000,7 +12379,10 @@ Message _withArgumentsMemberShouldBeListedAsCanBeOverriddenInDynamicInterface( """Cannot override member '${name}.${name2}' in a dynamic module.""", correctionMessage: """Try removing the override or update the dynamic interface to list member '${name}.${name2}' as can-be-overridden.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -12046,8 +12428,8 @@ const Code codeMetadataTypeArgumentsUninstantiated = messageMetadataTypeArgumentsUninstantiated; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageMetadataTypeArgumentsUninstantiated = const MessageCode( +const MessageCode messageMetadataTypeArgumentsUninstantiated = + const MessageCode( "MetadataTypeArgumentsUninstantiated", index: 114, problemMessage: @@ -12057,17 +12439,17 @@ messageMetadataTypeArgumentsUninstantiated = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateMethodNotFound = const Template( - "MethodNotFound", - problemMessageTemplate: r"""Method not found: '#name'.""", - withArguments: _withArgumentsMethodNotFound, - ); + "MethodNotFound", + problemMessageTemplate: r"""Method not found: '#name'.""", + withArguments: _withArgumentsMethodNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMethodNotFound = const Code( - "MethodNotFound", - analyzerCodes: ["UNDEFINED_METHOD"], - ); + "MethodNotFound", + analyzerCodes: ["UNDEFINED_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMethodNotFound(String name) { @@ -12076,7 +12458,9 @@ Message _withArgumentsMethodNotFound(String name) { return new Message( codeMethodNotFound, problemMessage: """Method not found: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -12180,19 +12564,19 @@ const MessageCode messageMissingFunctionParameters = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMissingImplementationCause = + templateMissingImplementationCause = const Template( - "MissingImplementationCause", - problemMessageTemplate: r"""'#name' is defined here.""", - withArguments: _withArgumentsMissingImplementationCause, - ); + "MissingImplementationCause", + problemMessageTemplate: r"""'#name' is defined here.""", + withArguments: _withArgumentsMissingImplementationCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMissingImplementationCause = const Code( - "MissingImplementationCause", - severity: Severity.context, - ); + "MissingImplementationCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMissingImplementationCause(String name) { @@ -12201,15 +12585,16 @@ Message _withArgumentsMissingImplementationCause(String name) { return new Message( codeMissingImplementationCause, problemMessage: """'${name}' is defined here.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template _names)> -templateMissingImplementationNotAbstract = const Template< - Message Function(String name, List _names) ->( + templateMissingImplementationNotAbstract = + const Template _names)>( "MissingImplementationNotAbstract", problemMessageTemplate: r"""The non-abstract class '#name' is missing implementations for these members: @@ -12225,17 +12610,15 @@ templateMissingImplementationNotAbstract = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code _names)> -codeMissingImplementationNotAbstract = + codeMissingImplementationNotAbstract = const Code _names)>( - "MissingImplementationNotAbstract", - analyzerCodes: ["CONCRETE_CLASS_WITH_ABSTRACT_MEMBER"], - ); + "MissingImplementationNotAbstract", + analyzerCodes: ["CONCRETE_CLASS_WITH_ABSTRACT_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMissingImplementationNotAbstract( - String name, - List _names, -) { + String name, List _names) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (_names.isEmpty) throw 'No names provided'; @@ -12251,7 +12634,10 @@ ${names}""", - mark the class as abstract, or - provide a 'noSuchMethod' implementation. """, - arguments: {'name': name, 'names': _names}, + arguments: { + 'name': name, + 'names': _names, + }, ); } @@ -12294,13 +12680,11 @@ const Code codeMissingNamedSuperConstructorParameter = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageMissingNamedSuperConstructorParameter = const MessageCode( - "MissingNamedSuperConstructorParameter", - analyzerCodes: [ - "SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED", - ], - problemMessage: - r"""The super constructor has no corresponding named parameter.""", - ); + "MissingNamedSuperConstructorParameter", + analyzerCodes: ["SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED"], + problemMessage: + r"""The super constructor has no corresponding named parameter.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMissingOperatorKeyword = messageMissingOperatorKeyword; @@ -12315,8 +12699,8 @@ const MessageCode messageMissingOperatorKeyword = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateMissingPartOf = const Template( +const Template templateMissingPartOf = + const Template( "MissingPartOf", problemMessageTemplate: r"""Can't use '#uri' as a part, because it has no 'part of' declaration.""", @@ -12326,9 +12710,9 @@ templateMissingPartOf = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMissingPartOf = const Code( - "MissingPartOf", - analyzerCodes: ["PART_OF_NON_PART"], - ); + "MissingPartOf", + analyzerCodes: ["PART_OF_NON_PART"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMissingPartOf(Uri uri_) { @@ -12337,7 +12721,9 @@ Message _withArgumentsMissingPartOf(Uri uri_) { codeMissingPartOf, problemMessage: """Can't use '${uri}' as a part, because it has no 'part of' declaration.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } @@ -12346,11 +12732,11 @@ const Code codeMissingPositionalSuperConstructorParameter = messageMissingPositionalSuperConstructorParameter; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageMissingPositionalSuperConstructorParameter = const MessageCode( +const MessageCode messageMissingPositionalSuperConstructorParameter = + const MessageCode( "MissingPositionalSuperConstructorParameter", analyzerCodes: [ - "SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_POSITIONAL", + "SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_POSITIONAL" ], problemMessage: r"""The super constructor has no corresponding positional parameter.""", @@ -12388,8 +12774,8 @@ const Code codeMissingPrimaryConstructorParameters = messageMissingPrimaryConstructorParameters; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageMissingPrimaryConstructorParameters = const MessageCode( +const MessageCode messageMissingPrimaryConstructorParameters = + const MessageCode( "MissingPrimaryConstructorParameters", index: 163, problemMessage: @@ -12410,8 +12796,8 @@ const MessageCode messageMissingTypedefParameters = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateMissingVariablePattern = const Template( +const Template templateMissingVariablePattern = + const Template( "MissingVariablePattern", problemMessageTemplate: r"""Variable pattern '#name' is missing in this branch of the logical-or pattern.""", @@ -12423,9 +12809,9 @@ templateMissingVariablePattern = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMissingVariablePattern = const Code( - "MissingVariablePattern", - analyzerCodes: ["MISSING_VARIABLE_PATTERN"], - ); + "MissingVariablePattern", + analyzerCodes: ["MISSING_VARIABLE_PATTERN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMissingVariablePattern(String name) { @@ -12436,15 +12822,16 @@ Message _withArgumentsMissingVariablePattern(String name) { problemMessage: """Variable pattern '${name}' is missing in this branch of the logical-or pattern.""", correctionMessage: """Try declaring this variable pattern in the branch.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinApplicationNoConcreteGetter = const Template< - Message Function(String name) ->( + templateMixinApplicationNoConcreteGetter = + const Template( "MixinApplicationNoConcreteGetter", problemMessageTemplate: r"""The class doesn't have a concrete implementation of the super-accessed member '#name'.""", @@ -12454,11 +12841,9 @@ templateMixinApplicationNoConcreteGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMixinApplicationNoConcreteGetter = const Code( - "MixinApplicationNoConcreteGetter", - analyzerCodes: [ - "MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER", - ], - ); + "MixinApplicationNoConcreteGetter", + analyzerCodes: ["MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinApplicationNoConcreteGetter(String name) { @@ -12468,7 +12853,9 @@ Message _withArgumentsMixinApplicationNoConcreteGetter(String name) { codeMixinApplicationNoConcreteGetter, problemMessage: """The class doesn't have a concrete implementation of the super-accessed member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -12479,17 +12866,16 @@ const Code codeMixinApplicationNoConcreteMemberContext = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageMixinApplicationNoConcreteMemberContext = const MessageCode( - "MixinApplicationNoConcreteMemberContext", - severity: Severity.context, - problemMessage: - r"""This is the super-access that doesn't have a concrete target.""", - ); + "MixinApplicationNoConcreteMemberContext", + severity: Severity.context, + problemMessage: + r"""This is the super-access that doesn't have a concrete target.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinApplicationNoConcreteMethod = const Template< - Message Function(String name) ->( + templateMixinApplicationNoConcreteMethod = + const Template( "MixinApplicationNoConcreteMethod", problemMessageTemplate: r"""The class doesn't have a concrete implementation of the super-invoked member '#name'.""", @@ -12499,11 +12885,9 @@ templateMixinApplicationNoConcreteMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMixinApplicationNoConcreteMethod = const Code( - "MixinApplicationNoConcreteMethod", - analyzerCodes: [ - "MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER", - ], - ); + "MixinApplicationNoConcreteMethod", + analyzerCodes: ["MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinApplicationNoConcreteMethod(String name) { @@ -12513,15 +12897,16 @@ Message _withArgumentsMixinApplicationNoConcreteMethod(String name) { codeMixinApplicationNoConcreteMethod, problemMessage: """The class doesn't have a concrete implementation of the super-invoked member '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinApplicationNoConcreteSetter = const Template< - Message Function(String name) ->( + templateMixinApplicationNoConcreteSetter = + const Template( "MixinApplicationNoConcreteSetter", problemMessageTemplate: r"""The class doesn't have a concrete implementation of the super-accessed setter '#name'.""", @@ -12531,11 +12916,9 @@ templateMixinApplicationNoConcreteSetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMixinApplicationNoConcreteSetter = const Code( - "MixinApplicationNoConcreteSetter", - analyzerCodes: [ - "MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER", - ], - ); + "MixinApplicationNoConcreteSetter", + analyzerCodes: ["MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinApplicationNoConcreteSetter(String name) { @@ -12545,7 +12928,9 @@ Message _withArgumentsMixinApplicationNoConcreteSetter(String name) { codeMixinApplicationNoConcreteSetter, problemMessage: """The class doesn't have a concrete implementation of the super-accessed setter '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -12572,9 +12957,8 @@ const MessageCode messageMixinDeferredMixin = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinInheritsFromNotObject = const Template< - Message Function(String name) ->( + templateMixinInheritsFromNotObject = + const Template( "MixinInheritsFromNotObject", problemMessageTemplate: r"""The class '#name' can't be used as a mixin because it extends a class other than 'Object'.""", @@ -12584,9 +12968,9 @@ templateMixinInheritsFromNotObject = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMixinInheritsFromNotObject = const Code( - "MixinInheritsFromNotObject", - analyzerCodes: ["MIXIN_INHERITS_FROM_NOT_OBJECT"], - ); + "MixinInheritsFromNotObject", + analyzerCodes: ["MIXIN_INHERITS_FROM_NOT_OBJECT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinInheritsFromNotObject(String name) { @@ -12596,15 +12980,16 @@ Message _withArgumentsMixinInheritsFromNotObject(String name) { codeMixinInheritsFromNotObject, problemMessage: """The class '${name}' can't be used as a mixin because it extends a class other than 'Object'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinSubtypeOfBaseIsNotBase = const Template< - Message Function(String name, String name2) ->( + templateMixinSubtypeOfBaseIsNotBase = + const Template( "MixinSubtypeOfBaseIsNotBase", problemMessageTemplate: r"""The mixin '#name' must be 'base' because the supertype '#name2' is 'base'.""", @@ -12614,11 +12999,11 @@ templateMixinSubtypeOfBaseIsNotBase = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMixinSubtypeOfBaseIsNotBase = + codeMixinSubtypeOfBaseIsNotBase = const Code( - "MixinSubtypeOfBaseIsNotBase", - analyzerCodes: ["MIXIN_SUBTYPE_OF_BASE_IS_NOT_BASE"], - ); + "MixinSubtypeOfBaseIsNotBase", + analyzerCodes: ["MIXIN_SUBTYPE_OF_BASE_IS_NOT_BASE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinSubtypeOfBaseIsNotBase(String name, String name2) { @@ -12631,15 +13016,17 @@ Message _withArgumentsMixinSubtypeOfBaseIsNotBase(String name, String name2) { problemMessage: """The mixin '${name}' must be 'base' because the supertype '${name2}' is 'base'.""", correctionMessage: """Try adding 'base' to the mixin.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinSubtypeOfFinalIsNotBase = const Template< - Message Function(String name, String name2) ->( + templateMixinSubtypeOfFinalIsNotBase = + const Template( "MixinSubtypeOfFinalIsNotBase", problemMessageTemplate: r"""The mixin '#name' must be 'base' because the supertype '#name2' is 'final'.""", @@ -12649,11 +13036,11 @@ templateMixinSubtypeOfFinalIsNotBase = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMixinSubtypeOfFinalIsNotBase = + codeMixinSubtypeOfFinalIsNotBase = const Code( - "MixinSubtypeOfFinalIsNotBase", - analyzerCodes: ["MIXIN_SUBTYPE_OF_FINAL_IS_NOT_BASE"], - ); + "MixinSubtypeOfFinalIsNotBase", + analyzerCodes: ["MIXIN_SUBTYPE_OF_FINAL_IS_NOT_BASE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinSubtypeOfFinalIsNotBase(String name, String name2) { @@ -12666,7 +13053,10 @@ Message _withArgumentsMixinSubtypeOfFinalIsNotBase(String name, String name2) { problemMessage: """The mixin '${name}' must be 'base' because the supertype '${name2}' is 'final'.""", correctionMessage: """Try adding 'base' to the mixin.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -12677,12 +13067,12 @@ const Code codeMixinSuperClassConstraintDeferredClass = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageMixinSuperClassConstraintDeferredClass = const MessageCode( - "MixinSuperClassConstraintDeferredClass", - analyzerCodes: ["MIXIN_SUPER_CLASS_CONSTRAINT_DEFERRED_CLASS"], - problemMessage: - r"""Deferred classes can't be used as superclass constraints.""", - correctionMessage: r"""Try changing the import to not be deferred.""", - ); + "MixinSuperClassConstraintDeferredClass", + analyzerCodes: ["MIXIN_SUPER_CLASS_CONSTRAINT_DEFERRED_CLASS"], + problemMessage: + r"""Deferred classes can't be used as superclass constraints.""", + correctionMessage: r"""Try changing the import to not be deferred.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeMixinWithClause = messageMixinWithClause; @@ -12696,9 +13086,8 @@ const MessageCode messageMixinWithClause = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateModifierOutOfOrder = const Template< - Message Function(String string, String string2) ->( + templateModifierOutOfOrder = + const Template( "ModifierOutOfOrder", problemMessageTemplate: r"""The modifier '#string' should be before the modifier '#string2'.""", @@ -12708,11 +13097,11 @@ templateModifierOutOfOrder = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeModifierOutOfOrder = + codeModifierOutOfOrder = const Code( - "ModifierOutOfOrder", - index: 56, - ); + "ModifierOutOfOrder", + index: 56, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsModifierOutOfOrder(String string, String string2) { @@ -12723,7 +13112,10 @@ Message _withArgumentsModifierOutOfOrder(String string, String string2) { problemMessage: """The modifier '${string}' should be before the modifier '${string2}'.""", correctionMessage: """Try re-ordering the modifiers.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -12740,9 +13132,8 @@ const MessageCode messageMoreThanOneSuperInitializer = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMultipleClauses = const Template< - Message Function(String string, String string2) ->( + templateMultipleClauses = + const Template( "MultipleClauses", problemMessageTemplate: r"""Each '#string' definition can have at most one '#string2' clause.""", @@ -12753,11 +13144,11 @@ templateMultipleClauses = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMultipleClauses = + codeMultipleClauses = const Code( - "MultipleClauses", - index: 121, - ); + "MultipleClauses", + index: 121, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMultipleClauses(String string, String string2) { @@ -12769,7 +13160,10 @@ Message _withArgumentsMultipleClauses(String string, String string2) { """Each '${string}' definition can have at most one '${string2}' clause.""", correctionMessage: """Try combining all of the '${string2}' clauses into a single clause.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -12865,17 +13259,17 @@ const MessageCode messageMultipleWith = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNameNotFound = const Template( - "NameNotFound", - problemMessageTemplate: r"""Undefined name '#name'.""", - withArguments: _withArgumentsNameNotFound, - ); + "NameNotFound", + problemMessageTemplate: r"""Undefined name '#name'.""", + withArguments: _withArgumentsNameNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNameNotFound = const Code( - "NameNotFound", - analyzerCodes: ["UNDEFINED_NAME"], - ); + "NameNotFound", + analyzerCodes: ["UNDEFINED_NAME"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNameNotFound(String name) { @@ -12884,7 +13278,9 @@ Message _withArgumentsNameNotFound(String name) { return new Message( codeNameNotFound, problemMessage: """Undefined name '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -12893,8 +13289,8 @@ const Code codeNamedFieldClashesWithPositionalFieldInRecord = messageNamedFieldClashesWithPositionalFieldInRecord; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageNamedFieldClashesWithPositionalFieldInRecord = const MessageCode( +const MessageCode messageNamedFieldClashesWithPositionalFieldInRecord = + const MessageCode( "NamedFieldClashesWithPositionalFieldInRecord", analyzerCodes: ["INVALID_FIELD_NAME"], problemMessage: @@ -12913,9 +13309,8 @@ const MessageCode messageNamedFunctionExpression = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNamedMixinOverride = const Template< - Message Function(String name, String name2) ->( + templateNamedMixinOverride = + const Template( "NamedMixinOverride", problemMessageTemplate: r"""The mixin application class '#name' introduces an erroneous override of '#name2'.""", @@ -12925,8 +13320,8 @@ templateNamedMixinOverride = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNamedMixinOverride = const Code( - "NamedMixinOverride", - ); + "NamedMixinOverride", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNamedMixinOverride(String name, String name2) { @@ -12938,7 +13333,10 @@ Message _withArgumentsNamedMixinOverride(String name, String name2) { codeNamedMixinOverride, problemMessage: """The mixin application class '${name}' introduces an erroneous override of '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -12949,10 +13347,10 @@ const Code codeNamedParametersInExtensionTypeDeclaration = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageNamedParametersInExtensionTypeDeclaration = const MessageCode( - "NamedParametersInExtensionTypeDeclaration", - problemMessage: - r"""Extension type declarations can't have named parameters.""", - ); + "NamedParametersInExtensionTypeDeclaration", + problemMessage: + r"""Extension type declarations can't have named parameters.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNativeClauseShouldBeAnnotation = @@ -12983,8 +13381,8 @@ const Code codeNeverReachableSwitchExpressionError = messageNeverReachableSwitchExpressionError; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageNeverReachableSwitchExpressionError = const MessageCode( +const MessageCode messageNeverReachableSwitchExpressionError = + const MessageCode( "NeverReachableSwitchExpressionError", problemMessage: r"""`null` encountered as case in a switch expression with a non-nullable type.""", @@ -13050,8 +13448,8 @@ const MessageCode messageNoAugmentSuperWriteTarget = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateNoFormals = const Template( +const Template templateNoFormals = + const Template( "NoFormals", problemMessageTemplate: r"""A function should have formal parameters.""", correctionMessageTemplate: @@ -13062,9 +13460,9 @@ templateNoFormals = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNoFormals = const Code( - "NoFormals", - analyzerCodes: ["MISSING_FUNCTION_PARAMETERS"], - ); + "NoFormals", + analyzerCodes: ["MISSING_FUNCTION_PARAMETERS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNoFormals(Token token) { @@ -13074,7 +13472,9 @@ Message _withArgumentsNoFormals(Token token) { problemMessage: """A function should have formal parameters.""", correctionMessage: """Try adding '()' after '${lexeme}', or add 'get' before '${lexeme}' to declare a getter.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -13090,17 +13490,17 @@ const MessageCode messageNoMacroApplicationTarget = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNoSuchNamedParameter = const Template( - "NoSuchNamedParameter", - problemMessageTemplate: r"""No named parameter with the name '#name'.""", - withArguments: _withArgumentsNoSuchNamedParameter, - ); + "NoSuchNamedParameter", + problemMessageTemplate: r"""No named parameter with the name '#name'.""", + withArguments: _withArgumentsNoSuchNamedParameter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNoSuchNamedParameter = const Code( - "NoSuchNamedParameter", - analyzerCodes: ["UNDEFINED_NAMED_PARAMETER"], - ); + "NoSuchNamedParameter", + analyzerCodes: ["UNDEFINED_NAMED_PARAMETER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNoSuchNamedParameter(String name) { @@ -13109,7 +13509,9 @@ Message _withArgumentsNoSuchNamedParameter(String name) { return new Message( codeNoSuchNamedParameter, problemMessage: """No named parameter with the name '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13125,9 +13527,8 @@ const MessageCode messageNoUnnamedConstructorInObject = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAsciiIdentifier = const Template< - Message Function(String character, int codePoint) ->( + templateNonAsciiIdentifier = + const Template( "NonAsciiIdentifier", problemMessageTemplate: r"""The non-ASCII character '#character' (#unicode) can't be used in identifiers, only in strings and comments.""", @@ -13138,11 +13539,11 @@ templateNonAsciiIdentifier = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonAsciiIdentifier = + codeNonAsciiIdentifier = const Code( - "NonAsciiIdentifier", - analyzerCodes: ["ILLEGAL_CHARACTER"], - ); + "NonAsciiIdentifier", + analyzerCodes: ["ILLEGAL_CHARACTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAsciiIdentifier(String character, int codePoint) { @@ -13155,13 +13556,16 @@ Message _withArgumentsNonAsciiIdentifier(String character, int codePoint) { """The non-ASCII character '${character}' (${unicode}) can't be used in identifiers, only in strings and comments.""", correctionMessage: """Try using an US-ASCII letter, a digit, '_' (an underscore), or '\$' (a dollar sign).""", - arguments: {'character': character, 'unicode': codePoint}, + arguments: { + 'character': character, + 'unicode': codePoint, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateNonAsciiWhitespace = const Template( +const Template templateNonAsciiWhitespace = + const Template( "NonAsciiWhitespace", problemMessageTemplate: r"""The non-ASCII space character #unicode can only be used in strings and comments.""", @@ -13171,9 +13575,9 @@ templateNonAsciiWhitespace = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonAsciiWhitespace = const Code( - "NonAsciiWhitespace", - analyzerCodes: ["ILLEGAL_CHARACTER"], - ); + "NonAsciiWhitespace", + analyzerCodes: ["ILLEGAL_CHARACTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAsciiWhitespace(int codePoint) { @@ -13183,15 +13587,16 @@ Message _withArgumentsNonAsciiWhitespace(int codePoint) { codeNonAsciiWhitespace, problemMessage: """The non-ASCII space character ${unicode} can only be used in strings and comments.""", - arguments: {'unicode': codePoint}, + arguments: { + 'unicode': codePoint, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAugmentationClassConflict = const Template< - Message Function(String name) ->( + templateNonAugmentationClassConflict = + const Template( "NonAugmentationClassConflict", problemMessageTemplate: r"""Class '#name' conflicts with an existing class of the same name in the augmented library.""", @@ -13202,7 +13607,9 @@ templateNonAugmentationClassConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonAugmentationClassConflict = - const Code("NonAugmentationClassConflict"); + const Code( + "NonAugmentationClassConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAugmentationClassConflict(String name) { @@ -13214,7 +13621,9 @@ Message _withArgumentsNonAugmentationClassConflict(String name) { """Class '${name}' conflicts with an existing class of the same name in the augmented library.""", correctionMessage: """Try changing the name of the class or adding an 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13231,9 +13640,8 @@ const MessageCode messageNonAugmentationClassConflictCause = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAugmentationClassMemberConflict = const Template< - Message Function(String name) ->( + templateNonAugmentationClassMemberConflict = + const Template( "NonAugmentationClassMemberConflict", problemMessageTemplate: r"""Member '#name' conflicts with an existing member of the same name in the augmented class.""", @@ -13244,10 +13652,10 @@ templateNonAugmentationClassMemberConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonAugmentationClassMemberConflict = + codeNonAugmentationClassMemberConflict = const Code( - "NonAugmentationClassMemberConflict", - ); + "NonAugmentationClassMemberConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAugmentationClassMemberConflict(String name) { @@ -13259,15 +13667,16 @@ Message _withArgumentsNonAugmentationClassMemberConflict(String name) { """Member '${name}' conflicts with an existing member of the same name in the augmented class.""", correctionMessage: """Try changing the name of the member or adding an 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAugmentationConstructorConflict = const Template< - Message Function(String name) ->( + templateNonAugmentationConstructorConflict = + const Template( "NonAugmentationConstructorConflict", problemMessageTemplate: r"""Constructor '#name' conflicts with an existing constructor of the same name in the augmented class.""", @@ -13278,10 +13687,10 @@ templateNonAugmentationConstructorConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonAugmentationConstructorConflict = + codeNonAugmentationConstructorConflict = const Code( - "NonAugmentationConstructorConflict", - ); + "NonAugmentationConstructorConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAugmentationConstructorConflict(String name) { @@ -13293,7 +13702,9 @@ Message _withArgumentsNonAugmentationConstructorConflict(String name) { """Constructor '${name}' conflicts with an existing constructor of the same name in the augmented class.""", correctionMessage: """Try changing the name of the constructor or adding an 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13304,10 +13715,10 @@ const Code codeNonAugmentationConstructorConflictCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageNonAugmentationConstructorConflictCause = const MessageCode( - "NonAugmentationConstructorConflictCause", - severity: Severity.context, - problemMessage: r"""This is the existing constructor.""", - ); + "NonAugmentationConstructorConflictCause", + severity: Severity.context, + problemMessage: r"""This is the existing constructor.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonAugmentationDeclarationConflictCause = @@ -13316,16 +13727,15 @@ const Code codeNonAugmentationDeclarationConflictCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageNonAugmentationDeclarationConflictCause = const MessageCode( - "NonAugmentationDeclarationConflictCause", - severity: Severity.context, - problemMessage: r"""This is the existing declaration.""", - ); + "NonAugmentationDeclarationConflictCause", + severity: Severity.context, + problemMessage: r"""This is the existing declaration.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAugmentationLibraryConflict = const Template< - Message Function(String name) ->( + templateNonAugmentationLibraryConflict = + const Template( "NonAugmentationLibraryConflict", problemMessageTemplate: r"""Declaration '#name' conflicts with an existing declaration of the same name in the augmented library.""", @@ -13335,7 +13745,9 @@ templateNonAugmentationLibraryConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonAugmentationLibraryConflict = - const Code("NonAugmentationLibraryConflict"); + const Code( + "NonAugmentationLibraryConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAugmentationLibraryConflict(String name) { @@ -13346,15 +13758,16 @@ Message _withArgumentsNonAugmentationLibraryConflict(String name) { problemMessage: """Declaration '${name}' conflicts with an existing declaration of the same name in the augmented library.""", correctionMessage: """Try changing the name of the declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonAugmentationLibraryMemberConflict = const Template< - Message Function(String name) ->( + templateNonAugmentationLibraryMemberConflict = + const Template( "NonAugmentationLibraryMemberConflict", problemMessageTemplate: r"""Member '#name' conflicts with an existing member of the same name in the augmented library.""", @@ -13365,10 +13778,10 @@ templateNonAugmentationLibraryMemberConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonAugmentationLibraryMemberConflict = + codeNonAugmentationLibraryMemberConflict = const Code( - "NonAugmentationLibraryMemberConflict", - ); + "NonAugmentationLibraryMemberConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonAugmentationLibraryMemberConflict(String name) { @@ -13380,7 +13793,9 @@ Message _withArgumentsNonAugmentationLibraryMemberConflict(String name) { """Member '${name}' conflicts with an existing member of the same name in the augmented library.""", correctionMessage: """Try changing the name of the member or adding an 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13435,8 +13850,8 @@ const Code codeNonCovariantTypeParameterInRepresentationType = messageNonCovariantTypeParameterInRepresentationType; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageNonCovariantTypeParameterInRepresentationType = const MessageCode( +const MessageCode messageNonCovariantTypeParameterInRepresentationType = + const MessageCode( "NonCovariantTypeParameterInRepresentationType", problemMessage: r"""An extension type parameter can't be used non-covariantly in its representation type.""", @@ -13469,9 +13884,8 @@ const MessageCode messageNonExtensionTypeMemberOneOfContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonNullableNotAssignedError = const Template< - Message Function(String name) ->( + templateNonNullableNotAssignedError = + const Template( "NonNullableNotAssignedError", problemMessageTemplate: r"""Non-nullable variable '#name' must be assigned before it can be used.""", @@ -13480,7 +13894,9 @@ templateNonNullableNotAssignedError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonNullableNotAssignedError = - const Code("NonNullableNotAssignedError"); + const Code( + "NonNullableNotAssignedError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonNullableNotAssignedError(String name) { @@ -13490,7 +13906,9 @@ Message _withArgumentsNonNullableNotAssignedError(String name) { codeNonNullableNotAssignedError, problemMessage: """Non-nullable variable '${name}' must be assigned before it can be used.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13508,8 +13926,8 @@ const MessageCode messageNonPartOfDirectiveInPart = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateNonPatchClassConflict = const Template( +const Template templateNonPatchClassConflict = + const Template( "NonPatchClassConflict", problemMessageTemplate: r"""Class '#name' conflicts with an existing class of the same name in the origin library.""", @@ -13520,7 +13938,9 @@ templateNonPatchClassConflict = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonPatchClassConflict = - const Code("NonPatchClassConflict"); + const Code( + "NonPatchClassConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonPatchClassConflict(String name) { @@ -13532,15 +13952,16 @@ Message _withArgumentsNonPatchClassConflict(String name) { """Class '${name}' conflicts with an existing class of the same name in the origin library.""", correctionMessage: """Try changing the name of the class or adding an '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonPatchClassMemberConflict = const Template< - Message Function(String name) ->( + templateNonPatchClassMemberConflict = + const Template( "NonPatchClassMemberConflict", problemMessageTemplate: r"""Member '#name' conflicts with an existing member of the same name in the origin class.""", @@ -13551,7 +13972,9 @@ templateNonPatchClassMemberConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonPatchClassMemberConflict = - const Code("NonPatchClassMemberConflict"); + const Code( + "NonPatchClassMemberConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonPatchClassMemberConflict(String name) { @@ -13563,15 +13986,16 @@ Message _withArgumentsNonPatchClassMemberConflict(String name) { """Member '${name}' conflicts with an existing member of the same name in the origin class.""", correctionMessage: """Try changing the name of the member or adding an '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonPatchConstructorConflict = const Template< - Message Function(String name) ->( + templateNonPatchConstructorConflict = + const Template( "NonPatchConstructorConflict", problemMessageTemplate: r"""Constructor '#name' conflicts with an existing constructor of the same name in the origin class.""", @@ -13582,7 +14006,9 @@ templateNonPatchConstructorConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonPatchConstructorConflict = - const Code("NonPatchConstructorConflict"); + const Code( + "NonPatchConstructorConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonPatchConstructorConflict(String name) { @@ -13594,13 +14020,15 @@ Message _withArgumentsNonPatchConstructorConflict(String name) { """Constructor '${name}' conflicts with an existing constructor of the same name in the origin class.""", correctionMessage: """Try changing the name of the constructor or adding an '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateNonPatchLibraryConflict = const Template( +const Template templateNonPatchLibraryConflict = + const Template( "NonPatchLibraryConflict", problemMessageTemplate: r"""Declaration '#name' conflicts with an existing declaration of the same name in the origin library.""", @@ -13610,7 +14038,9 @@ templateNonPatchLibraryConflict = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonPatchLibraryConflict = - const Code("NonPatchLibraryConflict"); + const Code( + "NonPatchLibraryConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonPatchLibraryConflict(String name) { @@ -13621,15 +14051,16 @@ Message _withArgumentsNonPatchLibraryConflict(String name) { problemMessage: """Declaration '${name}' conflicts with an existing declaration of the same name in the origin library.""", correctionMessage: """Try changing the name of the declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonPatchLibraryMemberConflict = const Template< - Message Function(String name) ->( + templateNonPatchLibraryMemberConflict = + const Template( "NonPatchLibraryMemberConflict", problemMessageTemplate: r"""Member '#name' conflicts with an existing member of the same name in the origin library.""", @@ -13640,7 +14071,9 @@ templateNonPatchLibraryMemberConflict = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonPatchLibraryMemberConflict = - const Code("NonPatchLibraryMemberConflict"); + const Code( + "NonPatchLibraryMemberConflict", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonPatchLibraryMemberConflict(String name) { @@ -13652,7 +14085,9 @@ Message _withArgumentsNonPatchLibraryMemberConflict(String name) { """Member '${name}' conflicts with an existing member of the same name in the origin library.""", correctionMessage: """Try changing the name of the member or adding an '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13668,20 +14103,20 @@ const MessageCode messageNonPositiveArrayDimensions = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonSimpleBoundViaReference = + templateNonSimpleBoundViaReference = const Template( - "NonSimpleBoundViaReference", - problemMessageTemplate: - r"""Bound of this variable references raw type '#name'.""", - withArguments: _withArgumentsNonSimpleBoundViaReference, - ); + "NonSimpleBoundViaReference", + problemMessageTemplate: + r"""Bound of this variable references raw type '#name'.""", + withArguments: _withArgumentsNonSimpleBoundViaReference, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonSimpleBoundViaReference = const Code( - "NonSimpleBoundViaReference", - severity: Severity.context, - ); + "NonSimpleBoundViaReference", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonSimpleBoundViaReference(String name) { @@ -13690,15 +14125,16 @@ Message _withArgumentsNonSimpleBoundViaReference(String name) { return new Message( codeNonSimpleBoundViaReference, problemMessage: """Bound of this variable references raw type '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonSimpleBoundViaVariable = const Template< - Message Function(String name) ->( + templateNonSimpleBoundViaVariable = + const Template( "NonSimpleBoundViaVariable", problemMessageTemplate: r"""Bound of this variable references variable '#name' from the same declaration.""", @@ -13708,9 +14144,9 @@ templateNonSimpleBoundViaVariable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonSimpleBoundViaVariable = const Code( - "NonSimpleBoundViaVariable", - severity: Severity.context, - ); + "NonSimpleBoundViaVariable", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonSimpleBoundViaVariable(String name) { @@ -13720,7 +14156,9 @@ Message _withArgumentsNonSimpleBoundViaVariable(String name) { codeNonSimpleBoundViaVariable, problemMessage: """Bound of this variable references variable '${name}' from the same declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13760,9 +14198,8 @@ const MessageCode messageNotAConstantExpression = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNotAPrefixInTypeAnnotation = const Template< - Message Function(String name, String name2) ->( + templateNotAPrefixInTypeAnnotation = + const Template( "NotAPrefixInTypeAnnotation", problemMessageTemplate: r"""'#name.#name2' can't be used as a type because '#name' doesn't refer to an import prefix.""", @@ -13771,11 +14208,11 @@ templateNotAPrefixInTypeAnnotation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNotAPrefixInTypeAnnotation = + codeNotAPrefixInTypeAnnotation = const Code( - "NotAPrefixInTypeAnnotation", - analyzerCodes: ["NOT_A_TYPE"], - ); + "NotAPrefixInTypeAnnotation", + analyzerCodes: ["NOT_A_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNotAPrefixInTypeAnnotation(String name, String name2) { @@ -13787,24 +14224,27 @@ Message _withArgumentsNotAPrefixInTypeAnnotation(String name, String name2) { codeNotAPrefixInTypeAnnotation, problemMessage: """'${name}.${name2}' can't be used as a type because '${name}' doesn't refer to an import prefix.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNotAType = const Template( - "NotAType", - problemMessageTemplate: r"""'#name' isn't a type.""", - withArguments: _withArgumentsNotAType, - ); + "NotAType", + problemMessageTemplate: r"""'#name' isn't a type.""", + withArguments: _withArgumentsNotAType, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNotAType = const Code( - "NotAType", - analyzerCodes: ["NOT_A_TYPE"], - ); + "NotAType", + analyzerCodes: ["NOT_A_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNotAType(String name) { @@ -13813,7 +14253,9 @@ Message _withArgumentsNotAType(String name) { return new Message( codeNotAType, problemMessage: """'${name}' isn't a type.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13840,14 +14282,16 @@ const MessageCode messageNotAnLvalue = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNotBinaryOperator = const Template( - "NotBinaryOperator", - problemMessageTemplate: r"""'#lexeme' isn't a binary operator.""", - withArguments: _withArgumentsNotBinaryOperator, - ); + "NotBinaryOperator", + problemMessageTemplate: r"""'#lexeme' isn't a binary operator.""", + withArguments: _withArgumentsNotBinaryOperator, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNotBinaryOperator = - const Code("NotBinaryOperator"); + const Code( + "NotBinaryOperator", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNotBinaryOperator(Token token) { @@ -13855,24 +14299,26 @@ Message _withArgumentsNotBinaryOperator(Token token) { return new Message( codeNotBinaryOperator, problemMessage: """'${lexeme}' isn't a binary operator.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNotConstantExpression = const Template( - "NotConstantExpression", - problemMessageTemplate: r"""#string is not a constant expression.""", - withArguments: _withArgumentsNotConstantExpression, - ); + "NotConstantExpression", + problemMessageTemplate: r"""#string is not a constant expression.""", + withArguments: _withArgumentsNotConstantExpression, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNotConstantExpression = const Code( - "NotConstantExpression", - analyzerCodes: ["NOT_CONSTANT_EXPRESSION"], - ); + "NotConstantExpression", + analyzerCodes: ["NOT_CONSTANT_EXPRESSION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNotConstantExpression(String string) { @@ -13880,7 +14326,9 @@ Message _withArgumentsNotConstantExpression(String string) { return new Message( codeNotConstantExpression, problemMessage: """${string} is not a constant expression.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -13901,16 +14349,17 @@ const MessageCode messageNullAwareCascadeOutOfOrder = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNullableInterfaceError = const Template( - "NullableInterfaceError", - problemMessageTemplate: - r"""Can't implement '#name' because it's nullable.""", - correctionMessageTemplate: r"""Try removing the question mark.""", - withArguments: _withArgumentsNullableInterfaceError, - ); + "NullableInterfaceError", + problemMessageTemplate: r"""Can't implement '#name' because it's nullable.""", + correctionMessageTemplate: r"""Try removing the question mark.""", + withArguments: _withArgumentsNullableInterfaceError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNullableInterfaceError = - const Code("NullableInterfaceError"); + const Code( + "NullableInterfaceError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableInterfaceError(String name) { @@ -13920,23 +14369,26 @@ Message _withArgumentsNullableInterfaceError(String name) { codeNullableInterfaceError, problemMessage: """Can't implement '${name}' because it's nullable.""", correctionMessage: """Try removing the question mark.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNullableMixinError = const Template( - "NullableMixinError", - problemMessageTemplate: - r"""Can't mix '#name' in because it's nullable.""", - correctionMessageTemplate: r"""Try removing the question mark.""", - withArguments: _withArgumentsNullableMixinError, - ); + "NullableMixinError", + problemMessageTemplate: r"""Can't mix '#name' in because it's nullable.""", + correctionMessageTemplate: r"""Try removing the question mark.""", + withArguments: _withArgumentsNullableMixinError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNullableMixinError = - const Code("NullableMixinError"); + const Code( + "NullableMixinError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableMixinError(String name) { @@ -13946,7 +14398,9 @@ Message _withArgumentsNullableMixinError(String name) { codeNullableMixinError, problemMessage: """Can't mix '${name}' in because it's nullable.""", correctionMessage: """Try removing the question mark.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -13963,16 +14417,17 @@ const MessageCode messageNullableSpreadError = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNullableSuperclassError = const Template( - "NullableSuperclassError", - problemMessageTemplate: - r"""Can't extend '#name' because it's nullable.""", - correctionMessageTemplate: r"""Try removing the question mark.""", - withArguments: _withArgumentsNullableSuperclassError, - ); + "NullableSuperclassError", + problemMessageTemplate: r"""Can't extend '#name' because it's nullable.""", + correctionMessageTemplate: r"""Try removing the question mark.""", + withArguments: _withArgumentsNullableSuperclassError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNullableSuperclassError = - const Code("NullableSuperclassError"); + const Code( + "NullableSuperclassError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableSuperclassError(String name) { @@ -13982,22 +14437,26 @@ Message _withArgumentsNullableSuperclassError(String name) { codeNullableSuperclassError, problemMessage: """Can't extend '${name}' because it's nullable.""", correctionMessage: """Try removing the question mark.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateNullableTearoffError = const Template( - "NullableTearoffError", - problemMessageTemplate: - r"""Can't tear off method '#name' from a potentially null value.""", - withArguments: _withArgumentsNullableTearoffError, - ); + "NullableTearoffError", + problemMessageTemplate: + r"""Can't tear off method '#name' from a potentially null value.""", + withArguments: _withArgumentsNullableTearoffError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNullableTearoffError = - const Code("NullableTearoffError"); + const Code( + "NullableTearoffError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableTearoffError(String name) { @@ -14007,7 +14466,9 @@ Message _withArgumentsNullableTearoffError(String name) { codeNullableTearoffError, problemMessage: """Can't tear off method '${name}' from a potentially null value.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -14076,9 +14537,8 @@ const MessageCode messageOnlyTry = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOperatorMinusParameterMismatch = const Template< - Message Function(String name) ->( + templateOperatorMinusParameterMismatch = + const Template( "OperatorMinusParameterMismatch", problemMessageTemplate: r"""Operator '#name' should have zero or one parameter.""", @@ -14090,9 +14550,9 @@ templateOperatorMinusParameterMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeOperatorMinusParameterMismatch = const Code( - "OperatorMinusParameterMismatch", - analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS"], - ); + "OperatorMinusParameterMismatch", + analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOperatorMinusParameterMismatch(String name) { @@ -14103,23 +14563,27 @@ Message _withArgumentsOperatorMinusParameterMismatch(String name) { problemMessage: """Operator '${name}' should have zero or one parameter.""", correctionMessage: """With zero parameters, it has the syntactic form '-a', formally known as 'unary-'. With one parameter, it has the syntactic form 'a - b', formally known as '-'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOperatorParameterMismatch0 = + templateOperatorParameterMismatch0 = const Template( - "OperatorParameterMismatch0", - problemMessageTemplate: - r"""Operator '#name' shouldn't have any parameters.""", - withArguments: _withArgumentsOperatorParameterMismatch0, - ); + "OperatorParameterMismatch0", + problemMessageTemplate: + r"""Operator '#name' shouldn't have any parameters.""", + withArguments: _withArgumentsOperatorParameterMismatch0, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeOperatorParameterMismatch0 = - const Code("OperatorParameterMismatch0"); + const Code( + "OperatorParameterMismatch0", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOperatorParameterMismatch0(String name) { @@ -14128,26 +14592,28 @@ Message _withArgumentsOperatorParameterMismatch0(String name) { return new Message( codeOperatorParameterMismatch0, problemMessage: """Operator '${name}' shouldn't have any parameters.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOperatorParameterMismatch1 = + templateOperatorParameterMismatch1 = const Template( - "OperatorParameterMismatch1", - problemMessageTemplate: - r"""Operator '#name' should have exactly one parameter.""", - withArguments: _withArgumentsOperatorParameterMismatch1, - ); + "OperatorParameterMismatch1", + problemMessageTemplate: + r"""Operator '#name' should have exactly one parameter.""", + withArguments: _withArgumentsOperatorParameterMismatch1, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeOperatorParameterMismatch1 = const Code( - "OperatorParameterMismatch1", - analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR"], - ); + "OperatorParameterMismatch1", + analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOperatorParameterMismatch1(String name) { @@ -14156,26 +14622,28 @@ Message _withArgumentsOperatorParameterMismatch1(String name) { return new Message( codeOperatorParameterMismatch1, problemMessage: """Operator '${name}' should have exactly one parameter.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOperatorParameterMismatch2 = + templateOperatorParameterMismatch2 = const Template( - "OperatorParameterMismatch2", - problemMessageTemplate: - r"""Operator '#name' should have exactly two parameters.""", - withArguments: _withArgumentsOperatorParameterMismatch2, - ); + "OperatorParameterMismatch2", + problemMessageTemplate: + r"""Operator '#name' should have exactly two parameters.""", + withArguments: _withArgumentsOperatorParameterMismatch2, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeOperatorParameterMismatch2 = const Code( - "OperatorParameterMismatch2", - analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR"], - ); + "OperatorParameterMismatch2", + analyzerCodes: ["WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOperatorParameterMismatch2(String name) { @@ -14185,7 +14653,9 @@ Message _withArgumentsOperatorParameterMismatch2(String name) { codeOperatorParameterMismatch2, problemMessage: """Operator '${name}' should have exactly two parameters.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -14219,30 +14689,30 @@ const Code codeOptionalParametersInExtensionTypeDeclaration = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageOptionalParametersInExtensionTypeDeclaration = const MessageCode( - "OptionalParametersInExtensionTypeDeclaration", - problemMessage: - r"""Extension type declarations can't have optional parameters.""", - ); + "OptionalParametersInExtensionTypeDeclaration", + problemMessage: + r"""Extension type declarations can't have optional parameters.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOutOfOrderClauses = + templateOutOfOrderClauses = const Template( - "OutOfOrderClauses", - problemMessageTemplate: - r"""The '#string' clause must come before the '#string2' clause.""", - correctionMessageTemplate: - r"""Try moving the '#string' clause before the '#string2' clause.""", - withArguments: _withArgumentsOutOfOrderClauses, - ); + "OutOfOrderClauses", + problemMessageTemplate: + r"""The '#string' clause must come before the '#string2' clause.""", + correctionMessageTemplate: + r"""Try moving the '#string' clause before the '#string2' clause.""", + withArguments: _withArgumentsOutOfOrderClauses, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOutOfOrderClauses = + codeOutOfOrderClauses = const Code( - "OutOfOrderClauses", - index: 122, - ); + "OutOfOrderClauses", + index: 122, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOutOfOrderClauses(String string, String string2) { @@ -14254,24 +14724,27 @@ Message _withArgumentsOutOfOrderClauses(String string, String string2) { """The '${string}' clause must come before the '${string2}' clause.""", correctionMessage: """Try moving the '${string}' clause before the '${string2}' clause.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateOverriddenMethodCause = const Template( - "OverriddenMethodCause", - problemMessageTemplate: r"""This is the overridden method ('#name').""", - withArguments: _withArgumentsOverriddenMethodCause, - ); + "OverriddenMethodCause", + problemMessageTemplate: r"""This is the overridden method ('#name').""", + withArguments: _withArgumentsOverriddenMethodCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeOverriddenMethodCause = const Code( - "OverriddenMethodCause", - severity: Severity.context, - ); + "OverriddenMethodCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverriddenMethodCause(String name) { @@ -14280,15 +14753,16 @@ Message _withArgumentsOverriddenMethodCause(String name) { return new Message( codeOverriddenMethodCause, problemMessage: """This is the overridden method ('${name}').""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideFewerNamedArguments = const Template< - Message Function(String name, String name2) ->( + templateOverrideFewerNamedArguments = + const Template( "OverrideFewerNamedArguments", problemMessageTemplate: r"""The method '#name' has fewer named arguments than those of overridden method '#name2'.""", @@ -14297,11 +14771,11 @@ templateOverrideFewerNamedArguments = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideFewerNamedArguments = + codeOverrideFewerNamedArguments = const Code( - "OverrideFewerNamedArguments", - analyzerCodes: ["INVALID_OVERRIDE_NAMED"], - ); + "OverrideFewerNamedArguments", + analyzerCodes: ["INVALID_OVERRIDE_NAMED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideFewerNamedArguments(String name, String name2) { @@ -14313,15 +14787,17 @@ Message _withArgumentsOverrideFewerNamedArguments(String name, String name2) { codeOverrideFewerNamedArguments, problemMessage: """The method '${name}' has fewer named arguments than those of overridden method '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideFewerPositionalArguments = const Template< - Message Function(String name, String name2) ->( + templateOverrideFewerPositionalArguments = + const Template( "OverrideFewerPositionalArguments", problemMessageTemplate: r"""The method '#name' has fewer positional arguments than those of overridden method '#name2'.""", @@ -14330,17 +14806,15 @@ templateOverrideFewerPositionalArguments = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideFewerPositionalArguments = + codeOverrideFewerPositionalArguments = const Code( - "OverrideFewerPositionalArguments", - analyzerCodes: ["INVALID_OVERRIDE_POSITIONAL"], - ); + "OverrideFewerPositionalArguments", + analyzerCodes: ["INVALID_OVERRIDE_POSITIONAL"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideFewerPositionalArguments( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -14349,15 +14823,17 @@ Message _withArgumentsOverrideFewerPositionalArguments( codeOverrideFewerPositionalArguments, problemMessage: """The method '${name}' has fewer positional arguments than those of overridden method '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideMismatchNamedParameter = const Template< - Message Function(String name, String name2, String name3) ->( + templateOverrideMismatchNamedParameter = + const Template( "OverrideMismatchNamedParameter", problemMessageTemplate: r"""The method '#name' doesn't have the named parameter '#name2' of overridden method '#name3'.""", @@ -14366,18 +14842,15 @@ templateOverrideMismatchNamedParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideMismatchNamedParameter = + codeOverrideMismatchNamedParameter = const Code( - "OverrideMismatchNamedParameter", - analyzerCodes: ["INVALID_OVERRIDE_NAMED"], - ); + "OverrideMismatchNamedParameter", + analyzerCodes: ["INVALID_OVERRIDE_NAMED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideMismatchNamedParameter( - String name, - String name2, - String name3, -) { + String name, String name2, String name3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -14388,15 +14861,18 @@ Message _withArgumentsOverrideMismatchNamedParameter( codeOverrideMismatchNamedParameter, problemMessage: """The method '${name}' doesn't have the named parameter '${name2}' of overridden method '${name3}'.""", - arguments: {'name': name, 'name2': name2, 'name3': name3}, + arguments: { + 'name': name, + 'name2': name2, + 'name3': name3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideMismatchRequiredNamedParameter = const Template< - Message Function(String name, String name2, String name3) ->( + templateOverrideMismatchRequiredNamedParameter = + const Template( "OverrideMismatchRequiredNamedParameter", problemMessageTemplate: r"""The required named parameter '#name' in method '#name2' is not required in overridden method '#name3'.""", @@ -14405,17 +14881,14 @@ templateOverrideMismatchRequiredNamedParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideMismatchRequiredNamedParameter = + codeOverrideMismatchRequiredNamedParameter = const Code( - "OverrideMismatchRequiredNamedParameter", - ); + "OverrideMismatchRequiredNamedParameter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideMismatchRequiredNamedParameter( - String name, - String name2, - String name3, -) { + String name, String name2, String name3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -14426,15 +14899,18 @@ Message _withArgumentsOverrideMismatchRequiredNamedParameter( codeOverrideMismatchRequiredNamedParameter, problemMessage: """The required named parameter '${name}' in method '${name2}' is not required in overridden method '${name3}'.""", - arguments: {'name': name, 'name2': name2, 'name3': name3}, + arguments: { + 'name': name, + 'name2': name2, + 'name3': name3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideMoreRequiredArguments = const Template< - Message Function(String name, String name2) ->( + templateOverrideMoreRequiredArguments = + const Template( "OverrideMoreRequiredArguments", problemMessageTemplate: r"""The method '#name' has more required arguments than those of overridden method '#name2'.""", @@ -14443,11 +14919,11 @@ templateOverrideMoreRequiredArguments = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideMoreRequiredArguments = + codeOverrideMoreRequiredArguments = const Code( - "OverrideMoreRequiredArguments", - analyzerCodes: ["INVALID_OVERRIDE_REQUIRED"], - ); + "OverrideMoreRequiredArguments", + analyzerCodes: ["INVALID_OVERRIDE_REQUIRED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideMoreRequiredArguments(String name, String name2) { @@ -14459,15 +14935,17 @@ Message _withArgumentsOverrideMoreRequiredArguments(String name, String name2) { codeOverrideMoreRequiredArguments, problemMessage: """The method '${name}' has more required arguments than those of overridden method '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOverrideTypeParametersMismatch = const Template< - Message Function(String name, String name2) ->( + templateOverrideTypeParametersMismatch = + const Template( "OverrideTypeParametersMismatch", problemMessageTemplate: r"""Declared type variables of '#name' doesn't match those on overridden method '#name2'.""", @@ -14476,17 +14954,15 @@ templateOverrideTypeParametersMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOverrideTypeParametersMismatch = + codeOverrideTypeParametersMismatch = const Code( - "OverrideTypeParametersMismatch", - analyzerCodes: ["INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS"], - ); + "OverrideTypeParametersMismatch", + analyzerCodes: ["INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideTypeParametersMismatch( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -14495,23 +14971,28 @@ Message _withArgumentsOverrideTypeParametersMismatch( codeOverrideTypeParametersMismatch, problemMessage: """Declared type variables of '${name}' doesn't match those on overridden method '${name2}'.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePackageNotFound = + templatePackageNotFound = const Template( - "PackageNotFound", - problemMessageTemplate: - r"""Couldn't resolve the package '#name' in '#uri'.""", - withArguments: _withArgumentsPackageNotFound, - ); + "PackageNotFound", + problemMessageTemplate: + r"""Couldn't resolve the package '#name' in '#uri'.""", + withArguments: _withArgumentsPackageNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codePackageNotFound = - const Code("PackageNotFound"); + const Code( + "PackageNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPackageNotFound(String name, Uri uri_) { @@ -14521,22 +15002,27 @@ Message _withArgumentsPackageNotFound(String name, Uri uri_) { return new Message( codePackageNotFound, problemMessage: """Couldn't resolve the package '${name}' in '${uri}'.""", - arguments: {'name': name, 'uri': uri_}, + arguments: { + 'name': name, + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templatePackagesFileFormat = const Template( - "PackagesFileFormat", - problemMessageTemplate: - r"""Problem in packages configuration file: #string""", - withArguments: _withArgumentsPackagesFileFormat, - ); + "PackagesFileFormat", + problemMessageTemplate: + r"""Problem in packages configuration file: #string""", + withArguments: _withArgumentsPackagesFileFormat, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codePackagesFileFormat = - const Code("PackagesFileFormat"); + const Code( + "PackagesFileFormat", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPackagesFileFormat(String string) { @@ -14544,7 +15030,9 @@ Message _withArgumentsPackagesFileFormat(String string) { return new Message( codePackagesFileFormat, problemMessage: """Problem in packages configuration file: ${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -14593,8 +15081,8 @@ const MessageCode messagePartInPartLibraryContext = const MessageCode( ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templatePartOfInLibrary = const Template( +const Template templatePartOfInLibrary = + const Template( "PartOfInLibrary", problemMessageTemplate: r"""Can't import '#uri', because it has a 'part of' declaration.""", @@ -14606,9 +15094,9 @@ templatePartOfInLibrary = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codePartOfInLibrary = const Code( - "PartOfInLibrary", - analyzerCodes: ["IMPORT_OF_NON_LIBRARY"], - ); + "PartOfInLibrary", + analyzerCodes: ["IMPORT_OF_NON_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPartOfInLibrary(Uri uri_) { @@ -14619,15 +15107,16 @@ Message _withArgumentsPartOfInLibrary(Uri uri_) { """Can't import '${uri}', because it has a 'part of' declaration.""", correctionMessage: """Try removing the 'part of' declaration, or using '${uri}' as a part.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePartOfLibraryNameMismatch = const Template< - Message Function(Uri uri_, String name, String name2) ->( + templatePartOfLibraryNameMismatch = + const Template( "PartOfLibraryNameMismatch", problemMessageTemplate: r"""Using '#uri' as part of '#name' but its 'part of' declaration says '#name2'.""", @@ -14636,18 +15125,15 @@ templatePartOfLibraryNameMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codePartOfLibraryNameMismatch = + codePartOfLibraryNameMismatch = const Code( - "PartOfLibraryNameMismatch", - analyzerCodes: ["PART_OF_DIFFERENT_LIBRARY"], - ); + "PartOfLibraryNameMismatch", + analyzerCodes: ["PART_OF_DIFFERENT_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPartOfLibraryNameMismatch( - Uri uri_, - String name, - String name2, -) { + Uri uri_, String name, String name2) { String? uri = relativizeUri(uri_); if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); @@ -14657,7 +15143,11 @@ Message _withArgumentsPartOfLibraryNameMismatch( codePartOfLibraryNameMismatch, problemMessage: """Using '${uri}' as part of '${name}' but its 'part of' declaration says '${name2}'.""", - arguments: {'uri': uri_, 'name': name, 'name2': name2}, + arguments: { + 'uri': uri_, + 'name': name, + 'name2': name2, + }, ); } @@ -14707,9 +15197,8 @@ const MessageCode messagePartOfTwoLibrariesContext = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePartOfUriMismatch = const Template< - Message Function(Uri uri_, Uri uri2_, Uri uri3_) ->( + templatePartOfUriMismatch = + const Template( "PartOfUriMismatch", problemMessageTemplate: r"""Using '#uri' as part of '#uri2' but its 'part of' declaration says '#uri3'.""", @@ -14718,11 +15207,11 @@ templatePartOfUriMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codePartOfUriMismatch = + codePartOfUriMismatch = const Code( - "PartOfUriMismatch", - analyzerCodes: ["PART_OF_DIFFERENT_LIBRARY"], - ); + "PartOfUriMismatch", + analyzerCodes: ["PART_OF_DIFFERENT_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPartOfUriMismatch(Uri uri_, Uri uri2_, Uri uri3_) { @@ -14733,15 +15222,18 @@ Message _withArgumentsPartOfUriMismatch(Uri uri_, Uri uri2_, Uri uri3_) { codePartOfUriMismatch, problemMessage: """Using '${uri}' as part of '${uri2}' but its 'part of' declaration says '${uri3}'.""", - arguments: {'uri': uri_, 'uri2': uri2_, 'uri3': uri3_}, + arguments: { + 'uri': uri_, + 'uri2': uri2_, + 'uri3': uri3_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePartOfUseUri = const Template< - Message Function(Uri uri_, Uri uri2_, String name) ->( + templatePartOfUseUri = + const Template( "PartOfUseUri", problemMessageTemplate: r"""Using '#uri' as part of '#uri2' but its 'part of' declaration says '#name'.""", @@ -14752,11 +15244,11 @@ templatePartOfUseUri = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codePartOfUseUri = + codePartOfUseUri = const Code( - "PartOfUseUri", - analyzerCodes: ["PART_OF_UNNAMED_LIBRARY"], - ); + "PartOfUseUri", + analyzerCodes: ["PART_OF_UNNAMED_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPartOfUseUri(Uri uri_, Uri uri2_, String name) { @@ -14770,7 +15262,11 @@ Message _withArgumentsPartOfUseUri(Uri uri_, Uri uri2_, String name) { """Using '${uri}' as part of '${uri2}' but its 'part of' declaration says '${name}'.""", correctionMessage: """Try changing the 'part of' declaration to use a relative file name.""", - arguments: {'uri': uri_, 'uri2': uri2_, 'name': name}, + arguments: { + 'uri': uri_, + 'uri2': uri2_, + 'name': name, + }, ); } @@ -14787,17 +15283,17 @@ const MessageCode messagePartOrphan = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templatePartTwice = const Template( - "PartTwice", - problemMessageTemplate: r"""Can't use '#uri' as a part more than once.""", - withArguments: _withArgumentsPartTwice, - ); + "PartTwice", + problemMessageTemplate: r"""Can't use '#uri' as a part more than once.""", + withArguments: _withArgumentsPartTwice, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codePartTwice = const Code( - "PartTwice", - analyzerCodes: ["DUPLICATE_PART"], - ); + "PartTwice", + analyzerCodes: ["DUPLICATE_PART"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPartTwice(Uri uri_) { @@ -14805,7 +15301,9 @@ Message _withArgumentsPartTwice(Uri uri_) { return new Message( codePartTwice, problemMessage: """Can't use '${uri}' as a part more than once.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } @@ -14851,9 +15349,8 @@ const MessageCode messagePatchDeclarationOrigin = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePatchInjectionFailed = const Template< - Message Function(String name, Uri uri_) ->( + templatePatchInjectionFailed = + const Template( "PatchInjectionFailed", problemMessageTemplate: r"""Can't inject public '#name' into '#uri'.""", correctionMessageTemplate: @@ -14863,7 +15360,9 @@ templatePatchInjectionFailed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codePatchInjectionFailed = - const Code("PatchInjectionFailed"); + const Code( + "PatchInjectionFailed", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPatchInjectionFailed(String name, Uri uri_) { @@ -14875,7 +15374,10 @@ Message _withArgumentsPatchInjectionFailed(String name, Uri uri_) { problemMessage: """Can't inject public '${name}' into '${uri}'.""", correctionMessage: """Make '${name}' private, or make sure injected library has "dart" scheme and is private (e.g. "dart:_internal").""", - arguments: {'name': name, 'uri': uri_}, + arguments: { + 'name': name, + 'uri': uri_, + }, ); } @@ -14892,9 +15394,8 @@ const MessageCode messagePatchNonExternal = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePatternAssignmentDeclaresVariable = const Template< - Message Function(String name) ->( + templatePatternAssignmentDeclaresVariable = + const Template( "PatternAssignmentDeclaresVariable", problemMessageTemplate: r"""Variable '#name' can't be declared in a pattern assignment.""", @@ -14905,11 +15406,11 @@ templatePatternAssignmentDeclaresVariable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codePatternAssignmentDeclaresVariable = + codePatternAssignmentDeclaresVariable = const Code( - "PatternAssignmentDeclaresVariable", - index: 145, - ); + "PatternAssignmentDeclaresVariable", + index: 145, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPatternAssignmentDeclaresVariable(String name) { @@ -14921,7 +15422,9 @@ Message _withArgumentsPatternAssignmentDeclaresVariable(String name) { """Variable '${name}' can't be declared in a pattern assignment.""", correctionMessage: """Try using a preexisting variable or changing the assignment to a pattern variable declaration.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -14952,8 +15455,8 @@ const Code codePatternVariableAssignmentInsideGuard = messagePatternVariableAssignmentInsideGuard; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messagePatternVariableAssignmentInsideGuard = const MessageCode( +const MessageCode messagePatternVariableAssignmentInsideGuard = + const MessageCode( "PatternVariableAssignmentInsideGuard", analyzerCodes: ["PATTERN_VARIABLE_ASSIGNMENT_INSIDE_GUARD"], problemMessage: @@ -14966,8 +15469,8 @@ const Code codePatternVariableDeclarationOutsideFunctionOrMethod = messagePatternVariableDeclarationOutsideFunctionOrMethod; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messagePatternVariableDeclarationOutsideFunctionOrMethod = const MessageCode( +const MessageCode messagePatternVariableDeclarationOutsideFunctionOrMethod = + const MessageCode( "PatternVariableDeclarationOutsideFunctionOrMethod", index: 152, problemMessage: @@ -15018,8 +15521,8 @@ const Code codePositionalSuperParametersAndArguments = messagePositionalSuperParametersAndArguments; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messagePositionalSuperParametersAndArguments = const MessageCode( +const MessageCode messagePositionalSuperParametersAndArguments = + const MessageCode( "PositionalSuperParametersAndArguments", problemMessage: r"""Positional super-initializer parameters cannot be used when the super initializer has positional arguments.""", @@ -15064,8 +15567,8 @@ const Code codeRecordLiteralOnePositionalFieldNoTrailingComma = messageRecordLiteralOnePositionalFieldNoTrailingComma; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageRecordLiteralOnePositionalFieldNoTrailingComma = const MessageCode( +const MessageCode messageRecordLiteralOnePositionalFieldNoTrailingComma = + const MessageCode( "RecordLiteralOnePositionalFieldNoTrailingComma", index: 127, problemMessage: @@ -15080,20 +15583,20 @@ const Code codeRecordLiteralZeroFieldsWithTrailingComma = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageRecordLiteralZeroFieldsWithTrailingComma = const MessageCode( - "RecordLiteralZeroFieldsWithTrailingComma", - index: 128, - problemMessage: - r"""A record literal without fields can't have a trailing comma.""", - correctionMessage: r"""Try removing the trailing comma.""", - ); + "RecordLiteralZeroFieldsWithTrailingComma", + index: 128, + problemMessage: + r"""A record literal without fields can't have a trailing comma.""", + correctionMessage: r"""Try removing the trailing comma.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRecordTypeOnePositionalFieldNoTrailingComma = messageRecordTypeOnePositionalFieldNoTrailingComma; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageRecordTypeOnePositionalFieldNoTrailingComma = const MessageCode( +const MessageCode messageRecordTypeOnePositionalFieldNoTrailingComma = + const MessageCode( "RecordTypeOnePositionalFieldNoTrailingComma", index: 131, problemMessage: @@ -15108,12 +15611,12 @@ const Code codeRecordTypeZeroFieldsButTrailingComma = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageRecordTypeZeroFieldsButTrailingComma = const MessageCode( - "RecordTypeZeroFieldsButTrailingComma", - index: 130, - problemMessage: - r"""A record type without fields can't have a trailing comma.""", - correctionMessage: r"""Try removing the trailing comma.""", - ); + "RecordTypeZeroFieldsButTrailingComma", + index: 130, + problemMessage: + r"""A record type without fields can't have a trailing comma.""", + correctionMessage: r"""Try removing the trailing comma.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRecordUseCannotBePlacedHere = @@ -15143,11 +15646,11 @@ const Code codeRedirectingConstructorWithAnotherInitializer = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageRedirectingConstructorWithAnotherInitializer = const MessageCode( - "RedirectingConstructorWithAnotherInitializer", - analyzerCodes: ["FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR"], - problemMessage: - r"""A redirecting constructor can't have other initializers.""", - ); + "RedirectingConstructorWithAnotherInitializer", + analyzerCodes: ["FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR"], + problemMessage: + r"""A redirecting constructor can't have other initializers.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRedirectingConstructorWithBody = @@ -15168,13 +15671,13 @@ const Code codeRedirectingConstructorWithMultipleRedirectInitializers = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode -messageRedirectingConstructorWithMultipleRedirectInitializers = + messageRedirectingConstructorWithMultipleRedirectInitializers = const MessageCode( - "RedirectingConstructorWithMultipleRedirectInitializers", - analyzerCodes: ["MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS"], - problemMessage: - r"""A redirecting constructor can't have more than one redirection.""", - ); + "RedirectingConstructorWithMultipleRedirectInitializers", + analyzerCodes: ["MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS"], + problemMessage: + r"""A redirecting constructor can't have more than one redirection.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRedirectingConstructorWithSuperInitializer = @@ -15183,11 +15686,11 @@ const Code codeRedirectingConstructorWithSuperInitializer = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageRedirectingConstructorWithSuperInitializer = const MessageCode( - "RedirectingConstructorWithSuperInitializer", - analyzerCodes: ["SUPER_IN_REDIRECTING_CONSTRUCTOR"], - problemMessage: - r"""A redirecting constructor can't have a 'super' initializer.""", - ); + "RedirectingConstructorWithSuperInitializer", + analyzerCodes: ["SUPER_IN_REDIRECTING_CONSTRUCTOR"], + problemMessage: + r"""A redirecting constructor can't have a 'super' initializer.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRedirectionInNonFactory = messageRedirectionInNonFactory; @@ -15203,20 +15706,20 @@ const MessageCode messageRedirectionInNonFactory = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateRedirectionTargetNotFound = + templateRedirectionTargetNotFound = const Template( - "RedirectionTargetNotFound", - problemMessageTemplate: - r"""Redirection constructor target not found: '#name'""", - withArguments: _withArgumentsRedirectionTargetNotFound, - ); + "RedirectionTargetNotFound", + problemMessageTemplate: + r"""Redirection constructor target not found: '#name'""", + withArguments: _withArgumentsRedirectionTargetNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeRedirectionTargetNotFound = const Code( - "RedirectionTargetNotFound", - analyzerCodes: ["REDIRECT_TO_MISSING_CONSTRUCTOR"], - ); + "RedirectionTargetNotFound", + analyzerCodes: ["REDIRECT_TO_MISSING_CONSTRUCTOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsRedirectionTargetNotFound(String name) { @@ -15225,7 +15728,9 @@ Message _withArgumentsRedirectionTargetNotFound(String name) { return new Message( codeRedirectionTargetNotFound, problemMessage: """Redirection constructor target not found: '${name}'""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15234,8 +15739,8 @@ const Code codeRefutablePatternInIrrefutableContext = messageRefutablePatternInIrrefutableContext; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageRefutablePatternInIrrefutableContext = const MessageCode( +const MessageCode messageRefutablePatternInIrrefutableContext = + const MessageCode( "RefutablePatternInIrrefutableContext", analyzerCodes: ["REFUTABLE_PATTERN_IN_IRREFUTABLE_CONTEXT"], problemMessage: @@ -15268,9 +15773,8 @@ const MessageCode messageRepresentationFieldTrailingComma = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateRequiredNamedParameterHasDefaultValueError = const Template< - Message Function(String name) ->( + templateRequiredNamedParameterHasDefaultValueError = + const Template( "RequiredNamedParameterHasDefaultValueError", problemMessageTemplate: r"""Named parameter '#name' is required and can't have a default value.""", @@ -15279,10 +15783,10 @@ templateRequiredNamedParameterHasDefaultValueError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeRequiredNamedParameterHasDefaultValueError = + codeRequiredNamedParameterHasDefaultValueError = const Code( - "RequiredNamedParameterHasDefaultValueError", - ); + "RequiredNamedParameterHasDefaultValueError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsRequiredNamedParameterHasDefaultValueError(String name) { @@ -15292,7 +15796,9 @@ Message _withArgumentsRequiredNamedParameterHasDefaultValueError(String name) { codeRequiredNamedParameterHasDefaultValueError, problemMessage: """Named parameter '${name}' is required and can't have a default value.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15384,14 +15890,16 @@ const MessageCode messageScriptTagInPartFile = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSdkRootNotFound = const Template( - "SdkRootNotFound", - problemMessageTemplate: r"""SDK root directory not found: #uri.""", - withArguments: _withArgumentsSdkRootNotFound, - ); + "SdkRootNotFound", + problemMessageTemplate: r"""SDK root directory not found: #uri.""", + withArguments: _withArgumentsSdkRootNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSdkRootNotFound = - const Code("SdkRootNotFound"); + const Code( + "SdkRootNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSdkRootNotFound(Uri uri_) { @@ -15399,13 +15907,15 @@ Message _withArgumentsSdkRootNotFound(Uri uri_) { return new Message( codeSdkRootNotFound, problemMessage: """SDK root directory not found: ${uri}.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateSdkSpecificationNotFound = const Template( +const Template templateSdkSpecificationNotFound = + const Template( "SdkSpecificationNotFound", problemMessageTemplate: r"""SDK libraries specification not found: #uri.""", correctionMessageTemplate: @@ -15415,7 +15925,9 @@ templateSdkSpecificationNotFound = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSdkSpecificationNotFound = - const Code("SdkSpecificationNotFound"); + const Code( + "SdkSpecificationNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSdkSpecificationNotFound(Uri uri_) { @@ -15425,21 +15937,25 @@ Message _withArgumentsSdkSpecificationNotFound(Uri uri_) { problemMessage: """SDK libraries specification not found: ${uri}.""", correctionMessage: """Normally, the specification is a file named 'libraries.json' in the Dart SDK install location.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSdkSummaryNotFound = const Template( - "SdkSummaryNotFound", - problemMessageTemplate: r"""SDK summary not found: #uri.""", - withArguments: _withArgumentsSdkSummaryNotFound, - ); + "SdkSummaryNotFound", + problemMessageTemplate: r"""SDK summary not found: #uri.""", + withArguments: _withArgumentsSdkSummaryNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSdkSummaryNotFound = - const Code("SdkSummaryNotFound"); + const Code( + "SdkSummaryNotFound", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSdkSummaryNotFound(Uri uri_) { @@ -15447,15 +15963,16 @@ Message _withArgumentsSdkSummaryNotFound(Uri uri_) { return new Message( codeSdkSummaryNotFound, problemMessage: """SDK summary not found: ${uri}.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSealedClassSubtypeOutsideOfLibrary = const Template< - Message Function(String name) ->( + templateSealedClassSubtypeOutsideOfLibrary = + const Template( "SealedClassSubtypeOutsideOfLibrary", problemMessageTemplate: r"""The class '#name' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.""", @@ -15464,11 +15981,11 @@ templateSealedClassSubtypeOutsideOfLibrary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSealedClassSubtypeOutsideOfLibrary = + codeSealedClassSubtypeOutsideOfLibrary = const Code( - "SealedClassSubtypeOutsideOfLibrary", - analyzerCodes: ["SEALED_CLASS_SUBTYPE_OUTSIDE_OF_LIBRARY"], - ); + "SealedClassSubtypeOutsideOfLibrary", + analyzerCodes: ["SEALED_CLASS_SUBTYPE_OUTSIDE_OF_LIBRARY"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSealedClassSubtypeOutsideOfLibrary(String name) { @@ -15478,7 +15995,9 @@ Message _withArgumentsSealedClassSubtypeOutsideOfLibrary(String name) { codeSealedClassSubtypeOutsideOfLibrary, problemMessage: """The class '${name}' can't be extended, implemented, or mixed in outside of its library because it's a sealed class.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15530,8 +16049,8 @@ const Code codeSetOrMapLiteralTooManyTypeArguments = messageSetOrMapLiteralTooManyTypeArguments; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageSetOrMapLiteralTooManyTypeArguments = const MessageCode( +const MessageCode messageSetOrMapLiteralTooManyTypeArguments = + const MessageCode( "SetOrMapLiteralTooManyTypeArguments", problemMessage: r"""A set or map literal requires exactly one or two type arguments, respectively.""", @@ -15539,20 +16058,19 @@ messageSetOrMapLiteralTooManyTypeArguments = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSetterConflictsWithDeclaration = + templateSetterConflictsWithDeclaration = const Template( - "SetterConflictsWithDeclaration", - problemMessageTemplate: - r"""The setter conflicts with declaration '#name'.""", - withArguments: _withArgumentsSetterConflictsWithDeclaration, - ); + "SetterConflictsWithDeclaration", + problemMessageTemplate: r"""The setter conflicts with declaration '#name'.""", + withArguments: _withArgumentsSetterConflictsWithDeclaration, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSetterConflictsWithDeclaration = const Code( - "SetterConflictsWithDeclaration", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "SetterConflictsWithDeclaration", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSetterConflictsWithDeclaration(String name) { @@ -15561,26 +16079,28 @@ Message _withArgumentsSetterConflictsWithDeclaration(String name) { return new Message( codeSetterConflictsWithDeclaration, problemMessage: """The setter conflicts with declaration '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSetterConflictsWithDeclarationCause = + templateSetterConflictsWithDeclarationCause = const Template( - "SetterConflictsWithDeclarationCause", - problemMessageTemplate: r"""Conflicting declaration '#name'.""", - withArguments: _withArgumentsSetterConflictsWithDeclarationCause, - ); + "SetterConflictsWithDeclarationCause", + problemMessageTemplate: r"""Conflicting declaration '#name'.""", + withArguments: _withArgumentsSetterConflictsWithDeclarationCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSetterConflictsWithDeclarationCause = + codeSetterConflictsWithDeclarationCause = const Code( - "SetterConflictsWithDeclarationCause", - severity: Severity.context, - ); + "SetterConflictsWithDeclarationCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSetterConflictsWithDeclarationCause(String name) { @@ -15589,7 +16109,9 @@ Message _withArgumentsSetterConflictsWithDeclarationCause(String name) { return new Message( codeSetterConflictsWithDeclarationCause, problemMessage: """Conflicting declaration '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15607,17 +16129,17 @@ const MessageCode messageSetterConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSetterNotFound = const Template( - "SetterNotFound", - problemMessageTemplate: r"""Setter not found: '#name'.""", - withArguments: _withArgumentsSetterNotFound, - ); + "SetterNotFound", + problemMessageTemplate: r"""Setter not found: '#name'.""", + withArguments: _withArgumentsSetterNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSetterNotFound = const Code( - "SetterNotFound", - analyzerCodes: ["UNDEFINED_SETTER"], - ); + "SetterNotFound", + analyzerCodes: ["UNDEFINED_SETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSetterNotFound(String name) { @@ -15626,7 +16148,9 @@ Message _withArgumentsSetterNotFound(String name) { return new Message( codeSetterNotFound, problemMessage: """Setter not found: '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15653,11 +16177,9 @@ const MessageCode messageSetterWithWrongNumberOfFormals = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -templateSourceBodySummary = const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->( + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> templateSourceBodySummary = const Template< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( "SourceBodySummary", problemMessageTemplate: r"""Built bodies for #count compilation units (#count2 bytes) in #num1%.3ms, that is, @@ -15668,20 +16190,15 @@ templateSourceBodySummary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -codeSourceBodySummary = const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->("SourceBodySummary"); + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> codeSourceBodySummary = const Code< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( + "SourceBodySummary", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSourceBodySummary( - int count, - int count2, - num _num1, - num _num2, - num _num3, -) { + int count, int count2, num _num1, num _num2, num _num3) { String num1 = _num1.toStringAsFixed(3); String num2 = _num2.toStringAsFixed(3).padLeft(12); String num3 = _num3.toStringAsFixed(3).padLeft(12); @@ -15703,11 +16220,9 @@ ${num3} ms/compilation unit.""", // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -templateSourceOutlineSummary = const Template< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->( + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> templateSourceOutlineSummary = const Template< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( "SourceOutlineSummary", problemMessageTemplate: r"""Built outlines for #count compilation units (#count2 bytes) in #num1%.3ms, that is, @@ -15718,20 +16233,15 @@ templateSourceOutlineSummary = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) -> -codeSourceOutlineSummary = const Code< - Message Function(int count, int count2, num _num1, num _num2, num _num3) ->("SourceOutlineSummary"); + Message Function(int count, int count2, num _num1, num _num2, + num _num3)> codeSourceOutlineSummary = const Code< + Message Function(int count, int count2, num _num1, num _num2, num _num3)>( + "SourceOutlineSummary", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSourceOutlineSummary( - int count, - int count2, - num _num1, - num _num2, - num _num3, -) { + int count, int count2, num _num1, num _num2, num _num3) { String num1 = _num1.toStringAsFixed(3); String num2 = _num2.toStringAsFixed(3).padLeft(12); String num3 = _num3.toStringAsFixed(3).padLeft(12); @@ -15807,9 +16317,8 @@ const MessageCode messageStaticAndInstanceConflictCause = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateStaticConflictsWithInstance = const Template< - Message Function(String name) ->( + templateStaticConflictsWithInstance = + const Template( "StaticConflictsWithInstance", problemMessageTemplate: r"""Static property '#name' conflicts with instance property of the same name.""", @@ -15819,9 +16328,9 @@ templateStaticConflictsWithInstance = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeStaticConflictsWithInstance = const Code( - "StaticConflictsWithInstance", - analyzerCodes: ["CONFLICTS_WITH_MEMBER"], - ); + "StaticConflictsWithInstance", + analyzerCodes: ["CONFLICTS_WITH_MEMBER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsStaticConflictsWithInstance(String name) { @@ -15831,25 +16340,27 @@ Message _withArgumentsStaticConflictsWithInstance(String name) { codeStaticConflictsWithInstance, problemMessage: """Static property '${name}' conflicts with instance property of the same name.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateStaticConflictsWithInstanceCause = + templateStaticConflictsWithInstanceCause = const Template( - "StaticConflictsWithInstanceCause", - problemMessageTemplate: r"""Conflicting instance property '#name'.""", - withArguments: _withArgumentsStaticConflictsWithInstanceCause, - ); + "StaticConflictsWithInstanceCause", + problemMessageTemplate: r"""Conflicting instance property '#name'.""", + withArguments: _withArgumentsStaticConflictsWithInstanceCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeStaticConflictsWithInstanceCause = const Code( - "StaticConflictsWithInstanceCause", - severity: Severity.context, - ); + "StaticConflictsWithInstanceCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsStaticConflictsWithInstanceCause(String name) { @@ -15858,7 +16369,9 @@ Message _withArgumentsStaticConflictsWithInstanceCause(String name) { return new Message( codeStaticConflictsWithInstanceCause, problemMessage: """Conflicting instance property '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -15910,9 +16423,8 @@ const MessageCode messageStrongWithWeakDillLibrary = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSubtypeOfBaseIsNotBaseFinalOrSealed = const Template< - Message Function(String name, String name2) ->( + templateSubtypeOfBaseIsNotBaseFinalOrSealed = + const Template( "SubtypeOfBaseIsNotBaseFinalOrSealed", problemMessageTemplate: r"""The type '#name' must be 'base', 'final' or 'sealed' because the supertype '#name2' is 'base'.""", @@ -15923,17 +16435,15 @@ templateSubtypeOfBaseIsNotBaseFinalOrSealed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSubtypeOfBaseIsNotBaseFinalOrSealed = + codeSubtypeOfBaseIsNotBaseFinalOrSealed = const Code( - "SubtypeOfBaseIsNotBaseFinalOrSealed", - analyzerCodes: ["SUBTYPE_OF_BASE_IS_NOT_BASE_FINAL_OR_SEALED"], - ); + "SubtypeOfBaseIsNotBaseFinalOrSealed", + analyzerCodes: ["SUBTYPE_OF_BASE_IS_NOT_BASE_FINAL_OR_SEALED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSubtypeOfBaseIsNotBaseFinalOrSealed( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -15944,15 +16454,17 @@ Message _withArgumentsSubtypeOfBaseIsNotBaseFinalOrSealed( """The type '${name}' must be 'base', 'final' or 'sealed' because the supertype '${name2}' is 'base'.""", correctionMessage: """Try adding 'base', 'final', or 'sealed' to the type.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSubtypeOfFinalIsNotBaseFinalOrSealed = const Template< - Message Function(String name, String name2) ->( + templateSubtypeOfFinalIsNotBaseFinalOrSealed = + const Template( "SubtypeOfFinalIsNotBaseFinalOrSealed", problemMessageTemplate: r"""The type '#name' must be 'base', 'final' or 'sealed' because the supertype '#name2' is 'final'.""", @@ -15963,17 +16475,15 @@ templateSubtypeOfFinalIsNotBaseFinalOrSealed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSubtypeOfFinalIsNotBaseFinalOrSealed = + codeSubtypeOfFinalIsNotBaseFinalOrSealed = const Code( - "SubtypeOfFinalIsNotBaseFinalOrSealed", - analyzerCodes: ["SUBTYPE_OF_FINAL_IS_NOT_BASE_FINAL_OR_SEALED"], - ); + "SubtypeOfFinalIsNotBaseFinalOrSealed", + analyzerCodes: ["SUBTYPE_OF_FINAL_IS_NOT_BASE_FINAL_OR_SEALED"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSubtypeOfFinalIsNotBaseFinalOrSealed( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -15984,7 +16494,10 @@ Message _withArgumentsSubtypeOfFinalIsNotBaseFinalOrSealed( """The type '${name}' must be 'base', 'final' or 'sealed' because the supertype '${name2}' is 'final'.""", correctionMessage: """Try adding 'base', 'final', or 'sealed' to the type.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -16012,17 +16525,19 @@ const MessageCode messageSuperAsIdentifier = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperExtensionTypeIsIllegal = + templateSuperExtensionTypeIsIllegal = const Template( - "SuperExtensionTypeIsIllegal", - problemMessageTemplate: - r"""The type '#name' can't be implemented by an extension type.""", - withArguments: _withArgumentsSuperExtensionTypeIsIllegal, - ); + "SuperExtensionTypeIsIllegal", + problemMessageTemplate: + r"""The type '#name' can't be implemented by an extension type.""", + withArguments: _withArgumentsSuperExtensionTypeIsIllegal, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperExtensionTypeIsIllegal = - const Code("SuperExtensionTypeIsIllegal"); + const Code( + "SuperExtensionTypeIsIllegal", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperExtensionTypeIsIllegal(String name) { @@ -16032,15 +16547,16 @@ Message _withArgumentsSuperExtensionTypeIsIllegal(String name) { codeSuperExtensionTypeIsIllegal, problemMessage: """The type '${name}' can't be implemented by an extension type.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperExtensionTypeIsTypeParameter = const Template< - Message Function(String name) ->( + templateSuperExtensionTypeIsTypeParameter = + const Template( "SuperExtensionTypeIsTypeParameter", problemMessageTemplate: r"""The type variable '#name' can't be implemented by an extension type.""", @@ -16049,10 +16565,10 @@ templateSuperExtensionTypeIsTypeParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSuperExtensionTypeIsTypeParameter = + codeSuperExtensionTypeIsTypeParameter = const Code( - "SuperExtensionTypeIsTypeParameter", - ); + "SuperExtensionTypeIsTypeParameter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperExtensionTypeIsTypeParameter(String name) { @@ -16062,7 +16578,9 @@ Message _withArgumentsSuperExtensionTypeIsTypeParameter(String name) { codeSuperExtensionTypeIsTypeParameter, problemMessage: """The type variable '${name}' can't be implemented by an extension type.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16104,8 +16622,8 @@ const Code codeSuperParameterInitializerOutsideConstructor = messageSuperParameterInitializerOutsideConstructor; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageSuperParameterInitializerOutsideConstructor = const MessageCode( +const MessageCode messageSuperParameterInitializerOutsideConstructor = + const MessageCode( "SuperParameterInitializerOutsideConstructor", problemMessage: r"""Super-initializer formal parameters can only be used in generative constructors.""", @@ -16114,23 +16632,22 @@ messageSuperParameterInitializerOutsideConstructor = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperclassHasNoConstructor = + templateSuperclassHasNoConstructor = const Template( - "SuperclassHasNoConstructor", - problemMessageTemplate: - r"""Superclass has no constructor named '#name'.""", - withArguments: _withArgumentsSuperclassHasNoConstructor, - ); + "SuperclassHasNoConstructor", + problemMessageTemplate: r"""Superclass has no constructor named '#name'.""", + withArguments: _withArgumentsSuperclassHasNoConstructor, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassHasNoConstructor = const Code( - "SuperclassHasNoConstructor", - analyzerCodes: [ - "UNDEFINED_CONSTRUCTOR_IN_INITIALIZER", - "UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT", - ], - ); + "SuperclassHasNoConstructor", + analyzerCodes: [ + "UNDEFINED_CONSTRUCTOR_IN_INITIALIZER", + "UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT" + ], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoConstructor(String name) { @@ -16139,15 +16656,16 @@ Message _withArgumentsSuperclassHasNoConstructor(String name) { return new Message( codeSuperclassHasNoConstructor, problemMessage: """Superclass has no constructor named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperclassHasNoDefaultConstructor = const Template< - Message Function(String name) ->( + templateSuperclassHasNoDefaultConstructor = + const Template( "SuperclassHasNoDefaultConstructor", problemMessageTemplate: r"""The superclass, '#name', has no unnamed constructor that takes no arguments.""", @@ -16156,11 +16674,11 @@ templateSuperclassHasNoDefaultConstructor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSuperclassHasNoDefaultConstructor = + codeSuperclassHasNoDefaultConstructor = const Code( - "SuperclassHasNoDefaultConstructor", - analyzerCodes: ["NO_DEFAULT_SUPER_CONSTRUCTOR_IMPLICIT"], - ); + "SuperclassHasNoDefaultConstructor", + analyzerCodes: ["NO_DEFAULT_SUPER_CONSTRUCTOR_IMPLICIT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoDefaultConstructor(String name) { @@ -16170,24 +16688,26 @@ Message _withArgumentsSuperclassHasNoDefaultConstructor(String name) { codeSuperclassHasNoDefaultConstructor, problemMessage: """The superclass, '${name}', has no unnamed constructor that takes no arguments.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSuperclassHasNoGetter = const Template( - "SuperclassHasNoGetter", - problemMessageTemplate: r"""Superclass has no getter named '#name'.""", - withArguments: _withArgumentsSuperclassHasNoGetter, - ); + "SuperclassHasNoGetter", + problemMessageTemplate: r"""Superclass has no getter named '#name'.""", + withArguments: _withArgumentsSuperclassHasNoGetter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassHasNoGetter = const Code( - "SuperclassHasNoGetter", - analyzerCodes: ["UNDEFINED_SUPER_GETTER"], - ); + "SuperclassHasNoGetter", + analyzerCodes: ["UNDEFINED_SUPER_GETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoGetter(String name) { @@ -16196,24 +16716,26 @@ Message _withArgumentsSuperclassHasNoGetter(String name) { return new Message( codeSuperclassHasNoGetter, problemMessage: """Superclass has no getter named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSuperclassHasNoMember = const Template( - "SuperclassHasNoMember", - problemMessageTemplate: r"""Superclass has no member named '#name'.""", - withArguments: _withArgumentsSuperclassHasNoMember, - ); + "SuperclassHasNoMember", + problemMessageTemplate: r"""Superclass has no member named '#name'.""", + withArguments: _withArgumentsSuperclassHasNoMember, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassHasNoMember = const Code( - "SuperclassHasNoMember", - analyzerCodes: ["UNDEFINED_SUPER_GETTER"], - ); + "SuperclassHasNoMember", + analyzerCodes: ["UNDEFINED_SUPER_GETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoMember(String name) { @@ -16222,24 +16744,26 @@ Message _withArgumentsSuperclassHasNoMember(String name) { return new Message( codeSuperclassHasNoMember, problemMessage: """Superclass has no member named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSuperclassHasNoMethod = const Template( - "SuperclassHasNoMethod", - problemMessageTemplate: r"""Superclass has no method named '#name'.""", - withArguments: _withArgumentsSuperclassHasNoMethod, - ); + "SuperclassHasNoMethod", + problemMessageTemplate: r"""Superclass has no method named '#name'.""", + withArguments: _withArgumentsSuperclassHasNoMethod, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassHasNoMethod = const Code( - "SuperclassHasNoMethod", - analyzerCodes: ["UNDEFINED_SUPER_METHOD"], - ); + "SuperclassHasNoMethod", + analyzerCodes: ["UNDEFINED_SUPER_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoMethod(String name) { @@ -16248,24 +16772,26 @@ Message _withArgumentsSuperclassHasNoMethod(String name) { return new Message( codeSuperclassHasNoMethod, problemMessage: """Superclass has no method named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSuperclassHasNoSetter = const Template( - "SuperclassHasNoSetter", - problemMessageTemplate: r"""Superclass has no setter named '#name'.""", - withArguments: _withArgumentsSuperclassHasNoSetter, - ); + "SuperclassHasNoSetter", + problemMessageTemplate: r"""Superclass has no setter named '#name'.""", + withArguments: _withArgumentsSuperclassHasNoSetter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassHasNoSetter = const Code( - "SuperclassHasNoSetter", - analyzerCodes: ["UNDEFINED_SUPER_SETTER"], - ); + "SuperclassHasNoSetter", + analyzerCodes: ["UNDEFINED_SUPER_SETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassHasNoSetter(String name) { @@ -16274,15 +16800,16 @@ Message _withArgumentsSuperclassHasNoSetter(String name) { return new Message( codeSuperclassHasNoSetter, problemMessage: """Superclass has no setter named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperclassMethodArgumentMismatch = const Template< - Message Function(String name) ->( + templateSuperclassMethodArgumentMismatch = + const Template( "SuperclassMethodArgumentMismatch", problemMessageTemplate: r"""Superclass doesn't have a method named '#name' with matching arguments.""", @@ -16292,8 +16819,8 @@ templateSuperclassMethodArgumentMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSuperclassMethodArgumentMismatch = const Code( - "SuperclassMethodArgumentMismatch", - ); + "SuperclassMethodArgumentMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperclassMethodArgumentMismatch(String name) { @@ -16303,7 +16830,9 @@ Message _withArgumentsSuperclassMethodArgumentMismatch(String name) { codeSuperclassMethodArgumentMismatch, problemMessage: """Superclass doesn't have a method named '${name}' with matching arguments.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16319,18 +16848,17 @@ const MessageCode messageSupertypeIsFunction = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSupertypeIsIllegal = const Template( - "SupertypeIsIllegal", - problemMessageTemplate: - r"""The type '#name' can't be used as supertype.""", - withArguments: _withArgumentsSupertypeIsIllegal, - ); + "SupertypeIsIllegal", + problemMessageTemplate: r"""The type '#name' can't be used as supertype.""", + withArguments: _withArgumentsSupertypeIsIllegal, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSupertypeIsIllegal = const Code( - "SupertypeIsIllegal", - analyzerCodes: ["EXTENDS_NON_CLASS"], - ); + "SupertypeIsIllegal", + analyzerCodes: ["EXTENDS_NON_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSupertypeIsIllegal(String name) { @@ -16339,25 +16867,27 @@ Message _withArgumentsSupertypeIsIllegal(String name) { return new Message( codeSupertypeIsIllegal, problemMessage: """The type '${name}' can't be used as supertype.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateSupertypeIsTypeParameter = const Template( - "SupertypeIsTypeParameter", - problemMessageTemplate: - r"""The type variable '#name' can't be used as supertype.""", - withArguments: _withArgumentsSupertypeIsTypeParameter, - ); + "SupertypeIsTypeParameter", + problemMessageTemplate: + r"""The type variable '#name' can't be used as supertype.""", + withArguments: _withArgumentsSupertypeIsTypeParameter, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSupertypeIsTypeParameter = const Code( - "SupertypeIsTypeParameter", - analyzerCodes: ["EXTENDS_NON_CLASS"], - ); + "SupertypeIsTypeParameter", + analyzerCodes: ["EXTENDS_NON_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSupertypeIsTypeParameter(String name) { @@ -16367,7 +16897,9 @@ Message _withArgumentsSupertypeIsTypeParameter(String name) { codeSupertypeIsTypeParameter, problemMessage: """The type variable '${name}' can't be used as supertype.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16429,17 +16961,19 @@ const MessageCode messageSyntheticToken = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateThisAccessInFieldInitializer = + templateThisAccessInFieldInitializer = const Template( - "ThisAccessInFieldInitializer", - problemMessageTemplate: - r"""Can't access 'this' in a field initializer to read '#name'.""", - withArguments: _withArgumentsThisAccessInFieldInitializer, - ); + "ThisAccessInFieldInitializer", + problemMessageTemplate: + r"""Can't access 'this' in a field initializer to read '#name'.""", + withArguments: _withArgumentsThisAccessInFieldInitializer, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeThisAccessInFieldInitializer = - const Code("ThisAccessInFieldInitializer"); + const Code( + "ThisAccessInFieldInitializer", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsThisAccessInFieldInitializer(String name) { @@ -16449,7 +16983,9 @@ Message _withArgumentsThisAccessInFieldInitializer(String name) { codeThisAccessInFieldInitializer, problemMessage: """Can't access 'this' in a field initializer to read '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16466,15 +17002,17 @@ const MessageCode messageThisAsIdentifier = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateThisNotPromoted = const Template( - "ThisNotPromoted", - problemMessageTemplate: r"""'this' can't be promoted.""", - correctionMessageTemplate: r"""See #string""", - withArguments: _withArgumentsThisNotPromoted, - ); + "ThisNotPromoted", + problemMessageTemplate: r"""'this' can't be promoted.""", + correctionMessageTemplate: r"""See #string""", + withArguments: _withArgumentsThisNotPromoted, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeThisNotPromoted = - const Code("ThisNotPromoted"); + const Code( + "ThisNotPromoted", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsThisNotPromoted(String string) { @@ -16483,27 +17021,28 @@ Message _withArgumentsThisNotPromoted(String string) { codeThisNotPromoted, problemMessage: """'this' can't be promoted.""", correctionMessage: """See ${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateThisOrSuperAccessInFieldInitializer = + templateThisOrSuperAccessInFieldInitializer = const Template( - "ThisOrSuperAccessInFieldInitializer", - problemMessageTemplate: - r"""Can't access '#string' in a field initializer.""", - withArguments: _withArgumentsThisOrSuperAccessInFieldInitializer, - ); + "ThisOrSuperAccessInFieldInitializer", + problemMessageTemplate: r"""Can't access '#string' in a field initializer.""", + withArguments: _withArgumentsThisOrSuperAccessInFieldInitializer, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeThisOrSuperAccessInFieldInitializer = + codeThisOrSuperAccessInFieldInitializer = const Code( - "ThisOrSuperAccessInFieldInitializer", - analyzerCodes: ["THIS_ACCESS_FROM_INITIALIZER"], - ); + "ThisOrSuperAccessInFieldInitializer", + analyzerCodes: ["THIS_ACCESS_FROM_INITIALIZER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsThisOrSuperAccessInFieldInitializer(String string) { @@ -16511,26 +17050,28 @@ Message _withArgumentsThisOrSuperAccessInFieldInitializer(String string) { return new Message( codeThisOrSuperAccessInFieldInitializer, problemMessage: """Can't access '${string}' in a field initializer.""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateTooFewArguments = + templateTooFewArguments = const Template( - "TooFewArguments", - problemMessageTemplate: - r"""Too few positional arguments: #count required, #count2 given.""", - withArguments: _withArgumentsTooFewArguments, - ); + "TooFewArguments", + problemMessageTemplate: + r"""Too few positional arguments: #count required, #count2 given.""", + withArguments: _withArgumentsTooFewArguments, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTooFewArguments = const Code( - "TooFewArguments", - analyzerCodes: ["NOT_ENOUGH_REQUIRED_ARGUMENTS"], - ); + "TooFewArguments", + analyzerCodes: ["NOT_ENOUGH_REQUIRED_ARGUMENTS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTooFewArguments(int count, int count2) { @@ -16538,15 +17079,17 @@ Message _withArgumentsTooFewArguments(int count, int count2) { codeTooFewArguments, problemMessage: """Too few positional arguments: ${count} required, ${count2} given.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateTooManyArguments = const Template< - Message Function(int count, int count2) ->( + templateTooManyArguments = + const Template( "TooManyArguments", problemMessageTemplate: r"""Too many positional arguments: #count allowed, but #count2 found.""", @@ -16558,9 +17101,9 @@ templateTooManyArguments = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTooManyArguments = const Code( - "TooManyArguments", - analyzerCodes: ["EXTRA_POSITIONAL_ARGUMENTS"], - ); + "TooManyArguments", + analyzerCodes: ["EXTRA_POSITIONAL_ARGUMENTS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTooManyArguments(int count, int count2) { @@ -16569,7 +17112,10 @@ Message _withArgumentsTooManyArguments(int count, int count2) { problemMessage: """Too many positional arguments: ${count} allowed, but ${count2} found.""", correctionMessage: """Try removing the extra positional arguments.""", - arguments: {'count': count, 'count2': count2}, + arguments: { + 'count': count, + 'count2': count2, + }, ); } @@ -16600,44 +17146,46 @@ const MessageCode messageTypeAfterVar = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateTypeArgumentMismatch = const Template( - "TypeArgumentMismatch", - problemMessageTemplate: r"""Expected #count type arguments.""", - withArguments: _withArgumentsTypeArgumentMismatch, - ); + "TypeArgumentMismatch", + problemMessageTemplate: r"""Expected #count type arguments.""", + withArguments: _withArgumentsTypeArgumentMismatch, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypeArgumentMismatch = const Code( - "TypeArgumentMismatch", - analyzerCodes: ["WRONG_NUMBER_OF_TYPE_ARGUMENTS"], - ); + "TypeArgumentMismatch", + analyzerCodes: ["WRONG_NUMBER_OF_TYPE_ARGUMENTS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeArgumentMismatch(int count) { return new Message( codeTypeArgumentMismatch, problemMessage: """Expected ${count} type arguments.""", - arguments: {'count': count}, + arguments: { + 'count': count, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateTypeArgumentsOnTypeVariable = + templateTypeArgumentsOnTypeVariable = const Template( - "TypeArgumentsOnTypeVariable", - problemMessageTemplate: - r"""Can't use type arguments with type variable '#name'.""", - correctionMessageTemplate: r"""Try removing the type arguments.""", - withArguments: _withArgumentsTypeArgumentsOnTypeVariable, - ); + "TypeArgumentsOnTypeVariable", + problemMessageTemplate: + r"""Can't use type arguments with type variable '#name'.""", + correctionMessageTemplate: r"""Try removing the type arguments.""", + withArguments: _withArgumentsTypeArgumentsOnTypeVariable, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypeArgumentsOnTypeVariable = const Code( - "TypeArgumentsOnTypeVariable", - index: 13, - ); + "TypeArgumentsOnTypeVariable", + index: 13, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeArgumentsOnTypeVariable(String name) { @@ -16648,7 +17196,9 @@ Message _withArgumentsTypeArgumentsOnTypeVariable(String name) { problemMessage: """Can't use type arguments with type variable '${name}'.""", correctionMessage: """Try removing the type arguments.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16666,17 +17216,17 @@ const MessageCode messageTypeBeforeFactory = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateTypeNotFound = const Template( - "TypeNotFound", - problemMessageTemplate: r"""Type '#name' not found.""", - withArguments: _withArgumentsTypeNotFound, - ); + "TypeNotFound", + problemMessageTemplate: r"""Type '#name' not found.""", + withArguments: _withArgumentsTypeNotFound, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypeNotFound = const Code( - "TypeNotFound", - analyzerCodes: ["UNDEFINED_CLASS"], - ); + "TypeNotFound", + analyzerCodes: ["UNDEFINED_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeNotFound(String name) { @@ -16685,21 +17235,25 @@ Message _withArgumentsTypeNotFound(String name) { return new Message( codeTypeNotFound, problemMessage: """Type '${name}' not found.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateTypeOrigin = const Template( - "TypeOrigin", - problemMessageTemplate: r"""'#name' is from '#uri'.""", - withArguments: _withArgumentsTypeOrigin, - ); + "TypeOrigin", + problemMessageTemplate: r"""'#name' is from '#uri'.""", + withArguments: _withArgumentsTypeOrigin, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypeOrigin = - const Code("TypeOrigin"); + const Code( + "TypeOrigin", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeOrigin(String name, Uri uri_) { @@ -16709,25 +17263,28 @@ Message _withArgumentsTypeOrigin(String name, Uri uri_) { return new Message( codeTypeOrigin, problemMessage: """'${name}' is from '${uri}'.""", - arguments: {'name': name, 'uri': uri_}, + arguments: { + 'name': name, + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateTypeOriginWithFileUri = + templateTypeOriginWithFileUri = const Template( - "TypeOriginWithFileUri", - problemMessageTemplate: r"""'#name' is from '#uri' ('#uri2').""", - withArguments: _withArgumentsTypeOriginWithFileUri, - ); + "TypeOriginWithFileUri", + problemMessageTemplate: r"""'#name' is from '#uri' ('#uri2').""", + withArguments: _withArgumentsTypeOriginWithFileUri, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeTypeOriginWithFileUri = + codeTypeOriginWithFileUri = const Code( - "TypeOriginWithFileUri", - ); + "TypeOriginWithFileUri", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeOriginWithFileUri(String name, Uri uri_, Uri uri2_) { @@ -16738,7 +17295,11 @@ Message _withArgumentsTypeOriginWithFileUri(String name, Uri uri_, Uri uri2_) { return new Message( codeTypeOriginWithFileUri, problemMessage: """'${name}' is from '${uri}' ('${uri2}').""", - arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}, + arguments: { + 'name': name, + 'uri': uri_, + 'uri2': uri2_, + }, ); } @@ -16755,19 +17316,19 @@ const MessageCode messageTypeParameterDuplicatedName = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateTypeParameterDuplicatedNameCause = + templateTypeParameterDuplicatedNameCause = const Template( - "TypeParameterDuplicatedNameCause", - problemMessageTemplate: r"""The other type variable named '#name'.""", - withArguments: _withArgumentsTypeParameterDuplicatedNameCause, - ); + "TypeParameterDuplicatedNameCause", + problemMessageTemplate: r"""The other type variable named '#name'.""", + withArguments: _withArgumentsTypeParameterDuplicatedNameCause, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypeParameterDuplicatedNameCause = const Code( - "TypeParameterDuplicatedNameCause", - severity: Severity.context, - ); + "TypeParameterDuplicatedNameCause", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsTypeParameterDuplicatedNameCause(String name) { @@ -16776,7 +17337,9 @@ Message _withArgumentsTypeParameterDuplicatedNameCause(String name) { return new Message( codeTypeParameterDuplicatedNameCause, problemMessage: """The other type variable named '${name}'.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -16882,10 +17445,10 @@ const Code codeTypedefTypeParameterNotConstructorCause = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageTypedefTypeParameterNotConstructorCause = const MessageCode( - "TypedefTypeParameterNotConstructorCause", - severity: Severity.context, - problemMessage: r"""This is the type variable ultimately denoted.""", - ); + "TypedefTypeParameterNotConstructorCause", + severity: Severity.context, + problemMessage: r"""This is the type variable ultimately denoted.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeTypedefUnaliasedTypeCause = @@ -16901,18 +17464,18 @@ const MessageCode messageTypedefUnaliasedTypeCause = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateUnavailableDartLibrary = const Template( - "UnavailableDartLibrary", - problemMessageTemplate: - r"""Dart library '#uri' is not available on this platform.""", - withArguments: _withArgumentsUnavailableDartLibrary, - ); + "UnavailableDartLibrary", + problemMessageTemplate: + r"""Dart library '#uri' is not available on this platform.""", + withArguments: _withArgumentsUnavailableDartLibrary, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnavailableDartLibrary = const Code( - "UnavailableDartLibrary", - analyzerCodes: ["URI_DOES_NOT_EXIST"], - ); + "UnavailableDartLibrary", + analyzerCodes: ["URI_DOES_NOT_EXIST"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnavailableDartLibrary(Uri uri_) { @@ -16921,7 +17484,9 @@ Message _withArgumentsUnavailableDartLibrary(Uri uri_) { codeUnavailableDartLibrary, problemMessage: """Dart library '${uri}' is not available on this platform.""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } @@ -16939,9 +17504,8 @@ const MessageCode messageUnexpectedDollarInString = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnexpectedModifierInNonNnbd = const Template< - Message Function(Token token) ->( + templateUnexpectedModifierInNonNnbd = + const Template( "UnexpectedModifierInNonNnbd", problemMessageTemplate: r"""The modifier '#lexeme' is only available in null safe libraries.""", @@ -16951,9 +17515,9 @@ templateUnexpectedModifierInNonNnbd = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnexpectedModifierInNonNnbd = const Code( - "UnexpectedModifierInNonNnbd", - analyzerCodes: ["UNEXPECTED_TOKEN"], - ); + "UnexpectedModifierInNonNnbd", + analyzerCodes: ["UNEXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnexpectedModifierInNonNnbd(Token token) { @@ -16962,7 +17526,9 @@ Message _withArgumentsUnexpectedModifierInNonNnbd(Token token) { codeUnexpectedModifierInNonNnbd, problemMessage: """The modifier '${lexeme}' is only available in null safe libraries.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -16984,8 +17550,8 @@ const Code codeUnexpectedSuperParametersInGenerativeConstructors = messageUnexpectedSuperParametersInGenerativeConstructors; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageUnexpectedSuperParametersInGenerativeConstructors = const MessageCode( +const MessageCode messageUnexpectedSuperParametersInGenerativeConstructors = + const MessageCode( "UnexpectedSuperParametersInGenerativeConstructors", analyzerCodes: ["INVALID_SUPER_FORMAL_PARAMETER_LOCATION"], problemMessage: @@ -16995,17 +17561,17 @@ messageUnexpectedSuperParametersInGenerativeConstructors = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateUnexpectedToken = const Template( - "UnexpectedToken", - problemMessageTemplate: r"""Unexpected token '#lexeme'.""", - withArguments: _withArgumentsUnexpectedToken, - ); + "UnexpectedToken", + problemMessageTemplate: r"""Unexpected token '#lexeme'.""", + withArguments: _withArgumentsUnexpectedToken, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnexpectedToken = const Code( - "UnexpectedToken", - analyzerCodes: ["UNEXPECTED_TOKEN"], - ); + "UnexpectedToken", + analyzerCodes: ["UNEXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnexpectedToken(Token token) { @@ -17013,7 +17579,9 @@ Message _withArgumentsUnexpectedToken(Token token) { return new Message( codeUnexpectedToken, problemMessage: """Unexpected token '${lexeme}'.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -17029,9 +17597,8 @@ const MessageCode messageUnexpectedTokens = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnhandledMacroApplication = const Template< - Message Function(String name) ->( + templateUnhandledMacroApplication = + const Template( "UnhandledMacroApplication", problemMessageTemplate: r"""This macro application didn't apply correctly due to an unhandled #name.""", @@ -17040,7 +17607,9 @@ templateUnhandledMacroApplication = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnhandledMacroApplication = - const Code("UnhandledMacroApplication"); + const Code( + "UnhandledMacroApplication", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnhandledMacroApplication(String name) { @@ -17050,15 +17619,16 @@ Message _withArgumentsUnhandledMacroApplication(String name) { codeUnhandledMacroApplication, problemMessage: """This macro application didn't apply correctly due to an unhandled ${name}.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedAugmentationClass = const Template< - Message Function(String name) ->( + templateUnmatchedAugmentationClass = + const Template( "UnmatchedAugmentationClass", problemMessageTemplate: r"""Augmentation class '#name' doesn't match a class in the augmented library.""", @@ -17069,7 +17639,9 @@ templateUnmatchedAugmentationClass = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedAugmentationClass = - const Code("UnmatchedAugmentationClass"); + const Code( + "UnmatchedAugmentationClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedAugmentationClass(String name) { @@ -17081,15 +17653,16 @@ Message _withArgumentsUnmatchedAugmentationClass(String name) { """Augmentation class '${name}' doesn't match a class in the augmented library.""", correctionMessage: """Try changing the name to an existing class or removing the 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedAugmentationClassMember = const Template< - Message Function(String name) ->( + templateUnmatchedAugmentationClassMember = + const Template( "UnmatchedAugmentationClassMember", problemMessageTemplate: r"""Augmentation member '#name' doesn't match a member in the augmented class.""", @@ -17101,8 +17674,8 @@ templateUnmatchedAugmentationClassMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedAugmentationClassMember = const Code( - "UnmatchedAugmentationClassMember", - ); + "UnmatchedAugmentationClassMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedAugmentationClassMember(String name) { @@ -17114,15 +17687,16 @@ Message _withArgumentsUnmatchedAugmentationClassMember(String name) { """Augmentation member '${name}' doesn't match a member in the augmented class.""", correctionMessage: """Try changing the name to an existing member or removing the 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedAugmentationConstructor = const Template< - Message Function(String name) ->( + templateUnmatchedAugmentationConstructor = + const Template( "UnmatchedAugmentationConstructor", problemMessageTemplate: r"""Augmentation constructor '#name' doesn't match a constructor in the augmented class.""", @@ -17134,8 +17708,8 @@ templateUnmatchedAugmentationConstructor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedAugmentationConstructor = const Code( - "UnmatchedAugmentationConstructor", - ); + "UnmatchedAugmentationConstructor", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedAugmentationConstructor(String name) { @@ -17147,15 +17721,16 @@ Message _withArgumentsUnmatchedAugmentationConstructor(String name) { """Augmentation constructor '${name}' doesn't match a constructor in the augmented class.""", correctionMessage: """Try changing the name to an existing constructor or removing the 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedAugmentationDeclaration = const Template< - Message Function(String name) ->( + templateUnmatchedAugmentationDeclaration = + const Template( "UnmatchedAugmentationDeclaration", problemMessageTemplate: r"""Augmentation '#name' doesn't match a declaration in the augmented library.""", @@ -17167,8 +17742,8 @@ templateUnmatchedAugmentationDeclaration = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedAugmentationDeclaration = const Code( - "UnmatchedAugmentationDeclaration", - ); + "UnmatchedAugmentationDeclaration", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedAugmentationDeclaration(String name) { @@ -17180,15 +17755,16 @@ Message _withArgumentsUnmatchedAugmentationDeclaration(String name) { """Augmentation '${name}' doesn't match a declaration in the augmented library.""", correctionMessage: """Try changing the name to an existing declaration or removing the 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedAugmentationLibraryMember = const Template< - Message Function(String name) ->( + templateUnmatchedAugmentationLibraryMember = + const Template( "UnmatchedAugmentationLibraryMember", problemMessageTemplate: r"""Augmentation member '#name' doesn't match a member in the augmented library.""", @@ -17199,10 +17775,10 @@ templateUnmatchedAugmentationLibraryMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUnmatchedAugmentationLibraryMember = + codeUnmatchedAugmentationLibraryMember = const Code( - "UnmatchedAugmentationLibraryMember", - ); + "UnmatchedAugmentationLibraryMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedAugmentationLibraryMember(String name) { @@ -17214,13 +17790,15 @@ Message _withArgumentsUnmatchedAugmentationLibraryMember(String name) { """Augmentation member '${name}' doesn't match a member in the augmented library.""", correctionMessage: """Try changing the name to an existing member or removing the 'augment' modifier.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateUnmatchedPatchClass = const Template( +const Template templateUnmatchedPatchClass = + const Template( "UnmatchedPatchClass", problemMessageTemplate: r"""Patch class '#name' doesn't match a class in the origin library.""", @@ -17231,7 +17809,9 @@ templateUnmatchedPatchClass = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedPatchClass = - const Code("UnmatchedPatchClass"); + const Code( + "UnmatchedPatchClass", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedPatchClass(String name) { @@ -17243,15 +17823,16 @@ Message _withArgumentsUnmatchedPatchClass(String name) { """Patch class '${name}' doesn't match a class in the origin library.""", correctionMessage: """Try changing the name to an existing class or removing the '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedPatchClassMember = const Template< - Message Function(String name) ->( + templateUnmatchedPatchClassMember = + const Template( "UnmatchedPatchClassMember", problemMessageTemplate: r"""Patch member '#name' doesn't match a member in the origin class.""", @@ -17262,7 +17843,9 @@ templateUnmatchedPatchClassMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedPatchClassMember = - const Code("UnmatchedPatchClassMember"); + const Code( + "UnmatchedPatchClassMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedPatchClassMember(String name) { @@ -17274,15 +17857,16 @@ Message _withArgumentsUnmatchedPatchClassMember(String name) { """Patch member '${name}' doesn't match a member in the origin class.""", correctionMessage: """Try changing the name to an existing member or removing the '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedPatchConstructor = const Template< - Message Function(String name) ->( + templateUnmatchedPatchConstructor = + const Template( "UnmatchedPatchConstructor", problemMessageTemplate: r"""Patch constructor '#name' doesn't match a constructor in the origin class.""", @@ -17293,7 +17877,9 @@ templateUnmatchedPatchConstructor = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedPatchConstructor = - const Code("UnmatchedPatchConstructor"); + const Code( + "UnmatchedPatchConstructor", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedPatchConstructor(String name) { @@ -17305,15 +17891,16 @@ Message _withArgumentsUnmatchedPatchConstructor(String name) { """Patch constructor '${name}' doesn't match a constructor in the origin class.""", correctionMessage: """Try changing the name to an existing constructor or removing the '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedPatchDeclaration = const Template< - Message Function(String name) ->( + templateUnmatchedPatchDeclaration = + const Template( "UnmatchedPatchDeclaration", problemMessageTemplate: r"""Patch '#name' doesn't match a declaration in the origin library.""", @@ -17324,7 +17911,9 @@ templateUnmatchedPatchDeclaration = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedPatchDeclaration = - const Code("UnmatchedPatchDeclaration"); + const Code( + "UnmatchedPatchDeclaration", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedPatchDeclaration(String name) { @@ -17336,15 +17925,16 @@ Message _withArgumentsUnmatchedPatchDeclaration(String name) { """Patch '${name}' doesn't match a declaration in the origin library.""", correctionMessage: """Try changing the name to an existing declaration or removing the '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedPatchLibraryMember = const Template< - Message Function(String name) ->( + templateUnmatchedPatchLibraryMember = + const Template( "UnmatchedPatchLibraryMember", problemMessageTemplate: r"""Patch member '#name' doesn't match a member in the origin library.""", @@ -17355,7 +17945,9 @@ templateUnmatchedPatchLibraryMember = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedPatchLibraryMember = - const Code("UnmatchedPatchLibraryMember"); + const Code( + "UnmatchedPatchLibraryMember", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedPatchLibraryMember(String name) { @@ -17367,25 +17959,27 @@ Message _withArgumentsUnmatchedPatchLibraryMember(String name) { """Patch member '${name}' doesn't match a member in the origin library.""", correctionMessage: """Try changing the name to an existing member or removing the '@patch' annotation.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnmatchedToken = + templateUnmatchedToken = const Template( - "UnmatchedToken", - problemMessageTemplate: r"""Can't find '#string' to match '#lexeme'.""", - withArguments: _withArgumentsUnmatchedToken, - ); + "UnmatchedToken", + problemMessageTemplate: r"""Can't find '#string' to match '#lexeme'.""", + withArguments: _withArgumentsUnmatchedToken, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnmatchedToken = const Code( - "UnmatchedToken", - analyzerCodes: ["EXPECTED_TOKEN"], - ); + "UnmatchedToken", + analyzerCodes: ["EXPECTED_TOKEN"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnmatchedToken(String string, Token token) { @@ -17394,7 +17988,10 @@ Message _withArgumentsUnmatchedToken(String string, Token token) { return new Message( codeUnmatchedToken, problemMessage: """Can't find '${string}' to match '${lexeme}'.""", - arguments: {'string': string, 'lexeme': token}, + arguments: { + 'string': string, + 'lexeme': token, + }, ); } @@ -17412,9 +18009,8 @@ const MessageCode messageUnnamedObjectPatternField = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnresolvedPrefixInTypeAnnotation = const Template< - Message Function(String name, String name2) ->( + templateUnresolvedPrefixInTypeAnnotation = + const Template( "UnresolvedPrefixInTypeAnnotation", problemMessageTemplate: r"""'#name.#name2' can't be used as a type because '#name' isn't defined.""", @@ -17423,17 +18019,15 @@ templateUnresolvedPrefixInTypeAnnotation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUnresolvedPrefixInTypeAnnotation = + codeUnresolvedPrefixInTypeAnnotation = const Code( - "UnresolvedPrefixInTypeAnnotation", - analyzerCodes: ["NOT_A_TYPE"], - ); + "UnresolvedPrefixInTypeAnnotation", + analyzerCodes: ["NOT_A_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnresolvedPrefixInTypeAnnotation( - String name, - String name2, -) { + String name, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -17442,7 +18036,10 @@ Message _withArgumentsUnresolvedPrefixInTypeAnnotation( codeUnresolvedPrefixInTypeAnnotation, problemMessage: """'${name}.${name2}' can't be used as a type because '${name}' isn't defined.""", - arguments: {'name': name, 'name2': name2}, + arguments: { + 'name': name, + 'name2': name2, + }, ); } @@ -17471,14 +18068,16 @@ const MessageCode messageUnsoundSwitchStatementError = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateUnspecified = const Template( - "Unspecified", - problemMessageTemplate: r"""#string""", - withArguments: _withArgumentsUnspecified, - ); + "Unspecified", + problemMessageTemplate: r"""#string""", + withArguments: _withArgumentsUnspecified, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnspecified = - const Code("Unspecified"); + const Code( + "Unspecified", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnspecified(String string) { @@ -17486,7 +18085,9 @@ Message _withArgumentsUnspecified(String string) { return new Message( codeUnspecified, problemMessage: """${string}""", - arguments: {'string': string}, + arguments: { + 'string': string, + }, ); } @@ -17495,8 +18096,8 @@ const Code codeUnspecifiedGetterNameInObjectPattern = messageUnspecifiedGetterNameInObjectPattern; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageUnspecifiedGetterNameInObjectPattern = const MessageCode( +const MessageCode messageUnspecifiedGetterNameInObjectPattern = + const MessageCode( "UnspecifiedGetterNameInObjectPattern", analyzerCodes: ["MISSING_OBJECT_PATTERN_GETTER_NAME"], problemMessage: @@ -17527,17 +18128,17 @@ const MessageCode messageUnsupportedMacroApplication = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateUnsupportedOperator = const Template( - "UnsupportedOperator", - problemMessageTemplate: r"""The '#lexeme' operator is not supported.""", - withArguments: _withArgumentsUnsupportedOperator, - ); + "UnsupportedOperator", + problemMessageTemplate: r"""The '#lexeme' operator is not supported.""", + withArguments: _withArgumentsUnsupportedOperator, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUnsupportedOperator = const Code( - "UnsupportedOperator", - analyzerCodes: ["UNSUPPORTED_OPERATOR"], - ); + "UnsupportedOperator", + analyzerCodes: ["UNSUPPORTED_OPERATOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnsupportedOperator(Token token) { @@ -17545,7 +18146,9 @@ Message _withArgumentsUnsupportedOperator(Token token) { return new Message( codeUnsupportedOperator, problemMessage: """The '${lexeme}' operator is not supported.""", - arguments: {'lexeme': token}, + arguments: { + 'lexeme': token, + }, ); } @@ -17572,21 +18175,21 @@ const MessageCode messageUnterminatedComment = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUnterminatedString = + templateUnterminatedString = const Template( - "UnterminatedString", - problemMessageTemplate: - r"""String starting with #string must end with #string2.""", - withArguments: _withArgumentsUnterminatedString, - ); + "UnterminatedString", + problemMessageTemplate: + r"""String starting with #string must end with #string2.""", + withArguments: _withArgumentsUnterminatedString, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUnterminatedString = + codeUnterminatedString = const Code( - "UnterminatedString", - analyzerCodes: ["UNTERMINATED_STRING_LITERAL"], - ); + "UnterminatedString", + analyzerCodes: ["UNTERMINATED_STRING_LITERAL"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUnterminatedString(String string, String string2) { @@ -17596,7 +18199,10 @@ Message _withArgumentsUnterminatedString(String string, String string2) { codeUnterminatedString, problemMessage: """String starting with ${string} must end with ${string2}.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } @@ -17612,17 +18218,17 @@ const MessageCode messageUnterminatedToken = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template templateUntranslatableUri = const Template( - "UntranslatableUri", - problemMessageTemplate: r"""Not found: '#uri'""", - withArguments: _withArgumentsUntranslatableUri, - ); + "UntranslatableUri", + problemMessageTemplate: r"""Not found: '#uri'""", + withArguments: _withArgumentsUntranslatableUri, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUntranslatableUri = const Code( - "UntranslatableUri", - analyzerCodes: ["URI_DOES_NOT_EXIST"], - ); + "UntranslatableUri", + analyzerCodes: ["URI_DOES_NOT_EXIST"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUntranslatableUri(Uri uri_) { @@ -17630,26 +18236,28 @@ Message _withArgumentsUntranslatableUri(Uri uri_) { return new Message( codeUntranslatableUri, problemMessage: """Not found: '${uri}'""", - arguments: {'uri': uri_}, + arguments: { + 'uri': uri_, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateValueForRequiredParameterNotProvidedError = + templateValueForRequiredParameterNotProvidedError = const Template( - "ValueForRequiredParameterNotProvidedError", - problemMessageTemplate: - r"""Required named parameter '#name' must be provided.""", - withArguments: _withArgumentsValueForRequiredParameterNotProvidedError, - ); + "ValueForRequiredParameterNotProvidedError", + problemMessageTemplate: + r"""Required named parameter '#name' must be provided.""", + withArguments: _withArgumentsValueForRequiredParameterNotProvidedError, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeValueForRequiredParameterNotProvidedError = + codeValueForRequiredParameterNotProvidedError = const Code( - "ValueForRequiredParameterNotProvidedError", - ); + "ValueForRequiredParameterNotProvidedError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsValueForRequiredParameterNotProvidedError(String name) { @@ -17658,7 +18266,9 @@ Message _withArgumentsValueForRequiredParameterNotProvidedError(String name) { return new Message( codeValueForRequiredParameterNotProvidedError, problemMessage: """Required named parameter '${name}' must be provided.""", - arguments: {'name': name}, + arguments: { + 'name': name, + }, ); } @@ -17686,9 +18296,8 @@ const MessageCode messageVarReturnType = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateVariableCouldBeNullDueToWrite = const Template< - Message Function(String name, String string) ->( + templateVariableCouldBeNullDueToWrite = + const Template( "VariableCouldBeNullDueToWrite", problemMessageTemplate: r"""Variable '#name' could not be promoted due to an assignment.""", @@ -17699,16 +18308,14 @@ templateVariableCouldBeNullDueToWrite = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeVariableCouldBeNullDueToWrite = + codeVariableCouldBeNullDueToWrite = const Code( - "VariableCouldBeNullDueToWrite", - ); + "VariableCouldBeNullDueToWrite", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsVariableCouldBeNullDueToWrite( - String name, - String string, -) { + String name, String string) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (string.isEmpty) throw 'No string provided'; @@ -17718,7 +18325,10 @@ Message _withArgumentsVariableCouldBeNullDueToWrite( """Variable '${name}' could not be promoted due to an assignment.""", correctionMessage: """Try null checking the variable after the assignment. See ${string}""", - arguments: {'name': name, 'string': string}, + arguments: { + 'name': name, + 'string': string, + }, ); } @@ -17727,8 +18337,8 @@ const Code codeVariablePatternKeywordInDeclarationContext = messageVariablePatternKeywordInDeclarationContext; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageVariablePatternKeywordInDeclarationContext = const MessageCode( +const MessageCode messageVariablePatternKeywordInDeclarationContext = + const MessageCode( "VariablePatternKeywordInDeclarationContext", index: 149, problemMessage: @@ -17787,10 +18397,10 @@ const Code codeWeakReferenceMismatchReturnAndArgumentTypes = // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageWeakReferenceMismatchReturnAndArgumentTypes = const MessageCode( - "WeakReferenceMismatchReturnAndArgumentTypes", - problemMessage: - r"""Return and argument types of a weak reference should match.""", - ); + "WeakReferenceMismatchReturnAndArgumentTypes", + problemMessage: + r"""Return and argument types of a weak reference should match.""", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeWeakReferenceNotOneArgument = @@ -17839,8 +18449,8 @@ const Code codeWeakReferenceTargetNotStaticTearoff = messageWeakReferenceTargetNotStaticTearoff; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const MessageCode -messageWeakReferenceTargetNotStaticTearoff = const MessageCode( +const MessageCode messageWeakReferenceTargetNotStaticTearoff = + const MessageCode( "WeakReferenceTargetNotStaticTearoff", problemMessage: r"""The target of weak reference should be a tearoff of a static method.""", @@ -17859,9 +18469,8 @@ const MessageCode messageWeakWithStrongDillLibrary = const MessageCode( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateWebLiteralCannotBeRepresentedExactly = const Template< - Message Function(String string, String string2) ->( + templateWebLiteralCannotBeRepresentedExactly = + const Template( "WebLiteralCannotBeRepresentedExactly", problemMessageTemplate: r"""The integer literal #string can't be represented exactly in JavaScript.""", @@ -17872,16 +18481,14 @@ templateWebLiteralCannotBeRepresentedExactly = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeWebLiteralCannotBeRepresentedExactly = + codeWebLiteralCannotBeRepresentedExactly = const Code( - "WebLiteralCannotBeRepresentedExactly", - ); + "WebLiteralCannotBeRepresentedExactly", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsWebLiteralCannotBeRepresentedExactly( - String string, - String string2, -) { + String string, String string2) { if (string.isEmpty) throw 'No string provided'; if (string2.isEmpty) throw 'No string provided'; return new Message( @@ -17890,7 +18497,10 @@ Message _withArgumentsWebLiteralCannotBeRepresentedExactly( """The integer literal ${string} can't be represented exactly in JavaScript.""", correctionMessage: """Try changing the literal to something that can be represented in JavaScript. In JavaScript ${string2} is the nearest value that can be represented exactly.""", - arguments: {'string': string, 'string2': string2}, + arguments: { + 'string': string, + 'string2': string2, + }, ); } diff --git a/pkg/_fe_analyzer_shared/lib/src/metadata/proto.dart b/pkg/_fe_analyzer_shared/lib/src/metadata/proto.dart index 28dd5379b98..126d1fb836b 100644 --- a/pkg/_fe_analyzer_shared/lib/src/metadata/proto.dart +++ b/pkg/_fe_analyzer_shared/lib/src/metadata/proto.dart @@ -721,7 +721,7 @@ class GenericMixinProto extends Proto { @override Proto? resolve() { List? newTypeArguments = - typeArguments.resolve((a) => a.resolve()); + typeArguments.resolve((a) => a.resolve()); return newTypeArguments == null ? null : new GenericMixinProto(reference, scope, newTypeArguments); diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/util.dart b/pkg/_fe_analyzer_shared/lib/src/parser/util.dart index 2e074481378..0ee9a6b691f 100644 --- a/pkg/_fe_analyzer_shared/lib/src/parser/util.dart +++ b/pkg/_fe_analyzer_shared/lib/src/parser/util.dart @@ -283,4 +283,4 @@ double doubleFromToken(Token token, {required bool hasSeparators}) { text = stripSeparators(text); } return double.parse(text); -} \ No newline at end of file +} diff --git a/pkg/front_end/benchmarks/patterns/generate_datatypes.dart b/pkg/front_end/benchmarks/patterns/generate_datatypes.dart index b161a3e210c..3439103991a 100644 --- a/pkg/front_end/benchmarks/patterns/generate_datatypes.dart +++ b/pkg/front_end/benchmarks/patterns/generate_datatypes.dart @@ -79,9 +79,9 @@ List tests = ['''); ]; '''); - String result = - new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) - .format(sb.toString()); + String result = new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) + .format(sb.toString()); new File.fromUri(fileUri).writeAsStringSync(result); } @@ -218,8 +218,8 @@ class CounterVisitor$size implements Visitor$size { } '''); - String result = - new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) - .format(sb.toString()); + String result = new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) + .format(sb.toString()); new File.fromUri(fileUri).writeAsStringSync(result); } diff --git a/pkg/front_end/benchmarks/patterns/util.dart b/pkg/front_end/benchmarks/patterns/util.dart index 8d49004aca1..c9d3ed22fca 100644 --- a/pkg/front_end/benchmarks/patterns/util.dart +++ b/pkg/front_end/benchmarks/patterns/util.dart @@ -242,7 +242,7 @@ class SeriesSet { } sb.write(']);'); return new DartFormatter( - languageVersion: DartFormatter.latestLanguageVersion) + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format(sb.toString()); } } diff --git a/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart b/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart index 68fa6d52765..8dede5b8848 100644 --- a/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart +++ b/pkg/front_end/lib/src/api_prototype/experimental_flags_generated.dart @@ -43,365 +43,325 @@ class ExperimentalFlag { /// sdk/lib/_internal/allowed_experiments.json final Version experimentReleasedVersion; - const ExperimentalFlag({ - required this.name, - required this.isEnabledByDefault, - required this.isExpired, - required this.enabledVersion, - required this.experimentEnabledVersion, - required this.experimentReleasedVersion, - }); + const ExperimentalFlag( + {required this.name, + required this.isEnabledByDefault, + required this.isExpired, + required this.enabledVersion, + required this.experimentEnabledVersion, + required this.experimentReleasedVersion}); static const ExperimentalFlag alternativeInvalidationStrategy = const ExperimentalFlag( - name: 'alternative-invalidation-strategy', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 18), - experimentEnabledVersion: const Version(2, 18), - experimentReleasedVersion: const Version(2, 18), - ); + name: 'alternative-invalidation-strategy', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 18), + experimentEnabledVersion: const Version(2, 18), + experimentReleasedVersion: const Version(2, 18)); static const ExperimentalFlag augmentations = const ExperimentalFlag( - name: 'augmentations', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 6), - ); + name: 'augmentations', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 6)); static const ExperimentalFlag classModifiers = const ExperimentalFlag( - name: 'class-modifiers', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 0), - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ); + name: 'class-modifiers', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 0), + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)); static const ExperimentalFlag constFunctions = const ExperimentalFlag( - name: 'const-functions', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'const-functions', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag constantUpdate2018 = const ExperimentalFlag( - name: 'constant-update-2018', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 0), - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ); + name: 'constant-update-2018', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 0), + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)); static const ExperimentalFlag constructorTearoffs = const ExperimentalFlag( - name: 'constructor-tearoffs', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 15), - experimentEnabledVersion: const Version(2, 15), - experimentReleasedVersion: const Version(2, 15), - ); + name: 'constructor-tearoffs', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 15), + experimentEnabledVersion: const Version(2, 15), + experimentReleasedVersion: const Version(2, 15)); static const ExperimentalFlag controlFlowCollections = const ExperimentalFlag( - name: 'control-flow-collections', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 0), - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ); + name: 'control-flow-collections', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 0), + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)); static const ExperimentalFlag digitSeparators = const ExperimentalFlag( - name: 'digit-separators', - isEnabledByDefault: true, - isExpired: false, - enabledVersion: const Version(3, 6), - experimentEnabledVersion: const Version(3, 6), - experimentReleasedVersion: const Version(3, 6), - ); + name: 'digit-separators', + isEnabledByDefault: true, + isExpired: false, + enabledVersion: const Version(3, 6), + experimentEnabledVersion: const Version(3, 6), + experimentReleasedVersion: const Version(3, 6)); static const ExperimentalFlag enhancedEnums = const ExperimentalFlag( - name: 'enhanced-enums', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 17), - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ); + name: 'enhanced-enums', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 17), + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)); static const ExperimentalFlag enhancedParts = const ExperimentalFlag( - name: 'enhanced-parts', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 6), - ); + name: 'enhanced-parts', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 6)); static const ExperimentalFlag enumShorthands = const ExperimentalFlag( - name: 'enum-shorthands', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'enum-shorthands', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag extensionMethods = const ExperimentalFlag( - name: 'extension-methods', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 6), - experimentEnabledVersion: const Version(2, 6), - experimentReleasedVersion: const Version(2, 6), - ); + name: 'extension-methods', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 6), + experimentEnabledVersion: const Version(2, 6), + experimentReleasedVersion: const Version(2, 6)); static const ExperimentalFlag genericMetadata = const ExperimentalFlag( - name: 'generic-metadata', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 14), - experimentEnabledVersion: const Version(2, 14), - experimentReleasedVersion: const Version(2, 14), - ); + name: 'generic-metadata', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 14), + experimentEnabledVersion: const Version(2, 14), + experimentReleasedVersion: const Version(2, 14)); static const ExperimentalFlag getterSetterError = const ExperimentalFlag( - name: 'getter-setter-error', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'getter-setter-error', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag inferenceUpdate1 = const ExperimentalFlag( - name: 'inference-update-1', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 18), - experimentEnabledVersion: const Version(2, 18), - experimentReleasedVersion: const Version(2, 18), - ); + name: 'inference-update-1', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 18), + experimentEnabledVersion: const Version(2, 18), + experimentReleasedVersion: const Version(2, 18)); static const ExperimentalFlag inferenceUpdate2 = const ExperimentalFlag( - name: 'inference-update-2', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 2), - experimentEnabledVersion: const Version(3, 2), - experimentReleasedVersion: const Version(3, 2), - ); + name: 'inference-update-2', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 2), + experimentEnabledVersion: const Version(3, 2), + experimentReleasedVersion: const Version(3, 2)); static const ExperimentalFlag inferenceUpdate3 = const ExperimentalFlag( - name: 'inference-update-3', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 4), - experimentEnabledVersion: const Version(3, 4), - experimentReleasedVersion: const Version(3, 4), - ); + name: 'inference-update-3', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 4), + experimentEnabledVersion: const Version(3, 4), + experimentReleasedVersion: const Version(3, 4)); static const ExperimentalFlag inferenceUpdate4 = const ExperimentalFlag( - name: 'inference-update-4', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'inference-update-4', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag inferenceUsingBounds = const ExperimentalFlag( - name: 'inference-using-bounds', - isEnabledByDefault: true, - isExpired: false, - enabledVersion: const Version(3, 7), - experimentEnabledVersion: const Version(3, 7), - experimentReleasedVersion: const Version(3, 7), - ); + name: 'inference-using-bounds', + isEnabledByDefault: true, + isExpired: false, + enabledVersion: const Version(3, 7), + experimentEnabledVersion: const Version(3, 7), + experimentReleasedVersion: const Version(3, 7)); static const ExperimentalFlag inlineClass = const ExperimentalFlag( - name: 'inline-class', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 3), - experimentEnabledVersion: const Version(3, 3), - experimentReleasedVersion: const Version(3, 3), - ); + name: 'inline-class', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 3), + experimentEnabledVersion: const Version(3, 3), + experimentReleasedVersion: const Version(3, 3)); static const ExperimentalFlag macros = const ExperimentalFlag( - name: 'macros', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: const Version(3, 3), - ); + name: 'macros', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: const Version(3, 3)); static const ExperimentalFlag namedArgumentsAnywhere = const ExperimentalFlag( - name: 'named-arguments-anywhere', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 17), - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ); + name: 'named-arguments-anywhere', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 17), + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)); static const ExperimentalFlag nativeAssets = const ExperimentalFlag( - name: 'native-assets', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'native-assets', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag nonNullable = const ExperimentalFlag( - name: 'non-nullable', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 12), - experimentEnabledVersion: const Version(2, 12), - experimentReleasedVersion: const Version(2, 10), - ); + name: 'non-nullable', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 12), + experimentEnabledVersion: const Version(2, 12), + experimentReleasedVersion: const Version(2, 10)); static const ExperimentalFlag nonfunctionTypeAliases = const ExperimentalFlag( - name: 'nonfunction-type-aliases', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 13), - experimentEnabledVersion: const Version(2, 13), - experimentReleasedVersion: const Version(2, 13), - ); + name: 'nonfunction-type-aliases', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 13), + experimentEnabledVersion: const Version(2, 13), + experimentReleasedVersion: const Version(2, 13)); static const ExperimentalFlag nullAwareElements = const ExperimentalFlag( - name: 'null-aware-elements', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'null-aware-elements', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag patterns = const ExperimentalFlag( - name: 'patterns', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 0), - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ); + name: 'patterns', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 0), + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)); static const ExperimentalFlag recordUse = const ExperimentalFlag( - name: 'record-use', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'record-use', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag records = const ExperimentalFlag( - name: 'records', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 0), - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ); + name: 'records', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 0), + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)); static const ExperimentalFlag sealedClass = const ExperimentalFlag( - name: 'sealed-class', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(3, 0), - experimentEnabledVersion: const Version(3, 0), - experimentReleasedVersion: const Version(3, 0), - ); + name: 'sealed-class', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(3, 0), + experimentEnabledVersion: const Version(3, 0), + experimentReleasedVersion: const Version(3, 0)); static const ExperimentalFlag setLiterals = const ExperimentalFlag( - name: 'set-literals', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 0), - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ); + name: 'set-literals', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 0), + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)); static const ExperimentalFlag spreadCollections = const ExperimentalFlag( - name: 'spread-collections', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 0), - experimentEnabledVersion: const Version(2, 0), - experimentReleasedVersion: const Version(2, 0), - ); + name: 'spread-collections', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 0), + experimentEnabledVersion: const Version(2, 0), + experimentReleasedVersion: const Version(2, 0)); static const ExperimentalFlag superParameters = const ExperimentalFlag( - name: 'super-parameters', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 17), - experimentEnabledVersion: const Version(2, 17), - experimentReleasedVersion: const Version(2, 17), - ); + name: 'super-parameters', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 17), + experimentEnabledVersion: const Version(2, 17), + experimentReleasedVersion: const Version(2, 17)); static const ExperimentalFlag testExperiment = const ExperimentalFlag( - name: 'test-experiment', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'test-experiment', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag tripleShift = const ExperimentalFlag( - name: 'triple-shift', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 14), - experimentEnabledVersion: const Version(2, 14), - experimentReleasedVersion: const Version(2, 14), - ); + name: 'triple-shift', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 14), + experimentEnabledVersion: const Version(2, 14), + experimentReleasedVersion: const Version(2, 14)); static const ExperimentalFlag unnamedLibraries = const ExperimentalFlag( - name: 'unnamed-libraries', - isEnabledByDefault: true, - isExpired: true, - enabledVersion: const Version(2, 19), - experimentEnabledVersion: const Version(2, 19), - experimentReleasedVersion: const Version(2, 19), - ); + name: 'unnamed-libraries', + isEnabledByDefault: true, + isExpired: true, + enabledVersion: const Version(2, 19), + experimentEnabledVersion: const Version(2, 19), + experimentReleasedVersion: const Version(2, 19)); static const ExperimentalFlag unquotedImports = const ExperimentalFlag( - name: 'unquoted-imports', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'unquoted-imports', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag variance = const ExperimentalFlag( - name: 'variance', - isEnabledByDefault: false, - isExpired: false, - enabledVersion: defaultLanguageVersion, - experimentEnabledVersion: defaultLanguageVersion, - experimentReleasedVersion: defaultLanguageVersion, - ); + name: 'variance', + isEnabledByDefault: false, + isExpired: false, + enabledVersion: defaultLanguageVersion, + experimentEnabledVersion: defaultLanguageVersion, + experimentReleasedVersion: defaultLanguageVersion); static const ExperimentalFlag wildcardVariables = const ExperimentalFlag( - name: 'wildcard-variables', - isEnabledByDefault: true, - isExpired: false, - enabledVersion: const Version(3, 7), - experimentEnabledVersion: const Version(3, 7), - experimentReleasedVersion: const Version(3, 7), - ); + name: 'wildcard-variables', + isEnabledByDefault: true, + isExpired: false, + enabledVersion: const Version(3, 7), + experimentEnabledVersion: const Version(3, 7), + experimentReleasedVersion: const Version(3, 7)); } /// Interface for accessing the global state of experimental features. @@ -412,105 +372,75 @@ class GlobalFeatures { final Map? experimentEnabledVersionForTesting; final Map? experimentReleasedVersionForTesting; - GlobalFeatures( - this.explicitExperimentalFlags, { - this.allowedExperimentalFlags, - this.defaultExperimentFlagsForTesting, - this.experimentEnabledVersionForTesting, - this.experimentReleasedVersionForTesting, - }); + GlobalFeatures(this.explicitExperimentalFlags, + {this.allowedExperimentalFlags, + this.defaultExperimentFlagsForTesting, + this.experimentEnabledVersionForTesting, + this.experimentReleasedVersionForTesting}); GlobalFeature _computeGlobalFeature(ExperimentalFlag flag) { return new GlobalFeature( - flag, - isExperimentEnabled( flag, - defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, - explicitExperimentalFlags: explicitExperimentalFlags, - ), - ); + isExperimentEnabled(flag, + defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, + explicitExperimentalFlags: explicitExperimentalFlags)); } LibraryFeature _computeLibraryFeature( - ExperimentalFlag flag, - Uri canonicalUri, - Version libraryVersion, - ) { + ExperimentalFlag flag, Uri canonicalUri, Version libraryVersion) { return new LibraryFeature( - flag, - isExperimentEnabledInLibrary( flag, - canonicalUri, - defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, - explicitExperimentalFlags: explicitExperimentalFlags, - allowedExperimentalFlags: allowedExperimentalFlags, - ), - getExperimentEnabledVersionInLibrary( - flag, - canonicalUri, - explicitExperimentalFlags, - allowedExperimentalFlags: allowedExperimentalFlags, - defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, - experimentEnabledVersionForTesting: experimentEnabledVersionForTesting, - experimentReleasedVersionForTesting: - experimentReleasedVersionForTesting, - ), - isExperimentEnabledInLibraryByVersion( - flag, - canonicalUri, - libraryVersion, - defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, - explicitExperimentalFlags: explicitExperimentalFlags, - allowedExperimentalFlags: allowedExperimentalFlags, - ), - ); + isExperimentEnabledInLibrary(flag, canonicalUri, + defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, + explicitExperimentalFlags: explicitExperimentalFlags, + allowedExperimentalFlags: allowedExperimentalFlags), + getExperimentEnabledVersionInLibrary( + flag, canonicalUri, explicitExperimentalFlags, + allowedExperimentalFlags: allowedExperimentalFlags, + defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, + experimentEnabledVersionForTesting: + experimentEnabledVersionForTesting, + experimentReleasedVersionForTesting: + experimentReleasedVersionForTesting), + isExperimentEnabledInLibraryByVersion( + flag, canonicalUri, libraryVersion, + defaultExperimentFlagsForTesting: defaultExperimentFlagsForTesting, + explicitExperimentalFlags: explicitExperimentalFlags, + allowedExperimentalFlags: allowedExperimentalFlags)); } GlobalFeature? _alternativeInvalidationStrategy; GlobalFeature get alternativeInvalidationStrategy => _alternativeInvalidationStrategy ??= _computeGlobalFeature( - ExperimentalFlag.alternativeInvalidationStrategy, - ); + ExperimentalFlag.alternativeInvalidationStrategy); GlobalFeature? _augmentations; GlobalFeature get augmentations => _augmentations ??= _computeGlobalFeature(ExperimentalFlag.augmentations); GlobalFeature? _classModifiers; - GlobalFeature get classModifiers => - _classModifiers ??= _computeGlobalFeature( - ExperimentalFlag.classModifiers, - ); + GlobalFeature get classModifiers => _classModifiers ??= + _computeGlobalFeature(ExperimentalFlag.classModifiers); GlobalFeature? _constFunctions; - GlobalFeature get constFunctions => - _constFunctions ??= _computeGlobalFeature( - ExperimentalFlag.constFunctions, - ); + GlobalFeature get constFunctions => _constFunctions ??= + _computeGlobalFeature(ExperimentalFlag.constFunctions); GlobalFeature? _constantUpdate2018; - GlobalFeature get constantUpdate2018 => - _constantUpdate2018 ??= _computeGlobalFeature( - ExperimentalFlag.constantUpdate2018, - ); + GlobalFeature get constantUpdate2018 => _constantUpdate2018 ??= + _computeGlobalFeature(ExperimentalFlag.constantUpdate2018); GlobalFeature? _constructorTearoffs; - GlobalFeature get constructorTearoffs => - _constructorTearoffs ??= _computeGlobalFeature( - ExperimentalFlag.constructorTearoffs, - ); + GlobalFeature get constructorTearoffs => _constructorTearoffs ??= + _computeGlobalFeature(ExperimentalFlag.constructorTearoffs); GlobalFeature? _controlFlowCollections; - GlobalFeature get controlFlowCollections => - _controlFlowCollections ??= _computeGlobalFeature( - ExperimentalFlag.controlFlowCollections, - ); + GlobalFeature get controlFlowCollections => _controlFlowCollections ??= + _computeGlobalFeature(ExperimentalFlag.controlFlowCollections); GlobalFeature? _digitSeparators; - GlobalFeature get digitSeparators => - _digitSeparators ??= _computeGlobalFeature( - ExperimentalFlag.digitSeparators, - ); + GlobalFeature get digitSeparators => _digitSeparators ??= + _computeGlobalFeature(ExperimentalFlag.digitSeparators); GlobalFeature? _enhancedEnums; GlobalFeature get enhancedEnums => @@ -521,58 +451,40 @@ class GlobalFeatures { _enhancedParts ??= _computeGlobalFeature(ExperimentalFlag.enhancedParts); GlobalFeature? _enumShorthands; - GlobalFeature get enumShorthands => - _enumShorthands ??= _computeGlobalFeature( - ExperimentalFlag.enumShorthands, - ); + GlobalFeature get enumShorthands => _enumShorthands ??= + _computeGlobalFeature(ExperimentalFlag.enumShorthands); GlobalFeature? _extensionMethods; - GlobalFeature get extensionMethods => - _extensionMethods ??= _computeGlobalFeature( - ExperimentalFlag.extensionMethods, - ); + GlobalFeature get extensionMethods => _extensionMethods ??= + _computeGlobalFeature(ExperimentalFlag.extensionMethods); GlobalFeature? _genericMetadata; - GlobalFeature get genericMetadata => - _genericMetadata ??= _computeGlobalFeature( - ExperimentalFlag.genericMetadata, - ); + GlobalFeature get genericMetadata => _genericMetadata ??= + _computeGlobalFeature(ExperimentalFlag.genericMetadata); GlobalFeature? _getterSetterError; - GlobalFeature get getterSetterError => - _getterSetterError ??= _computeGlobalFeature( - ExperimentalFlag.getterSetterError, - ); + GlobalFeature get getterSetterError => _getterSetterError ??= + _computeGlobalFeature(ExperimentalFlag.getterSetterError); GlobalFeature? _inferenceUpdate1; - GlobalFeature get inferenceUpdate1 => - _inferenceUpdate1 ??= _computeGlobalFeature( - ExperimentalFlag.inferenceUpdate1, - ); + GlobalFeature get inferenceUpdate1 => _inferenceUpdate1 ??= + _computeGlobalFeature(ExperimentalFlag.inferenceUpdate1); GlobalFeature? _inferenceUpdate2; - GlobalFeature get inferenceUpdate2 => - _inferenceUpdate2 ??= _computeGlobalFeature( - ExperimentalFlag.inferenceUpdate2, - ); + GlobalFeature get inferenceUpdate2 => _inferenceUpdate2 ??= + _computeGlobalFeature(ExperimentalFlag.inferenceUpdate2); GlobalFeature? _inferenceUpdate3; - GlobalFeature get inferenceUpdate3 => - _inferenceUpdate3 ??= _computeGlobalFeature( - ExperimentalFlag.inferenceUpdate3, - ); + GlobalFeature get inferenceUpdate3 => _inferenceUpdate3 ??= + _computeGlobalFeature(ExperimentalFlag.inferenceUpdate3); GlobalFeature? _inferenceUpdate4; - GlobalFeature get inferenceUpdate4 => - _inferenceUpdate4 ??= _computeGlobalFeature( - ExperimentalFlag.inferenceUpdate4, - ); + GlobalFeature get inferenceUpdate4 => _inferenceUpdate4 ??= + _computeGlobalFeature(ExperimentalFlag.inferenceUpdate4); GlobalFeature? _inferenceUsingBounds; - GlobalFeature get inferenceUsingBounds => - _inferenceUsingBounds ??= _computeGlobalFeature( - ExperimentalFlag.inferenceUsingBounds, - ); + GlobalFeature get inferenceUsingBounds => _inferenceUsingBounds ??= + _computeGlobalFeature(ExperimentalFlag.inferenceUsingBounds); GlobalFeature? _inlineClass; GlobalFeature get inlineClass => @@ -583,10 +495,8 @@ class GlobalFeatures { _macros ??= _computeGlobalFeature(ExperimentalFlag.macros); GlobalFeature? _namedArgumentsAnywhere; - GlobalFeature get namedArgumentsAnywhere => - _namedArgumentsAnywhere ??= _computeGlobalFeature( - ExperimentalFlag.namedArgumentsAnywhere, - ); + GlobalFeature get namedArgumentsAnywhere => _namedArgumentsAnywhere ??= + _computeGlobalFeature(ExperimentalFlag.namedArgumentsAnywhere); GlobalFeature? _nativeAssets; GlobalFeature get nativeAssets => @@ -597,16 +507,12 @@ class GlobalFeatures { _nonNullable ??= _computeGlobalFeature(ExperimentalFlag.nonNullable); GlobalFeature? _nonfunctionTypeAliases; - GlobalFeature get nonfunctionTypeAliases => - _nonfunctionTypeAliases ??= _computeGlobalFeature( - ExperimentalFlag.nonfunctionTypeAliases, - ); + GlobalFeature get nonfunctionTypeAliases => _nonfunctionTypeAliases ??= + _computeGlobalFeature(ExperimentalFlag.nonfunctionTypeAliases); GlobalFeature? _nullAwareElements; - GlobalFeature get nullAwareElements => - _nullAwareElements ??= _computeGlobalFeature( - ExperimentalFlag.nullAwareElements, - ); + GlobalFeature get nullAwareElements => _nullAwareElements ??= + _computeGlobalFeature(ExperimentalFlag.nullAwareElements); GlobalFeature? _patterns; GlobalFeature get patterns => @@ -629,48 +535,36 @@ class GlobalFeatures { _setLiterals ??= _computeGlobalFeature(ExperimentalFlag.setLiterals); GlobalFeature? _spreadCollections; - GlobalFeature get spreadCollections => - _spreadCollections ??= _computeGlobalFeature( - ExperimentalFlag.spreadCollections, - ); + GlobalFeature get spreadCollections => _spreadCollections ??= + _computeGlobalFeature(ExperimentalFlag.spreadCollections); GlobalFeature? _superParameters; - GlobalFeature get superParameters => - _superParameters ??= _computeGlobalFeature( - ExperimentalFlag.superParameters, - ); + GlobalFeature get superParameters => _superParameters ??= + _computeGlobalFeature(ExperimentalFlag.superParameters); GlobalFeature? _testExperiment; - GlobalFeature get testExperiment => - _testExperiment ??= _computeGlobalFeature( - ExperimentalFlag.testExperiment, - ); + GlobalFeature get testExperiment => _testExperiment ??= + _computeGlobalFeature(ExperimentalFlag.testExperiment); GlobalFeature? _tripleShift; GlobalFeature get tripleShift => _tripleShift ??= _computeGlobalFeature(ExperimentalFlag.tripleShift); GlobalFeature? _unnamedLibraries; - GlobalFeature get unnamedLibraries => - _unnamedLibraries ??= _computeGlobalFeature( - ExperimentalFlag.unnamedLibraries, - ); + GlobalFeature get unnamedLibraries => _unnamedLibraries ??= + _computeGlobalFeature(ExperimentalFlag.unnamedLibraries); GlobalFeature? _unquotedImports; - GlobalFeature get unquotedImports => - _unquotedImports ??= _computeGlobalFeature( - ExperimentalFlag.unquotedImports, - ); + GlobalFeature get unquotedImports => _unquotedImports ??= + _computeGlobalFeature(ExperimentalFlag.unquotedImports); GlobalFeature? _variance; GlobalFeature get variance => _variance ??= _computeGlobalFeature(ExperimentalFlag.variance); GlobalFeature? _wildcardVariables; - GlobalFeature get wildcardVariables => - _wildcardVariables ??= _computeGlobalFeature( - ExperimentalFlag.wildcardVariables, - ); + GlobalFeature get wildcardVariables => _wildcardVariables ??= + _computeGlobalFeature(ExperimentalFlag.wildcardVariables); } /// Interface for accessing the state of experimental features within a @@ -684,321 +578,211 @@ class LibraryFeatures { LibraryFeature? _alternativeInvalidationStrategy; LibraryFeature get alternativeInvalidationStrategy => - _alternativeInvalidationStrategy ??= globalFeatures - ._computeLibraryFeature( - ExperimentalFlag.alternativeInvalidationStrategy, - canonicalUri, - libraryVersion, - ); + _alternativeInvalidationStrategy ??= + globalFeatures._computeLibraryFeature( + ExperimentalFlag.alternativeInvalidationStrategy, + canonicalUri, + libraryVersion); LibraryFeature? _augmentations; LibraryFeature get augmentations => _augmentations ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.augmentations, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.augmentations, canonicalUri, libraryVersion); LibraryFeature? _classModifiers; LibraryFeature get classModifiers => _classModifiers ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.classModifiers, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.classModifiers, canonicalUri, libraryVersion); LibraryFeature? _constFunctions; LibraryFeature get constFunctions => _constFunctions ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.constFunctions, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.constFunctions, canonicalUri, libraryVersion); LibraryFeature? _constantUpdate2018; LibraryFeature get constantUpdate2018 => _constantUpdate2018 ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.constantUpdate2018, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.constantUpdate2018, canonicalUri, libraryVersion); LibraryFeature? _constructorTearoffs; LibraryFeature get constructorTearoffs => _constructorTearoffs ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.constructorTearoffs, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.constructorTearoffs, canonicalUri, libraryVersion); LibraryFeature? _controlFlowCollections; LibraryFeature get controlFlowCollections => _controlFlowCollections ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.controlFlowCollections, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.controlFlowCollections, + canonicalUri, + libraryVersion); LibraryFeature? _digitSeparators; LibraryFeature get digitSeparators => _digitSeparators ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.digitSeparators, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.digitSeparators, canonicalUri, libraryVersion); LibraryFeature? _enhancedEnums; LibraryFeature get enhancedEnums => _enhancedEnums ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.enhancedEnums, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.enhancedEnums, canonicalUri, libraryVersion); LibraryFeature? _enhancedParts; LibraryFeature get enhancedParts => _enhancedParts ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.enhancedParts, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.enhancedParts, canonicalUri, libraryVersion); LibraryFeature? _enumShorthands; LibraryFeature get enumShorthands => _enumShorthands ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.enumShorthands, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.enumShorthands, canonicalUri, libraryVersion); LibraryFeature? _extensionMethods; LibraryFeature get extensionMethods => _extensionMethods ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.extensionMethods, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.extensionMethods, canonicalUri, libraryVersion); LibraryFeature? _genericMetadata; LibraryFeature get genericMetadata => _genericMetadata ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.genericMetadata, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.genericMetadata, canonicalUri, libraryVersion); LibraryFeature? _getterSetterError; LibraryFeature get getterSetterError => _getterSetterError ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.getterSetterError, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.getterSetterError, canonicalUri, libraryVersion); LibraryFeature? _inferenceUpdate1; LibraryFeature get inferenceUpdate1 => _inferenceUpdate1 ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inferenceUpdate1, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inferenceUpdate1, canonicalUri, libraryVersion); LibraryFeature? _inferenceUpdate2; LibraryFeature get inferenceUpdate2 => _inferenceUpdate2 ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inferenceUpdate2, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inferenceUpdate2, canonicalUri, libraryVersion); LibraryFeature? _inferenceUpdate3; LibraryFeature get inferenceUpdate3 => _inferenceUpdate3 ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inferenceUpdate3, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inferenceUpdate3, canonicalUri, libraryVersion); LibraryFeature? _inferenceUpdate4; LibraryFeature get inferenceUpdate4 => _inferenceUpdate4 ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inferenceUpdate4, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inferenceUpdate4, canonicalUri, libraryVersion); LibraryFeature? _inferenceUsingBounds; LibraryFeature get inferenceUsingBounds => _inferenceUsingBounds ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inferenceUsingBounds, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inferenceUsingBounds, canonicalUri, libraryVersion); LibraryFeature? _inlineClass; LibraryFeature get inlineClass => _inlineClass ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.inlineClass, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.inlineClass, canonicalUri, libraryVersion); LibraryFeature? _macros; LibraryFeature get macros => _macros ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.macros, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.macros, canonicalUri, libraryVersion); LibraryFeature? _namedArgumentsAnywhere; LibraryFeature get namedArgumentsAnywhere => _namedArgumentsAnywhere ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.namedArgumentsAnywhere, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.namedArgumentsAnywhere, + canonicalUri, + libraryVersion); LibraryFeature? _nativeAssets; LibraryFeature get nativeAssets => _nativeAssets ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.nativeAssets, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.nativeAssets, canonicalUri, libraryVersion); LibraryFeature? _nonNullable; LibraryFeature get nonNullable => _nonNullable ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.nonNullable, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.nonNullable, canonicalUri, libraryVersion); LibraryFeature? _nonfunctionTypeAliases; LibraryFeature get nonfunctionTypeAliases => _nonfunctionTypeAliases ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.nonfunctionTypeAliases, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.nonfunctionTypeAliases, + canonicalUri, + libraryVersion); LibraryFeature? _nullAwareElements; LibraryFeature get nullAwareElements => _nullAwareElements ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.nullAwareElements, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.nullAwareElements, canonicalUri, libraryVersion); LibraryFeature? _patterns; LibraryFeature get patterns => _patterns ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.patterns, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.patterns, canonicalUri, libraryVersion); LibraryFeature? _recordUse; LibraryFeature get recordUse => _recordUse ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.recordUse, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.recordUse, canonicalUri, libraryVersion); LibraryFeature? _records; LibraryFeature get records => _records ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.records, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.records, canonicalUri, libraryVersion); LibraryFeature? _sealedClass; LibraryFeature get sealedClass => _sealedClass ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.sealedClass, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.sealedClass, canonicalUri, libraryVersion); LibraryFeature? _setLiterals; LibraryFeature get setLiterals => _setLiterals ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.setLiterals, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.setLiterals, canonicalUri, libraryVersion); LibraryFeature? _spreadCollections; LibraryFeature get spreadCollections => _spreadCollections ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.spreadCollections, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.spreadCollections, canonicalUri, libraryVersion); LibraryFeature? _superParameters; LibraryFeature get superParameters => _superParameters ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.superParameters, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.superParameters, canonicalUri, libraryVersion); LibraryFeature? _testExperiment; LibraryFeature get testExperiment => _testExperiment ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.testExperiment, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.testExperiment, canonicalUri, libraryVersion); LibraryFeature? _tripleShift; LibraryFeature get tripleShift => _tripleShift ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.tripleShift, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.tripleShift, canonicalUri, libraryVersion); LibraryFeature? _unnamedLibraries; LibraryFeature get unnamedLibraries => _unnamedLibraries ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.unnamedLibraries, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.unnamedLibraries, canonicalUri, libraryVersion); LibraryFeature? _unquotedImports; LibraryFeature get unquotedImports => _unquotedImports ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.unquotedImports, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.unquotedImports, canonicalUri, libraryVersion); LibraryFeature? _variance; LibraryFeature get variance => _variance ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.variance, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.variance, canonicalUri, libraryVersion); LibraryFeature? _wildcardVariables; LibraryFeature get wildcardVariables => _wildcardVariables ??= globalFeatures._computeLibraryFeature( - ExperimentalFlag.wildcardVariables, - canonicalUri, - libraryVersion, - ); + ExperimentalFlag.wildcardVariables, canonicalUri, libraryVersion); /// Returns the [LibraryFeature] corresponding to [experimentalFlag]. LibraryFeature fromSharedExperimentalFlags( - shared.ExperimentalFlag experimentalFlag, - ) { + shared.ExperimentalFlag experimentalFlag) { switch (experimentalFlag) { case shared.ExperimentalFlag.augmentations: return augmentations; @@ -1236,12 +1020,14 @@ final Map defaultExperimentalFlags = { }; const AllowedExperimentalFlags defaultAllowedExperimentalFlags = const AllowedExperimentalFlags( - sdkDefaultExperiments: {}, - sdkLibraryExperiments: {}, - packageExperiments: { - "json": {ExperimentalFlag.enhancedParts, ExperimentalFlag.macros}, + sdkDefaultExperiments: {}, + sdkLibraryExperiments: {}, + packageExperiments: { + "json": { + ExperimentalFlag.enhancedParts, + ExperimentalFlag.macros, }, - ); + }); const Map sharedExperimentalFlags = { shared.ExperimentalFlag.augmentations: ExperimentalFlag.augmentations, shared.ExperimentalFlag.classModifiers: ExperimentalFlag.classModifiers, diff --git a/pkg/front_end/lib/src/codes/cfe_codes_generated.dart b/pkg/front_end/lib/src/codes/cfe_codes_generated.dart index 36a51916674..6f884025ad6 100644 --- a/pkg/front_end/lib/src/codes/cfe_codes_generated.dart +++ b/pkg/front_end/lib/src/codes/cfe_codes_generated.dart @@ -13,9 +13,8 @@ part of 'cfe_codes.dart'; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAmbiguousExtensionMethod = const Template< - Message Function(String name, DartType _type) ->( + templateAmbiguousExtensionMethod = + const Template( "AmbiguousExtensionMethod", problemMessageTemplate: r"""The method '#name' is defined in multiple extensions for '#type' and neither is more specific.""", @@ -26,10 +25,10 @@ templateAmbiguousExtensionMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeAmbiguousExtensionMethod = + codeAmbiguousExtensionMethod = const Code( - "AmbiguousExtensionMethod", - ); + "AmbiguousExtensionMethod", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAmbiguousExtensionMethod(String name, DartType _type) { @@ -42,18 +41,20 @@ Message _withArgumentsAmbiguousExtensionMethod(String name, DartType _type) { codeAmbiguousExtensionMethod, problemMessage: """The method '${name}' is defined in multiple extensions for '${type}' and neither is more specific.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try using an explicit extension application of the wanted extension or hiding unwanted extensions from scope.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAmbiguousExtensionOperator = const Template< - Message Function(String name, DartType _type) ->( + templateAmbiguousExtensionOperator = + const Template( "AmbiguousExtensionOperator", problemMessageTemplate: r"""The operator '#name' is defined in multiple extensions for '#type' and neither is more specific.""", @@ -64,10 +65,10 @@ templateAmbiguousExtensionOperator = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeAmbiguousExtensionOperator = + codeAmbiguousExtensionOperator = const Code( - "AmbiguousExtensionOperator", - ); + "AmbiguousExtensionOperator", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAmbiguousExtensionOperator(String name, DartType _type) { @@ -80,18 +81,20 @@ Message _withArgumentsAmbiguousExtensionOperator(String name, DartType _type) { codeAmbiguousExtensionOperator, problemMessage: """The operator '${name}' is defined in multiple extensions for '${type}' and neither is more specific.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try using an explicit extension application of the wanted extension or hiding unwanted extensions from scope.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAmbiguousExtensionProperty = const Template< - Message Function(String name, DartType _type) ->( + templateAmbiguousExtensionProperty = + const Template( "AmbiguousExtensionProperty", problemMessageTemplate: r"""The property '#name' is defined in multiple extensions for '#type' and neither is more specific.""", @@ -102,10 +105,10 @@ templateAmbiguousExtensionProperty = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeAmbiguousExtensionProperty = + codeAmbiguousExtensionProperty = const Code( - "AmbiguousExtensionProperty", - ); + "AmbiguousExtensionProperty", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAmbiguousExtensionProperty(String name, DartType _type) { @@ -118,18 +121,20 @@ Message _withArgumentsAmbiguousExtensionProperty(String name, DartType _type) { codeAmbiguousExtensionProperty, problemMessage: """The property '${name}' is defined in multiple extensions for '${type}' and neither is more specific.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try using an explicit extension application of the wanted extension or hiding unwanted extensions from scope.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateAmbiguousSupertypes = const Template< - Message Function(String name, DartType _type, DartType _type2) ->( + templateAmbiguousSupertypes = const Template< + Message Function(String name, DartType _type, DartType _type2)>( "AmbiguousSupertypes", problemMessageTemplate: r"""'#name' can't implement both '#type' and '#type2'""", @@ -138,18 +143,15 @@ templateAmbiguousSupertypes = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeAmbiguousSupertypes = + codeAmbiguousSupertypes = const Code( - "AmbiguousSupertypes", - analyzerCodes: ["AMBIGUOUS_SUPERTYPES"], - ); + "AmbiguousSupertypes", + analyzerCodes: ["AMBIGUOUS_SUPERTYPES"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsAmbiguousSupertypes( - String name, - DartType _type, - DartType _type2, -) { + String name, DartType _type, DartType _type2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -161,16 +163,19 @@ Message _withArgumentsAmbiguousSupertypes( codeAmbiguousSupertypes, problemMessage: """'${name}' can't implement both '${type}' and '${type2}'""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateArgumentTypeNotAssignable = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateArgumentTypeNotAssignable = + const Template( "ArgumentTypeNotAssignable", problemMessageTemplate: r"""The argument type '#type' can't be assigned to the parameter type '#type2'.""", @@ -179,17 +184,15 @@ templateArgumentTypeNotAssignable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeArgumentTypeNotAssignable = + codeArgumentTypeNotAssignable = const Code( - "ArgumentTypeNotAssignable", - analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], - ); + "ArgumentTypeNotAssignable", + analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsArgumentTypeNotAssignable( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -199,16 +202,18 @@ Message _withArgumentsArgumentTypeNotAssignable( codeArgumentTypeNotAssignable, problemMessage: """The argument type '${type}' can't be assigned to the parameter type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateArgumentTypeNotAssignableNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateArgumentTypeNotAssignableNullability = + const Template( "ArgumentTypeNotAssignableNullability", problemMessageTemplate: r"""The argument type '#type' can't be assigned to the parameter type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -217,17 +222,15 @@ templateArgumentTypeNotAssignableNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeArgumentTypeNotAssignableNullability = + codeArgumentTypeNotAssignableNullability = const Code( - "ArgumentTypeNotAssignableNullability", - analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], - ); + "ArgumentTypeNotAssignableNullability", + analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsArgumentTypeNotAssignableNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -237,16 +240,18 @@ Message _withArgumentsArgumentTypeNotAssignableNullability( codeArgumentTypeNotAssignableNullability, problemMessage: """The argument type '${type}' can't be assigned to the parameter type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateArgumentTypeNotAssignableNullabilityNull = const Template< - Message Function(DartType _type) ->( + templateArgumentTypeNotAssignableNullabilityNull = + const Template( "ArgumentTypeNotAssignableNullabilityNull", problemMessageTemplate: r"""The value 'null' can't be assigned to the parameter type '#type' because '#type' is not nullable.""", @@ -255,11 +260,11 @@ templateArgumentTypeNotAssignableNullabilityNull = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeArgumentTypeNotAssignableNullabilityNull = + codeArgumentTypeNotAssignableNullabilityNull = const Code( - "ArgumentTypeNotAssignableNullabilityNull", - analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], - ); + "ArgumentTypeNotAssignableNullabilityNull", + analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsArgumentTypeNotAssignableNullabilityNull(DartType _type) { @@ -270,16 +275,17 @@ Message _withArgumentsArgumentTypeNotAssignableNullabilityNull(DartType _type) { codeArgumentTypeNotAssignableNullabilityNull, problemMessage: """The value 'null' can't be assigned to the parameter type '${type}' because '${type}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateArgumentTypeNotAssignableNullabilityNullType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateArgumentTypeNotAssignableNullabilityNullType = + const Template( "ArgumentTypeNotAssignableNullabilityNullType", problemMessageTemplate: r"""The argument type '#type' can't be assigned to the parameter type '#type2' because '#type2' is not nullable.""", @@ -288,17 +294,15 @@ templateArgumentTypeNotAssignableNullabilityNullType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeArgumentTypeNotAssignableNullabilityNullType = + codeArgumentTypeNotAssignableNullabilityNullType = const Code( - "ArgumentTypeNotAssignableNullabilityNullType", - analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], - ); + "ArgumentTypeNotAssignableNullabilityNullType", + analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsArgumentTypeNotAssignableNullabilityNullType( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -308,28 +312,21 @@ Message _withArgumentsArgumentTypeNotAssignableNullabilityNullType( codeArgumentTypeNotAssignableNullabilityNullType, problemMessage: """The argument type '${type}' can't be assigned to the parameter type '${type2}' because '${type2}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateArgumentTypeNotAssignablePartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateArgumentTypeNotAssignablePartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ArgumentTypeNotAssignablePartNullability", problemMessageTemplate: r"""The argument type '#type' can't be assigned to the parameter type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -338,32 +335,18 @@ templateArgumentTypeNotAssignablePartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeArgumentTypeNotAssignablePartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeArgumentTypeNotAssignablePartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ArgumentTypeNotAssignablePartNullability", analyzerCodes: ["ARGUMENT_TYPE_NOT_ASSIGNABLE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsArgumentTypeNotAssignablePartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -377,7 +360,7 @@ Message _withArgumentsArgumentTypeNotAssignablePartNullability( codeArgumentTypeNotAssignablePartNullability, problemMessage: """The argument type '${type}' can't be assigned to the parameter type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -389,9 +372,8 @@ Message _withArgumentsArgumentTypeNotAssignablePartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalCaseImplementsEqual = const Template< - Message Function(Constant _constant) ->( + templateConstEvalCaseImplementsEqual = + const Template( "ConstEvalCaseImplementsEqual", problemMessageTemplate: r"""Case expression '#constant' does not have a primitive operator '=='.""", @@ -400,10 +382,10 @@ templateConstEvalCaseImplementsEqual = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalCaseImplementsEqual = + codeConstEvalCaseImplementsEqual = const Code( - "ConstEvalCaseImplementsEqual", - ); + "ConstEvalCaseImplementsEqual", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalCaseImplementsEqual(Constant _constant) { @@ -414,16 +396,17 @@ Message _withArgumentsConstEvalCaseImplementsEqual(Constant _constant) { codeConstEvalCaseImplementsEqual, problemMessage: """Case expression '${constant}' does not have a primitive operator '=='.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalDuplicateElement = const Template< - Message Function(Constant _constant) ->( + templateConstEvalDuplicateElement = + const Template( "ConstEvalDuplicateElement", problemMessageTemplate: r"""The element '#constant' conflicts with another existing element in the set.""", @@ -433,9 +416,9 @@ templateConstEvalDuplicateElement = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalDuplicateElement = const Code( - "ConstEvalDuplicateElement", - analyzerCodes: ["EQUAL_ELEMENTS_IN_CONST_SET"], - ); + "ConstEvalDuplicateElement", + analyzerCodes: ["EQUAL_ELEMENTS_IN_CONST_SET"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalDuplicateElement(Constant _constant) { @@ -446,16 +429,17 @@ Message _withArgumentsConstEvalDuplicateElement(Constant _constant) { codeConstEvalDuplicateElement, problemMessage: """The element '${constant}' conflicts with another existing element in the set.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalDuplicateKey = const Template< - Message Function(Constant _constant) ->( + templateConstEvalDuplicateKey = + const Template( "ConstEvalDuplicateKey", problemMessageTemplate: r"""The key '#constant' conflicts with another existing key in the map.""", @@ -465,9 +449,9 @@ templateConstEvalDuplicateKey = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalDuplicateKey = const Code( - "ConstEvalDuplicateKey", - analyzerCodes: ["EQUAL_KEYS_IN_CONST_MAP"], - ); + "ConstEvalDuplicateKey", + analyzerCodes: ["EQUAL_KEYS_IN_CONST_MAP"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalDuplicateKey(Constant _constant) { @@ -478,16 +462,17 @@ Message _withArgumentsConstEvalDuplicateKey(Constant _constant) { codeConstEvalDuplicateKey, problemMessage: """The key '${constant}' conflicts with another existing key in the map.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalElementImplementsEqual = const Template< - Message Function(Constant _constant) ->( + templateConstEvalElementImplementsEqual = + const Template( "ConstEvalElementImplementsEqual", problemMessageTemplate: r"""The element '#constant' does not have a primitive operator '=='.""", @@ -496,11 +481,11 @@ templateConstEvalElementImplementsEqual = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalElementImplementsEqual = + codeConstEvalElementImplementsEqual = const Code( - "ConstEvalElementImplementsEqual", - analyzerCodes: ["CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS"], - ); + "ConstEvalElementImplementsEqual", + analyzerCodes: ["CONST_SET_ELEMENT_TYPE_IMPLEMENTS_EQUALS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalElementImplementsEqual(Constant _constant) { @@ -511,27 +496,29 @@ Message _withArgumentsConstEvalElementImplementsEqual(Constant _constant) { codeConstEvalElementImplementsEqual, problemMessage: """The element '${constant}' does not have a primitive operator '=='.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalElementNotPrimitiveEquality = + templateConstEvalElementNotPrimitiveEquality = const Template( - "ConstEvalElementNotPrimitiveEquality", - problemMessageTemplate: - r"""The element '#constant' does not have a primitive equality.""", - withArguments: _withArgumentsConstEvalElementNotPrimitiveEquality, - ); + "ConstEvalElementNotPrimitiveEquality", + problemMessageTemplate: + r"""The element '#constant' does not have a primitive equality.""", + withArguments: _withArgumentsConstEvalElementNotPrimitiveEquality, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalElementNotPrimitiveEquality = + codeConstEvalElementNotPrimitiveEquality = const Code( - "ConstEvalElementNotPrimitiveEquality", - ); + "ConstEvalElementNotPrimitiveEquality", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalElementNotPrimitiveEquality(Constant _constant) { @@ -542,16 +529,17 @@ Message _withArgumentsConstEvalElementNotPrimitiveEquality(Constant _constant) { codeConstEvalElementNotPrimitiveEquality, problemMessage: """The element '${constant}' does not have a primitive equality.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalEqualsOperandNotPrimitiveEquality = const Template< - Message Function(Constant _constant, DartType _type) ->( + templateConstEvalEqualsOperandNotPrimitiveEquality = + const Template( "ConstEvalEqualsOperandNotPrimitiveEquality", problemMessageTemplate: r"""Binary operator '==' requires receiver constant '#constant' of a type with primitive equality or type 'double', but was of type '#type'.""", @@ -560,16 +548,14 @@ templateConstEvalEqualsOperandNotPrimitiveEquality = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalEqualsOperandNotPrimitiveEquality = + codeConstEvalEqualsOperandNotPrimitiveEquality = const Code( - "ConstEvalEqualsOperandNotPrimitiveEquality", - ); + "ConstEvalEqualsOperandNotPrimitiveEquality", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalEqualsOperandNotPrimitiveEquality( - Constant _constant, - DartType _type, -) { + Constant _constant, DartType _type) { TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); List typeParts = labeler.labelType(_type); @@ -579,16 +565,18 @@ Message _withArgumentsConstEvalEqualsOperandNotPrimitiveEquality( codeConstEvalEqualsOperandNotPrimitiveEquality, problemMessage: """Binary operator '==' requires receiver constant '${constant}' of a type with primitive equality or type 'double', but was of type '${type}'.""" + - labeler.originMessages, - arguments: {'constant': _constant, 'type': _type}, + labeler.originMessages, + arguments: { + 'constant': _constant, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalFreeTypeParameter = const Template< - Message Function(DartType _type) ->( + templateConstEvalFreeTypeParameter = + const Template( "ConstEvalFreeTypeParameter", problemMessageTemplate: r"""The type '#type' is not a constant because it depends on a type parameter, only instantiated types are allowed.""", @@ -597,7 +585,9 @@ templateConstEvalFreeTypeParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeConstEvalFreeTypeParameter = - const Code("ConstEvalFreeTypeParameter"); + const Code( + "ConstEvalFreeTypeParameter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalFreeTypeParameter(DartType _type) { @@ -608,28 +598,20 @@ Message _withArgumentsConstEvalFreeTypeParameter(DartType _type) { codeConstEvalFreeTypeParameter, problemMessage: """The type '${type}' is not a constant because it depends on a type parameter, only instantiated types are allowed.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - String stringOKEmpty, - Constant _constant, - DartType _type, - DartType _type2, - ) -> -templateConstEvalInvalidBinaryOperandType = const Template< - Message Function( - String stringOKEmpty, - Constant _constant, - DartType _type, - DartType _type2, - ) ->( + Message Function(String stringOKEmpty, Constant _constant, + DartType _type, DartType _type2)> + templateConstEvalInvalidBinaryOperandType = const Template< + Message Function(String stringOKEmpty, Constant _constant, + DartType _type, DartType _type2)>( "ConstEvalInvalidBinaryOperandType", problemMessageTemplate: r"""Binary operator '#stringOKEmpty' on '#constant' requires operand of type '#type', but was of type '#type2'.""", @@ -638,29 +620,16 @@ templateConstEvalInvalidBinaryOperandType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - String stringOKEmpty, - Constant _constant, - DartType _type, - DartType _type2, - ) -> -codeConstEvalInvalidBinaryOperandType = const Code< - Message Function( - String stringOKEmpty, - Constant _constant, - DartType _type, - DartType _type2, - ) ->("ConstEvalInvalidBinaryOperandType"); + Message Function(String stringOKEmpty, Constant _constant, DartType _type, + DartType _type2)> codeConstEvalInvalidBinaryOperandType = const Code< + Message Function(String stringOKEmpty, Constant _constant, DartType _type, + DartType _type2)>( + "ConstEvalInvalidBinaryOperandType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidBinaryOperandType( - String stringOKEmpty, - Constant _constant, - DartType _type, - DartType _type2, -) { + String stringOKEmpty, Constant _constant, DartType _type, DartType _type2) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); @@ -673,7 +642,7 @@ Message _withArgumentsConstEvalInvalidBinaryOperandType( codeConstEvalInvalidBinaryOperandType, problemMessage: """Binary operator '${stringOKEmpty}' on '${constant}' requires operand of type '${type}', but was of type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'stringOKEmpty': stringOKEmpty, 'constant': _constant, @@ -685,9 +654,8 @@ Message _withArgumentsConstEvalInvalidBinaryOperandType( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidEqualsOperandType = const Template< - Message Function(Constant _constant, DartType _type) ->( + templateConstEvalInvalidEqualsOperandType = + const Template( "ConstEvalInvalidEqualsOperandType", problemMessageTemplate: r"""Binary operator '==' requires receiver constant '#constant' of type 'Null', 'bool', 'int', 'double', or 'String', but was of type '#type'.""", @@ -696,16 +664,14 @@ templateConstEvalInvalidEqualsOperandType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidEqualsOperandType = + codeConstEvalInvalidEqualsOperandType = const Code( - "ConstEvalInvalidEqualsOperandType", - ); + "ConstEvalInvalidEqualsOperandType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidEqualsOperandType( - Constant _constant, - DartType _type, -) { + Constant _constant, DartType _type) { TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); List typeParts = labeler.labelType(_type); @@ -715,16 +681,18 @@ Message _withArgumentsConstEvalInvalidEqualsOperandType( codeConstEvalInvalidEqualsOperandType, problemMessage: """Binary operator '==' requires receiver constant '${constant}' of type 'Null', 'bool', 'int', 'double', or 'String', but was of type '${type}'.""" + - labeler.originMessages, - arguments: {'constant': _constant, 'type': _type}, + labeler.originMessages, + arguments: { + 'constant': _constant, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidMethodInvocation = const Template< - Message Function(String stringOKEmpty, Constant _constant) ->( + templateConstEvalInvalidMethodInvocation = + const Template( "ConstEvalInvalidMethodInvocation", problemMessageTemplate: r"""The method '#stringOKEmpty' can't be invoked on '#constant' in a constant expression.""", @@ -733,17 +701,15 @@ templateConstEvalInvalidMethodInvocation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidMethodInvocation = + codeConstEvalInvalidMethodInvocation = const Code( - "ConstEvalInvalidMethodInvocation", - analyzerCodes: ["UNDEFINED_OPERATOR"], - ); + "ConstEvalInvalidMethodInvocation", + analyzerCodes: ["UNDEFINED_OPERATOR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidMethodInvocation( - String stringOKEmpty, - Constant _constant, -) { + String stringOKEmpty, Constant _constant) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); @@ -752,16 +718,18 @@ Message _withArgumentsConstEvalInvalidMethodInvocation( codeConstEvalInvalidMethodInvocation, problemMessage: """The method '${stringOKEmpty}' can't be invoked on '${constant}' in a constant expression.""" + - labeler.originMessages, - arguments: {'stringOKEmpty': stringOKEmpty, 'constant': _constant}, + labeler.originMessages, + arguments: { + 'stringOKEmpty': stringOKEmpty, + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidPropertyGet = const Template< - Message Function(String stringOKEmpty, Constant _constant) ->( + templateConstEvalInvalidPropertyGet = + const Template( "ConstEvalInvalidPropertyGet", problemMessageTemplate: r"""The property '#stringOKEmpty' can't be accessed on '#constant' in a constant expression.""", @@ -770,17 +738,15 @@ templateConstEvalInvalidPropertyGet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidPropertyGet = + codeConstEvalInvalidPropertyGet = const Code( - "ConstEvalInvalidPropertyGet", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - ); + "ConstEvalInvalidPropertyGet", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidPropertyGet( - String stringOKEmpty, - Constant _constant, -) { + String stringOKEmpty, Constant _constant) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); @@ -789,16 +755,18 @@ Message _withArgumentsConstEvalInvalidPropertyGet( codeConstEvalInvalidPropertyGet, problemMessage: """The property '${stringOKEmpty}' can't be accessed on '${constant}' in a constant expression.""" + - labeler.originMessages, - arguments: {'stringOKEmpty': stringOKEmpty, 'constant': _constant}, + labeler.originMessages, + arguments: { + 'stringOKEmpty': stringOKEmpty, + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidRecordIndexGet = const Template< - Message Function(String stringOKEmpty, Constant _constant) ->( + templateConstEvalInvalidRecordIndexGet = + const Template( "ConstEvalInvalidRecordIndexGet", problemMessageTemplate: r"""The property '#stringOKEmpty' can't be accessed on '#constant' in a constant expression.""", @@ -807,17 +775,15 @@ templateConstEvalInvalidRecordIndexGet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidRecordIndexGet = + codeConstEvalInvalidRecordIndexGet = const Code( - "ConstEvalInvalidRecordIndexGet", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - ); + "ConstEvalInvalidRecordIndexGet", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidRecordIndexGet( - String stringOKEmpty, - Constant _constant, -) { + String stringOKEmpty, Constant _constant) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); @@ -826,16 +792,18 @@ Message _withArgumentsConstEvalInvalidRecordIndexGet( codeConstEvalInvalidRecordIndexGet, problemMessage: """The property '${stringOKEmpty}' can't be accessed on '${constant}' in a constant expression.""" + - labeler.originMessages, - arguments: {'stringOKEmpty': stringOKEmpty, 'constant': _constant}, + labeler.originMessages, + arguments: { + 'stringOKEmpty': stringOKEmpty, + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidRecordNameGet = const Template< - Message Function(String stringOKEmpty, Constant _constant) ->( + templateConstEvalInvalidRecordNameGet = + const Template( "ConstEvalInvalidRecordNameGet", problemMessageTemplate: r"""The property '#stringOKEmpty' can't be accessed on '#constant' in a constant expression.""", @@ -844,17 +812,15 @@ templateConstEvalInvalidRecordNameGet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidRecordNameGet = + codeConstEvalInvalidRecordNameGet = const Code( - "ConstEvalInvalidRecordNameGet", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - ); + "ConstEvalInvalidRecordNameGet", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidRecordNameGet( - String stringOKEmpty, - Constant _constant, -) { + String stringOKEmpty, Constant _constant) { if (stringOKEmpty.isEmpty) stringOKEmpty = '(empty)'; TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); @@ -863,16 +829,18 @@ Message _withArgumentsConstEvalInvalidRecordNameGet( codeConstEvalInvalidRecordNameGet, problemMessage: """The property '${stringOKEmpty}' can't be accessed on '${constant}' in a constant expression.""" + - labeler.originMessages, - arguments: {'stringOKEmpty': stringOKEmpty, 'constant': _constant}, + labeler.originMessages, + arguments: { + 'stringOKEmpty': stringOKEmpty, + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidStringInterpolationOperand = const Template< - Message Function(Constant _constant) ->( + templateConstEvalInvalidStringInterpolationOperand = + const Template( "ConstEvalInvalidStringInterpolationOperand", problemMessageTemplate: r"""The constant value '#constant' can't be used as part of a string interpolation in a constant expression. @@ -882,16 +850,15 @@ Only values of type 'null', 'bool', 'int', 'double', or 'String' can be used.""" // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidStringInterpolationOperand = + codeConstEvalInvalidStringInterpolationOperand = const Code( - "ConstEvalInvalidStringInterpolationOperand", - analyzerCodes: ["CONST_EVAL_TYPE_BOOL_NUM_STRING"], - ); + "ConstEvalInvalidStringInterpolationOperand", + analyzerCodes: ["CONST_EVAL_TYPE_BOOL_NUM_STRING"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidStringInterpolationOperand( - Constant _constant, -) { + Constant _constant) { TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); String constant = constantParts.join(); @@ -900,16 +867,17 @@ Message _withArgumentsConstEvalInvalidStringInterpolationOperand( problemMessage: """The constant value '${constant}' can't be used as part of a string interpolation in a constant expression. Only values of type 'null', 'bool', 'int', 'double', or 'String' can be used.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalInvalidSymbolName = const Template< - Message Function(Constant _constant) ->( + templateConstEvalInvalidSymbolName = + const Template( "ConstEvalInvalidSymbolName", problemMessageTemplate: r"""The symbol name must be a valid public Dart member name, public constructor name, or library name, optionally qualified, but was '#constant'.""", @@ -918,11 +886,11 @@ templateConstEvalInvalidSymbolName = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalInvalidSymbolName = + codeConstEvalInvalidSymbolName = const Code( - "ConstEvalInvalidSymbolName", - analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], - ); + "ConstEvalInvalidSymbolName", + analyzerCodes: ["CONST_EVAL_THROWS_EXCEPTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidSymbolName(Constant _constant) { @@ -933,18 +901,18 @@ Message _withArgumentsConstEvalInvalidSymbolName(Constant _constant) { codeConstEvalInvalidSymbolName, problemMessage: """The symbol name must be a valid public Dart member name, public constructor name, or library name, optionally qualified, but was '${constant}'.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(Constant _constant, DartType _type, DartType _type2) -> -templateConstEvalInvalidType = const Template< - Message Function(Constant _constant, DartType _type, DartType _type2) ->( + Message Function(Constant _constant, DartType _type, DartType _type2)> + templateConstEvalInvalidType = const Template< + Message Function(Constant _constant, DartType _type, DartType _type2)>( "ConstEvalInvalidType", problemMessageTemplate: r"""Expected constant '#constant' to be of type '#type', but was of type '#type2'.""", @@ -953,18 +921,15 @@ templateConstEvalInvalidType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(Constant _constant, DartType _type, DartType _type2) -> -codeConstEvalInvalidType = const Code< - Message Function(Constant _constant, DartType _type, DartType _type2) ->("ConstEvalInvalidType"); + Message Function(Constant _constant, DartType _type, DartType _type2)> + codeConstEvalInvalidType = const Code< + Message Function(Constant _constant, DartType _type, DartType _type2)>( + "ConstEvalInvalidType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalInvalidType( - Constant _constant, - DartType _type, - DartType _type2, -) { + Constant _constant, DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List constantParts = labeler.labelConstant(_constant); List typeParts = labeler.labelType(_type); @@ -976,30 +941,32 @@ Message _withArgumentsConstEvalInvalidType( codeConstEvalInvalidType, problemMessage: """Expected constant '${constant}' to be of type '${type}', but was of type '${type2}'.""" + - labeler.originMessages, - arguments: {'constant': _constant, 'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'constant': _constant, + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalKeyImplementsEqual = + templateConstEvalKeyImplementsEqual = const Template( - "ConstEvalKeyImplementsEqual", - problemMessageTemplate: - r"""The key '#constant' does not have a primitive operator '=='.""", - withArguments: _withArgumentsConstEvalKeyImplementsEqual, - ); + "ConstEvalKeyImplementsEqual", + problemMessageTemplate: + r"""The key '#constant' does not have a primitive operator '=='.""", + withArguments: _withArgumentsConstEvalKeyImplementsEqual, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalKeyImplementsEqual = + codeConstEvalKeyImplementsEqual = const Code( - "ConstEvalKeyImplementsEqual", - analyzerCodes: [ - "CONST_MAP_KEY_EXPRESSION_TYPE_IMPLEMENTS_EQUALS", - ], - ); + "ConstEvalKeyImplementsEqual", + analyzerCodes: ["CONST_MAP_KEY_EXPRESSION_TYPE_IMPLEMENTS_EQUALS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalKeyImplementsEqual(Constant _constant) { @@ -1010,27 +977,29 @@ Message _withArgumentsConstEvalKeyImplementsEqual(Constant _constant) { codeConstEvalKeyImplementsEqual, problemMessage: """The key '${constant}' does not have a primitive operator '=='.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalKeyNotPrimitiveEquality = + templateConstEvalKeyNotPrimitiveEquality = const Template( - "ConstEvalKeyNotPrimitiveEquality", - problemMessageTemplate: - r"""The key '#constant' does not have a primitive equality.""", - withArguments: _withArgumentsConstEvalKeyNotPrimitiveEquality, - ); + "ConstEvalKeyNotPrimitiveEquality", + problemMessageTemplate: + r"""The key '#constant' does not have a primitive equality.""", + withArguments: _withArgumentsConstEvalKeyNotPrimitiveEquality, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalKeyNotPrimitiveEquality = + codeConstEvalKeyNotPrimitiveEquality = const Code( - "ConstEvalKeyNotPrimitiveEquality", - ); + "ConstEvalKeyNotPrimitiveEquality", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalKeyNotPrimitiveEquality(Constant _constant) { @@ -1041,26 +1010,28 @@ Message _withArgumentsConstEvalKeyNotPrimitiveEquality(Constant _constant) { codeConstEvalKeyNotPrimitiveEquality, problemMessage: """The key '${constant}' does not have a primitive equality.""" + - labeler.originMessages, - arguments: {'constant': _constant}, + labeler.originMessages, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateConstEvalUnhandledException = + templateConstEvalUnhandledException = const Template( - "ConstEvalUnhandledException", - problemMessageTemplate: r"""Unhandled exception: #constant""", - withArguments: _withArgumentsConstEvalUnhandledException, - ); + "ConstEvalUnhandledException", + problemMessageTemplate: r"""Unhandled exception: #constant""", + withArguments: _withArgumentsConstEvalUnhandledException, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeConstEvalUnhandledException = + codeConstEvalUnhandledException = const Code( - "ConstEvalUnhandledException", - ); + "ConstEvalUnhandledException", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsConstEvalUnhandledException(Constant _constant) { @@ -1071,15 +1042,16 @@ Message _withArgumentsConstEvalUnhandledException(Constant _constant) { codeConstEvalUnhandledException, problemMessage: """Unhandled exception: ${constant}""" + labeler.originMessages, - arguments: {'constant': _constant}, + arguments: { + 'constant': _constant, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateDeferredTypeAnnotation = const Template< - Message Function(DartType _type, String name) ->( + templateDeferredTypeAnnotation = + const Template( "DeferredTypeAnnotation", problemMessageTemplate: r"""The type '#type' is deferred loaded via prefix '#name' and can't be used as a type annotation.""", @@ -1090,11 +1062,11 @@ templateDeferredTypeAnnotation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeDeferredTypeAnnotation = + codeDeferredTypeAnnotation = const Code( - "DeferredTypeAnnotation", - analyzerCodes: ["TYPE_ANNOTATION_DEFERRED_CLASS"], - ); + "DeferredTypeAnnotation", + analyzerCodes: ["TYPE_ANNOTATION_DEFERRED_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsDeferredTypeAnnotation(DartType _type, String name) { @@ -1107,29 +1079,31 @@ Message _withArgumentsDeferredTypeAnnotation(DartType _type, String name) { codeDeferredTypeAnnotation, problemMessage: """The type '${type}' is deferred loaded via prefix '${name}' and can't be used as a type annotation.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try removing 'deferred' from the import of '${name}' or use a supertype of '${type}' that isn't deferred.""", - arguments: {'type': _type, 'name': name}, + arguments: { + 'type': _type, + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiDartTypeMismatch = + templateFfiDartTypeMismatch = const Template( - "FfiDartTypeMismatch", - problemMessageTemplate: - r"""Expected '#type' to be a subtype of '#type2'.""", - withArguments: _withArgumentsFfiDartTypeMismatch, - ); + "FfiDartTypeMismatch", + problemMessageTemplate: r"""Expected '#type' to be a subtype of '#type2'.""", + withArguments: _withArgumentsFfiDartTypeMismatch, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiDartTypeMismatch = + codeFfiDartTypeMismatch = const Code( - "FfiDartTypeMismatch", - ); + "FfiDartTypeMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiDartTypeMismatch(DartType _type, DartType _type2) { @@ -1140,18 +1114,19 @@ Message _withArgumentsFfiDartTypeMismatch(DartType _type, DartType _type2) { String type2 = type2Parts.join(); return new Message( codeFfiDartTypeMismatch, - problemMessage: - """Expected '${type}' to be a subtype of '${type2}'.""" + + problemMessage: """Expected '${type}' to be a subtype of '${type2}'.""" + labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiExpectedExceptionalReturn = const Template< - Message Function(DartType _type) ->( + templateFfiExpectedExceptionalReturn = + const Template( "FfiExpectedExceptionalReturn", problemMessageTemplate: r"""Expected an exceptional return value for a native callback returning '#type'.""", @@ -1161,8 +1136,8 @@ templateFfiExpectedExceptionalReturn = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiExpectedExceptionalReturn = const Code( - "FfiExpectedExceptionalReturn", - ); + "FfiExpectedExceptionalReturn", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiExpectedExceptionalReturn(DartType _type) { @@ -1173,16 +1148,17 @@ Message _withArgumentsFfiExpectedExceptionalReturn(DartType _type) { codeFfiExpectedExceptionalReturn, problemMessage: """Expected an exceptional return value for a native callback returning '${type}'.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiExpectedNoExceptionalReturn = const Template< - Message Function(DartType _type) ->( + templateFfiExpectedNoExceptionalReturn = + const Template( "FfiExpectedNoExceptionalReturn", problemMessageTemplate: r"""Exceptional return value cannot be provided for a native callback returning '#type'.""", @@ -1191,10 +1167,10 @@ templateFfiExpectedNoExceptionalReturn = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiExpectedNoExceptionalReturn = + codeFfiExpectedNoExceptionalReturn = const Code( - "FfiExpectedNoExceptionalReturn", - ); + "FfiExpectedNoExceptionalReturn", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiExpectedNoExceptionalReturn(DartType _type) { @@ -1205,16 +1181,17 @@ Message _withArgumentsFfiExpectedNoExceptionalReturn(DartType _type) { codeFfiExpectedNoExceptionalReturn, problemMessage: """Exceptional return value cannot be provided for a native callback returning '${type}'.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFfiNativeCallableListenerReturnVoid = const Template< - Message Function(DartType _type) ->( + templateFfiNativeCallableListenerReturnVoid = + const Template( "FfiNativeCallableListenerReturnVoid", problemMessageTemplate: r"""The return type of the function passed to NativeCallable.listener must be void rather than '#type'.""", @@ -1223,10 +1200,10 @@ templateFfiNativeCallableListenerReturnVoid = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiNativeCallableListenerReturnVoid = + codeFfiNativeCallableListenerReturnVoid = const Code( - "FfiNativeCallableListenerReturnVoid", - ); + "FfiNativeCallableListenerReturnVoid", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiNativeCallableListenerReturnVoid(DartType _type) { @@ -1237,14 +1214,16 @@ Message _withArgumentsFfiNativeCallableListenerReturnVoid(DartType _type) { codeFfiNativeCallableListenerReturnVoid, problemMessage: """The return type of the function passed to NativeCallable.listener must be void rather than '${type}'.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateFfiTypeInvalid = const Template( +const Template templateFfiTypeInvalid = + const Template( "FfiTypeInvalid", problemMessageTemplate: r"""Expected type '#type' to be a valid and instantiated subtype of 'NativeType'.""", @@ -1253,7 +1232,9 @@ templateFfiTypeInvalid = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeFfiTypeInvalid = - const Code("FfiTypeInvalid"); + const Code( + "FfiTypeInvalid", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiTypeInvalid(DartType _type) { @@ -1264,18 +1245,18 @@ Message _withArgumentsFfiTypeInvalid(DartType _type) { codeFfiTypeInvalid, problemMessage: """Expected type '${type}' to be a valid and instantiated subtype of 'NativeType'.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, DartType _type2, DartType _type3) -> -templateFfiTypeMismatch = const Template< - Message Function(DartType _type, DartType _type2, DartType _type3) ->( + Message Function(DartType _type, DartType _type2, DartType _type3)> + templateFfiTypeMismatch = const Template< + Message Function(DartType _type, DartType _type2, DartType _type3)>( "FfiTypeMismatch", problemMessageTemplate: r"""Expected type '#type' to be '#type2', which is the Dart type corresponding to '#type3'.""", @@ -1284,16 +1265,14 @@ templateFfiTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFfiTypeMismatch = const Code< - Message Function(DartType _type, DartType _type2, DartType _type3) ->("FfiTypeMismatch"); + codeFfiTypeMismatch = const Code< + Message Function(DartType _type, DartType _type2, DartType _type3)>( + "FfiTypeMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFfiTypeMismatch( - DartType _type, - DartType _type2, - DartType _type3, -) { + DartType _type, DartType _type2, DartType _type3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1305,16 +1284,19 @@ Message _withArgumentsFfiTypeMismatch( codeFfiTypeMismatch, problemMessage: """Expected type '${type}' to be '${type2}', which is the Dart type corresponding to '${type3}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2, 'type3': _type3}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + 'type3': _type3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNonNullableNotInitializedByConstructorError = const Template< - Message Function(String name, DartType _type) ->( + templateFieldNonNullableNotInitializedByConstructorError = + const Template( "FieldNonNullableNotInitializedByConstructorError", problemMessageTemplate: r"""This constructor should initialize field '#name' because its type '#type' doesn't allow null.""", @@ -1323,16 +1305,14 @@ templateFieldNonNullableNotInitializedByConstructorError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNonNullableNotInitializedByConstructorError = + codeFieldNonNullableNotInitializedByConstructorError = const Code( - "FieldNonNullableNotInitializedByConstructorError", - ); + "FieldNonNullableNotInitializedByConstructorError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNonNullableNotInitializedByConstructorError( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -1342,16 +1322,18 @@ Message _withArgumentsFieldNonNullableNotInitializedByConstructorError( codeFieldNonNullableNotInitializedByConstructorError, problemMessage: """This constructor should initialize field '${name}' because its type '${type}' doesn't allow null.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateFieldNonNullableWithoutInitializerError = const Template< - Message Function(String name, DartType _type) ->( + templateFieldNonNullableWithoutInitializerError = + const Template( "FieldNonNullableWithoutInitializerError", problemMessageTemplate: r"""Field '#name' should be initialized because its type '#type' doesn't allow null.""", @@ -1360,16 +1342,14 @@ templateFieldNonNullableWithoutInitializerError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeFieldNonNullableWithoutInitializerError = + codeFieldNonNullableWithoutInitializerError = const Code( - "FieldNonNullableWithoutInitializerError", - ); + "FieldNonNullableWithoutInitializerError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsFieldNonNullableWithoutInitializerError( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -1379,16 +1359,18 @@ Message _withArgumentsFieldNonNullableWithoutInitializerError( codeFieldNonNullableWithoutInitializerError, problemMessage: """Field '${name}' should be initialized because its type '${type}' doesn't allow null.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateForInLoopElementTypeNotAssignable = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateForInLoopElementTypeNotAssignable = + const Template( "ForInLoopElementTypeNotAssignable", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2'.""", @@ -1398,17 +1380,15 @@ templateForInLoopElementTypeNotAssignable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeForInLoopElementTypeNotAssignable = + codeForInLoopElementTypeNotAssignable = const Code( - "ForInLoopElementTypeNotAssignable", - analyzerCodes: ["FOR_IN_OF_INVALID_ELEMENT_TYPE"], - ); + "ForInLoopElementTypeNotAssignable", + analyzerCodes: ["FOR_IN_OF_INVALID_ELEMENT_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopElementTypeNotAssignable( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1418,17 +1398,19 @@ Message _withArgumentsForInLoopElementTypeNotAssignable( codeForInLoopElementTypeNotAssignable, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the type of the variable.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateForInLoopElementTypeNotAssignableNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateForInLoopElementTypeNotAssignableNullability = + const Template( "ForInLoopElementTypeNotAssignableNullability", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -1438,17 +1420,15 @@ templateForInLoopElementTypeNotAssignableNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeForInLoopElementTypeNotAssignableNullability = + codeForInLoopElementTypeNotAssignableNullability = const Code( - "ForInLoopElementTypeNotAssignableNullability", - analyzerCodes: ["FOR_IN_OF_INVALID_ELEMENT_TYPE"], - ); + "ForInLoopElementTypeNotAssignableNullability", + analyzerCodes: ["FOR_IN_OF_INVALID_ELEMENT_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopElementTypeNotAssignableNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1458,29 +1438,22 @@ Message _withArgumentsForInLoopElementTypeNotAssignableNullability( codeForInLoopElementTypeNotAssignableNullability, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the type of the variable.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateForInLoopElementTypeNotAssignablePartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateForInLoopElementTypeNotAssignablePartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ForInLoopElementTypeNotAssignablePartNullability", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -1490,32 +1463,18 @@ templateForInLoopElementTypeNotAssignablePartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeForInLoopElementTypeNotAssignablePartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeForInLoopElementTypeNotAssignablePartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ForInLoopElementTypeNotAssignablePartNullability", analyzerCodes: ["FOR_IN_OF_INVALID_ELEMENT_TYPE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopElementTypeNotAssignablePartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1529,7 +1488,7 @@ Message _withArgumentsForInLoopElementTypeNotAssignablePartNullability( codeForInLoopElementTypeNotAssignablePartNullability, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the type of the variable.""", arguments: { 'type': _type, @@ -1542,9 +1501,8 @@ Message _withArgumentsForInLoopElementTypeNotAssignablePartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateForInLoopTypeNotIterable = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateForInLoopTypeNotIterable = + const Template( "ForInLoopTypeNotIterable", problemMessageTemplate: r"""The type '#type' used in the 'for' loop must implement '#type2'.""", @@ -1553,17 +1511,15 @@ templateForInLoopTypeNotIterable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeForInLoopTypeNotIterable = + codeForInLoopTypeNotIterable = const Code( - "ForInLoopTypeNotIterable", - analyzerCodes: ["FOR_IN_OF_INVALID_TYPE"], - ); + "ForInLoopTypeNotIterable", + analyzerCodes: ["FOR_IN_OF_INVALID_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopTypeNotIterable( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1573,16 +1529,18 @@ Message _withArgumentsForInLoopTypeNotIterable( codeForInLoopTypeNotIterable, problemMessage: """The type '${type}' used in the 'for' loop must implement '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateForInLoopTypeNotIterableNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateForInLoopTypeNotIterableNullability = + const Template( "ForInLoopTypeNotIterableNullability", problemMessageTemplate: r"""The type '#type' used in the 'for' loop must implement '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -1591,17 +1549,15 @@ templateForInLoopTypeNotIterableNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeForInLoopTypeNotIterableNullability = + codeForInLoopTypeNotIterableNullability = const Code( - "ForInLoopTypeNotIterableNullability", - analyzerCodes: ["FOR_IN_OF_INVALID_TYPE"], - ); + "ForInLoopTypeNotIterableNullability", + analyzerCodes: ["FOR_IN_OF_INVALID_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopTypeNotIterableNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1611,28 +1567,21 @@ Message _withArgumentsForInLoopTypeNotIterableNullability( codeForInLoopTypeNotIterableNullability, problemMessage: """The type '${type}' used in the 'for' loop must implement '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateForInLoopTypeNotIterablePartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateForInLoopTypeNotIterablePartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ForInLoopTypeNotIterablePartNullability", problemMessageTemplate: r"""The type '#type' used in the 'for' loop must implement '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -1641,32 +1590,18 @@ templateForInLoopTypeNotIterablePartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeForInLoopTypeNotIterablePartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeForInLoopTypeNotIterablePartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "ForInLoopTypeNotIterablePartNullability", analyzerCodes: ["FOR_IN_OF_INVALID_TYPE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsForInLoopTypeNotIterablePartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1680,7 +1615,7 @@ Message _withArgumentsForInLoopTypeNotIterablePartNullability( codeForInLoopTypeNotIterablePartNullability, problemMessage: """The type '${type}' used in the 'for' loop must implement '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -1692,9 +1627,8 @@ Message _withArgumentsForInLoopTypeNotIterablePartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateGenericFunctionTypeAsTypeArgumentThroughTypedef = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateGenericFunctionTypeAsTypeArgumentThroughTypedef = + const Template( "GenericFunctionTypeAsTypeArgumentThroughTypedef", problemMessageTemplate: r"""Generic function type '#type' used as a type argument through typedef '#type2'.""", @@ -1705,17 +1639,15 @@ templateGenericFunctionTypeAsTypeArgumentThroughTypedef = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeGenericFunctionTypeAsTypeArgumentThroughTypedef = + codeGenericFunctionTypeAsTypeArgumentThroughTypedef = const Code( - "GenericFunctionTypeAsTypeArgumentThroughTypedef", - analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], - ); + "GenericFunctionTypeAsTypeArgumentThroughTypedef", + analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsGenericFunctionTypeAsTypeArgumentThroughTypedef( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1725,38 +1657,39 @@ Message _withArgumentsGenericFunctionTypeAsTypeArgumentThroughTypedef( codeGenericFunctionTypeAsTypeArgumentThroughTypedef, problemMessage: """Generic function type '${type}' used as a type argument through typedef '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try providing a non-generic function type explicitly.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateGenericFunctionTypeInferredAsActualTypeArgument = + templateGenericFunctionTypeInferredAsActualTypeArgument = const Template( - "GenericFunctionTypeInferredAsActualTypeArgument", - problemMessageTemplate: - r"""Generic function type '#type' inferred as a type argument.""", - correctionMessageTemplate: - r"""Try providing a non-generic function type explicitly.""", - withArguments: - _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument, - ); + "GenericFunctionTypeInferredAsActualTypeArgument", + problemMessageTemplate: + r"""Generic function type '#type' inferred as a type argument.""", + correctionMessageTemplate: + r"""Try providing a non-generic function type explicitly.""", + withArguments: _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeGenericFunctionTypeInferredAsActualTypeArgument = + codeGenericFunctionTypeInferredAsActualTypeArgument = const Code( - "GenericFunctionTypeInferredAsActualTypeArgument", - analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], - ); + "GenericFunctionTypeInferredAsActualTypeArgument", + analyzerCodes: ["GENERIC_FUNCTION_CANNOT_BE_TYPE_ARGUMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument( - DartType _type, -) { + DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -1764,18 +1697,19 @@ Message _withArgumentsGenericFunctionTypeInferredAsActualTypeArgument( codeGenericFunctionTypeInferredAsActualTypeArgument, problemMessage: """Generic function type '${type}' inferred as a type argument.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try providing a non-generic function type explicitly.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateImplicitCallOfNonMethod = const Template< - Message Function(DartType _type) ->( + templateImplicitCallOfNonMethod = + const Template( "ImplicitCallOfNonMethod", problemMessageTemplate: r"""Cannot invoke an instance of '#type' because it declares 'call' to be something other than a method.""", @@ -1787,9 +1721,9 @@ templateImplicitCallOfNonMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeImplicitCallOfNonMethod = const Code( - "ImplicitCallOfNonMethod", - analyzerCodes: ["IMPLICIT_CALL_OF_NON_METHOD"], - ); + "ImplicitCallOfNonMethod", + analyzerCodes: ["IMPLICIT_CALL_OF_NON_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplicitCallOfNonMethod(DartType _type) { @@ -1800,16 +1734,18 @@ Message _withArgumentsImplicitCallOfNonMethod(DartType _type) { codeImplicitCallOfNonMethod, problemMessage: """Cannot invoke an instance of '${type}' because it declares 'call' to be something other than a method.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing 'call' to a method or explicitly invoke 'call'.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateImplicitReturnNull = const Template( +const Template templateImplicitReturnNull = + const Template( "ImplicitReturnNull", problemMessageTemplate: r"""A non-null value must be returned since the return type '#type' doesn't allow null.""", @@ -1818,7 +1754,9 @@ templateImplicitReturnNull = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeImplicitReturnNull = - const Code("ImplicitReturnNull"); + const Code( + "ImplicitReturnNull", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsImplicitReturnNull(DartType _type) { @@ -1829,16 +1767,17 @@ Message _withArgumentsImplicitReturnNull(DartType _type) { codeImplicitReturnNull, problemMessage: """A non-null value must be returned since the return type '${type}' doesn't allow null.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIncompatibleRedirecteeFunctionType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateIncompatibleRedirecteeFunctionType = + const Template( "IncompatibleRedirecteeFunctionType", problemMessageTemplate: r"""The constructor function type '#type' isn't a subtype of '#type2'.""", @@ -1847,17 +1786,15 @@ templateIncompatibleRedirecteeFunctionType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIncompatibleRedirecteeFunctionType = + codeIncompatibleRedirecteeFunctionType = const Code( - "IncompatibleRedirecteeFunctionType", - analyzerCodes: ["REDIRECT_TO_INVALID_TYPE"], - ); + "IncompatibleRedirecteeFunctionType", + analyzerCodes: ["REDIRECT_TO_INVALID_TYPE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncompatibleRedirecteeFunctionType( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1867,18 +1804,21 @@ Message _withArgumentsIncompatibleRedirecteeFunctionType( codeIncompatibleRedirecteeFunctionType, problemMessage: """The constructor function type '${type}' isn't a subtype of '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, DartType _type2, String name, String name2) -> -templateIncorrectTypeArgument = const Template< - Message Function(DartType _type, DartType _type2, String name, String name2) ->( + Message Function( + DartType _type, DartType _type2, String name, String name2)> + templateIncorrectTypeArgument = const Template< + Message Function( + DartType _type, DartType _type2, String name, String name2)>( "IncorrectTypeArgument", problemMessageTemplate: r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", @@ -1889,22 +1829,18 @@ templateIncorrectTypeArgument = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, DartType _type2, String name, String name2) -> -codeIncorrectTypeArgument = const Code< - Message Function(DartType _type, DartType _type2, String name, String name2) ->( + Message Function( + DartType _type, DartType _type2, String name, String name2)> + codeIncorrectTypeArgument = const Code< + Message Function( + DartType _type, DartType _type2, String name, String name2)>( "IncorrectTypeArgument", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncorrectTypeArgument( - DartType _type, - DartType _type2, - String name, - String name2, -) { + DartType _type, DartType _type2, String name, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1918,20 +1854,25 @@ Message _withArgumentsIncorrectTypeArgument( codeIncorrectTypeArgument, problemMessage: """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing type arguments so that they conform to the bounds.""", - arguments: {'type': _type, 'type2': _type2, 'name': name, 'name2': name2}, + arguments: { + 'type': _type, + 'type2': _type2, + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, DartType _type2, String name, String name2) -> -templateIncorrectTypeArgumentInferred = const Template< - Message Function(DartType _type, DartType _type2, String name, String name2) ->( + Message Function( + DartType _type, DartType _type2, String name, String name2)> + templateIncorrectTypeArgumentInferred = const Template< + Message Function( + DartType _type, DartType _type2, String name, String name2)>( "IncorrectTypeArgumentInferred", problemMessageTemplate: r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#name2'.""", @@ -1942,22 +1883,18 @@ templateIncorrectTypeArgumentInferred = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, DartType _type2, String name, String name2) -> -codeIncorrectTypeArgumentInferred = const Code< - Message Function(DartType _type, DartType _type2, String name, String name2) ->( + Message Function( + DartType _type, DartType _type2, String name, String name2)> + codeIncorrectTypeArgumentInferred = const Code< + Message Function( + DartType _type, DartType _type2, String name, String name2)>( "IncorrectTypeArgumentInferred", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncorrectTypeArgumentInferred( - DartType _type, - DartType _type2, - String name, - String name2, -) { + DartType _type, DartType _type2, String name, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -1971,30 +1908,25 @@ Message _withArgumentsIncorrectTypeArgumentInferred( codeIncorrectTypeArgumentInferred, problemMessage: """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${name2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try specifying type arguments explicitly so that they conform to the bounds.""", - arguments: {'type': _type, 'type2': _type2, 'name': name, 'name2': name2}, + arguments: { + 'type': _type, + 'type2': _type2, + 'name': name, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) -> -templateIncorrectTypeArgumentInstantiation = const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) ->( + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)> + templateIncorrectTypeArgumentInstantiation = const Template< + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)>( "IncorrectTypeArgumentInstantiation", problemMessageTemplate: r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3'.""", @@ -2005,32 +1937,18 @@ templateIncorrectTypeArgumentInstantiation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) -> -codeIncorrectTypeArgumentInstantiation = const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) ->( + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)> + codeIncorrectTypeArgumentInstantiation = const Code< + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)>( "IncorrectTypeArgumentInstantiation", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncorrectTypeArgumentInstantiation( - DartType _type, - DartType _type2, - String name, - DartType _type3, -) { + DartType _type, DartType _type2, String name, DartType _type3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2044,30 +1962,25 @@ Message _withArgumentsIncorrectTypeArgumentInstantiation( codeIncorrectTypeArgumentInstantiation, problemMessage: """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing type arguments so that they conform to the bounds.""", - arguments: {'type': _type, 'type2': _type2, 'name': name, 'type3': _type3}, + arguments: { + 'type': _type, + 'type2': _type2, + 'name': name, + 'type3': _type3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) -> -templateIncorrectTypeArgumentInstantiationInferred = const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) ->( + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)> + templateIncorrectTypeArgumentInstantiationInferred = const Template< + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)>( "IncorrectTypeArgumentInstantiationInferred", problemMessageTemplate: r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3'.""", @@ -2078,32 +1991,18 @@ templateIncorrectTypeArgumentInstantiationInferred = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) -> -codeIncorrectTypeArgumentInstantiationInferred = const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - ) ->( + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)> + codeIncorrectTypeArgumentInstantiationInferred = const Code< + Message Function( + DartType _type, DartType _type2, String name, DartType _type3)>( "IncorrectTypeArgumentInstantiationInferred", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIncorrectTypeArgumentInstantiationInferred( - DartType _type, - DartType _type2, - String name, - DartType _type3, -) { + DartType _type, DartType _type2, String name, DartType _type3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2117,32 +2016,28 @@ Message _withArgumentsIncorrectTypeArgumentInstantiationInferred( codeIncorrectTypeArgumentInstantiationInferred, problemMessage: """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try specifying type arguments explicitly so that they conform to the bounds.""", - arguments: {'type': _type, 'type2': _type2, 'name': name, 'type3': _type3}, + arguments: { + 'type': _type, + 'type2': _type2, + 'name': name, + 'type3': _type3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) -> -templateIncorrectTypeArgumentQualified = const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) ->( + Message Function( + DartType _type, + DartType _type2, + String name, + DartType _type3, + String name2)> templateIncorrectTypeArgumentQualified = const Template< + Message Function(DartType _type, DartType _type2, String name, + DartType _type3, String name2)>( "IncorrectTypeArgumentQualified", problemMessageTemplate: r"""Type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", @@ -2153,35 +2048,21 @@ templateIncorrectTypeArgumentQualified = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) -> -codeIncorrectTypeArgumentQualified = const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) ->( + Message Function( + DartType _type, + DartType _type2, + String name, + DartType _type3, + String name2)> codeIncorrectTypeArgumentQualified = const Code< + Message Function(DartType _type, DartType _type2, String name, + DartType _type3, String name2)>( "IncorrectTypeArgumentQualified", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -Message _withArgumentsIncorrectTypeArgumentQualified( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, -) { +Message _withArgumentsIncorrectTypeArgumentQualified(DartType _type, + DartType _type2, String name, DartType _type3, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2197,7 +2078,7 @@ Message _withArgumentsIncorrectTypeArgumentQualified( codeIncorrectTypeArgumentQualified, problemMessage: """Type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing type arguments so that they conform to the bounds.""", arguments: { @@ -2212,23 +2093,11 @@ Message _withArgumentsIncorrectTypeArgumentQualified( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) -> -templateIncorrectTypeArgumentQualifiedInferred = const Template< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) ->( + Message Function(DartType _type, DartType _type2, String name, + DartType _type3, String name2)> + templateIncorrectTypeArgumentQualifiedInferred = const Template< + Message Function(DartType _type, DartType _type2, String name, + DartType _type3, String name2)>( "IncorrectTypeArgumentQualifiedInferred", problemMessageTemplate: r"""Inferred type argument '#type' doesn't conform to the bound '#type2' of the type variable '#name' on '#type3.#name2'.""", @@ -2239,35 +2108,21 @@ templateIncorrectTypeArgumentQualifiedInferred = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) -> -codeIncorrectTypeArgumentQualifiedInferred = const Code< - Message Function( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, - ) ->( + Message Function( + DartType _type, + DartType _type2, + String name, + DartType _type3, + String name2)> codeIncorrectTypeArgumentQualifiedInferred = const Code< + Message Function(DartType _type, DartType _type2, String name, + DartType _type3, String name2)>( "IncorrectTypeArgumentQualifiedInferred", analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -Message _withArgumentsIncorrectTypeArgumentQualifiedInferred( - DartType _type, - DartType _type2, - String name, - DartType _type3, - String name2, -) { +Message _withArgumentsIncorrectTypeArgumentQualifiedInferred(DartType _type, + DartType _type2, String name, DartType _type3, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2283,7 +2138,7 @@ Message _withArgumentsIncorrectTypeArgumentQualifiedInferred( codeIncorrectTypeArgumentQualifiedInferred, problemMessage: """Inferred type argument '${type}' doesn't conform to the bound '${type2}' of the type variable '${name}' on '${type3}.${name2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try specifying type arguments explicitly so that they conform to the bounds.""", arguments: { @@ -2298,9 +2153,8 @@ Message _withArgumentsIncorrectTypeArgumentQualifiedInferred( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateIndexOutOfBoundInRecordIndexGet = const Template< - Message Function(int count, int count2, DartType _type) ->( + templateIndexOutOfBoundInRecordIndexGet = + const Template( "IndexOutOfBoundInRecordIndexGet", problemMessageTemplate: r"""Index #count is out of range 0..#count2 of positional fields of records #type.""", @@ -2309,17 +2163,14 @@ templateIndexOutOfBoundInRecordIndexGet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeIndexOutOfBoundInRecordIndexGet = + codeIndexOutOfBoundInRecordIndexGet = const Code( - "IndexOutOfBoundInRecordIndexGet", - ); + "IndexOutOfBoundInRecordIndexGet", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsIndexOutOfBoundInRecordIndexGet( - int count, - int count2, - DartType _type, -) { + int count, int count2, DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -2327,16 +2178,19 @@ Message _withArgumentsIndexOutOfBoundInRecordIndexGet( codeIndexOutOfBoundInRecordIndexGet, problemMessage: """Index ${count} is out of range 0..${count2} of positional fields of records ${type}.""" + - labeler.originMessages, - arguments: {'count': count, 'count2': count2, 'type': _type}, + labeler.originMessages, + arguments: { + 'count': count, + 'count2': count2, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInitializingFormalTypeMismatch = const Template< - Message Function(String name, DartType _type, DartType _type2) ->( + templateInitializingFormalTypeMismatch = const Template< + Message Function(String name, DartType _type, DartType _type2)>( "InitializingFormalTypeMismatch", problemMessageTemplate: r"""The type of parameter '#name', '#type' is not a subtype of the corresponding field's type, '#type2'.""", @@ -2347,18 +2201,15 @@ templateInitializingFormalTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInitializingFormalTypeMismatch = + codeInitializingFormalTypeMismatch = const Code( - "InitializingFormalTypeMismatch", - analyzerCodes: ["INVALID_PARAMETER_DECLARATION"], - ); + "InitializingFormalTypeMismatch", + analyzerCodes: ["INVALID_PARAMETER_DECLARATION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInitializingFormalTypeMismatch( - String name, - DartType _type, - DartType _type2, -) { + String name, DartType _type, DartType _type2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -2370,18 +2221,21 @@ Message _withArgumentsInitializingFormalTypeMismatch( codeInitializingFormalTypeMismatch, problemMessage: """The type of parameter '${name}', '${type}' is not a subtype of the corresponding field's type, '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the type of parameter '${name}' to a subtype of '${type2}'.""", - arguments: {'name': name, 'type': _type, 'type2': _type2}, + arguments: { + 'name': name, + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstantiationNonGenericFunctionType = const Template< - Message Function(DartType _type) ->( + templateInstantiationNonGenericFunctionType = + const Template( "InstantiationNonGenericFunctionType", problemMessageTemplate: r"""The static type of the explicit instantiation operand must be a generic function type but is '#type'.""", @@ -2392,10 +2246,10 @@ templateInstantiationNonGenericFunctionType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInstantiationNonGenericFunctionType = + codeInstantiationNonGenericFunctionType = const Code( - "InstantiationNonGenericFunctionType", - ); + "InstantiationNonGenericFunctionType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstantiationNonGenericFunctionType(DartType _type) { @@ -2406,18 +2260,19 @@ Message _withArgumentsInstantiationNonGenericFunctionType(DartType _type) { codeInstantiationNonGenericFunctionType, problemMessage: """The static type of the explicit instantiation operand must be a generic function type but is '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the operand or remove the type arguments.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInstantiationNullableGenericFunctionType = const Template< - Message Function(DartType _type) ->( + templateInstantiationNullableGenericFunctionType = + const Template( "InstantiationNullableGenericFunctionType", problemMessageTemplate: r"""The static type of the explicit instantiation operand must be a non-null generic function type but is '#type'.""", @@ -2428,11 +2283,11 @@ templateInstantiationNullableGenericFunctionType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInstantiationNullableGenericFunctionType = + codeInstantiationNullableGenericFunctionType = const Code( - "InstantiationNullableGenericFunctionType", - analyzerCodes: ["DISALLOWED_TYPE_INSTANTIATION_EXPRESSION"], - ); + "InstantiationNullableGenericFunctionType", + analyzerCodes: ["DISALLOWED_TYPE_INSTANTIATION_EXPRESSION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInstantiationNullableGenericFunctionType(DartType _type) { @@ -2443,36 +2298,36 @@ Message _withArgumentsInstantiationNullableGenericFunctionType(DartType _type) { codeInstantiationNullableGenericFunctionType, problemMessage: """The static type of the explicit instantiation operand must be a non-null generic function type but is '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the operand or remove the type arguments.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInternalProblemUnsupportedNullability = + templateInternalProblemUnsupportedNullability = const Template( - "InternalProblemUnsupportedNullability", - problemMessageTemplate: - r"""Unsupported nullability value '#string' on type '#type'.""", - withArguments: _withArgumentsInternalProblemUnsupportedNullability, - ); + "InternalProblemUnsupportedNullability", + problemMessageTemplate: + r"""Unsupported nullability value '#string' on type '#type'.""", + withArguments: _withArgumentsInternalProblemUnsupportedNullability, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInternalProblemUnsupportedNullability = + codeInternalProblemUnsupportedNullability = const Code( - "InternalProblemUnsupportedNullability", - severity: Severity.internalProblem, - ); + "InternalProblemUnsupportedNullability", + severity: Severity.internalProblem, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInternalProblemUnsupportedNullability( - String string, - DartType _type, -) { + String string, DartType _type) { if (string.isEmpty) throw 'No string provided'; TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); @@ -2481,16 +2336,18 @@ Message _withArgumentsInternalProblemUnsupportedNullability( codeInternalProblemUnsupportedNullability, problemMessage: """Unsupported nullability value '${string}' on type '${type}'.""" + - labeler.originMessages, - arguments: {'string': string, 'type': _type}, + labeler.originMessages, + arguments: { + 'string': string, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidAssignmentError = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidAssignmentError = + const Template( "InvalidAssignmentError", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2'.""", @@ -2499,11 +2356,11 @@ templateInvalidAssignmentError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidAssignmentError = + codeInvalidAssignmentError = const Code( - "InvalidAssignmentError", - analyzerCodes: ["INVALID_ASSIGNMENT"], - ); + "InvalidAssignmentError", + analyzerCodes: ["INVALID_ASSIGNMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidAssignmentError(DartType _type, DartType _type2) { @@ -2516,16 +2373,18 @@ Message _withArgumentsInvalidAssignmentError(DartType _type, DartType _type2) { codeInvalidAssignmentError, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidAssignmentErrorNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidAssignmentErrorNullability = + const Template( "InvalidAssignmentErrorNullability", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -2534,17 +2393,15 @@ templateInvalidAssignmentErrorNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidAssignmentErrorNullability = + codeInvalidAssignmentErrorNullability = const Code( - "InvalidAssignmentErrorNullability", - analyzerCodes: ["INVALID_ASSIGNMENT"], - ); + "InvalidAssignmentErrorNullability", + analyzerCodes: ["INVALID_ASSIGNMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidAssignmentErrorNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2554,16 +2411,18 @@ Message _withArgumentsInvalidAssignmentErrorNullability( codeInvalidAssignmentErrorNullability, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidAssignmentErrorNullabilityNull = const Template< - Message Function(DartType _type) ->( + templateInvalidAssignmentErrorNullabilityNull = + const Template( "InvalidAssignmentErrorNullabilityNull", problemMessageTemplate: r"""The value 'null' can't be assigned to a variable of type '#type' because '#type' is not nullable.""", @@ -2572,11 +2431,11 @@ templateInvalidAssignmentErrorNullabilityNull = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidAssignmentErrorNullabilityNull = + codeInvalidAssignmentErrorNullabilityNull = const Code( - "InvalidAssignmentErrorNullabilityNull", - analyzerCodes: ["INVALID_ASSIGNMENT"], - ); + "InvalidAssignmentErrorNullabilityNull", + analyzerCodes: ["INVALID_ASSIGNMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidAssignmentErrorNullabilityNull(DartType _type) { @@ -2587,16 +2446,17 @@ Message _withArgumentsInvalidAssignmentErrorNullabilityNull(DartType _type) { codeInvalidAssignmentErrorNullabilityNull, problemMessage: """The value 'null' can't be assigned to a variable of type '${type}' because '${type}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidAssignmentErrorNullabilityNullType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidAssignmentErrorNullabilityNullType = + const Template( "InvalidAssignmentErrorNullabilityNullType", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2' because '#type2' is not nullable.""", @@ -2605,17 +2465,15 @@ templateInvalidAssignmentErrorNullabilityNullType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidAssignmentErrorNullabilityNullType = + codeInvalidAssignmentErrorNullabilityNullType = const Code( - "InvalidAssignmentErrorNullabilityNullType", - analyzerCodes: ["INVALID_ASSIGNMENT"], - ); + "InvalidAssignmentErrorNullabilityNullType", + analyzerCodes: ["INVALID_ASSIGNMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidAssignmentErrorNullabilityNullType( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2625,28 +2483,21 @@ Message _withArgumentsInvalidAssignmentErrorNullabilityNullType( codeInvalidAssignmentErrorNullabilityNullType, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}' because '${type2}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateInvalidAssignmentErrorPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateInvalidAssignmentErrorPartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "InvalidAssignmentErrorPartNullability", problemMessageTemplate: r"""A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -2655,32 +2506,18 @@ templateInvalidAssignmentErrorPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeInvalidAssignmentErrorPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeInvalidAssignmentErrorPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "InvalidAssignmentErrorPartNullability", analyzerCodes: ["INVALID_ASSIGNMENT"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidAssignmentErrorPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2694,7 +2531,7 @@ Message _withArgumentsInvalidAssignmentErrorPartNullability( codeInvalidAssignmentErrorPartNullability, problemMessage: """A value of type '${type}' can't be assigned to a variable of type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -2706,9 +2543,8 @@ Message _withArgumentsInvalidAssignmentErrorPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastFunctionExpr = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastFunctionExpr = + const Template( "InvalidCastFunctionExpr", problemMessageTemplate: r"""The function expression type '#type' isn't of expected type '#type2'.""", @@ -2719,11 +2555,11 @@ templateInvalidCastFunctionExpr = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastFunctionExpr = + codeInvalidCastFunctionExpr = const Code( - "InvalidCastFunctionExpr", - analyzerCodes: ["INVALID_CAST_FUNCTION_EXPR"], - ); + "InvalidCastFunctionExpr", + analyzerCodes: ["INVALID_CAST_FUNCTION_EXPR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastFunctionExpr(DartType _type, DartType _type2) { @@ -2736,18 +2572,20 @@ Message _withArgumentsInvalidCastFunctionExpr(DartType _type, DartType _type2) { codeInvalidCastFunctionExpr, problemMessage: """The function expression type '${type}' isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the function expression or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastLiteralList = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastLiteralList = + const Template( "InvalidCastLiteralList", problemMessageTemplate: r"""The list literal type '#type' isn't of expected type '#type2'.""", @@ -2758,11 +2596,11 @@ templateInvalidCastLiteralList = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastLiteralList = + codeInvalidCastLiteralList = const Code( - "InvalidCastLiteralList", - analyzerCodes: ["INVALID_CAST_LITERAL_LIST"], - ); + "InvalidCastLiteralList", + analyzerCodes: ["INVALID_CAST_LITERAL_LIST"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastLiteralList(DartType _type, DartType _type2) { @@ -2775,18 +2613,20 @@ Message _withArgumentsInvalidCastLiteralList(DartType _type, DartType _type2) { codeInvalidCastLiteralList, problemMessage: """The list literal type '${type}' isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the list literal or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastLiteralMap = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastLiteralMap = + const Template( "InvalidCastLiteralMap", problemMessageTemplate: r"""The map literal type '#type' isn't of expected type '#type2'.""", @@ -2797,11 +2637,11 @@ templateInvalidCastLiteralMap = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastLiteralMap = + codeInvalidCastLiteralMap = const Code( - "InvalidCastLiteralMap", - analyzerCodes: ["INVALID_CAST_LITERAL_MAP"], - ); + "InvalidCastLiteralMap", + analyzerCodes: ["INVALID_CAST_LITERAL_MAP"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastLiteralMap(DartType _type, DartType _type2) { @@ -2814,18 +2654,20 @@ Message _withArgumentsInvalidCastLiteralMap(DartType _type, DartType _type2) { codeInvalidCastLiteralMap, problemMessage: """The map literal type '${type}' isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the map literal or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastLiteralSet = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastLiteralSet = + const Template( "InvalidCastLiteralSet", problemMessageTemplate: r"""The set literal type '#type' isn't of expected type '#type2'.""", @@ -2836,11 +2678,11 @@ templateInvalidCastLiteralSet = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastLiteralSet = + codeInvalidCastLiteralSet = const Code( - "InvalidCastLiteralSet", - analyzerCodes: ["INVALID_CAST_LITERAL_SET"], - ); + "InvalidCastLiteralSet", + analyzerCodes: ["INVALID_CAST_LITERAL_SET"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastLiteralSet(DartType _type, DartType _type2) { @@ -2853,18 +2695,20 @@ Message _withArgumentsInvalidCastLiteralSet(DartType _type, DartType _type2) { codeInvalidCastLiteralSet, problemMessage: """The set literal type '${type}' isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the set literal or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastLocalFunction = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastLocalFunction = + const Template( "InvalidCastLocalFunction", problemMessageTemplate: r"""The local function has type '#type' that isn't of expected type '#type2'.""", @@ -2875,17 +2719,15 @@ templateInvalidCastLocalFunction = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastLocalFunction = + codeInvalidCastLocalFunction = const Code( - "InvalidCastLocalFunction", - analyzerCodes: ["INVALID_CAST_FUNCTION"], - ); + "InvalidCastLocalFunction", + analyzerCodes: ["INVALID_CAST_FUNCTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastLocalFunction( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -2895,18 +2737,20 @@ Message _withArgumentsInvalidCastLocalFunction( codeInvalidCastLocalFunction, problemMessage: """The local function has type '${type}' that isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the function or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastNewExpr = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastNewExpr = + const Template( "InvalidCastNewExpr", problemMessageTemplate: r"""The constructor returns type '#type' that isn't of expected type '#type2'.""", @@ -2917,11 +2761,11 @@ templateInvalidCastNewExpr = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastNewExpr = + codeInvalidCastNewExpr = const Code( - "InvalidCastNewExpr", - analyzerCodes: ["INVALID_CAST_NEW_EXPR"], - ); + "InvalidCastNewExpr", + analyzerCodes: ["INVALID_CAST_NEW_EXPR"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastNewExpr(DartType _type, DartType _type2) { @@ -2934,18 +2778,20 @@ Message _withArgumentsInvalidCastNewExpr(DartType _type, DartType _type2) { codeInvalidCastNewExpr, problemMessage: """The constructor returns type '${type}' that isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the object being constructed or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastStaticMethod = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastStaticMethod = + const Template( "InvalidCastStaticMethod", problemMessageTemplate: r"""The static method has type '#type' that isn't of expected type '#type2'.""", @@ -2956,11 +2802,11 @@ templateInvalidCastStaticMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastStaticMethod = + codeInvalidCastStaticMethod = const Code( - "InvalidCastStaticMethod", - analyzerCodes: ["INVALID_CAST_METHOD"], - ); + "InvalidCastStaticMethod", + analyzerCodes: ["INVALID_CAST_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastStaticMethod(DartType _type, DartType _type2) { @@ -2973,18 +2819,20 @@ Message _withArgumentsInvalidCastStaticMethod(DartType _type, DartType _type2) { codeInvalidCastStaticMethod, problemMessage: """The static method has type '${type}' that isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the method or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidCastTopLevelFunction = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidCastTopLevelFunction = + const Template( "InvalidCastTopLevelFunction", problemMessageTemplate: r"""The top level function has type '#type' that isn't of expected type '#type2'.""", @@ -2995,17 +2843,15 @@ templateInvalidCastTopLevelFunction = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidCastTopLevelFunction = + codeInvalidCastTopLevelFunction = const Code( - "InvalidCastTopLevelFunction", - analyzerCodes: ["INVALID_CAST_FUNCTION"], - ); + "InvalidCastTopLevelFunction", + analyzerCodes: ["INVALID_CAST_FUNCTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidCastTopLevelFunction( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3015,30 +2861,23 @@ Message _withArgumentsInvalidCastTopLevelFunction( codeInvalidCastTopLevelFunction, problemMessage: """The top level function has type '${type}' that isn't of expected type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change the type of the function or the context in which it is used.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - String name, - DartType _type2, - DartType _type3, - ) -> -templateInvalidExtensionTypeSuperExtensionType = const Template< - Message Function( - DartType _type, - String name, - DartType _type2, - DartType _type3, - ) ->( + Message Function( + DartType _type, String name, DartType _type2, DartType _type3)> + templateInvalidExtensionTypeSuperExtensionType = const Template< + Message Function( + DartType _type, String name, DartType _type2, DartType _type3)>( "InvalidExtensionTypeSuperExtensionType", problemMessageTemplate: r"""The representation type '#type' of extension type '#name' must be either a subtype of the representation type '#type2' of the implemented extension type '#type3' or a subtype of '#type3' itself.""", @@ -3049,29 +2888,17 @@ templateInvalidExtensionTypeSuperExtensionType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - String name, - DartType _type2, - DartType _type3, - ) -> -codeInvalidExtensionTypeSuperExtensionType = const Code< - Message Function( - DartType _type, - String name, - DartType _type2, - DartType _type3, - ) ->("InvalidExtensionTypeSuperExtensionType"); + Message Function( + DartType _type, String name, DartType _type2, DartType _type3)> + codeInvalidExtensionTypeSuperExtensionType = const Code< + Message Function( + DartType _type, String name, DartType _type2, DartType _type3)>( + "InvalidExtensionTypeSuperExtensionType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidExtensionTypeSuperExtensionType( - DartType _type, - String name, - DartType _type2, - DartType _type3, -) { + DartType _type, String name, DartType _type2, DartType _type3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3085,18 +2912,22 @@ Message _withArgumentsInvalidExtensionTypeSuperExtensionType( codeInvalidExtensionTypeSuperExtensionType, problemMessage: """The representation type '${type}' of extension type '${name}' must be either a subtype of the representation type '${type2}' of the implemented extension type '${type3}' or a subtype of '${type3}' itself.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the representation type to a subtype of '${type2}'.""", - arguments: {'type': _type, 'name': name, 'type2': _type2, 'type3': _type3}, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'type3': _type3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidExtensionTypeSuperInterface = const Template< - Message Function(DartType _type, DartType _type2, String name) ->( + templateInvalidExtensionTypeSuperInterface = const Template< + Message Function(DartType _type, DartType _type2, String name)>( "InvalidExtensionTypeSuperInterface", problemMessageTemplate: r"""The implemented interface '#type' must be a supertype of the representation type '#type2' of extension type '#name'.""", @@ -3107,17 +2938,14 @@ templateInvalidExtensionTypeSuperInterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidExtensionTypeSuperInterface = + codeInvalidExtensionTypeSuperInterface = const Code( - "InvalidExtensionTypeSuperInterface", - ); + "InvalidExtensionTypeSuperInterface", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidExtensionTypeSuperInterface( - DartType _type, - DartType _type2, - String name, -) { + DartType _type, DartType _type2, String name) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3129,20 +2957,24 @@ Message _withArgumentsInvalidExtensionTypeSuperInterface( codeInvalidExtensionTypeSuperInterface, problemMessage: """The implemented interface '${type}' must be a supertype of the representation type '${type2}' of extension type '${name}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the interface type to a supertype of '${type2}' or the representation type to a subtype of '${type}'.""", - arguments: {'type': _type, 'type2': _type2, 'name': name}, + arguments: { + 'type': _type, + 'type2': _type2, + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterType = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterType = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterType", problemMessageTemplate: r"""The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the setter '#name2'.""", @@ -3151,19 +2983,17 @@ templateInvalidGetterSetterType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterType = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterType"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterType = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterType( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3177,18 +3007,23 @@ Message _withArgumentsInvalidGetterSetterType( codeInvalidGetterSetterType, problemMessage: """The type '${type}' of the getter '${name}' is not a subtype of the type '${type2}' of the setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeBothInheritedField = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeBothInheritedField = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeBothInheritedField", problemMessageTemplate: r"""The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'.""", @@ -3197,19 +3032,17 @@ templateInvalidGetterSetterTypeBothInheritedField = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeBothInheritedField = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeBothInheritedField"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeBothInheritedField = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeBothInheritedField", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeBothInheritedField( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3223,18 +3056,23 @@ Message _withArgumentsInvalidGetterSetterTypeBothInheritedField( codeInvalidGetterSetterTypeBothInheritedField, problemMessage: """The type '${type}' of the inherited field '${name}' is not a subtype of the type '${type2}' of the inherited setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeBothInheritedGetter = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeBothInheritedGetter = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeBothInheritedGetter", problemMessageTemplate: r"""The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'.""", @@ -3243,19 +3081,17 @@ templateInvalidGetterSetterTypeBothInheritedGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeBothInheritedGetter = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeBothInheritedGetter"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeBothInheritedGetter = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeBothInheritedGetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeBothInheritedGetter( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3269,18 +3105,23 @@ Message _withArgumentsInvalidGetterSetterTypeBothInheritedGetter( codeInvalidGetterSetterTypeBothInheritedGetter, problemMessage: """The type '${type}' of the inherited getter '${name}' is not a subtype of the type '${type2}' of the inherited setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeFieldInherited = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeFieldInherited = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeFieldInherited", problemMessageTemplate: r"""The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the setter '#name2'.""", @@ -3289,19 +3130,17 @@ templateInvalidGetterSetterTypeFieldInherited = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeFieldInherited = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeFieldInherited"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeFieldInherited = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeFieldInherited", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeFieldInherited( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3315,18 +3154,23 @@ Message _withArgumentsInvalidGetterSetterTypeFieldInherited( codeInvalidGetterSetterTypeFieldInherited, problemMessage: """The type '${type}' of the inherited field '${name}' is not a subtype of the type '${type2}' of the setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeGetterInherited = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeGetterInherited = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeGetterInherited", problemMessageTemplate: r"""The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the setter '#name2'.""", @@ -3335,19 +3179,17 @@ templateInvalidGetterSetterTypeGetterInherited = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeGetterInherited = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeGetterInherited"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeGetterInherited = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeGetterInherited", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeGetterInherited( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3361,18 +3203,23 @@ Message _withArgumentsInvalidGetterSetterTypeGetterInherited( codeInvalidGetterSetterTypeGetterInherited, problemMessage: """The type '${type}' of the inherited getter '${name}' is not a subtype of the type '${type2}' of the setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeSetterInheritedField = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeSetterInheritedField = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeSetterInheritedField", problemMessageTemplate: r"""The type '#type' of the field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'.""", @@ -3381,19 +3228,17 @@ templateInvalidGetterSetterTypeSetterInheritedField = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeSetterInheritedField = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeSetterInheritedField"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeSetterInheritedField = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeSetterInheritedField", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeSetterInheritedField( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3407,18 +3252,23 @@ Message _withArgumentsInvalidGetterSetterTypeSetterInheritedField( codeInvalidGetterSetterTypeSetterInheritedField, problemMessage: """The type '${type}' of the field '${name}' is not a subtype of the type '${type2}' of the inherited setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -templateInvalidGetterSetterTypeSetterInheritedGetter = const Template< - Message Function(DartType _type, String name, DartType _type2, String name2) ->( + Message Function( + DartType _type, String name, DartType _type2, String name2)> + templateInvalidGetterSetterTypeSetterInheritedGetter = const Template< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( "InvalidGetterSetterTypeSetterInheritedGetter", problemMessageTemplate: r"""The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'.""", @@ -3427,19 +3277,17 @@ templateInvalidGetterSetterTypeSetterInheritedGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) -> -codeInvalidGetterSetterTypeSetterInheritedGetter = const Code< - Message Function(DartType _type, String name, DartType _type2, String name2) ->("InvalidGetterSetterTypeSetterInheritedGetter"); + Message Function( + DartType _type, String name, DartType _type2, String name2)> + codeInvalidGetterSetterTypeSetterInheritedGetter = const Code< + Message Function( + DartType _type, String name, DartType _type2, String name2)>( + "InvalidGetterSetterTypeSetterInheritedGetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidGetterSetterTypeSetterInheritedGetter( - DartType _type, - String name, - DartType _type2, - String name2, -) { + DartType _type, String name, DartType _type2, String name2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -3453,16 +3301,20 @@ Message _withArgumentsInvalidGetterSetterTypeSetterInheritedGetter( codeInvalidGetterSetterTypeSetterInheritedGetter, problemMessage: """The type '${type}' of the getter '${name}' is not a subtype of the type '${type2}' of the inherited setter '${name2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturn = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturn = + const Template( "InvalidReturn", problemMessageTemplate: r"""A value of type '#type' can't be returned from a function with return type '#type2'.""", @@ -3471,10 +3323,10 @@ templateInvalidReturn = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturn = + codeInvalidReturn = const Code( - "InvalidReturn", - ); + "InvalidReturn", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturn(DartType _type, DartType _type2) { @@ -3487,16 +3339,18 @@ Message _withArgumentsInvalidReturn(DartType _type, DartType _type2) { codeInvalidReturn, problemMessage: """A value of type '${type}' can't be returned from a function with return type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnAsync = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturnAsync = + const Template( "InvalidReturnAsync", problemMessageTemplate: r"""A value of type '#type' can't be returned from an async function with return type '#type2'.""", @@ -3505,10 +3359,10 @@ templateInvalidReturnAsync = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnAsync = + codeInvalidReturnAsync = const Code( - "InvalidReturnAsync", - ); + "InvalidReturnAsync", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnAsync(DartType _type, DartType _type2) { @@ -3521,16 +3375,18 @@ Message _withArgumentsInvalidReturnAsync(DartType _type, DartType _type2) { codeInvalidReturnAsync, problemMessage: """A value of type '${type}' can't be returned from an async function with return type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnAsyncNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturnAsyncNullability = + const Template( "InvalidReturnAsyncNullability", problemMessageTemplate: r"""A value of type '#type' can't be returned from an async function with return type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -3539,16 +3395,14 @@ templateInvalidReturnAsyncNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnAsyncNullability = + codeInvalidReturnAsyncNullability = const Code( - "InvalidReturnAsyncNullability", - ); + "InvalidReturnAsyncNullability", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnAsyncNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3558,16 +3412,18 @@ Message _withArgumentsInvalidReturnAsyncNullability( codeInvalidReturnAsyncNullability, problemMessage: """A value of type '${type}' can't be returned from an async function with return type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnAsyncNullabilityNull = const Template< - Message Function(DartType _type) ->( + templateInvalidReturnAsyncNullabilityNull = + const Template( "InvalidReturnAsyncNullabilityNull", problemMessageTemplate: r"""The value 'null' can't be returned from an async function with return type '#type' because '#type' is not nullable.""", @@ -3576,10 +3432,10 @@ templateInvalidReturnAsyncNullabilityNull = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnAsyncNullabilityNull = + codeInvalidReturnAsyncNullabilityNull = const Code( - "InvalidReturnAsyncNullabilityNull", - ); + "InvalidReturnAsyncNullabilityNull", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnAsyncNullabilityNull(DartType _type) { @@ -3590,16 +3446,17 @@ Message _withArgumentsInvalidReturnAsyncNullabilityNull(DartType _type) { codeInvalidReturnAsyncNullabilityNull, problemMessage: """The value 'null' can't be returned from an async function with return type '${type}' because '${type}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnAsyncNullabilityNullType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturnAsyncNullabilityNullType = + const Template( "InvalidReturnAsyncNullabilityNullType", problemMessageTemplate: r"""A value of type '#type' can't be returned from an async function with return type '#type2' because '#type2' is not nullable.""", @@ -3608,16 +3465,14 @@ templateInvalidReturnAsyncNullabilityNullType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnAsyncNullabilityNullType = + codeInvalidReturnAsyncNullabilityNullType = const Code( - "InvalidReturnAsyncNullabilityNullType", - ); + "InvalidReturnAsyncNullabilityNullType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnAsyncNullabilityNullType( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3627,28 +3482,21 @@ Message _withArgumentsInvalidReturnAsyncNullabilityNullType( codeInvalidReturnAsyncNullabilityNullType, problemMessage: """A value of type '${type}' can't be returned from an async function with return type '${type2}' because '${type2}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateInvalidReturnAsyncPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateInvalidReturnAsyncPartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "InvalidReturnAsyncPartNullability", problemMessageTemplate: r"""A value of type '#type' can't be returned from an async function with return type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -3657,29 +3505,17 @@ templateInvalidReturnAsyncPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeInvalidReturnAsyncPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->("InvalidReturnAsyncPartNullability"); + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeInvalidReturnAsyncPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( + "InvalidReturnAsyncPartNullability", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnAsyncPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3693,7 +3529,7 @@ Message _withArgumentsInvalidReturnAsyncPartNullability( codeInvalidReturnAsyncPartNullability, problemMessage: """A value of type '${type}' can't be returned from an async function with return type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -3705,9 +3541,8 @@ Message _withArgumentsInvalidReturnAsyncPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturnNullability = + const Template( "InvalidReturnNullability", problemMessageTemplate: r"""A value of type '#type' can't be returned from a function with return type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -3716,16 +3551,14 @@ templateInvalidReturnNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnNullability = + codeInvalidReturnNullability = const Code( - "InvalidReturnNullability", - ); + "InvalidReturnNullability", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3735,16 +3568,18 @@ Message _withArgumentsInvalidReturnNullability( codeInvalidReturnNullability, problemMessage: """A value of type '${type}' can't be returned from a function with return type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnNullabilityNull = const Template< - Message Function(DartType _type) ->( + templateInvalidReturnNullabilityNull = + const Template( "InvalidReturnNullabilityNull", problemMessageTemplate: r"""The value 'null' can't be returned from a function with return type '#type' because '#type' is not nullable.""", @@ -3754,8 +3589,8 @@ templateInvalidReturnNullabilityNull = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeInvalidReturnNullabilityNull = const Code( - "InvalidReturnNullabilityNull", - ); + "InvalidReturnNullabilityNull", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnNullabilityNull(DartType _type) { @@ -3766,16 +3601,17 @@ Message _withArgumentsInvalidReturnNullabilityNull(DartType _type) { codeInvalidReturnNullabilityNull, problemMessage: """The value 'null' can't be returned from a function with return type '${type}' because '${type}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateInvalidReturnNullabilityNullType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateInvalidReturnNullabilityNullType = + const Template( "InvalidReturnNullabilityNullType", problemMessageTemplate: r"""A value of type '#type' can't be returned from a function with return type '#type2' because '#type2' is not nullable.""", @@ -3784,16 +3620,14 @@ templateInvalidReturnNullabilityNullType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeInvalidReturnNullabilityNullType = + codeInvalidReturnNullabilityNullType = const Code( - "InvalidReturnNullabilityNullType", - ); + "InvalidReturnNullabilityNullType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnNullabilityNullType( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3803,28 +3637,21 @@ Message _withArgumentsInvalidReturnNullabilityNullType( codeInvalidReturnNullabilityNullType, problemMessage: """A value of type '${type}' can't be returned from a function with return type '${type2}' because '${type2}' is not nullable.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateInvalidReturnPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateInvalidReturnPartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "InvalidReturnPartNullability", problemMessageTemplate: r"""A value of type '#type' can't be returned from a function with return type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -3833,29 +3660,17 @@ templateInvalidReturnPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeInvalidReturnPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->("InvalidReturnPartNullability"); + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeInvalidReturnPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( + "InvalidReturnPartNullability", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsInvalidReturnPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -3869,7 +3684,7 @@ Message _withArgumentsInvalidReturnPartNullability( codeInvalidReturnPartNullability, problemMessage: """A value of type '${type}' can't be returned from a function with return type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -3881,27 +3696,26 @@ Message _withArgumentsInvalidReturnPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportInvalidInteropTypeArgument = + templateJsInteropExportInvalidInteropTypeArgument = const Template( - "JsInteropExportInvalidInteropTypeArgument", - problemMessageTemplate: - r"""Type argument '#type' needs to be a non-JS interop type.""", - correctionMessageTemplate: - r"""Use a non-JS interop class that uses `@JSExport` instead.""", - withArguments: _withArgumentsJsInteropExportInvalidInteropTypeArgument, - ); + "JsInteropExportInvalidInteropTypeArgument", + problemMessageTemplate: + r"""Type argument '#type' needs to be a non-JS interop type.""", + correctionMessageTemplate: + r"""Use a non-JS interop class that uses `@JSExport` instead.""", + withArguments: _withArgumentsJsInteropExportInvalidInteropTypeArgument, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportInvalidInteropTypeArgument = + codeJsInteropExportInvalidInteropTypeArgument = const Code( - "JsInteropExportInvalidInteropTypeArgument", - ); + "JsInteropExportInvalidInteropTypeArgument", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportInvalidInteropTypeArgument( - DartType _type, -) { + DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -3909,31 +3723,33 @@ Message _withArgumentsJsInteropExportInvalidInteropTypeArgument( codeJsInteropExportInvalidInteropTypeArgument, problemMessage: """Type argument '${type}' needs to be a non-JS interop type.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use a non-JS interop class that uses `@JSExport` instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExportInvalidTypeArgument = + templateJsInteropExportInvalidTypeArgument = const Template( - "JsInteropExportInvalidTypeArgument", - problemMessageTemplate: - r"""Type argument '#type' needs to be an interface type.""", - correctionMessageTemplate: - r"""Use a non-JS interop class that uses `@JSExport` instead.""", - withArguments: _withArgumentsJsInteropExportInvalidTypeArgument, - ); + "JsInteropExportInvalidTypeArgument", + problemMessageTemplate: + r"""Type argument '#type' needs to be an interface type.""", + correctionMessageTemplate: + r"""Use a non-JS interop class that uses `@JSExport` instead.""", + withArguments: _withArgumentsJsInteropExportInvalidTypeArgument, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExportInvalidTypeArgument = + codeJsInteropExportInvalidTypeArgument = const Code( - "JsInteropExportInvalidTypeArgument", - ); + "JsInteropExportInvalidTypeArgument", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExportInvalidTypeArgument(DartType _type) { @@ -3944,18 +3760,19 @@ Message _withArgumentsJsInteropExportInvalidTypeArgument(DartType _type) { codeJsInteropExportInvalidTypeArgument, problemMessage: """Type argument '${type}' needs to be an interface type.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use a non-JS interop class that uses `@JSExport` instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropExtensionTypeNotInterop = const Template< - Message Function(String name, DartType _type) ->( + templateJsInteropExtensionTypeNotInterop = + const Template( "JsInteropExtensionTypeNotInterop", problemMessageTemplate: r"""Extension type '#name' is marked with a '@JS' annotation, but its representation type is not a valid JS interop type: '#type'.""", @@ -3966,16 +3783,14 @@ templateJsInteropExtensionTypeNotInterop = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropExtensionTypeNotInterop = + codeJsInteropExtensionTypeNotInterop = const Code( - "JsInteropExtensionTypeNotInterop", - ); + "JsInteropExtensionTypeNotInterop", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropExtensionTypeNotInterop( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -3985,18 +3800,20 @@ Message _withArgumentsJsInteropExtensionTypeNotInterop( codeJsInteropExtensionTypeNotInterop, problemMessage: """Extension type '${name}' is marked with a '@JS' annotation, but its representation type is not a valid JS interop type: '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try declaring a valid JS interop representation type, which may include 'dart:js_interop' types, '@staticInterop' types, 'dart:html' types, or other interop extension types.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropFunctionToJSRequiresStaticType = const Template< - Message Function(DartType _type) ->( + templateJsInteropFunctionToJSRequiresStaticType = + const Template( "JsInteropFunctionToJSRequiresStaticType", problemMessageTemplate: r"""`Function.toJS` requires a statically known function type, but Type '#type' is not a precise function type, e.g., `void Function()`.""", @@ -4007,10 +3824,10 @@ templateJsInteropFunctionToJSRequiresStaticType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropFunctionToJSRequiresStaticType = + codeJsInteropFunctionToJSRequiresStaticType = const Code( - "JsInteropFunctionToJSRequiresStaticType", - ); + "JsInteropFunctionToJSRequiresStaticType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropFunctionToJSRequiresStaticType(DartType _type) { @@ -4021,18 +3838,19 @@ Message _withArgumentsJsInteropFunctionToJSRequiresStaticType(DartType _type) { codeJsInteropFunctionToJSRequiresStaticType, problemMessage: """`Function.toJS` requires a statically known function type, but Type '${type}' is not a precise function type, e.g., `void Function()`.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Insert an explicit cast to the expected function type.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropIsAInvalidTypeVariable = const Template< - Message Function(DartType _type) ->( + templateJsInteropIsAInvalidTypeVariable = + const Template( "JsInteropIsAInvalidTypeVariable", problemMessageTemplate: r"""Type argument '#type' provided to 'isA' cannot be a type variable and must be an interop extension type that can be determined at compile-time.""", @@ -4043,10 +3861,10 @@ templateJsInteropIsAInvalidTypeVariable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropIsAInvalidTypeVariable = + codeJsInteropIsAInvalidTypeVariable = const Code( - "JsInteropIsAInvalidTypeVariable", - ); + "JsInteropIsAInvalidTypeVariable", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropIsAInvalidTypeVariable(DartType _type) { @@ -4057,18 +3875,19 @@ Message _withArgumentsJsInteropIsAInvalidTypeVariable(DartType _type) { codeJsInteropIsAInvalidTypeVariable, problemMessage: """Type argument '${type}' provided to 'isA' cannot be a type variable and must be an interop extension type that can be determined at compile-time.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use a valid interop extension type that can be determined at compile-time as the type argument instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropIsAObjectLiteralType = const Template< - Message Function(DartType _type) ->( + templateJsInteropIsAObjectLiteralType = + const Template( "JsInteropIsAObjectLiteralType", problemMessageTemplate: r"""Type argument '#type' has an object literal constructor. Because 'isA' uses the type's name or '@JS()' rename, this may result in an incorrect type check.""", @@ -4080,8 +3899,8 @@ templateJsInteropIsAObjectLiteralType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeJsInteropIsAObjectLiteralType = const Code( - "JsInteropIsAObjectLiteralType", - ); + "JsInteropIsAObjectLiteralType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropIsAObjectLiteralType(DartType _type) { @@ -4092,17 +3911,18 @@ Message _withArgumentsJsInteropIsAObjectLiteralType(DartType _type) { codeJsInteropIsAObjectLiteralType, problemMessage: """Type argument '${type}' has an object literal constructor. Because 'isA' uses the type's name or '@JS()' rename, this may result in an incorrect type check.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use 'JSObject' as the type argument instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropIsAPrimitiveExtensionType = const Template< - Message Function(DartType _type, String string) ->( + templateJsInteropIsAPrimitiveExtensionType = + const Template( "JsInteropIsAPrimitiveExtensionType", problemMessageTemplate: r"""Type argument '#type' wraps primitive JS type '#string', which is specially handled using 'typeof'.""", @@ -4113,16 +3933,14 @@ templateJsInteropIsAPrimitiveExtensionType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropIsAPrimitiveExtensionType = + codeJsInteropIsAPrimitiveExtensionType = const Code( - "JsInteropIsAPrimitiveExtensionType", - ); + "JsInteropIsAPrimitiveExtensionType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropIsAPrimitiveExtensionType( - DartType _type, - String string, -) { + DartType _type, String string) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (string.isEmpty) throw 'No string provided'; @@ -4131,18 +3949,20 @@ Message _withArgumentsJsInteropIsAPrimitiveExtensionType( codeJsInteropIsAPrimitiveExtensionType, problemMessage: """Type argument '${type}' wraps primitive JS type '${string}', which is specially handled using 'typeof'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use the primitive JS type '${string}' as the type argument instead.""", - arguments: {'type': _type, 'string': string}, + arguments: { + 'type': _type, + 'string': string, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropExternalAccessorTypeViolation = const Template< - Message Function(DartType _type) ->( + templateJsInteropStaticInteropExternalAccessorTypeViolation = + const Template( "JsInteropStaticInteropExternalAccessorTypeViolation", problemMessageTemplate: r"""External JS interop member contains an invalid type: '#type'.""", @@ -4154,15 +3974,14 @@ templateJsInteropStaticInteropExternalAccessorTypeViolation = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropExternalAccessorTypeViolation = + codeJsInteropStaticInteropExternalAccessorTypeViolation = const Code( - "JsInteropStaticInteropExternalAccessorTypeViolation", - ); + "JsInteropStaticInteropExternalAccessorTypeViolation", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropExternalAccessorTypeViolation( - DartType _type, -) { + DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -4170,36 +3989,36 @@ Message _withArgumentsJsInteropStaticInteropExternalAccessorTypeViolation( codeJsInteropStaticInteropExternalAccessorTypeViolation, problemMessage: """External JS interop member contains an invalid type: '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use one of these valid types instead: JS types from 'dart:js_interop', ExternalDartReference, void, bool, num, double, int, String, extension types that erase to one of these types, '@staticInterop' types, 'dart:html' types when compiling to JS, or a type parameter that is a subtype of a valid non-primitive type.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropMockNotStaticInteropType = + templateJsInteropStaticInteropMockNotStaticInteropType = const Template( - "JsInteropStaticInteropMockNotStaticInteropType", - problemMessageTemplate: - r"""Type argument '#type' needs to be a `@staticInterop` type.""", - correctionMessageTemplate: r"""Use a `@staticInterop` class instead.""", - withArguments: - _withArgumentsJsInteropStaticInteropMockNotStaticInteropType, - ); + "JsInteropStaticInteropMockNotStaticInteropType", + problemMessageTemplate: + r"""Type argument '#type' needs to be a `@staticInterop` type.""", + correctionMessageTemplate: r"""Use a `@staticInterop` class instead.""", + withArguments: _withArgumentsJsInteropStaticInteropMockNotStaticInteropType, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropMockNotStaticInteropType = + codeJsInteropStaticInteropMockNotStaticInteropType = const Code( - "JsInteropStaticInteropMockNotStaticInteropType", - ); + "JsInteropStaticInteropMockNotStaticInteropType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropMockNotStaticInteropType( - DartType _type, -) { + DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -4207,17 +4026,18 @@ Message _withArgumentsJsInteropStaticInteropMockNotStaticInteropType( codeJsInteropStaticInteropMockNotStaticInteropType, problemMessage: """Type argument '${type}' needs to be a `@staticInterop` type.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Use a `@staticInterop` class instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateJsInteropStaticInteropMockTypeParametersNotAllowed = const Template< - Message Function(DartType _type) ->( + templateJsInteropStaticInteropMockTypeParametersNotAllowed = + const Template( "JsInteropStaticInteropMockTypeParametersNotAllowed", problemMessageTemplate: r"""Type argument '#type' has type parameters that do not match their bound. createStaticInteropMock requires instantiating all type parameters to their bound to ensure mocking conformance.""", @@ -4229,15 +4049,14 @@ templateJsInteropStaticInteropMockTypeParametersNotAllowed = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeJsInteropStaticInteropMockTypeParametersNotAllowed = + codeJsInteropStaticInteropMockTypeParametersNotAllowed = const Code( - "JsInteropStaticInteropMockTypeParametersNotAllowed", - ); + "JsInteropStaticInteropMockTypeParametersNotAllowed", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsJsInteropStaticInteropMockTypeParametersNotAllowed( - DartType _type, -) { + DartType _type) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); String type = typeParts.join(); @@ -4245,18 +4064,19 @@ Message _withArgumentsJsInteropStaticInteropMockTypeParametersNotAllowed( codeJsInteropStaticInteropMockTypeParametersNotAllowed, problemMessage: """Type argument '${type}' has type parameters that do not match their bound. createStaticInteropMock requires instantiating all type parameters to their bound to ensure mocking conformance.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Remove the type parameter in the type argument or replace it with its bound.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMainWrongParameterType = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateMainWrongParameterType = + const Template( "MainWrongParameterType", problemMessageTemplate: r"""The type '#type' of the first parameter of the 'main' method is not a supertype of '#type2'.""", @@ -4265,10 +4085,10 @@ templateMainWrongParameterType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMainWrongParameterType = + codeMainWrongParameterType = const Code( - "MainWrongParameterType", - ); + "MainWrongParameterType", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMainWrongParameterType(DartType _type, DartType _type2) { @@ -4281,16 +4101,18 @@ Message _withArgumentsMainWrongParameterType(DartType _type, DartType _type2) { codeMainWrongParameterType, problemMessage: """The type '${type}' of the first parameter of the 'main' method is not a supertype of '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMainWrongParameterTypeExported = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateMainWrongParameterTypeExported = + const Template( "MainWrongParameterTypeExported", problemMessageTemplate: r"""The type '#type' of the first parameter of the exported 'main' method is not a supertype of '#type2'.""", @@ -4299,16 +4121,14 @@ templateMainWrongParameterTypeExported = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMainWrongParameterTypeExported = + codeMainWrongParameterTypeExported = const Code( - "MainWrongParameterTypeExported", - ); + "MainWrongParameterTypeExported", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMainWrongParameterTypeExported( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -4318,18 +4138,19 @@ Message _withArgumentsMainWrongParameterTypeExported( codeMainWrongParameterTypeExported, problemMessage: """The type '${type}' of the first parameter of the exported 'main' method is not a supertype of '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(DartType _type, DartType _type2, DartType _type3) -> -templateMixinApplicationIncompatibleSupertype = const Template< - Message Function(DartType _type, DartType _type2, DartType _type3) ->( + Message Function(DartType _type, DartType _type2, DartType _type3)> + templateMixinApplicationIncompatibleSupertype = const Template< + Message Function(DartType _type, DartType _type2, DartType _type3)>( "MixinApplicationIncompatibleSupertype", problemMessageTemplate: r"""'#type' doesn't implement '#type2' so it can't be used with '#type3'.""", @@ -4338,19 +4159,15 @@ templateMixinApplicationIncompatibleSupertype = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMixinApplicationIncompatibleSupertype = const Code< - Message Function(DartType _type, DartType _type2, DartType _type3) ->( + codeMixinApplicationIncompatibleSupertype = const Code< + Message Function(DartType _type, DartType _type2, DartType _type3)>( "MixinApplicationIncompatibleSupertype", analyzerCodes: ["MIXIN_APPLICATION_NOT_IMPLEMENTED_INTERFACE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinApplicationIncompatibleSupertype( - DartType _type, - DartType _type2, - DartType _type3, -) { + DartType _type, DartType _type2, DartType _type3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -4362,16 +4179,19 @@ Message _withArgumentsMixinApplicationIncompatibleSupertype( codeMixinApplicationIncompatibleSupertype, problemMessage: """'${type}' doesn't implement '${type2}' so it can't be used with '${type3}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2, 'type3': _type3}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + 'type3': _type3, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateMixinInferenceNoMatchingClass = const Template< - Message Function(String name, String name2, DartType _type) ->( + templateMixinInferenceNoMatchingClass = + const Template( "MixinInferenceNoMatchingClass", problemMessageTemplate: r"""Type parameters couldn't be inferred for the mixin '#name' because '#name2' does not implement the mixin's supertype constraint '#type'.""", @@ -4380,18 +4200,15 @@ templateMixinInferenceNoMatchingClass = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeMixinInferenceNoMatchingClass = + codeMixinInferenceNoMatchingClass = const Code( - "MixinInferenceNoMatchingClass", - analyzerCodes: ["MIXIN_INFERENCE_NO_POSSIBLE_SUBSTITUTION"], - ); + "MixinInferenceNoMatchingClass", + analyzerCodes: ["MIXIN_INFERENCE_NO_POSSIBLE_SUBSTITUTION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsMixinInferenceNoMatchingClass( - String name, - String name2, - DartType _type, -) { + String name, String name2, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -4403,33 +4220,35 @@ Message _withArgumentsMixinInferenceNoMatchingClass( codeMixinInferenceNoMatchingClass, problemMessage: """Type parameters couldn't be inferred for the mixin '${name}' because '${name2}' does not implement the mixin's supertype constraint '${type}'.""" + - labeler.originMessages, - arguments: {'name': name, 'name2': name2, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'name2': name2, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNameNotFoundInRecordNameGet = + templateNameNotFoundInRecordNameGet = const Template( - "NameNotFoundInRecordNameGet", - problemMessageTemplate: - r"""Field name #string isn't found in records of type #type.""", - withArguments: _withArgumentsNameNotFoundInRecordNameGet, - ); + "NameNotFoundInRecordNameGet", + problemMessageTemplate: + r"""Field name #string isn't found in records of type #type.""", + withArguments: _withArgumentsNameNotFoundInRecordNameGet, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNameNotFoundInRecordNameGet = + codeNameNotFoundInRecordNameGet = const Code( - "NameNotFoundInRecordNameGet", - ); + "NameNotFoundInRecordNameGet", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNameNotFoundInRecordNameGet( - String string, - DartType _type, -) { + String string, DartType _type) { if (string.isEmpty) throw 'No string provided'; TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); @@ -4438,16 +4257,18 @@ Message _withArgumentsNameNotFoundInRecordNameGet( codeNameNotFoundInRecordNameGet, problemMessage: """Field name ${string} isn't found in records of type ${type}.""" + - labeler.originMessages, - arguments: {'string': string, 'type': _type}, + labeler.originMessages, + arguments: { + 'string': string, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonExhaustiveSwitchExpression = const Template< - Message Function(DartType _type, String string, String string2) ->( + templateNonExhaustiveSwitchExpression = const Template< + Message Function(DartType _type, String string, String string2)>( "NonExhaustiveSwitchExpression", problemMessageTemplate: r"""The type '#type' is not exhaustively matched by the switch cases since it doesn't match '#string'.""", @@ -4458,18 +4279,15 @@ templateNonExhaustiveSwitchExpression = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonExhaustiveSwitchExpression = + codeNonExhaustiveSwitchExpression = const Code( - "NonExhaustiveSwitchExpression", - analyzerCodes: ["NON_EXHAUSTIVE_SWITCH_EXPRESSION"], - ); + "NonExhaustiveSwitchExpression", + analyzerCodes: ["NON_EXHAUSTIVE_SWITCH_EXPRESSION"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonExhaustiveSwitchExpression( - DartType _type, - String string, - String string2, -) { + DartType _type, String string, String string2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (string.isEmpty) throw 'No string provided'; @@ -4479,18 +4297,21 @@ Message _withArgumentsNonExhaustiveSwitchExpression( codeNonExhaustiveSwitchExpression, problemMessage: """The type '${type}' is not exhaustively matched by the switch cases since it doesn't match '${string}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try adding a wildcard pattern or cases that match '${string2}'.""", - arguments: {'type': _type, 'string': string, 'string2': string2}, + arguments: { + 'type': _type, + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonExhaustiveSwitchStatement = const Template< - Message Function(DartType _type, String string, String string2) ->( + templateNonExhaustiveSwitchStatement = const Template< + Message Function(DartType _type, String string, String string2)>( "NonExhaustiveSwitchStatement", problemMessageTemplate: r"""The type '#type' is not exhaustively matched by the switch cases since it doesn't match '#string'.""", @@ -4501,18 +4322,15 @@ templateNonExhaustiveSwitchStatement = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNonExhaustiveSwitchStatement = + codeNonExhaustiveSwitchStatement = const Code( - "NonExhaustiveSwitchStatement", - analyzerCodes: ["NON_EXHAUSTIVE_SWITCH_STATEMENT"], - ); + "NonExhaustiveSwitchStatement", + analyzerCodes: ["NON_EXHAUSTIVE_SWITCH_STATEMENT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonExhaustiveSwitchStatement( - DartType _type, - String string, - String string2, -) { + DartType _type, String string, String string2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (string.isEmpty) throw 'No string provided'; @@ -4522,26 +4340,31 @@ Message _withArgumentsNonExhaustiveSwitchStatement( codeNonExhaustiveSwitchStatement, problemMessage: """The type '${type}' is not exhaustively matched by the switch cases since it doesn't match '${string}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try adding a default case or cases that match '${string2}'.""", - arguments: {'type': _type, 'string': string, 'string2': string2}, + arguments: { + 'type': _type, + 'string': string, + 'string2': string2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNonNullAwareSpreadIsNull = + templateNonNullAwareSpreadIsNull = const Template( - "NonNullAwareSpreadIsNull", - problemMessageTemplate: - r"""Can't spread a value with static type '#type'.""", - withArguments: _withArgumentsNonNullAwareSpreadIsNull, - ); + "NonNullAwareSpreadIsNull", + problemMessageTemplate: r"""Can't spread a value with static type '#type'.""", + withArguments: _withArgumentsNonNullAwareSpreadIsNull, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNonNullAwareSpreadIsNull = - const Code("NonNullAwareSpreadIsNull"); + const Code( + "NonNullAwareSpreadIsNull", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNonNullAwareSpreadIsNull(DartType _type) { @@ -4550,18 +4373,18 @@ Message _withArgumentsNonNullAwareSpreadIsNull(DartType _type) { String type = typeParts.join(); return new Message( codeNonNullAwareSpreadIsNull, - problemMessage: - """Can't spread a value with static type '${type}'.""" + + problemMessage: """Can't spread a value with static type '${type}'.""" + labeler.originMessages, - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNullableExpressionCallError = const Template< - Message Function(DartType _type) ->( + templateNullableExpressionCallError = + const Template( "NullableExpressionCallError", problemMessageTemplate: r"""Can't use an expression of type '#type' as a function because it's potentially null.""", @@ -4571,7 +4394,9 @@ templateNullableExpressionCallError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeNullableExpressionCallError = - const Code("NullableExpressionCallError"); + const Code( + "NullableExpressionCallError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableExpressionCallError(DartType _type) { @@ -4582,17 +4407,18 @@ Message _withArgumentsNullableExpressionCallError(DartType _type) { codeNullableExpressionCallError, problemMessage: """Can't use an expression of type '${type}' as a function because it's potentially null.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try calling using ?.call instead.""", - arguments: {'type': _type}, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNullableMethodCallError = const Template< - Message Function(String name, DartType _type) ->( + templateNullableMethodCallError = + const Template( "NullableMethodCallError", problemMessageTemplate: r"""Method '#name' cannot be called on '#type' because it is potentially null.""", @@ -4602,10 +4428,10 @@ templateNullableMethodCallError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNullableMethodCallError = + codeNullableMethodCallError = const Code( - "NullableMethodCallError", - ); + "NullableMethodCallError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableMethodCallError(String name, DartType _type) { @@ -4618,17 +4444,19 @@ Message _withArgumentsNullableMethodCallError(String name, DartType _type) { codeNullableMethodCallError, problemMessage: """Method '${name}' cannot be called on '${type}' because it is potentially null.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try calling using ?. instead.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNullableOperatorCallError = const Template< - Message Function(String name, DartType _type) ->( + templateNullableOperatorCallError = + const Template( "NullableOperatorCallError", problemMessageTemplate: r"""Operator '#name' cannot be called on '#type' because it is potentially null.""", @@ -4637,10 +4465,10 @@ templateNullableOperatorCallError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNullableOperatorCallError = + codeNullableOperatorCallError = const Code( - "NullableOperatorCallError", - ); + "NullableOperatorCallError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullableOperatorCallError(String name, DartType _type) { @@ -4653,16 +4481,18 @@ Message _withArgumentsNullableOperatorCallError(String name, DartType _type) { codeNullableOperatorCallError, problemMessage: """Operator '${name}' cannot be called on '${type}' because it is potentially null.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateNullablePropertyAccessError = const Template< - Message Function(String name, DartType _type) ->( + templateNullablePropertyAccessError = + const Template( "NullablePropertyAccessError", problemMessageTemplate: r"""Property '#name' cannot be accessed on '#type' because it is potentially null.""", @@ -4672,10 +4502,10 @@ templateNullablePropertyAccessError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeNullablePropertyAccessError = + codeNullablePropertyAccessError = const Code( - "NullablePropertyAccessError", - ); + "NullablePropertyAccessError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsNullablePropertyAccessError(String name, DartType _type) { @@ -4688,17 +4518,19 @@ Message _withArgumentsNullablePropertyAccessError(String name, DartType _type) { codeNullablePropertyAccessError, problemMessage: """Property '${name}' cannot be accessed on '${type}' because it is potentially null.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try accessing using ?. instead.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOptionalNonNullableWithoutInitializerError = const Template< - Message Function(String name, DartType _type) ->( + templateOptionalNonNullableWithoutInitializerError = + const Template( "OptionalNonNullableWithoutInitializerError", problemMessageTemplate: r"""The parameter '#name' can't have a value of 'null' because of its type '#type', but the implicit default value is 'null'.""", @@ -4709,17 +4541,15 @@ templateOptionalNonNullableWithoutInitializerError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOptionalNonNullableWithoutInitializerError = + codeOptionalNonNullableWithoutInitializerError = const Code( - "OptionalNonNullableWithoutInitializerError", - analyzerCodes: ["MISSING_DEFAULT_VALUE_FOR_PARAMETER"], - ); + "OptionalNonNullableWithoutInitializerError", + analyzerCodes: ["MISSING_DEFAULT_VALUE_FOR_PARAMETER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOptionalNonNullableWithoutInitializerError( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -4729,18 +4559,20 @@ Message _withArgumentsOptionalNonNullableWithoutInitializerError( codeOptionalNonNullableWithoutInitializerError, problemMessage: """The parameter '${name}' can't have a value of 'null' because of its type '${type}', but the implicit default value is 'null'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try adding either an explicit non-'null' default value or the 'required' modifier.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateOptionalSuperParameterWithoutInitializer = const Template< - Message Function(DartType _type, String name) ->( + templateOptionalSuperParameterWithoutInitializer = + const Template( "OptionalSuperParameterWithoutInitializer", problemMessageTemplate: r"""Type '#type' of the optional super-initializer parameter '#name' doesn't allow 'null', but the parameter doesn't have a default value, and the default value can't be copied from the corresponding parameter of the super constructor.""", @@ -4749,16 +4581,14 @@ templateOptionalSuperParameterWithoutInitializer = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeOptionalSuperParameterWithoutInitializer = + codeOptionalSuperParameterWithoutInitializer = const Code( - "OptionalSuperParameterWithoutInitializer", - ); + "OptionalSuperParameterWithoutInitializer", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOptionalSuperParameterWithoutInitializer( - DartType _type, - String name, -) { + DartType _type, String name) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -4768,30 +4598,20 @@ Message _withArgumentsOptionalSuperParameterWithoutInitializer( codeOptionalSuperParameterWithoutInitializer, problemMessage: """Type '${type}' of the optional super-initializer parameter '${name}' doesn't allow 'null', but the parameter doesn't have a default value, and the default value can't be copied from the corresponding parameter of the super constructor.""" + - labeler.originMessages, - arguments: {'type': _type, 'name': name}, + labeler.originMessages, + arguments: { + 'type': _type, + 'name': name, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - String name, - String name2, - DartType _type, - DartType _type2, - String name3, - ) -> -templateOverrideTypeMismatchParameter = const Template< - Message Function( - String name, - String name2, - DartType _type, - DartType _type2, - String name3, - ) ->( + Message Function(String name, String name2, DartType _type, DartType _type2, + String name3)> templateOverrideTypeMismatchParameter = const Template< + Message Function(String name, String name2, DartType _type, DartType _type2, + String name3)>( "OverrideTypeMismatchParameter", problemMessageTemplate: r"""The parameter '#name' of the method '#name2' has type '#type', which does not match the corresponding type, '#type2', in the overridden method, '#name3'.""", @@ -4802,35 +4622,17 @@ templateOverrideTypeMismatchParameter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - String name, - String name2, - DartType _type, - DartType _type2, - String name3, - ) -> -codeOverrideTypeMismatchParameter = const Code< - Message Function( - String name, - String name2, - DartType _type, - DartType _type2, - String name3, - ) ->( + Message Function(String name, String name2, DartType _type, DartType _type2, + String name3)> codeOverrideTypeMismatchParameter = const Code< + Message Function(String name, String name2, DartType _type, DartType _type2, + String name3)>( "OverrideTypeMismatchParameter", analyzerCodes: ["INVALID_METHOD_OVERRIDE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideTypeMismatchParameter( - String name, - String name2, - DartType _type, - DartType _type2, - String name3, -) { + String name, String name2, DartType _type, DartType _type2, String name3) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); if (name2.isEmpty) throw 'No name provided'; @@ -4846,7 +4648,7 @@ Message _withArgumentsOverrideTypeMismatchParameter( codeOverrideTypeMismatchParameter, problemMessage: """The parameter '${name}' of the method '${name2}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden method, '${name3}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change to a supertype of '${type2}', or, for a covariant parameter, a subtype.""", arguments: { @@ -4861,11 +4663,11 @@ Message _withArgumentsOverrideTypeMismatchParameter( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(String name, DartType _type, DartType _type2, String name2) -> -templateOverrideTypeMismatchReturnType = const Template< - Message Function(String name, DartType _type, DartType _type2, String name2) ->( + Message Function( + String name, DartType _type, DartType _type2, String name2)> + templateOverrideTypeMismatchReturnType = const Template< + Message Function( + String name, DartType _type, DartType _type2, String name2)>( "OverrideTypeMismatchReturnType", problemMessageTemplate: r"""The return type of the method '#name' is '#type', which does not match the return type, '#type2', of the overridden method, '#name2'.""", @@ -4875,22 +4677,18 @@ templateOverrideTypeMismatchReturnType = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(String name, DartType _type, DartType _type2, String name2) -> -codeOverrideTypeMismatchReturnType = const Code< - Message Function(String name, DartType _type, DartType _type2, String name2) ->( + Message Function( + String name, DartType _type, DartType _type2, String name2)> + codeOverrideTypeMismatchReturnType = const Code< + Message Function( + String name, DartType _type, DartType _type2, String name2)>( "OverrideTypeMismatchReturnType", analyzerCodes: ["INVALID_METHOD_OVERRIDE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideTypeMismatchReturnType( - String name, - DartType _type, - DartType _type2, - String name2, -) { + String name, DartType _type, DartType _type2, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -4904,19 +4702,24 @@ Message _withArgumentsOverrideTypeMismatchReturnType( codeOverrideTypeMismatchReturnType, problemMessage: """The return type of the method '${name}' is '${type}', which does not match the return type, '${type2}', of the overridden method, '${name2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Change to a subtype of '${type2}'.""", - arguments: {'name': name, 'type': _type, 'type2': _type2, 'name2': name2}, + arguments: { + 'name': name, + 'type': _type, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function(String name, DartType _type, DartType _type2, String name2) -> -templateOverrideTypeMismatchSetter = const Template< - Message Function(String name, DartType _type, DartType _type2, String name2) ->( + Message Function( + String name, DartType _type, DartType _type2, String name2)> + templateOverrideTypeMismatchSetter = const Template< + Message Function( + String name, DartType _type, DartType _type2, String name2)>( "OverrideTypeMismatchSetter", problemMessageTemplate: r"""The field '#name' has type '#type', which does not match the corresponding type, '#type2', in the overridden setter, '#name2'.""", @@ -4925,22 +4728,18 @@ templateOverrideTypeMismatchSetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function(String name, DartType _type, DartType _type2, String name2) -> -codeOverrideTypeMismatchSetter = const Code< - Message Function(String name, DartType _type, DartType _type2, String name2) ->( + Message Function( + String name, DartType _type, DartType _type2, String name2)> + codeOverrideTypeMismatchSetter = const Code< + Message Function( + String name, DartType _type, DartType _type2, String name2)>( "OverrideTypeMismatchSetter", analyzerCodes: ["INVALID_METHOD_OVERRIDE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideTypeMismatchSetter( - String name, - DartType _type, - DartType _type2, - String name2, -) { + String name, DartType _type, DartType _type2, String name2) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -4954,30 +4753,23 @@ Message _withArgumentsOverrideTypeMismatchSetter( codeOverrideTypeMismatchSetter, problemMessage: """The field '${name}' has type '${type}', which does not match the corresponding type, '${type2}', in the overridden setter, '${name2}'.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type, 'type2': _type2, 'name2': name2}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + 'type2': _type2, + 'name2': name2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - String name, - String name2, - DartType _type2, - String name3, - ) -> -templateOverrideTypeParametersBoundMismatch = const Template< - Message Function( - DartType _type, - String name, - String name2, - DartType _type2, - String name3, - ) ->( + Message Function(DartType _type, String name, String name2, + DartType _type2, String name3)> + templateOverrideTypeParametersBoundMismatch = const Template< + Message Function(DartType _type, String name, String name2, + DartType _type2, String name3)>( "OverrideTypeParametersBoundMismatch", problemMessageTemplate: r"""Declared bound '#type' of type variable '#name' of '#name2' doesn't match the bound '#type2' on overridden method '#name3'.""", @@ -4986,32 +4778,16 @@ templateOverrideTypeParametersBoundMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - String name, - String name2, - DartType _type2, - String name3, - ) -> -codeOverrideTypeParametersBoundMismatch = const Code< - Message Function( - DartType _type, - String name, - String name2, - DartType _type2, - String name3, - ) ->("OverrideTypeParametersBoundMismatch"); + Message Function(DartType _type, String name, String name2, DartType _type2, + String name3)> codeOverrideTypeParametersBoundMismatch = const Code< + Message Function(DartType _type, String name, String name2, DartType _type2, + String name3)>( + "OverrideTypeParametersBoundMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsOverrideTypeParametersBoundMismatch( - DartType _type, - String name, - String name2, - DartType _type2, - String name3, -) { + DartType _type, String name, String name2, DartType _type2, String name3) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); if (name.isEmpty) throw 'No name provided'; @@ -5027,7 +4803,7 @@ Message _withArgumentsOverrideTypeParametersBoundMismatch( codeOverrideTypeParametersBoundMismatch, problemMessage: """Declared bound '${type}' of type variable '${name}' of '${name2}' doesn't match the bound '${type2}' on overridden method '${name3}'.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'name': name, @@ -5040,9 +4816,8 @@ Message _withArgumentsOverrideTypeParametersBoundMismatch( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templatePatternTypeMismatchInIrrefutableContext = const Template< - Message Function(DartType _type, DartType _type2) ->( + templatePatternTypeMismatchInIrrefutableContext = + const Template( "PatternTypeMismatchInIrrefutableContext", problemMessageTemplate: r"""The matched value of type '#type' isn't assignable to the required type '#type2'.""", @@ -5053,17 +4828,15 @@ templatePatternTypeMismatchInIrrefutableContext = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codePatternTypeMismatchInIrrefutableContext = + codePatternTypeMismatchInIrrefutableContext = const Code( - "PatternTypeMismatchInIrrefutableContext", - analyzerCodes: ["PATTERN_TYPE_MISMATCH_IN_IRREFUTABLE_CONTEXT"], - ); + "PatternTypeMismatchInIrrefutableContext", + analyzerCodes: ["PATTERN_TYPE_MISMATCH_IN_IRREFUTABLE_CONTEXT"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsPatternTypeMismatchInIrrefutableContext( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5073,36 +4846,37 @@ Message _withArgumentsPatternTypeMismatchInIrrefutableContext( codePatternTypeMismatchInIrrefutableContext, problemMessage: """The matched value of type '${type}' isn't assignable to the required type '${type2}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try changing the required type of the pattern, or the matched value type.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateRedirectingFactoryIncompatibleTypeArgument = + templateRedirectingFactoryIncompatibleTypeArgument = const Template( - "RedirectingFactoryIncompatibleTypeArgument", - problemMessageTemplate: r"""The type '#type' doesn't extend '#type2'.""", - correctionMessageTemplate: r"""Try using a different type as argument.""", - withArguments: _withArgumentsRedirectingFactoryIncompatibleTypeArgument, - ); + "RedirectingFactoryIncompatibleTypeArgument", + problemMessageTemplate: r"""The type '#type' doesn't extend '#type2'.""", + correctionMessageTemplate: r"""Try using a different type as argument.""", + withArguments: _withArgumentsRedirectingFactoryIncompatibleTypeArgument, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeRedirectingFactoryIncompatibleTypeArgument = + codeRedirectingFactoryIncompatibleTypeArgument = const Code( - "RedirectingFactoryIncompatibleTypeArgument", - analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], - ); + "RedirectingFactoryIncompatibleTypeArgument", + analyzerCodes: ["TYPE_ARGUMENT_NOT_MATCHING_BOUNDS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsRedirectingFactoryIncompatibleTypeArgument( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5110,19 +4884,20 @@ Message _withArgumentsRedirectingFactoryIncompatibleTypeArgument( String type2 = type2Parts.join(); return new Message( codeRedirectingFactoryIncompatibleTypeArgument, - problemMessage: - """The type '${type}' doesn't extend '${type2}'.""" + + problemMessage: """The type '${type}' doesn't extend '${type2}'.""" + labeler.originMessages, correctionMessage: """Try using a different type as argument.""", - arguments: {'type': _type, 'type2': _type2}, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadElementTypeMismatch = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadElementTypeMismatch = + const Template( "SpreadElementTypeMismatch", problemMessageTemplate: r"""Can't assign spread elements of type '#type' to collection elements of type '#type2'.""", @@ -5131,17 +4906,15 @@ templateSpreadElementTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadElementTypeMismatch = + codeSpreadElementTypeMismatch = const Code( - "SpreadElementTypeMismatch", - analyzerCodes: ["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadElementTypeMismatch", + analyzerCodes: ["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadElementTypeMismatch( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5151,16 +4924,18 @@ Message _withArgumentsSpreadElementTypeMismatch( codeSpreadElementTypeMismatch, problemMessage: """Can't assign spread elements of type '${type}' to collection elements of type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadElementTypeMismatchNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadElementTypeMismatchNullability = + const Template( "SpreadElementTypeMismatchNullability", problemMessageTemplate: r"""Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -5169,17 +4944,15 @@ templateSpreadElementTypeMismatchNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadElementTypeMismatchNullability = + codeSpreadElementTypeMismatchNullability = const Code( - "SpreadElementTypeMismatchNullability", - analyzerCodes: ["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadElementTypeMismatchNullability", + analyzerCodes: ["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadElementTypeMismatchNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5189,28 +4962,21 @@ Message _withArgumentsSpreadElementTypeMismatchNullability( codeSpreadElementTypeMismatchNullability, problemMessage: """Can't assign spread elements of type '${type}' to collection elements of type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateSpreadElementTypeMismatchPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateSpreadElementTypeMismatchPartNullability = const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadElementTypeMismatchPartNullability", problemMessageTemplate: r"""Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -5219,32 +4985,18 @@ templateSpreadElementTypeMismatchPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeSpreadElementTypeMismatchPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeSpreadElementTypeMismatchPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadElementTypeMismatchPartNullability", analyzerCodes: ["LIST_ELEMENT_TYPE_NOT_ASSIGNABLE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadElementTypeMismatchPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5258,7 +5010,7 @@ Message _withArgumentsSpreadElementTypeMismatchPartNullability( codeSpreadElementTypeMismatchPartNullability, problemMessage: """Can't assign spread elements of type '${type}' to collection elements of type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -5270,9 +5022,8 @@ Message _withArgumentsSpreadElementTypeMismatchPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadMapEntryElementKeyTypeMismatch = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadMapEntryElementKeyTypeMismatch = + const Template( "SpreadMapEntryElementKeyTypeMismatch", problemMessageTemplate: r"""Can't assign spread entry keys of type '#type' to map entry keys of type '#type2'.""", @@ -5281,17 +5032,15 @@ templateSpreadMapEntryElementKeyTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadMapEntryElementKeyTypeMismatch = + codeSpreadMapEntryElementKeyTypeMismatch = const Code( - "SpreadMapEntryElementKeyTypeMismatch", - analyzerCodes: ["MAP_KEY_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadMapEntryElementKeyTypeMismatch", + analyzerCodes: ["MAP_KEY_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementKeyTypeMismatch( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5301,16 +5050,18 @@ Message _withArgumentsSpreadMapEntryElementKeyTypeMismatch( codeSpreadMapEntryElementKeyTypeMismatch, problemMessage: """Can't assign spread entry keys of type '${type}' to map entry keys of type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadMapEntryElementKeyTypeMismatchNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadMapEntryElementKeyTypeMismatchNullability = + const Template( "SpreadMapEntryElementKeyTypeMismatchNullability", problemMessageTemplate: r"""Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -5319,17 +5070,15 @@ templateSpreadMapEntryElementKeyTypeMismatchNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadMapEntryElementKeyTypeMismatchNullability = + codeSpreadMapEntryElementKeyTypeMismatchNullability = const Code( - "SpreadMapEntryElementKeyTypeMismatchNullability", - analyzerCodes: ["MAP_KEY_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadMapEntryElementKeyTypeMismatchNullability", + analyzerCodes: ["MAP_KEY_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementKeyTypeMismatchNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5339,28 +5088,22 @@ Message _withArgumentsSpreadMapEntryElementKeyTypeMismatchNullability( codeSpreadMapEntryElementKeyTypeMismatchNullability, problemMessage: """Can't assign spread entry keys of type '${type}' to map entry keys of type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateSpreadMapEntryElementKeyTypeMismatchPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateSpreadMapEntryElementKeyTypeMismatchPartNullability = + const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadMapEntryElementKeyTypeMismatchPartNullability", problemMessageTemplate: r"""Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -5370,32 +5113,18 @@ templateSpreadMapEntryElementKeyTypeMismatchPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeSpreadMapEntryElementKeyTypeMismatchPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeSpreadMapEntryElementKeyTypeMismatchPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadMapEntryElementKeyTypeMismatchPartNullability", analyzerCodes: ["MAP_KEY_TYPE_NOT_ASSIGNABLE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementKeyTypeMismatchPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5409,7 +5138,7 @@ Message _withArgumentsSpreadMapEntryElementKeyTypeMismatchPartNullability( codeSpreadMapEntryElementKeyTypeMismatchPartNullability, problemMessage: """Can't assign spread entry keys of type '${type}' to map entry keys of type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -5421,9 +5150,8 @@ Message _withArgumentsSpreadMapEntryElementKeyTypeMismatchPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadMapEntryElementValueTypeMismatch = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadMapEntryElementValueTypeMismatch = + const Template( "SpreadMapEntryElementValueTypeMismatch", problemMessageTemplate: r"""Can't assign spread entry values of type '#type' to map entry values of type '#type2'.""", @@ -5432,17 +5160,15 @@ templateSpreadMapEntryElementValueTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadMapEntryElementValueTypeMismatch = + codeSpreadMapEntryElementValueTypeMismatch = const Code( - "SpreadMapEntryElementValueTypeMismatch", - analyzerCodes: ["MAP_VALUE_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadMapEntryElementValueTypeMismatch", + analyzerCodes: ["MAP_VALUE_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementValueTypeMismatch( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5452,16 +5178,18 @@ Message _withArgumentsSpreadMapEntryElementValueTypeMismatch( codeSpreadMapEntryElementValueTypeMismatch, problemMessage: """Can't assign spread entry values of type '${type}' to map entry values of type '${type2}'.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadMapEntryElementValueTypeMismatchNullability = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSpreadMapEntryElementValueTypeMismatchNullability = + const Template( "SpreadMapEntryElementValueTypeMismatchNullability", problemMessageTemplate: r"""Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type' is nullable and '#type2' isn't.""", @@ -5471,17 +5199,15 @@ templateSpreadMapEntryElementValueTypeMismatchNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSpreadMapEntryElementValueTypeMismatchNullability = + codeSpreadMapEntryElementValueTypeMismatchNullability = const Code( - "SpreadMapEntryElementValueTypeMismatchNullability", - analyzerCodes: ["MAP_VALUE_TYPE_NOT_ASSIGNABLE"], - ); + "SpreadMapEntryElementValueTypeMismatchNullability", + analyzerCodes: ["MAP_VALUE_TYPE_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementValueTypeMismatchNullability( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5491,28 +5217,22 @@ Message _withArgumentsSpreadMapEntryElementValueTypeMismatchNullability( codeSpreadMapEntryElementValueTypeMismatchNullability, problemMessage: """Can't assign spread entry values of type '${type}' to map entry values of type '${type2}' because '${type}' is nullable and '${type2}' isn't.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -templateSpreadMapEntryElementValueTypeMismatchPartNullability = const Template< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + templateSpreadMapEntryElementValueTypeMismatchPartNullability = + const Template< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadMapEntryElementValueTypeMismatchPartNullability", problemMessageTemplate: r"""Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type3' is nullable and '#type4' isn't.""", @@ -5522,32 +5242,18 @@ templateSpreadMapEntryElementValueTypeMismatchPartNullability = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) -> -codeSpreadMapEntryElementValueTypeMismatchPartNullability = const Code< - Message Function( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, - ) ->( + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)> + codeSpreadMapEntryElementValueTypeMismatchPartNullability = const Code< + Message Function( + DartType _type, DartType _type2, DartType _type3, DartType _type4)>( "SpreadMapEntryElementValueTypeMismatchPartNullability", analyzerCodes: ["MAP_VALUE_TYPE_NOT_ASSIGNABLE"], ); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryElementValueTypeMismatchPartNullability( - DartType _type, - DartType _type2, - DartType _type3, - DartType _type4, -) { + DartType _type, DartType _type2, DartType _type3, DartType _type4) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5561,7 +5267,7 @@ Message _withArgumentsSpreadMapEntryElementValueTypeMismatchPartNullability( codeSpreadMapEntryElementValueTypeMismatchPartNullability, problemMessage: """Can't assign spread entry values of type '${type}' to map entry values of type '${type2}' because '${type3}' is nullable and '${type4}' isn't.""" + - labeler.originMessages, + labeler.originMessages, arguments: { 'type': _type, 'type2': _type2, @@ -5573,9 +5279,8 @@ Message _withArgumentsSpreadMapEntryElementValueTypeMismatchPartNullability( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSpreadMapEntryTypeMismatch = const Template< - Message Function(DartType _type) ->( + templateSpreadMapEntryTypeMismatch = + const Template( "SpreadMapEntryTypeMismatch", problemMessageTemplate: r"""Unexpected type '#type' of a map spread entry. Expected 'dynamic' or a Map.""", @@ -5584,7 +5289,9 @@ templateSpreadMapEntryTypeMismatch = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSpreadMapEntryTypeMismatch = - const Code("SpreadMapEntryTypeMismatch"); + const Code( + "SpreadMapEntryTypeMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadMapEntryTypeMismatch(DartType _type) { @@ -5595,14 +5302,16 @@ Message _withArgumentsSpreadMapEntryTypeMismatch(DartType _type) { codeSpreadMapEntryTypeMismatch, problemMessage: """Unexpected type '${type}' of a map spread entry. Expected 'dynamic' or a Map.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template -templateSpreadTypeMismatch = const Template( +const Template templateSpreadTypeMismatch = + const Template( "SpreadTypeMismatch", problemMessageTemplate: r"""Unexpected type '#type' of a spread. Expected 'dynamic' or an Iterable.""", @@ -5611,7 +5320,9 @@ templateSpreadTypeMismatch = const Template( // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeSpreadTypeMismatch = - const Code("SpreadTypeMismatch"); + const Code( + "SpreadTypeMismatch", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSpreadTypeMismatch(DartType _type) { @@ -5622,16 +5333,17 @@ Message _withArgumentsSpreadTypeMismatch(DartType _type) { codeSpreadTypeMismatch, problemMessage: """Unexpected type '${type}' of a spread. Expected 'dynamic' or an Iterable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperBoundedHint = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSuperBoundedHint = + const Template( "SuperBoundedHint", problemMessageTemplate: r"""If you want '#type' to be a super-bounded type, note that the inverted type '#type2' must then satisfy its bounds, which it does not.""", @@ -5640,11 +5352,11 @@ templateSuperBoundedHint = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSuperBoundedHint = + codeSuperBoundedHint = const Code( - "SuperBoundedHint", - severity: Severity.context, - ); + "SuperBoundedHint", + severity: Severity.context, +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperBoundedHint(DartType _type, DartType _type2) { @@ -5657,16 +5369,18 @@ Message _withArgumentsSuperBoundedHint(DartType _type, DartType _type2) { codeSuperBoundedHint, problemMessage: """If you want '${type}' to be a super-bounded type, note that the inverted type '${type2}' must then satisfy its bounds, which it does not.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperExtensionTypeIsIllegalAliased = const Template< - Message Function(String name, DartType _type) ->( + templateSuperExtensionTypeIsIllegalAliased = + const Template( "SuperExtensionTypeIsIllegalAliased", problemMessageTemplate: r"""The type '#name' which is an alias of '#type' can't be implemented by an extension type.""", @@ -5675,16 +5389,14 @@ templateSuperExtensionTypeIsIllegalAliased = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSuperExtensionTypeIsIllegalAliased = + codeSuperExtensionTypeIsIllegalAliased = const Code( - "SuperExtensionTypeIsIllegalAliased", - ); + "SuperExtensionTypeIsIllegalAliased", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperExtensionTypeIsIllegalAliased( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -5694,16 +5406,18 @@ Message _withArgumentsSuperExtensionTypeIsIllegalAliased( codeSuperExtensionTypeIsIllegalAliased, problemMessage: """The type '${name}' which is an alias of '${type}' can't be implemented by an extension type.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSuperExtensionTypeIsNullableAliased = const Template< - Message Function(String name, DartType _type) ->( + templateSuperExtensionTypeIsNullableAliased = + const Template( "SuperExtensionTypeIsNullableAliased", problemMessageTemplate: r"""The type '#name' which is an alias of '#type' can't be implemented by an extension type because it is nullable.""", @@ -5712,16 +5426,14 @@ templateSuperExtensionTypeIsNullableAliased = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSuperExtensionTypeIsNullableAliased = + codeSuperExtensionTypeIsNullableAliased = const Code( - "SuperExtensionTypeIsNullableAliased", - ); + "SuperExtensionTypeIsNullableAliased", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSuperExtensionTypeIsNullableAliased( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -5731,16 +5443,18 @@ Message _withArgumentsSuperExtensionTypeIsNullableAliased( codeSuperExtensionTypeIsNullableAliased, problemMessage: """The type '${name}' which is an alias of '${type}' can't be implemented by an extension type because it is nullable.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSupertypeIsIllegalAliased = const Template< - Message Function(String name, DartType _type) ->( + templateSupertypeIsIllegalAliased = + const Template( "SupertypeIsIllegalAliased", problemMessageTemplate: r"""The type '#name' which is an alias of '#type' can't be used as supertype.""", @@ -5749,11 +5463,11 @@ templateSupertypeIsIllegalAliased = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSupertypeIsIllegalAliased = + codeSupertypeIsIllegalAliased = const Code( - "SupertypeIsIllegalAliased", - analyzerCodes: ["EXTENDS_NON_CLASS"], - ); + "SupertypeIsIllegalAliased", + analyzerCodes: ["EXTENDS_NON_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSupertypeIsIllegalAliased(String name, DartType _type) { @@ -5766,16 +5480,18 @@ Message _withArgumentsSupertypeIsIllegalAliased(String name, DartType _type) { codeSupertypeIsIllegalAliased, problemMessage: """The type '${name}' which is an alias of '${type}' can't be used as supertype.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSupertypeIsNullableAliased = const Template< - Message Function(String name, DartType _type) ->( + templateSupertypeIsNullableAliased = + const Template( "SupertypeIsNullableAliased", problemMessageTemplate: r"""The type '#name' which is an alias of '#type' can't be used as supertype because it is nullable.""", @@ -5784,11 +5500,11 @@ templateSupertypeIsNullableAliased = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSupertypeIsNullableAliased = + codeSupertypeIsNullableAliased = const Code( - "SupertypeIsNullableAliased", - analyzerCodes: ["EXTENDS_NON_CLASS"], - ); + "SupertypeIsNullableAliased", + analyzerCodes: ["EXTENDS_NON_CLASS"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSupertypeIsNullableAliased(String name, DartType _type) { @@ -5801,16 +5517,18 @@ Message _withArgumentsSupertypeIsNullableAliased(String name, DartType _type) { codeSupertypeIsNullableAliased, problemMessage: """The type '${name}' which is an alias of '${type}' can't be used as supertype because it is nullable.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSwitchExpressionNotAssignable = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSwitchExpressionNotAssignable = + const Template( "SwitchExpressionNotAssignable", problemMessageTemplate: r"""Type '#type' of the switch expression isn't assignable to the type '#type2' of this case expression.""", @@ -5819,17 +5537,15 @@ templateSwitchExpressionNotAssignable = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSwitchExpressionNotAssignable = + codeSwitchExpressionNotAssignable = const Code( - "SwitchExpressionNotAssignable", - analyzerCodes: ["SWITCH_EXPRESSION_NOT_ASSIGNABLE"], - ); + "SwitchExpressionNotAssignable", + analyzerCodes: ["SWITCH_EXPRESSION_NOT_ASSIGNABLE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSwitchExpressionNotAssignable( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5839,16 +5555,18 @@ Message _withArgumentsSwitchExpressionNotAssignable( codeSwitchExpressionNotAssignable, problemMessage: """Type '${type}' of the switch expression isn't assignable to the type '${type2}' of this case expression.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateSwitchExpressionNotSubtype = const Template< - Message Function(DartType _type, DartType _type2) ->( + templateSwitchExpressionNotSubtype = + const Template( "SwitchExpressionNotSubtype", problemMessageTemplate: r"""Type '#type' of the case expression is not a subtype of type '#type2' of this switch expression.""", @@ -5857,16 +5575,14 @@ templateSwitchExpressionNotSubtype = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeSwitchExpressionNotSubtype = + codeSwitchExpressionNotSubtype = const Code( - "SwitchExpressionNotSubtype", - ); + "SwitchExpressionNotSubtype", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsSwitchExpressionNotSubtype( - DartType _type, - DartType _type2, -) { + DartType _type, DartType _type2) { TypeLabeler labeler = new TypeLabeler(); List typeParts = labeler.labelType(_type); List type2Parts = labeler.labelType(_type2); @@ -5876,16 +5592,18 @@ Message _withArgumentsSwitchExpressionNotSubtype( codeSwitchExpressionNotSubtype, problemMessage: """Type '${type}' of the case expression is not a subtype of type '${type2}' of this switch expression.""" + - labeler.originMessages, - arguments: {'type': _type, 'type2': _type2}, + labeler.originMessages, + arguments: { + 'type': _type, + 'type2': _type2, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateThrowingNotAssignableToObjectError = const Template< - Message Function(DartType _type) ->( + templateThrowingNotAssignableToObjectError = + const Template( "ThrowingNotAssignableToObjectError", problemMessageTemplate: r"""Can't throw a value of '#type' since it is neither dynamic nor non-nullable.""", @@ -5894,10 +5612,10 @@ templateThrowingNotAssignableToObjectError = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeThrowingNotAssignableToObjectError = + codeThrowingNotAssignableToObjectError = const Code( - "ThrowingNotAssignableToObjectError", - ); + "ThrowingNotAssignableToObjectError", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsThrowingNotAssignableToObjectError(DartType _type) { @@ -5908,16 +5626,17 @@ Message _withArgumentsThrowingNotAssignableToObjectError(DartType _type) { codeThrowingNotAssignableToObjectError, problemMessage: """Can't throw a value of '${type}' since it is neither dynamic nor non-nullable.""" + - labeler.originMessages, - arguments: {'type': _type}, + labeler.originMessages, + arguments: { + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedExtensionGetter = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedExtensionGetter = + const Template( "UndefinedExtensionGetter", problemMessageTemplate: r"""The getter '#name' isn't defined for the extension '#type'.""", @@ -5928,10 +5647,10 @@ templateUndefinedExtensionGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUndefinedExtensionGetter = + codeUndefinedExtensionGetter = const Code( - "UndefinedExtensionGetter", - ); + "UndefinedExtensionGetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedExtensionGetter(String name, DartType _type) { @@ -5944,18 +5663,20 @@ Message _withArgumentsUndefinedExtensionGetter(String name, DartType _type) { codeUndefinedExtensionGetter, problemMessage: """The getter '${name}' isn't defined for the extension '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing getter, or defining a getter or field named '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedExtensionMethod = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedExtensionMethod = + const Template( "UndefinedExtensionMethod", problemMessageTemplate: r"""The method '#name' isn't defined for the extension '#type'.""", @@ -5966,10 +5687,10 @@ templateUndefinedExtensionMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUndefinedExtensionMethod = + codeUndefinedExtensionMethod = const Code( - "UndefinedExtensionMethod", - ); + "UndefinedExtensionMethod", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedExtensionMethod(String name, DartType _type) { @@ -5982,18 +5703,20 @@ Message _withArgumentsUndefinedExtensionMethod(String name, DartType _type) { codeUndefinedExtensionMethod, problemMessage: """The method '${name}' isn't defined for the extension '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing method, or defining a method name '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedExtensionOperator = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedExtensionOperator = + const Template( "UndefinedExtensionOperator", problemMessageTemplate: r"""The operator '#name' isn't defined for the extension '#type'.""", @@ -6004,10 +5727,10 @@ templateUndefinedExtensionOperator = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUndefinedExtensionOperator = + codeUndefinedExtensionOperator = const Code( - "UndefinedExtensionOperator", - ); + "UndefinedExtensionOperator", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedExtensionOperator(String name, DartType _type) { @@ -6020,18 +5743,20 @@ Message _withArgumentsUndefinedExtensionOperator(String name, DartType _type) { codeUndefinedExtensionOperator, problemMessage: """The operator '${name}' isn't defined for the extension '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the operator to an existing operator, or defining a '${name}' operator.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedExtensionSetter = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedExtensionSetter = + const Template( "UndefinedExtensionSetter", problemMessageTemplate: r"""The setter '#name' isn't defined for the extension '#type'.""", @@ -6042,10 +5767,10 @@ templateUndefinedExtensionSetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUndefinedExtensionSetter = + codeUndefinedExtensionSetter = const Code( - "UndefinedExtensionSetter", - ); + "UndefinedExtensionSetter", +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedExtensionSetter(String name, DartType _type) { @@ -6058,18 +5783,20 @@ Message _withArgumentsUndefinedExtensionSetter(String name, DartType _type) { codeUndefinedExtensionSetter, problemMessage: """The setter '${name}' isn't defined for the extension '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing setter, or defining a setter or field named '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedGetter = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedGetter = + const Template( "UndefinedGetter", problemMessageTemplate: r"""The getter '#name' isn't defined for the class '#type'.""", @@ -6081,9 +5808,9 @@ templateUndefinedGetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUndefinedGetter = const Code( - "UndefinedGetter", - analyzerCodes: ["UNDEFINED_GETTER"], - ); + "UndefinedGetter", + analyzerCodes: ["UNDEFINED_GETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedGetter(String name, DartType _type) { @@ -6096,18 +5823,20 @@ Message _withArgumentsUndefinedGetter(String name, DartType _type) { codeUndefinedGetter, problemMessage: """The getter '${name}' isn't defined for the class '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing getter, or defining a getter or field named '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedMethod = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedMethod = + const Template( "UndefinedMethod", problemMessageTemplate: r"""The method '#name' isn't defined for the class '#type'.""", @@ -6119,9 +5848,9 @@ templateUndefinedMethod = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUndefinedMethod = const Code( - "UndefinedMethod", - analyzerCodes: ["UNDEFINED_METHOD"], - ); + "UndefinedMethod", + analyzerCodes: ["UNDEFINED_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedMethod(String name, DartType _type) { @@ -6134,18 +5863,20 @@ Message _withArgumentsUndefinedMethod(String name, DartType _type) { codeUndefinedMethod, problemMessage: """The method '${name}' isn't defined for the class '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing method, or defining a method named '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedOperator = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedOperator = + const Template( "UndefinedOperator", problemMessageTemplate: r"""The operator '#name' isn't defined for the class '#type'.""", @@ -6156,11 +5887,11 @@ templateUndefinedOperator = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeUndefinedOperator = + codeUndefinedOperator = const Code( - "UndefinedOperator", - analyzerCodes: ["UNDEFINED_METHOD"], - ); + "UndefinedOperator", + analyzerCodes: ["UNDEFINED_METHOD"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedOperator(String name, DartType _type) { @@ -6173,18 +5904,20 @@ Message _withArgumentsUndefinedOperator(String name, DartType _type) { codeUndefinedOperator, problemMessage: """The operator '${name}' isn't defined for the class '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the operator to an existing operator, or defining a '${name}' operator.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateUndefinedSetter = const Template< - Message Function(String name, DartType _type) ->( + templateUndefinedSetter = + const Template( "UndefinedSetter", problemMessageTemplate: r"""The setter '#name' isn't defined for the class '#type'.""", @@ -6196,9 +5929,9 @@ templateUndefinedSetter = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code codeUndefinedSetter = const Code( - "UndefinedSetter", - analyzerCodes: ["UNDEFINED_SETTER"], - ); + "UndefinedSetter", + analyzerCodes: ["UNDEFINED_SETTER"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsUndefinedSetter(String name, DartType _type) { @@ -6211,18 +5944,20 @@ Message _withArgumentsUndefinedSetter(String name, DartType _type) { codeUndefinedSetter, problemMessage: """The setter '${name}' isn't defined for the class '${type}'.""" + - labeler.originMessages, + labeler.originMessages, correctionMessage: """Try correcting the name to the name of an existing setter, or defining a setter or field named '${name}'.""", - arguments: {'name': name, 'type': _type}, + arguments: { + 'name': name, + 'type': _type, + }, ); } // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Template -templateWrongTypeParameterVarianceInSuperinterface = const Template< - Message Function(String name, DartType _type) ->( + templateWrongTypeParameterVarianceInSuperinterface = + const Template( "WrongTypeParameterVarianceInSuperinterface", problemMessageTemplate: r"""'#name' can't be used contravariantly or invariantly in '#type'.""", @@ -6231,19 +5966,15 @@ templateWrongTypeParameterVarianceInSuperinterface = const Template< // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code -codeWrongTypeParameterVarianceInSuperinterface = + codeWrongTypeParameterVarianceInSuperinterface = const Code( - "WrongTypeParameterVarianceInSuperinterface", - analyzerCodes: [ - "WRONG_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE", - ], - ); + "WrongTypeParameterVarianceInSuperinterface", + analyzerCodes: ["WRONG_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE"], +); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. Message _withArgumentsWrongTypeParameterVarianceInSuperinterface( - String name, - DartType _type, -) { + String name, DartType _type) { if (name.isEmpty) throw 'No name provided'; name = demangleMixinApplicationName(name); TypeLabeler labeler = new TypeLabeler(); @@ -6253,7 +5984,10 @@ Message _withArgumentsWrongTypeParameterVarianceInSuperinterface( codeWrongTypeParameterVarianceInSuperinterface, problemMessage: """'${name}' can't be used contravariantly or invariantly in '${type}'.""" + - labeler.originMessages, - arguments: {'name': name, 'type': _type}, + labeler.originMessages, + arguments: { + 'name': name, + 'type': _type, + }, ); } diff --git a/pkg/front_end/lib/src/kernel/body_builder.dart b/pkg/front_end/lib/src/kernel/body_builder.dart index 537b6601504..781df23459e 100644 --- a/pkg/front_end/lib/src/kernel/body_builder.dart +++ b/pkg/front_end/lib/src/kernel/body_builder.dart @@ -1929,8 +1929,7 @@ class BodyBuilder extends StackListenerImpl } } else if (last is RedirectingInitializer) { if (_context.isEnumClass && libraryFeatures.enhancedEnums.isEnabled) { - ArgumentsImpl arguments = - last.arguments as ArgumentsImpl; + ArgumentsImpl arguments = last.arguments as ArgumentsImpl; List enumSyntheticArguments = [ new VariableGetImpl(function.positionalParameters[0], forNullGuardedAccess: false) diff --git a/pkg/front_end/lib/src/util/parser_ast_helper.dart b/pkg/front_end/lib/src/util/parser_ast_helper.dart index 72b4ef6e38c..28d33a69eba 100644 --- a/pkg/front_end/lib/src/util/parser_ast_helper.dart +++ b/pkg/front_end/lib/src/util/parser_ast_helper.dart @@ -65,103 +65,75 @@ abstract class AbstractParserAstListener implements Listener { @override void endArguments(int count, Token beginToken, Token endToken) { - ArgumentsEnd data = new ArgumentsEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + ArgumentsEnd data = new ArgumentsEnd(ParserAstType.END, + count: count, beginToken: beginToken, endToken: endToken); seen(data); } @override void handleObjectPatternFields(int count, Token beginToken, Token endToken) { ObjectPatternFieldsHandle data = new ObjectPatternFieldsHandle( - ParserAstType.HANDLE, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + ParserAstType.HANDLE, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void handleAsyncModifier(Token? asyncToken, Token? starToken) { - AsyncModifierHandle data = new AsyncModifierHandle( - ParserAstType.HANDLE, - asyncToken: asyncToken, - starToken: starToken, - ); + AsyncModifierHandle data = new AsyncModifierHandle(ParserAstType.HANDLE, + asyncToken: asyncToken, starToken: starToken); seen(data); } @override void beginAwaitExpression(Token token) { - AwaitExpressionBegin data = new AwaitExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + AwaitExpressionBegin data = + new AwaitExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endAwaitExpression(Token beginToken, Token endToken) { - AwaitExpressionEnd data = new AwaitExpressionEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + AwaitExpressionEnd data = new AwaitExpressionEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void endInvalidAwaitExpression( - Token beginToken, - Token endToken, - MessageCode errorCode, - ) { + Token beginToken, Token endToken, MessageCode errorCode) { InvalidAwaitExpressionEnd data = new InvalidAwaitExpressionEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - errorCode: errorCode, - ); + ParserAstType.END, + beginToken: beginToken, + endToken: endToken, + errorCode: errorCode); seen(data); } @override void beginBlock(Token token, BlockKind blockKind) { - BlockBegin data = new BlockBegin( - ParserAstType.BEGIN, - token: token, - blockKind: blockKind, - ); + BlockBegin data = + new BlockBegin(ParserAstType.BEGIN, token: token, blockKind: blockKind); seen(data); } @override void endBlock( - int count, - Token beginToken, - Token endToken, - BlockKind blockKind, - ) { - BlockEnd data = new BlockEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - blockKind: blockKind, - ); + int count, Token beginToken, Token endToken, BlockKind blockKind) { + BlockEnd data = new BlockEnd(ParserAstType.END, + count: count, + beginToken: beginToken, + endToken: endToken, + blockKind: blockKind); seen(data); } @override void handleInvalidTopLevelBlock(Token token) { - InvalidTopLevelBlockHandle data = new InvalidTopLevelBlockHandle( - ParserAstType.HANDLE, - token: token, - ); + InvalidTopLevelBlockHandle data = + new InvalidTopLevelBlockHandle(ParserAstType.HANDLE, token: token); seen(data); } @@ -179,323 +151,241 @@ abstract class AbstractParserAstListener implements Listener { @override void beginCaseExpression(Token caseKeyword) { - CaseExpressionBegin data = new CaseExpressionBegin( - ParserAstType.BEGIN, - caseKeyword: caseKeyword, - ); + CaseExpressionBegin data = + new CaseExpressionBegin(ParserAstType.BEGIN, caseKeyword: caseKeyword); seen(data); } @override void endCaseExpression(Token caseKeyword, Token? when, Token colon) { - CaseExpressionEnd data = new CaseExpressionEnd( - ParserAstType.END, - caseKeyword: caseKeyword, - when: when, - colon: colon, - ); + CaseExpressionEnd data = new CaseExpressionEnd(ParserAstType.END, + caseKeyword: caseKeyword, when: when, colon: colon); seen(data); } @override void beginClassOrMixinOrExtensionBody(DeclarationKind kind, Token token) { ClassOrMixinOrExtensionBodyBegin data = - new ClassOrMixinOrExtensionBodyBegin( - ParserAstType.BEGIN, - kind: kind, - token: token, - ); + new ClassOrMixinOrExtensionBodyBegin(ParserAstType.BEGIN, + kind: kind, token: token); seen(data); } @override void endClassOrMixinOrExtensionBody( - DeclarationKind kind, - int memberCount, - Token beginToken, - Token endToken, - ) { + DeclarationKind kind, int memberCount, Token beginToken, Token endToken) { ClassOrMixinOrExtensionBodyEnd data = new ClassOrMixinOrExtensionBodyEnd( - ParserAstType.END, - kind: kind, - memberCount: memberCount, - beginToken: beginToken, - endToken: endToken, - ); + ParserAstType.END, + kind: kind, + memberCount: memberCount, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void beginClassOrMixinOrNamedMixinApplicationPrelude(Token token) { ClassOrMixinOrNamedMixinApplicationPreludeBegin data = - new ClassOrMixinOrNamedMixinApplicationPreludeBegin( - ParserAstType.BEGIN, - token: token, - ); + new ClassOrMixinOrNamedMixinApplicationPreludeBegin(ParserAstType.BEGIN, + token: token); seen(data); } @override void beginClassDeclaration( - Token begin, - Token? abstractToken, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - Token? finalToken, - Token? augmentToken, - Token? mixinToken, - Token name, - ) { - ClassDeclarationBegin data = new ClassDeclarationBegin( - ParserAstType.BEGIN, - begin: begin, - abstractToken: abstractToken, - macroToken: macroToken, - sealedToken: sealedToken, - baseToken: baseToken, - interfaceToken: interfaceToken, - finalToken: finalToken, - augmentToken: augmentToken, - mixinToken: mixinToken, - name: name, - ); + Token begin, + Token? abstractToken, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + Token? finalToken, + Token? augmentToken, + Token? mixinToken, + Token name) { + ClassDeclarationBegin data = new ClassDeclarationBegin(ParserAstType.BEGIN, + begin: begin, + abstractToken: abstractToken, + macroToken: macroToken, + sealedToken: sealedToken, + baseToken: baseToken, + interfaceToken: interfaceToken, + finalToken: finalToken, + augmentToken: augmentToken, + mixinToken: mixinToken, + name: name); seen(data); } @override void handleClassExtends(Token? extendsKeyword, int typeCount) { - ClassExtendsHandle data = new ClassExtendsHandle( - ParserAstType.HANDLE, - extendsKeyword: extendsKeyword, - typeCount: typeCount, - ); + ClassExtendsHandle data = new ClassExtendsHandle(ParserAstType.HANDLE, + extendsKeyword: extendsKeyword, typeCount: typeCount); seen(data); } @override void handleImplements(Token? implementsKeyword, int interfacesCount) { - ImplementsHandle data = new ImplementsHandle( - ParserAstType.HANDLE, - implementsKeyword: implementsKeyword, - interfacesCount: interfacesCount, - ); + ImplementsHandle data = new ImplementsHandle(ParserAstType.HANDLE, + implementsKeyword: implementsKeyword, interfacesCount: interfacesCount); seen(data); } @override void handleClassHeader(Token begin, Token classKeyword, Token? nativeToken) { - ClassHeaderHandle data = new ClassHeaderHandle( - ParserAstType.HANDLE, - begin: begin, - classKeyword: classKeyword, - nativeToken: nativeToken, - ); + ClassHeaderHandle data = new ClassHeaderHandle(ParserAstType.HANDLE, + begin: begin, classKeyword: classKeyword, nativeToken: nativeToken); seen(data); } @override void handleRecoverDeclarationHeader(DeclarationHeaderKind kind) { - RecoverDeclarationHeaderHandle data = new RecoverDeclarationHeaderHandle( - ParserAstType.HANDLE, - kind: kind, - ); + RecoverDeclarationHeaderHandle data = + new RecoverDeclarationHeaderHandle(ParserAstType.HANDLE, kind: kind); seen(data); } @override void endClassDeclaration(Token beginToken, Token endToken) { - ClassDeclarationEnd data = new ClassDeclarationEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + ClassDeclarationEnd data = new ClassDeclarationEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override - void beginMixinDeclaration( - Token beginToken, - Token? augmentToken, - Token? baseToken, - Token mixinKeyword, - Token name, - ) { - MixinDeclarationBegin data = new MixinDeclarationBegin( - ParserAstType.BEGIN, - beginToken: beginToken, - augmentToken: augmentToken, - baseToken: baseToken, - mixinKeyword: mixinKeyword, - name: name, - ); + void beginMixinDeclaration(Token beginToken, Token? augmentToken, + Token? baseToken, Token mixinKeyword, Token name) { + MixinDeclarationBegin data = new MixinDeclarationBegin(ParserAstType.BEGIN, + beginToken: beginToken, + augmentToken: augmentToken, + baseToken: baseToken, + mixinKeyword: mixinKeyword, + name: name); seen(data); } @override void handleMixinOn(Token? onKeyword, int typeCount) { - MixinOnHandle data = new MixinOnHandle( - ParserAstType.HANDLE, - onKeyword: onKeyword, - typeCount: typeCount, - ); + MixinOnHandle data = new MixinOnHandle(ParserAstType.HANDLE, + onKeyword: onKeyword, typeCount: typeCount); seen(data); } @override void handleMixinHeader(Token mixinKeyword) { - MixinHeaderHandle data = new MixinHeaderHandle( - ParserAstType.HANDLE, - mixinKeyword: mixinKeyword, - ); + MixinHeaderHandle data = + new MixinHeaderHandle(ParserAstType.HANDLE, mixinKeyword: mixinKeyword); seen(data); } @override void handleRecoverMixinHeader() { - RecoverMixinHeaderHandle data = new RecoverMixinHeaderHandle( - ParserAstType.HANDLE, - ); + RecoverMixinHeaderHandle data = + new RecoverMixinHeaderHandle(ParserAstType.HANDLE); seen(data); } @override void endMixinDeclaration(Token beginToken, Token endToken) { - MixinDeclarationEnd data = new MixinDeclarationEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + MixinDeclarationEnd data = new MixinDeclarationEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginUncategorizedTopLevelDeclaration(Token token) { UncategorizedTopLevelDeclarationBegin data = - new UncategorizedTopLevelDeclarationBegin( - ParserAstType.BEGIN, - token: token, - ); + new UncategorizedTopLevelDeclarationBegin(ParserAstType.BEGIN, + token: token); seen(data); } @override void beginExtensionDeclarationPrelude(Token extensionKeyword) { ExtensionDeclarationPreludeBegin data = - new ExtensionDeclarationPreludeBegin( - ParserAstType.BEGIN, - extensionKeyword: extensionKeyword, - ); + new ExtensionDeclarationPreludeBegin(ParserAstType.BEGIN, + extensionKeyword: extensionKeyword); seen(data); } @override void beginExtensionDeclaration( - Token? augmentToken, - Token extensionKeyword, - Token? name, - ) { + Token? augmentToken, Token extensionKeyword, Token? name) { ExtensionDeclarationBegin data = new ExtensionDeclarationBegin( - ParserAstType.BEGIN, - augmentToken: augmentToken, - extensionKeyword: extensionKeyword, - name: name, - ); + ParserAstType.BEGIN, + augmentToken: augmentToken, + extensionKeyword: extensionKeyword, + name: name); seen(data); } @override - void endExtensionDeclaration( - Token beginToken, - Token extensionKeyword, - Token? onKeyword, - Token endToken, - ) { + void endExtensionDeclaration(Token beginToken, Token extensionKeyword, + Token? onKeyword, Token endToken) { ExtensionDeclarationEnd data = new ExtensionDeclarationEnd( - ParserAstType.END, - beginToken: beginToken, - extensionKeyword: extensionKeyword, - onKeyword: onKeyword, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + extensionKeyword: extensionKeyword, + onKeyword: onKeyword, + endToken: endToken); seen(data); } @override void beginExtensionTypeDeclaration( - Token? augmentKeyword, - Token extensionKeyword, - Token name, - ) { + Token? augmentKeyword, Token extensionKeyword, Token name) { ExtensionTypeDeclarationBegin data = new ExtensionTypeDeclarationBegin( - ParserAstType.BEGIN, - augmentKeyword: augmentKeyword, - extensionKeyword: extensionKeyword, - name: name, - ); + ParserAstType.BEGIN, + augmentKeyword: augmentKeyword, + extensionKeyword: extensionKeyword, + name: name); seen(data); } @override - void endExtensionTypeDeclaration( - Token beginToken, - Token? augmentToken, - Token extensionKeyword, - Token typeKeyword, - Token endToken, - ) { + void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken, + Token extensionKeyword, Token typeKeyword, Token endToken) { ExtensionTypeDeclarationEnd data = new ExtensionTypeDeclarationEnd( - ParserAstType.END, - beginToken: beginToken, - augmentToken: augmentToken, - extensionKeyword: extensionKeyword, - typeKeyword: typeKeyword, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + augmentToken: augmentToken, + extensionKeyword: extensionKeyword, + typeKeyword: typeKeyword, + endToken: endToken); seen(data); } @override void beginPrimaryConstructor(Token beginToken) { PrimaryConstructorBegin data = new PrimaryConstructorBegin( - ParserAstType.BEGIN, - beginToken: beginToken, - ); + ParserAstType.BEGIN, + beginToken: beginToken); seen(data); } @override void endPrimaryConstructor( - Token beginToken, - Token? constKeyword, - bool hasConstructorName, - ) { - PrimaryConstructorEnd data = new PrimaryConstructorEnd( - ParserAstType.END, - beginToken: beginToken, - constKeyword: constKeyword, - hasConstructorName: hasConstructorName, - ); + Token beginToken, Token? constKeyword, bool hasConstructorName) { + PrimaryConstructorEnd data = new PrimaryConstructorEnd(ParserAstType.END, + beginToken: beginToken, + constKeyword: constKeyword, + hasConstructorName: hasConstructorName); seen(data); } @override void handleNoPrimaryConstructor(Token token, Token? constKeyword) { NoPrimaryConstructorHandle data = new NoPrimaryConstructorHandle( - ParserAstType.HANDLE, - token: token, - constKeyword: constKeyword, - ); + ParserAstType.HANDLE, + token: token, + constKeyword: constKeyword); seen(data); } @override void beginCombinators(Token token) { - CombinatorsBegin data = new CombinatorsBegin( - ParserAstType.BEGIN, - token: token, - ); + CombinatorsBegin data = + new CombinatorsBegin(ParserAstType.BEGIN, token: token); seen(data); } @@ -507,10 +397,8 @@ abstract class AbstractParserAstListener implements Listener { @override void beginCompilationUnit(Token token) { - CompilationUnitBegin data = new CompilationUnitBegin( - ParserAstType.BEGIN, - token: token, - ); + CompilationUnitBegin data = + new CompilationUnitBegin(ParserAstType.BEGIN, token: token); seen(data); } @@ -522,212 +410,149 @@ abstract class AbstractParserAstListener implements Listener { @override void endCompilationUnit(int count, Token token) { - CompilationUnitEnd data = new CompilationUnitEnd( - ParserAstType.END, - count: count, - token: token, - ); + CompilationUnitEnd data = + new CompilationUnitEnd(ParserAstType.END, count: count, token: token); seen(data); } @override void beginConstLiteral(Token token) { - ConstLiteralBegin data = new ConstLiteralBegin( - ParserAstType.BEGIN, - token: token, - ); + ConstLiteralBegin data = + new ConstLiteralBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endConstLiteral(Token endToken) { - ConstLiteralEnd data = new ConstLiteralEnd( - ParserAstType.END, - endToken: endToken, - ); + ConstLiteralEnd data = + new ConstLiteralEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginConstructorReference(Token start) { - ConstructorReferenceBegin data = new ConstructorReferenceBegin( - ParserAstType.BEGIN, - start: start, - ); + ConstructorReferenceBegin data = + new ConstructorReferenceBegin(ParserAstType.BEGIN, start: start); seen(data); } @override - void endConstructorReference( - Token start, - Token? periodBeforeName, - Token endToken, - ConstructorReferenceContext constructorReferenceContext, - ) { + void endConstructorReference(Token start, Token? periodBeforeName, + Token endToken, ConstructorReferenceContext constructorReferenceContext) { ConstructorReferenceEnd data = new ConstructorReferenceEnd( - ParserAstType.END, - start: start, - periodBeforeName: periodBeforeName, - endToken: endToken, - constructorReferenceContext: constructorReferenceContext, - ); + ParserAstType.END, + start: start, + periodBeforeName: periodBeforeName, + endToken: endToken, + constructorReferenceContext: constructorReferenceContext); seen(data); } @override void beginDoWhileStatement(Token token) { - DoWhileStatementBegin data = new DoWhileStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + DoWhileStatementBegin data = + new DoWhileStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endDoWhileStatement( - Token doKeyword, - Token whileKeyword, - Token endToken, - ) { - DoWhileStatementEnd data = new DoWhileStatementEnd( - ParserAstType.END, - doKeyword: doKeyword, - whileKeyword: whileKeyword, - endToken: endToken, - ); + Token doKeyword, Token whileKeyword, Token endToken) { + DoWhileStatementEnd data = new DoWhileStatementEnd(ParserAstType.END, + doKeyword: doKeyword, whileKeyword: whileKeyword, endToken: endToken); seen(data); } @override void beginDoWhileStatementBody(Token token) { - DoWhileStatementBodyBegin data = new DoWhileStatementBodyBegin( - ParserAstType.BEGIN, - token: token, - ); + DoWhileStatementBodyBegin data = + new DoWhileStatementBodyBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endDoWhileStatementBody(Token token) { - DoWhileStatementBodyEnd data = new DoWhileStatementBodyEnd( - ParserAstType.END, - token: token, - ); + DoWhileStatementBodyEnd data = + new DoWhileStatementBodyEnd(ParserAstType.END, token: token); seen(data); } @override void beginWhileStatementBody(Token token) { - WhileStatementBodyBegin data = new WhileStatementBodyBegin( - ParserAstType.BEGIN, - token: token, - ); + WhileStatementBodyBegin data = + new WhileStatementBodyBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endWhileStatementBody(Token endToken) { - WhileStatementBodyEnd data = new WhileStatementBodyEnd( - ParserAstType.END, - endToken: endToken, - ); + WhileStatementBodyEnd data = + new WhileStatementBodyEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginEnum(Token enumKeyword) { - EnumBegin data = new EnumBegin( - ParserAstType.BEGIN, - enumKeyword: enumKeyword, - ); + EnumBegin data = + new EnumBegin(ParserAstType.BEGIN, enumKeyword: enumKeyword); seen(data); } @override - void endEnum( - Token beginToken, - Token enumKeyword, - Token leftBrace, - int memberCount, - Token endToken, - ) { - EnumEnd data = new EnumEnd( - ParserAstType.END, - beginToken: beginToken, - enumKeyword: enumKeyword, - leftBrace: leftBrace, - memberCount: memberCount, - endToken: endToken, - ); + void endEnum(Token beginToken, Token enumKeyword, Token leftBrace, + int memberCount, Token endToken) { + EnumEnd data = new EnumEnd(ParserAstType.END, + beginToken: beginToken, + enumKeyword: enumKeyword, + leftBrace: leftBrace, + memberCount: memberCount, + endToken: endToken); seen(data); } @override - void endEnumConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - EnumConstructorEnd data = new EnumConstructorEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endEnumConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + EnumConstructorEnd data = new EnumConstructorEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override void handleEnumElements(Token elementsEndToken, int elementsCount) { - EnumElementsHandle data = new EnumElementsHandle( - ParserAstType.HANDLE, - elementsEndToken: elementsEndToken, - elementsCount: elementsCount, - ); + EnumElementsHandle data = new EnumElementsHandle(ParserAstType.HANDLE, + elementsEndToken: elementsEndToken, elementsCount: elementsCount); seen(data); } @override void handleEnumHeader( - Token? augmentToken, - Token enumKeyword, - Token leftBrace, - ) { - EnumHeaderHandle data = new EnumHeaderHandle( - ParserAstType.HANDLE, - augmentToken: augmentToken, - enumKeyword: enumKeyword, - leftBrace: leftBrace, - ); + Token? augmentToken, Token enumKeyword, Token leftBrace) { + EnumHeaderHandle data = new EnumHeaderHandle(ParserAstType.HANDLE, + augmentToken: augmentToken, + enumKeyword: enumKeyword, + leftBrace: leftBrace); seen(data); } @override void handleEnumElement(Token beginToken, Token? augmentToken) { - EnumElementHandle data = new EnumElementHandle( - ParserAstType.HANDLE, - beginToken: beginToken, - augmentToken: augmentToken, - ); + EnumElementHandle data = new EnumElementHandle(ParserAstType.HANDLE, + beginToken: beginToken, augmentToken: augmentToken); seen(data); } @override void endEnumFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { - EnumFactoryMethodEnd data = new EnumFactoryMethodEnd( - ParserAstType.END, - beginToken: beginToken, - factoryKeyword: factoryKeyword, - endToken: endToken, - ); + Token beginToken, Token factoryKeyword, Token endToken) { + EnumFactoryMethodEnd data = new EnumFactoryMethodEnd(ParserAstType.END, + beginToken: beginToken, + factoryKeyword: factoryKeyword, + endToken: endToken); seen(data); } @@ -739,473 +564,364 @@ abstract class AbstractParserAstListener implements Listener { @override void endExport(Token exportKeyword, Token semicolon) { - ExportEnd data = new ExportEnd( - ParserAstType.END, - exportKeyword: exportKeyword, - semicolon: semicolon, - ); + ExportEnd data = new ExportEnd(ParserAstType.END, + exportKeyword: exportKeyword, semicolon: semicolon); seen(data); } @override void handleExtraneousExpression(Token token, Message message) { ExtraneousExpressionHandle data = new ExtraneousExpressionHandle( - ParserAstType.HANDLE, - token: token, - message: message, - ); + ParserAstType.HANDLE, + token: token, + message: message); seen(data); } @override void handleExpressionStatement(Token beginToken, Token endToken) { ExpressionStatementHandle data = new ExpressionStatementHandle( - ParserAstType.HANDLE, - beginToken: beginToken, - endToken: endToken, - ); + ParserAstType.HANDLE, + beginToken: beginToken, + endToken: endToken); seen(data); } @override - void beginFactoryMethod( - DeclarationKind declarationKind, - Token lastConsumed, - Token? externalToken, - Token? constToken, - ) { - FactoryMethodBegin data = new FactoryMethodBegin( - ParserAstType.BEGIN, - declarationKind: declarationKind, - lastConsumed: lastConsumed, - externalToken: externalToken, - constToken: constToken, - ); + void beginFactoryMethod(DeclarationKind declarationKind, Token lastConsumed, + Token? externalToken, Token? constToken) { + FactoryMethodBegin data = new FactoryMethodBegin(ParserAstType.BEGIN, + declarationKind: declarationKind, + lastConsumed: lastConsumed, + externalToken: externalToken, + constToken: constToken); seen(data); } @override void endClassFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { - ClassFactoryMethodEnd data = new ClassFactoryMethodEnd( - ParserAstType.END, - beginToken: beginToken, - factoryKeyword: factoryKeyword, - endToken: endToken, - ); + Token beginToken, Token factoryKeyword, Token endToken) { + ClassFactoryMethodEnd data = new ClassFactoryMethodEnd(ParserAstType.END, + beginToken: beginToken, + factoryKeyword: factoryKeyword, + endToken: endToken); seen(data); } @override void endMixinFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { - MixinFactoryMethodEnd data = new MixinFactoryMethodEnd( - ParserAstType.END, - beginToken: beginToken, - factoryKeyword: factoryKeyword, - endToken: endToken, - ); + Token beginToken, Token factoryKeyword, Token endToken) { + MixinFactoryMethodEnd data = new MixinFactoryMethodEnd(ParserAstType.END, + beginToken: beginToken, + factoryKeyword: factoryKeyword, + endToken: endToken); seen(data); } @override void endExtensionFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { ExtensionFactoryMethodEnd data = new ExtensionFactoryMethodEnd( - ParserAstType.END, - beginToken: beginToken, - factoryKeyword: factoryKeyword, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + factoryKeyword: factoryKeyword, + endToken: endToken); seen(data); } @override void endExtensionTypeFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { ExtensionTypeFactoryMethodEnd data = new ExtensionTypeFactoryMethodEnd( - ParserAstType.END, - beginToken: beginToken, - factoryKeyword: factoryKeyword, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + factoryKeyword: factoryKeyword, + endToken: endToken); seen(data); } @override - void beginFormalParameter( - Token token, - MemberKind kind, - Token? requiredToken, - Token? covariantToken, - Token? varFinalOrConst, - ) { - FormalParameterBegin data = new FormalParameterBegin( - ParserAstType.BEGIN, - token: token, - kind: kind, - requiredToken: requiredToken, - covariantToken: covariantToken, - varFinalOrConst: varFinalOrConst, - ); + void beginFormalParameter(Token token, MemberKind kind, Token? requiredToken, + Token? covariantToken, Token? varFinalOrConst) { + FormalParameterBegin data = new FormalParameterBegin(ParserAstType.BEGIN, + token: token, + kind: kind, + requiredToken: requiredToken, + covariantToken: covariantToken, + varFinalOrConst: varFinalOrConst); seen(data); } @override void endFormalParameter( - Token? thisKeyword, - Token? superKeyword, - Token? periodAfterThisOrSuper, - Token nameToken, - Token? initializerStart, - Token? initializerEnd, - FormalParameterKind kind, - MemberKind memberKind, - ) { - FormalParameterEnd data = new FormalParameterEnd( - ParserAstType.END, - thisKeyword: thisKeyword, - superKeyword: superKeyword, - periodAfterThisOrSuper: periodAfterThisOrSuper, - nameToken: nameToken, - initializerStart: initializerStart, - initializerEnd: initializerEnd, - kind: kind, - memberKind: memberKind, - ); + Token? thisKeyword, + Token? superKeyword, + Token? periodAfterThisOrSuper, + Token nameToken, + Token? initializerStart, + Token? initializerEnd, + FormalParameterKind kind, + MemberKind memberKind) { + FormalParameterEnd data = new FormalParameterEnd(ParserAstType.END, + thisKeyword: thisKeyword, + superKeyword: superKeyword, + periodAfterThisOrSuper: periodAfterThisOrSuper, + nameToken: nameToken, + initializerStart: initializerStart, + initializerEnd: initializerEnd, + kind: kind, + memberKind: memberKind); seen(data); } @override void handleNoFormalParameters(Token token, MemberKind kind) { NoFormalParametersHandle data = new NoFormalParametersHandle( - ParserAstType.HANDLE, - token: token, - kind: kind, - ); + ParserAstType.HANDLE, + token: token, + kind: kind); seen(data); } @override void beginFormalParameters(Token token, MemberKind kind) { - FormalParametersBegin data = new FormalParametersBegin( - ParserAstType.BEGIN, - token: token, - kind: kind, - ); + FormalParametersBegin data = new FormalParametersBegin(ParserAstType.BEGIN, + token: token, kind: kind); seen(data); } @override void endFormalParameters( - int count, - Token beginToken, - Token endToken, - MemberKind kind, - ) { - FormalParametersEnd data = new FormalParametersEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - kind: kind, - ); + int count, Token beginToken, Token endToken, MemberKind kind) { + FormalParametersEnd data = new FormalParametersEnd(ParserAstType.END, + count: count, beginToken: beginToken, endToken: endToken, kind: kind); seen(data); } @override void endClassFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - ClassFieldsEnd data = new ClassFieldsEnd( - ParserAstType.END, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + ClassFieldsEnd data = new ClassFieldsEnd(ParserAstType.END, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void endMixinFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - MixinFieldsEnd data = new MixinFieldsEnd( - ParserAstType.END, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + MixinFieldsEnd data = new MixinFieldsEnd(ParserAstType.END, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void endExtensionFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - ExtensionFieldsEnd data = new ExtensionFieldsEnd( - ParserAstType.END, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + ExtensionFieldsEnd data = new ExtensionFieldsEnd(ParserAstType.END, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void endExtensionTypeFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - ExtensionTypeFieldsEnd data = new ExtensionTypeFieldsEnd( - ParserAstType.END, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + ExtensionTypeFieldsEnd data = new ExtensionTypeFieldsEnd(ParserAstType.END, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void endEnumFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - EnumFieldsEnd data = new EnumFieldsEnd( - ParserAstType.END, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + EnumFieldsEnd data = new EnumFieldsEnd(ParserAstType.END, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override - void endEnumMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - EnumMethodEnd data = new EnumMethodEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endEnumMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + EnumMethodEnd data = new EnumMethodEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override void handleForInitializerEmptyStatement(Token token) { ForInitializerEmptyStatementHandle data = - new ForInitializerEmptyStatementHandle( - ParserAstType.HANDLE, - token: token, - ); + new ForInitializerEmptyStatementHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleForInitializerExpressionStatement(Token token, bool forIn) { ForInitializerExpressionStatementHandle data = - new ForInitializerExpressionStatementHandle( - ParserAstType.HANDLE, - token: token, - forIn: forIn, - ); + new ForInitializerExpressionStatementHandle(ParserAstType.HANDLE, + token: token, forIn: forIn); seen(data); } @override void handleForInitializerLocalVariableDeclaration(Token token, bool forIn) { ForInitializerLocalVariableDeclarationHandle data = - new ForInitializerLocalVariableDeclarationHandle( - ParserAstType.HANDLE, - token: token, - forIn: forIn, - ); + new ForInitializerLocalVariableDeclarationHandle(ParserAstType.HANDLE, + token: token, forIn: forIn); seen(data); } @override void handleForInitializerPatternVariableAssignment( - Token keyword, - Token equals, - ) { + Token keyword, Token equals) { ForInitializerPatternVariableAssignmentHandle data = - new ForInitializerPatternVariableAssignmentHandle( - ParserAstType.HANDLE, - keyword: keyword, - equals: equals, - ); + new ForInitializerPatternVariableAssignmentHandle(ParserAstType.HANDLE, + keyword: keyword, equals: equals); seen(data); } @override void beginForStatement(Token token) { - ForStatementBegin data = new ForStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + ForStatementBegin data = + new ForStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override - void handleForLoopParts( - Token forKeyword, - Token leftParen, - Token leftSeparator, - Token rightSeparator, - int updateExpressionCount, - ) { - ForLoopPartsHandle data = new ForLoopPartsHandle( - ParserAstType.HANDLE, - forKeyword: forKeyword, - leftParen: leftParen, - leftSeparator: leftSeparator, - rightSeparator: rightSeparator, - updateExpressionCount: updateExpressionCount, - ); + void handleForLoopParts(Token forKeyword, Token leftParen, + Token leftSeparator, Token rightSeparator, int updateExpressionCount) { + ForLoopPartsHandle data = new ForLoopPartsHandle(ParserAstType.HANDLE, + forKeyword: forKeyword, + leftParen: leftParen, + leftSeparator: leftSeparator, + rightSeparator: rightSeparator, + updateExpressionCount: updateExpressionCount); seen(data); } @override void endForStatement(Token endToken) { - ForStatementEnd data = new ForStatementEnd( - ParserAstType.END, - endToken: endToken, - ); + ForStatementEnd data = + new ForStatementEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginForStatementBody(Token token) { - ForStatementBodyBegin data = new ForStatementBodyBegin( - ParserAstType.BEGIN, - token: token, - ); + ForStatementBodyBegin data = + new ForStatementBodyBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endForStatementBody(Token endToken) { - ForStatementBodyEnd data = new ForStatementBodyEnd( - ParserAstType.END, - endToken: endToken, - ); + ForStatementBodyEnd data = + new ForStatementBodyEnd(ParserAstType.END, endToken: endToken); seen(data); } @override - void handleForInLoopParts( - Token? awaitToken, - Token forToken, - Token leftParenthesis, - Token? patternKeyword, - Token inKeyword, - ) { - ForInLoopPartsHandle data = new ForInLoopPartsHandle( - ParserAstType.HANDLE, - awaitToken: awaitToken, - forToken: forToken, - leftParenthesis: leftParenthesis, - patternKeyword: patternKeyword, - inKeyword: inKeyword, - ); + void handleForInLoopParts(Token? awaitToken, Token forToken, + Token leftParenthesis, Token? patternKeyword, Token inKeyword) { + ForInLoopPartsHandle data = new ForInLoopPartsHandle(ParserAstType.HANDLE, + awaitToken: awaitToken, + forToken: forToken, + leftParenthesis: leftParenthesis, + patternKeyword: patternKeyword, + inKeyword: inKeyword); seen(data); } @@ -1217,19 +933,15 @@ abstract class AbstractParserAstListener implements Listener { @override void beginForInExpression(Token token) { - ForInExpressionBegin data = new ForInExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + ForInExpressionBegin data = + new ForInExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endForInExpression(Token token) { - ForInExpressionEnd data = new ForInExpressionEnd( - ParserAstType.END, - token: token, - ); + ForInExpressionEnd data = + new ForInExpressionEnd(ParserAstType.END, token: token); seen(data); } @@ -1247,95 +959,73 @@ abstract class AbstractParserAstListener implements Listener { @override void beginNamedFunctionExpression(Token token) { - NamedFunctionExpressionBegin data = new NamedFunctionExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + NamedFunctionExpressionBegin data = + new NamedFunctionExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endNamedFunctionExpression(Token endToken) { - NamedFunctionExpressionEnd data = new NamedFunctionExpressionEnd( - ParserAstType.END, - endToken: endToken, - ); + NamedFunctionExpressionEnd data = + new NamedFunctionExpressionEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginLocalFunctionDeclaration(Token token) { - LocalFunctionDeclarationBegin data = new LocalFunctionDeclarationBegin( - ParserAstType.BEGIN, - token: token, - ); + LocalFunctionDeclarationBegin data = + new LocalFunctionDeclarationBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endLocalFunctionDeclaration(Token endToken) { - LocalFunctionDeclarationEnd data = new LocalFunctionDeclarationEnd( - ParserAstType.END, - endToken: endToken, - ); + LocalFunctionDeclarationEnd data = + new LocalFunctionDeclarationEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginBlockFunctionBody(Token token) { - BlockFunctionBodyBegin data = new BlockFunctionBodyBegin( - ParserAstType.BEGIN, - token: token, - ); + BlockFunctionBodyBegin data = + new BlockFunctionBodyBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endBlockFunctionBody(int count, Token beginToken, Token endToken) { - BlockFunctionBodyEnd data = new BlockFunctionBodyEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + BlockFunctionBodyEnd data = new BlockFunctionBodyEnd(ParserAstType.END, + count: count, beginToken: beginToken, endToken: endToken); seen(data); } @override void handleNoFunctionBody(Token token) { - NoFunctionBodyHandle data = new NoFunctionBodyHandle( - ParserAstType.HANDLE, - token: token, - ); + NoFunctionBodyHandle data = + new NoFunctionBodyHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleFunctionBodySkipped(Token token, bool isExpressionBody) { FunctionBodySkippedHandle data = new FunctionBodySkippedHandle( - ParserAstType.HANDLE, - token: token, - isExpressionBody: isExpressionBody, - ); + ParserAstType.HANDLE, + token: token, + isExpressionBody: isExpressionBody); seen(data); } @override void beginFunctionName(Token token) { - FunctionNameBegin data = new FunctionNameBegin( - ParserAstType.BEGIN, - token: token, - ); + FunctionNameBegin data = + new FunctionNameBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endFunctionName(Token beginToken, Token token) { - FunctionNameEnd data = new FunctionNameEnd( - ParserAstType.END, - beginToken: beginToken, - token: token, - ); + FunctionNameEnd data = new FunctionNameEnd(ParserAstType.END, + beginToken: beginToken, token: token); seen(data); } @@ -1346,129 +1036,103 @@ abstract class AbstractParserAstListener implements Listener { } @override - void endTypedef( - Token? augmentToken, - Token typedefKeyword, - Token? equals, - Token endToken, - ) { - TypedefEnd data = new TypedefEnd( - ParserAstType.END, - augmentToken: augmentToken, - typedefKeyword: typedefKeyword, - equals: equals, - endToken: endToken, - ); + void endTypedef(Token? augmentToken, Token typedefKeyword, Token? equals, + Token endToken) { + TypedefEnd data = new TypedefEnd(ParserAstType.END, + augmentToken: augmentToken, + typedefKeyword: typedefKeyword, + equals: equals, + endToken: endToken); seen(data); } @override void handleClassWithClause(Token withKeyword) { - ClassWithClauseHandle data = new ClassWithClauseHandle( - ParserAstType.HANDLE, - withKeyword: withKeyword, - ); + ClassWithClauseHandle data = new ClassWithClauseHandle(ParserAstType.HANDLE, + withKeyword: withKeyword); seen(data); } @override void handleClassNoWithClause() { - ClassNoWithClauseHandle data = new ClassNoWithClauseHandle( - ParserAstType.HANDLE, - ); + ClassNoWithClauseHandle data = + new ClassNoWithClauseHandle(ParserAstType.HANDLE); seen(data); } @override void handleEnumWithClause(Token withKeyword) { - EnumWithClauseHandle data = new EnumWithClauseHandle( - ParserAstType.HANDLE, - withKeyword: withKeyword, - ); + EnumWithClauseHandle data = new EnumWithClauseHandle(ParserAstType.HANDLE, + withKeyword: withKeyword); seen(data); } @override void handleEnumNoWithClause() { - EnumNoWithClauseHandle data = new EnumNoWithClauseHandle( - ParserAstType.HANDLE, - ); + EnumNoWithClauseHandle data = + new EnumNoWithClauseHandle(ParserAstType.HANDLE); seen(data); } @override void handleMixinWithClause(Token withKeyword) { - MixinWithClauseHandle data = new MixinWithClauseHandle( - ParserAstType.HANDLE, - withKeyword: withKeyword, - ); + MixinWithClauseHandle data = new MixinWithClauseHandle(ParserAstType.HANDLE, + withKeyword: withKeyword); seen(data); } @override void beginNamedMixinApplication( - Token beginToken, - Token? abstractToken, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - Token? finalToken, - Token? augmentToken, - Token? mixinToken, - Token name, - ) { + Token beginToken, + Token? abstractToken, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + Token? finalToken, + Token? augmentToken, + Token? mixinToken, + Token name) { NamedMixinApplicationBegin data = new NamedMixinApplicationBegin( - ParserAstType.BEGIN, - beginToken: beginToken, - abstractToken: abstractToken, - macroToken: macroToken, - sealedToken: sealedToken, - baseToken: baseToken, - interfaceToken: interfaceToken, - finalToken: finalToken, - augmentToken: augmentToken, - mixinToken: mixinToken, - name: name, - ); + ParserAstType.BEGIN, + beginToken: beginToken, + abstractToken: abstractToken, + macroToken: macroToken, + sealedToken: sealedToken, + baseToken: baseToken, + interfaceToken: interfaceToken, + finalToken: finalToken, + augmentToken: augmentToken, + mixinToken: mixinToken, + name: name); seen(data); } @override void handleNamedMixinApplicationWithClause(Token withKeyword) { NamedMixinApplicationWithClauseHandle data = - new NamedMixinApplicationWithClauseHandle( - ParserAstType.HANDLE, - withKeyword: withKeyword, - ); + new NamedMixinApplicationWithClauseHandle(ParserAstType.HANDLE, + withKeyword: withKeyword); seen(data); } @override - void endNamedMixinApplication( - Token begin, - Token classKeyword, - Token equals, - Token? implementsKeyword, - Token endToken, - ) { + void endNamedMixinApplication(Token begin, Token classKeyword, Token equals, + Token? implementsKeyword, Token endToken) { NamedMixinApplicationEnd data = new NamedMixinApplicationEnd( - ParserAstType.END, - begin: begin, - classKeyword: classKeyword, - equals: equals, - implementsKeyword: implementsKeyword, - endToken: endToken, - ); + ParserAstType.END, + begin: begin, + classKeyword: classKeyword, + equals: equals, + implementsKeyword: implementsKeyword, + endToken: endToken); seen(data); } @override void beginHide(Token hideKeyword) { - HideBegin data = new HideBegin( - ParserAstType.BEGIN, - hideKeyword: hideKeyword, - ); + HideBegin data = + new HideBegin(ParserAstType.BEGIN, hideKeyword: hideKeyword); seen(data); } @@ -1480,10 +1144,8 @@ abstract class AbstractParserAstListener implements Listener { @override void handleIdentifierList(int count) { - IdentifierListHandle data = new IdentifierListHandle( - ParserAstType.HANDLE, - count: count, - ); + IdentifierListHandle data = + new IdentifierListHandle(ParserAstType.HANDLE, count: count); seen(data); } @@ -1501,276 +1163,208 @@ abstract class AbstractParserAstListener implements Listener { @override void beginIfStatement(Token token) { - IfStatementBegin data = new IfStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + IfStatementBegin data = + new IfStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endIfStatement(Token ifToken, Token? elseToken, Token endToken) { - IfStatementEnd data = new IfStatementEnd( - ParserAstType.END, - ifToken: ifToken, - elseToken: elseToken, - endToken: endToken, - ); + IfStatementEnd data = new IfStatementEnd(ParserAstType.END, + ifToken: ifToken, elseToken: elseToken, endToken: endToken); seen(data); } @override void beginThenStatement(Token token) { - ThenStatementBegin data = new ThenStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + ThenStatementBegin data = + new ThenStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endThenStatement(Token beginToken, Token endToken) { - ThenStatementEnd data = new ThenStatementEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + ThenStatementEnd data = new ThenStatementEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginElseStatement(Token token) { - ElseStatementBegin data = new ElseStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + ElseStatementBegin data = + new ElseStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endElseStatement(Token beginToken, Token endToken) { - ElseStatementEnd data = new ElseStatementEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + ElseStatementEnd data = new ElseStatementEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginImport(Token importKeyword) { - ImportBegin data = new ImportBegin( - ParserAstType.BEGIN, - importKeyword: importKeyword, - ); + ImportBegin data = + new ImportBegin(ParserAstType.BEGIN, importKeyword: importKeyword); seen(data); } @override void handleImportPrefix(Token? deferredKeyword, Token? asKeyword) { - ImportPrefixHandle data = new ImportPrefixHandle( - ParserAstType.HANDLE, - deferredKeyword: deferredKeyword, - asKeyword: asKeyword, - ); + ImportPrefixHandle data = new ImportPrefixHandle(ParserAstType.HANDLE, + deferredKeyword: deferredKeyword, asKeyword: asKeyword); seen(data); } @override void endImport(Token importKeyword, Token? augmentToken, Token? semicolon) { - ImportEnd data = new ImportEnd( - ParserAstType.END, - importKeyword: importKeyword, - augmentToken: augmentToken, - semicolon: semicolon, - ); + ImportEnd data = new ImportEnd(ParserAstType.END, + importKeyword: importKeyword, + augmentToken: augmentToken, + semicolon: semicolon); seen(data); } @override void handleRecoverImport(Token? semicolon) { - RecoverImportHandle data = new RecoverImportHandle( - ParserAstType.HANDLE, - semicolon: semicolon, - ); + RecoverImportHandle data = + new RecoverImportHandle(ParserAstType.HANDLE, semicolon: semicolon); seen(data); } @override void beginConditionalUris(Token token) { - ConditionalUrisBegin data = new ConditionalUrisBegin( - ParserAstType.BEGIN, - token: token, - ); + ConditionalUrisBegin data = + new ConditionalUrisBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endConditionalUris(int count) { - ConditionalUrisEnd data = new ConditionalUrisEnd( - ParserAstType.END, - count: count, - ); + ConditionalUrisEnd data = + new ConditionalUrisEnd(ParserAstType.END, count: count); seen(data); } @override void beginConditionalUri(Token ifKeyword) { - ConditionalUriBegin data = new ConditionalUriBegin( - ParserAstType.BEGIN, - ifKeyword: ifKeyword, - ); + ConditionalUriBegin data = + new ConditionalUriBegin(ParserAstType.BEGIN, ifKeyword: ifKeyword); seen(data); } @override void endConditionalUri(Token ifKeyword, Token leftParen, Token? equalSign) { - ConditionalUriEnd data = new ConditionalUriEnd( - ParserAstType.END, - ifKeyword: ifKeyword, - leftParen: leftParen, - equalSign: equalSign, - ); + ConditionalUriEnd data = new ConditionalUriEnd(ParserAstType.END, + ifKeyword: ifKeyword, leftParen: leftParen, equalSign: equalSign); seen(data); } @override void handleDottedName(int count, Token firstIdentifier) { - DottedNameHandle data = new DottedNameHandle( - ParserAstType.HANDLE, - count: count, - firstIdentifier: firstIdentifier, - ); + DottedNameHandle data = new DottedNameHandle(ParserAstType.HANDLE, + count: count, firstIdentifier: firstIdentifier); seen(data); } @override void beginImplicitCreationExpression(Token token) { - ImplicitCreationExpressionBegin data = new ImplicitCreationExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + ImplicitCreationExpressionBegin data = + new ImplicitCreationExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endImplicitCreationExpression(Token token, Token openAngleBracket) { ImplicitCreationExpressionEnd data = new ImplicitCreationExpressionEnd( - ParserAstType.END, - token: token, - openAngleBracket: openAngleBracket, - ); + ParserAstType.END, + token: token, + openAngleBracket: openAngleBracket); seen(data); } @override void beginInitializedIdentifier(Token token) { - InitializedIdentifierBegin data = new InitializedIdentifierBegin( - ParserAstType.BEGIN, - token: token, - ); + InitializedIdentifierBegin data = + new InitializedIdentifierBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endInitializedIdentifier(Token nameToken) { - InitializedIdentifierEnd data = new InitializedIdentifierEnd( - ParserAstType.END, - nameToken: nameToken, - ); + InitializedIdentifierEnd data = + new InitializedIdentifierEnd(ParserAstType.END, nameToken: nameToken); seen(data); } @override void beginFieldInitializer(Token token) { - FieldInitializerBegin data = new FieldInitializerBegin( - ParserAstType.BEGIN, - token: token, - ); + FieldInitializerBegin data = + new FieldInitializerBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endFieldInitializer(Token assignment, Token endToken) { - FieldInitializerEnd data = new FieldInitializerEnd( - ParserAstType.END, - assignment: assignment, - endToken: endToken, - ); + FieldInitializerEnd data = new FieldInitializerEnd(ParserAstType.END, + assignment: assignment, endToken: endToken); seen(data); } @override void handleNoFieldInitializer(Token token) { - NoFieldInitializerHandle data = new NoFieldInitializerHandle( - ParserAstType.HANDLE, - token: token, - ); + NoFieldInitializerHandle data = + new NoFieldInitializerHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void beginVariableInitializer(Token token) { - VariableInitializerBegin data = new VariableInitializerBegin( - ParserAstType.BEGIN, - token: token, - ); + VariableInitializerBegin data = + new VariableInitializerBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endVariableInitializer(Token assignmentOperator) { - VariableInitializerEnd data = new VariableInitializerEnd( - ParserAstType.END, - assignmentOperator: assignmentOperator, - ); + VariableInitializerEnd data = new VariableInitializerEnd(ParserAstType.END, + assignmentOperator: assignmentOperator); seen(data); } @override void handleNoVariableInitializer(Token token) { - NoVariableInitializerHandle data = new NoVariableInitializerHandle( - ParserAstType.HANDLE, - token: token, - ); + NoVariableInitializerHandle data = + new NoVariableInitializerHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void beginInitializer(Token token) { - InitializerBegin data = new InitializerBegin( - ParserAstType.BEGIN, - token: token, - ); + InitializerBegin data = + new InitializerBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endInitializer(Token endToken) { - InitializerEnd data = new InitializerEnd( - ParserAstType.END, - endToken: endToken, - ); + InitializerEnd data = + new InitializerEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void beginInitializers(Token token) { - InitializersBegin data = new InitializersBegin( - ParserAstType.BEGIN, - token: token, - ); + InitializersBegin data = + new InitializersBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endInitializers(int count, Token beginToken, Token endToken) { - InitializersEnd data = new InitializersEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + InitializersEnd data = new InitializersEnd(ParserAstType.END, + count: count, beginToken: beginToken, endToken: endToken); seen(data); } @@ -1782,28 +1376,22 @@ abstract class AbstractParserAstListener implements Listener { @override void handleInvalidExpression(Token token) { - InvalidExpressionHandle data = new InvalidExpressionHandle( - ParserAstType.HANDLE, - token: token, - ); + InvalidExpressionHandle data = + new InvalidExpressionHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleInvalidFunctionBody(Token token) { - InvalidFunctionBodyHandle data = new InvalidFunctionBodyHandle( - ParserAstType.HANDLE, - token: token, - ); + InvalidFunctionBodyHandle data = + new InvalidFunctionBodyHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleInvalidTypeReference(Token token) { - InvalidTypeReferenceHandle data = new InvalidTypeReferenceHandle( - ParserAstType.HANDLE, - token: token, - ); + InvalidTypeReferenceHandle data = + new InvalidTypeReferenceHandle(ParserAstType.HANDLE, token: token); seen(data); } @@ -1815,131 +1403,98 @@ abstract class AbstractParserAstListener implements Listener { @override void beginLabeledStatement(Token token, int labelCount) { - LabeledStatementBegin data = new LabeledStatementBegin( - ParserAstType.BEGIN, - token: token, - labelCount: labelCount, - ); + LabeledStatementBegin data = new LabeledStatementBegin(ParserAstType.BEGIN, + token: token, labelCount: labelCount); seen(data); } @override void endLabeledStatement(int labelCount) { - LabeledStatementEnd data = new LabeledStatementEnd( - ParserAstType.END, - labelCount: labelCount, - ); + LabeledStatementEnd data = + new LabeledStatementEnd(ParserAstType.END, labelCount: labelCount); seen(data); } @override void beginLibraryAugmentation(Token augmentKeyword, Token libraryKeyword) { LibraryAugmentationBegin data = new LibraryAugmentationBegin( - ParserAstType.BEGIN, - augmentKeyword: augmentKeyword, - libraryKeyword: libraryKeyword, - ); + ParserAstType.BEGIN, + augmentKeyword: augmentKeyword, + libraryKeyword: libraryKeyword); seen(data); } @override void endLibraryAugmentation( - Token augmentKeyword, - Token libraryKeyword, - Token semicolon, - ) { - LibraryAugmentationEnd data = new LibraryAugmentationEnd( - ParserAstType.END, - augmentKeyword: augmentKeyword, - libraryKeyword: libraryKeyword, - semicolon: semicolon, - ); + Token augmentKeyword, Token libraryKeyword, Token semicolon) { + LibraryAugmentationEnd data = new LibraryAugmentationEnd(ParserAstType.END, + augmentKeyword: augmentKeyword, + libraryKeyword: libraryKeyword, + semicolon: semicolon); seen(data); } @override void beginLibraryName(Token token) { - LibraryNameBegin data = new LibraryNameBegin( - ParserAstType.BEGIN, - token: token, - ); + LibraryNameBegin data = + new LibraryNameBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endLibraryName(Token libraryKeyword, Token semicolon, bool hasName) { - LibraryNameEnd data = new LibraryNameEnd( - ParserAstType.END, - libraryKeyword: libraryKeyword, - semicolon: semicolon, - hasName: hasName, - ); + LibraryNameEnd data = new LibraryNameEnd(ParserAstType.END, + libraryKeyword: libraryKeyword, semicolon: semicolon, hasName: hasName); seen(data); } @override - void handleLiteralMapEntry( - Token colon, - Token endToken, { - Token? nullAwareKeyToken, - Token? nullAwareValueToken, - }) { - LiteralMapEntryHandle data = new LiteralMapEntryHandle( - ParserAstType.HANDLE, - colon: colon, - endToken: endToken, - nullAwareKeyToken: nullAwareKeyToken, - nullAwareValueToken: nullAwareValueToken, - ); + void handleLiteralMapEntry(Token colon, Token endToken, + {Token? nullAwareKeyToken, Token? nullAwareValueToken}) { + LiteralMapEntryHandle data = new LiteralMapEntryHandle(ParserAstType.HANDLE, + colon: colon, + endToken: endToken, + nullAwareKeyToken: nullAwareKeyToken, + nullAwareValueToken: nullAwareValueToken); seen(data); } @override void handleMapPatternEntry(Token colon, Token endToken) { - MapPatternEntryHandle data = new MapPatternEntryHandle( - ParserAstType.HANDLE, - colon: colon, - endToken: endToken, - ); + MapPatternEntryHandle data = new MapPatternEntryHandle(ParserAstType.HANDLE, + colon: colon, endToken: endToken); seen(data); } @override void beginLiteralString(Token token) { - LiteralStringBegin data = new LiteralStringBegin( - ParserAstType.BEGIN, - token: token, - ); + LiteralStringBegin data = + new LiteralStringBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void handleInterpolationExpression(Token leftBracket, Token? rightBracket) { InterpolationExpressionHandle data = new InterpolationExpressionHandle( - ParserAstType.HANDLE, - leftBracket: leftBracket, - rightBracket: rightBracket, - ); + ParserAstType.HANDLE, + leftBracket: leftBracket, + rightBracket: rightBracket); seen(data); } @override void endLiteralString(int interpolationCount, Token endToken) { - LiteralStringEnd data = new LiteralStringEnd( - ParserAstType.END, - interpolationCount: interpolationCount, - endToken: endToken, - ); + LiteralStringEnd data = new LiteralStringEnd(ParserAstType.END, + interpolationCount: interpolationCount, endToken: endToken); seen(data); } @override void handleAdjacentStringLiterals(Token startToken, int literalCount) { AdjacentStringLiteralsHandle data = new AdjacentStringLiteralsHandle( - ParserAstType.HANDLE, - startToken: startToken, - literalCount: literalCount, - ); + ParserAstType.HANDLE, + startToken: startToken, + literalCount: literalCount); seen(data); } @@ -1951,10 +1506,8 @@ abstract class AbstractParserAstListener implements Listener { @override void handleInvalidMember(Token endToken) { - InvalidMemberHandle data = new InvalidMemberHandle( - ParserAstType.HANDLE, - endToken: endToken, - ); + InvalidMemberHandle data = + new InvalidMemberHandle(ParserAstType.HANDLE, endToken: endToken); seen(data); } @@ -1966,189 +1519,130 @@ abstract class AbstractParserAstListener implements Listener { @override void beginMethod( - DeclarationKind declarationKind, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? varFinalOrConst, - Token? getOrSet, - Token name, - String? enclosingDeclarationName, - ) { - MethodBegin data = new MethodBegin( - ParserAstType.BEGIN, - declarationKind: declarationKind, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - varFinalOrConst: varFinalOrConst, - getOrSet: getOrSet, - name: name, - enclosingDeclarationName: enclosingDeclarationName, - ); + DeclarationKind declarationKind, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? varFinalOrConst, + Token? getOrSet, + Token name, + String? enclosingDeclarationName) { + MethodBegin data = new MethodBegin(ParserAstType.BEGIN, + declarationKind: declarationKind, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + varFinalOrConst: varFinalOrConst, + getOrSet: getOrSet, + name: name, + enclosingDeclarationName: enclosingDeclarationName); seen(data); } @override - void endClassMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - ClassMethodEnd data = new ClassMethodEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endClassMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + ClassMethodEnd data = new ClassMethodEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endMixinMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - MixinMethodEnd data = new MixinMethodEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endMixinMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + MixinMethodEnd data = new MixinMethodEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endExtensionMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - ExtensionMethodEnd data = new ExtensionMethodEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endExtensionMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + ExtensionMethodEnd data = new ExtensionMethodEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endExtensionTypeMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - ExtensionTypeMethodEnd data = new ExtensionTypeMethodEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endExtensionTypeMethod(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { + ExtensionTypeMethodEnd data = new ExtensionTypeMethodEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endClassConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - ClassConstructorEnd data = new ClassConstructorEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endClassConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + ClassConstructorEnd data = new ClassConstructorEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endMixinConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { - MixinConstructorEnd data = new MixinConstructorEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + void endMixinConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { + MixinConstructorEnd data = new MixinConstructorEnd(ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endExtensionConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionConstructor(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { ExtensionConstructorEnd data = new ExtensionConstructorEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override - void endExtensionTypeConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionTypeConstructor(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { ExtensionTypeConstructorEnd data = new ExtensionTypeConstructorEnd( - ParserAstType.END, - getOrSet: getOrSet, - beginToken: beginToken, - beginParam: beginParam, - beginInitializers: beginInitializers, - endToken: endToken, - ); + ParserAstType.END, + getOrSet: getOrSet, + beginToken: beginToken, + beginParam: beginParam, + beginInitializers: beginInitializers, + endToken: endToken); seen(data); } @override void beginMetadataStar(Token token) { - MetadataStarBegin data = new MetadataStarBegin( - ParserAstType.BEGIN, - token: token, - ); + MetadataStarBegin data = + new MetadataStarBegin(ParserAstType.BEGIN, token: token); seen(data); } @@ -2166,38 +1660,29 @@ abstract class AbstractParserAstListener implements Listener { @override void endMetadata(Token beginToken, Token? periodBeforeName, Token endToken) { - MetadataEnd data = new MetadataEnd( - ParserAstType.END, - beginToken: beginToken, - periodBeforeName: periodBeforeName, - endToken: endToken, - ); + MetadataEnd data = new MetadataEnd(ParserAstType.END, + beginToken: beginToken, + periodBeforeName: periodBeforeName, + endToken: endToken); seen(data); } @override void beginOptionalFormalParameters(Token token) { - OptionalFormalParametersBegin data = new OptionalFormalParametersBegin( - ParserAstType.BEGIN, - token: token, - ); + OptionalFormalParametersBegin data = + new OptionalFormalParametersBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endOptionalFormalParameters( - int count, - Token beginToken, - Token endToken, - MemberKind kind, - ) { + int count, Token beginToken, Token endToken, MemberKind kind) { OptionalFormalParametersEnd data = new OptionalFormalParametersEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - kind: kind, - ); + ParserAstType.END, + count: count, + beginToken: beginToken, + endToken: endToken, + kind: kind); seen(data); } @@ -2209,11 +1694,8 @@ abstract class AbstractParserAstListener implements Listener { @override void endPart(Token partKeyword, Token semicolon) { - PartEnd data = new PartEnd( - ParserAstType.END, - partKeyword: partKeyword, - semicolon: semicolon, - ); + PartEnd data = new PartEnd(ParserAstType.END, + partKeyword: partKeyword, semicolon: semicolon); seen(data); } @@ -2225,129 +1707,102 @@ abstract class AbstractParserAstListener implements Listener { @override void endPartOf( - Token partKeyword, - Token ofKeyword, - Token semicolon, - bool hasName, - ) { - PartOfEnd data = new PartOfEnd( - ParserAstType.END, - partKeyword: partKeyword, - ofKeyword: ofKeyword, - semicolon: semicolon, - hasName: hasName, - ); + Token partKeyword, Token ofKeyword, Token semicolon, bool hasName) { + PartOfEnd data = new PartOfEnd(ParserAstType.END, + partKeyword: partKeyword, + ofKeyword: ofKeyword, + semicolon: semicolon, + hasName: hasName); seen(data); } @override void beginRedirectingFactoryBody(Token token) { - RedirectingFactoryBodyBegin data = new RedirectingFactoryBodyBegin( - ParserAstType.BEGIN, - token: token, - ); + RedirectingFactoryBodyBegin data = + new RedirectingFactoryBodyBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endRedirectingFactoryBody(Token beginToken, Token endToken) { RedirectingFactoryBodyEnd data = new RedirectingFactoryBodyEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void beginReturnStatement(Token token) { - ReturnStatementBegin data = new ReturnStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + ReturnStatementBegin data = + new ReturnStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void handleNativeFunctionBody(Token nativeToken, Token semicolon) { NativeFunctionBodyHandle data = new NativeFunctionBodyHandle( - ParserAstType.HANDLE, - nativeToken: nativeToken, - semicolon: semicolon, - ); + ParserAstType.HANDLE, + nativeToken: nativeToken, + semicolon: semicolon); seen(data); } @override void handleNativeFunctionBodyIgnored(Token nativeToken, Token semicolon) { NativeFunctionBodyIgnoredHandle data = new NativeFunctionBodyIgnoredHandle( - ParserAstType.HANDLE, - nativeToken: nativeToken, - semicolon: semicolon, - ); + ParserAstType.HANDLE, + nativeToken: nativeToken, + semicolon: semicolon); seen(data); } @override void handleNativeFunctionBodySkipped(Token nativeToken, Token semicolon) { NativeFunctionBodySkippedHandle data = new NativeFunctionBodySkippedHandle( - ParserAstType.HANDLE, - nativeToken: nativeToken, - semicolon: semicolon, - ); + ParserAstType.HANDLE, + nativeToken: nativeToken, + semicolon: semicolon); seen(data); } @override void handleEmptyFunctionBody(Token semicolon) { - EmptyFunctionBodyHandle data = new EmptyFunctionBodyHandle( - ParserAstType.HANDLE, - semicolon: semicolon, - ); + EmptyFunctionBodyHandle data = + new EmptyFunctionBodyHandle(ParserAstType.HANDLE, semicolon: semicolon); seen(data); } @override void handleExpressionFunctionBody(Token arrowToken, Token? endToken) { ExpressionFunctionBodyHandle data = new ExpressionFunctionBodyHandle( - ParserAstType.HANDLE, - arrowToken: arrowToken, - endToken: endToken, - ); + ParserAstType.HANDLE, + arrowToken: arrowToken, + endToken: endToken); seen(data); } @override void endReturnStatement( - bool hasExpression, - Token beginToken, - Token endToken, - ) { - ReturnStatementEnd data = new ReturnStatementEnd( - ParserAstType.END, - hasExpression: hasExpression, - beginToken: beginToken, - endToken: endToken, - ); + bool hasExpression, Token beginToken, Token endToken) { + ReturnStatementEnd data = new ReturnStatementEnd(ParserAstType.END, + hasExpression: hasExpression, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void handleSend(Token beginToken, Token endToken) { - SendHandle data = new SendHandle( - ParserAstType.HANDLE, - beginToken: beginToken, - endToken: endToken, - ); + SendHandle data = new SendHandle(ParserAstType.HANDLE, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginShow(Token showKeyword) { - ShowBegin data = new ShowBegin( - ParserAstType.BEGIN, - showKeyword: showKeyword, - ); + ShowBegin data = + new ShowBegin(ParserAstType.BEGIN, showKeyword: showKeyword); seen(data); } @@ -2359,257 +1814,197 @@ abstract class AbstractParserAstListener implements Listener { @override void beginSwitchStatement(Token token) { - SwitchStatementBegin data = new SwitchStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + SwitchStatementBegin data = + new SwitchStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endSwitchStatement(Token switchKeyword, Token endToken) { - SwitchStatementEnd data = new SwitchStatementEnd( - ParserAstType.END, - switchKeyword: switchKeyword, - endToken: endToken, - ); + SwitchStatementEnd data = new SwitchStatementEnd(ParserAstType.END, + switchKeyword: switchKeyword, endToken: endToken); seen(data); } @override void beginSwitchExpression(Token token) { - SwitchExpressionBegin data = new SwitchExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + SwitchExpressionBegin data = + new SwitchExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endSwitchExpression(Token switchKeyword, Token endToken) { - SwitchExpressionEnd data = new SwitchExpressionEnd( - ParserAstType.END, - switchKeyword: switchKeyword, - endToken: endToken, - ); + SwitchExpressionEnd data = new SwitchExpressionEnd(ParserAstType.END, + switchKeyword: switchKeyword, endToken: endToken); seen(data); } @override void beginSwitchBlock(Token token) { - SwitchBlockBegin data = new SwitchBlockBegin( - ParserAstType.BEGIN, - token: token, - ); + SwitchBlockBegin data = + new SwitchBlockBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endSwitchBlock(int caseCount, Token beginToken, Token endToken) { - SwitchBlockEnd data = new SwitchBlockEnd( - ParserAstType.END, - caseCount: caseCount, - beginToken: beginToken, - endToken: endToken, - ); + SwitchBlockEnd data = new SwitchBlockEnd(ParserAstType.END, + caseCount: caseCount, beginToken: beginToken, endToken: endToken); seen(data); } @override void beginSwitchExpressionBlock(Token token) { - SwitchExpressionBlockBegin data = new SwitchExpressionBlockBegin( - ParserAstType.BEGIN, - token: token, - ); + SwitchExpressionBlockBegin data = + new SwitchExpressionBlockBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endSwitchExpressionBlock( - int caseCount, - Token beginToken, - Token endToken, - ) { + int caseCount, Token beginToken, Token endToken) { SwitchExpressionBlockEnd data = new SwitchExpressionBlockEnd( - ParserAstType.END, - caseCount: caseCount, - beginToken: beginToken, - endToken: endToken, - ); + ParserAstType.END, + caseCount: caseCount, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void beginLiteralSymbol(Token token) { - LiteralSymbolBegin data = new LiteralSymbolBegin( - ParserAstType.BEGIN, - token: token, - ); + LiteralSymbolBegin data = + new LiteralSymbolBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endLiteralSymbol(Token hashToken, int identifierCount) { - LiteralSymbolEnd data = new LiteralSymbolEnd( - ParserAstType.END, - hashToken: hashToken, - identifierCount: identifierCount, - ); + LiteralSymbolEnd data = new LiteralSymbolEnd(ParserAstType.END, + hashToken: hashToken, identifierCount: identifierCount); seen(data); } @override void handleThrowExpression(Token throwToken, Token endToken) { - ThrowExpressionHandle data = new ThrowExpressionHandle( - ParserAstType.HANDLE, - throwToken: throwToken, - endToken: endToken, - ); + ThrowExpressionHandle data = new ThrowExpressionHandle(ParserAstType.HANDLE, + throwToken: throwToken, endToken: endToken); seen(data); } @override void beginRethrowStatement(Token token) { - RethrowStatementBegin data = new RethrowStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + RethrowStatementBegin data = + new RethrowStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endRethrowStatement(Token rethrowToken, Token endToken) { - RethrowStatementEnd data = new RethrowStatementEnd( - ParserAstType.END, - rethrowToken: rethrowToken, - endToken: endToken, - ); + RethrowStatementEnd data = new RethrowStatementEnd(ParserAstType.END, + rethrowToken: rethrowToken, endToken: endToken); seen(data); } @override void endTopLevelDeclaration(Token endToken) { - TopLevelDeclarationEnd data = new TopLevelDeclarationEnd( - ParserAstType.END, - endToken: endToken, - ); + TopLevelDeclarationEnd data = + new TopLevelDeclarationEnd(ParserAstType.END, endToken: endToken); seen(data); } @override void handleInvalidTopLevelDeclaration(Token endToken) { InvalidTopLevelDeclarationHandle data = - new InvalidTopLevelDeclarationHandle( - ParserAstType.HANDLE, - endToken: endToken, - ); + new InvalidTopLevelDeclarationHandle(ParserAstType.HANDLE, + endToken: endToken); seen(data); } @override void beginTopLevelMember(Token token) { - TopLevelMemberBegin data = new TopLevelMemberBegin( - ParserAstType.BEGIN, - token: token, - ); + TopLevelMemberBegin data = + new TopLevelMemberBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void beginFields( - DeclarationKind declarationKind, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token lastConsumed, - ) { - FieldsBegin data = new FieldsBegin( - ParserAstType.BEGIN, - declarationKind: declarationKind, - abstractToken: abstractToken, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - lastConsumed: lastConsumed, - ); + DeclarationKind declarationKind, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token lastConsumed) { + FieldsBegin data = new FieldsBegin(ParserAstType.BEGIN, + declarationKind: declarationKind, + abstractToken: abstractToken, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + lastConsumed: lastConsumed); seen(data); } @override void endTopLevelFields( - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { - TopLevelFieldsEnd data = new TopLevelFieldsEnd( - ParserAstType.END, - augmentToken: augmentToken, - externalToken: externalToken, - staticToken: staticToken, - covariantToken: covariantToken, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { + TopLevelFieldsEnd data = new TopLevelFieldsEnd(ParserAstType.END, + augmentToken: augmentToken, + externalToken: externalToken, + staticToken: staticToken, + covariantToken: covariantToken, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst, + count: count, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void beginTopLevelMethod( - Token lastConsumed, - Token? augmentToken, - Token? externalToken, - ) { - TopLevelMethodBegin data = new TopLevelMethodBegin( - ParserAstType.BEGIN, - lastConsumed: lastConsumed, - augmentToken: augmentToken, - externalToken: externalToken, - ); + Token lastConsumed, Token? augmentToken, Token? externalToken) { + TopLevelMethodBegin data = new TopLevelMethodBegin(ParserAstType.BEGIN, + lastConsumed: lastConsumed, + augmentToken: augmentToken, + externalToken: externalToken); seen(data); } @override void endTopLevelMethod(Token beginToken, Token? getOrSet, Token endToken) { - TopLevelMethodEnd data = new TopLevelMethodEnd( - ParserAstType.END, - beginToken: beginToken, - getOrSet: getOrSet, - endToken: endToken, - ); + TopLevelMethodEnd data = new TopLevelMethodEnd(ParserAstType.END, + beginToken: beginToken, getOrSet: getOrSet, endToken: endToken); seen(data); } @override void beginTryStatement(Token token) { - TryStatementBegin data = new TryStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + TryStatementBegin data = + new TryStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void beginCatchClause(Token token) { - CatchClauseBegin data = new CatchClauseBegin( - ParserAstType.BEGIN, - token: token, - ); + CatchClauseBegin data = + new CatchClauseBegin(ParserAstType.BEGIN, token: token); seen(data); } @@ -2621,109 +2016,80 @@ abstract class AbstractParserAstListener implements Listener { @override void handleCatchBlock(Token? onKeyword, Token? catchKeyword, Token? comma) { - CatchBlockHandle data = new CatchBlockHandle( - ParserAstType.HANDLE, - onKeyword: onKeyword, - catchKeyword: catchKeyword, - comma: comma, - ); + CatchBlockHandle data = new CatchBlockHandle(ParserAstType.HANDLE, + onKeyword: onKeyword, catchKeyword: catchKeyword, comma: comma); seen(data); } @override void handleFinallyBlock(Token finallyKeyword) { - FinallyBlockHandle data = new FinallyBlockHandle( - ParserAstType.HANDLE, - finallyKeyword: finallyKeyword, - ); + FinallyBlockHandle data = new FinallyBlockHandle(ParserAstType.HANDLE, + finallyKeyword: finallyKeyword); seen(data); } @override void endTryStatement( - int catchCount, - Token tryKeyword, - Token? finallyKeyword, - Token endToken, - ) { - TryStatementEnd data = new TryStatementEnd( - ParserAstType.END, - catchCount: catchCount, - tryKeyword: tryKeyword, - finallyKeyword: finallyKeyword, - endToken: endToken, - ); + int catchCount, Token tryKeyword, Token? finallyKeyword, Token endToken) { + TryStatementEnd data = new TryStatementEnd(ParserAstType.END, + catchCount: catchCount, + tryKeyword: tryKeyword, + finallyKeyword: finallyKeyword, + endToken: endToken); seen(data); } @override void handleType(Token beginToken, Token? questionMark) { - TypeHandle data = new TypeHandle( - ParserAstType.HANDLE, - beginToken: beginToken, - questionMark: questionMark, - ); + TypeHandle data = new TypeHandle(ParserAstType.HANDLE, + beginToken: beginToken, questionMark: questionMark); seen(data); } @override void handleNonNullAssertExpression(Token bang) { - NonNullAssertExpressionHandle data = new NonNullAssertExpressionHandle( - ParserAstType.HANDLE, - bang: bang, - ); + NonNullAssertExpressionHandle data = + new NonNullAssertExpressionHandle(ParserAstType.HANDLE, bang: bang); seen(data); } @override void handleNullAssertPattern(Token bang) { - NullAssertPatternHandle data = new NullAssertPatternHandle( - ParserAstType.HANDLE, - bang: bang, - ); + NullAssertPatternHandle data = + new NullAssertPatternHandle(ParserAstType.HANDLE, bang: bang); seen(data); } @override void handleNullCheckPattern(Token question) { - NullCheckPatternHandle data = new NullCheckPatternHandle( - ParserAstType.HANDLE, - question: question, - ); + NullCheckPatternHandle data = + new NullCheckPatternHandle(ParserAstType.HANDLE, question: question); seen(data); } @override void handleAssignedVariablePattern(Token variable) { AssignedVariablePatternHandle data = new AssignedVariablePatternHandle( - ParserAstType.HANDLE, - variable: variable, - ); + ParserAstType.HANDLE, + variable: variable); seen(data); } @override - void handleDeclaredVariablePattern( - Token? keyword, - Token variable, { - required bool inAssignmentPattern, - }) { + void handleDeclaredVariablePattern(Token? keyword, Token variable, + {required bool inAssignmentPattern}) { DeclaredVariablePatternHandle data = new DeclaredVariablePatternHandle( - ParserAstType.HANDLE, - keyword: keyword, - variable: variable, - inAssignmentPattern: inAssignmentPattern, - ); + ParserAstType.HANDLE, + keyword: keyword, + variable: variable, + inAssignmentPattern: inAssignmentPattern); seen(data); } @override void handleWildcardPattern(Token? keyword, Token wildcard) { - WildcardPatternHandle data = new WildcardPatternHandle( - ParserAstType.HANDLE, - keyword: keyword, - wildcard: wildcard, - ); + WildcardPatternHandle data = new WildcardPatternHandle(ParserAstType.HANDLE, + keyword: keyword, wildcard: wildcard); seen(data); } @@ -2735,27 +2101,19 @@ abstract class AbstractParserAstListener implements Listener { @override void beginRecordType(Token leftBracket) { - RecordTypeBegin data = new RecordTypeBegin( - ParserAstType.BEGIN, - leftBracket: leftBracket, - ); + RecordTypeBegin data = + new RecordTypeBegin(ParserAstType.BEGIN, leftBracket: leftBracket); seen(data); } @override void endRecordType( - Token leftBracket, - Token? questionMark, - int count, - bool hasNamedFields, - ) { - RecordTypeEnd data = new RecordTypeEnd( - ParserAstType.END, - leftBracket: leftBracket, - questionMark: questionMark, - count: count, - hasNamedFields: hasNamedFields, - ); + Token leftBracket, Token? questionMark, int count, bool hasNamedFields) { + RecordTypeEnd data = new RecordTypeEnd(ParserAstType.END, + leftBracket: leftBracket, + questionMark: questionMark, + count: count, + hasNamedFields: hasNamedFields); seen(data); } @@ -2774,296 +2132,229 @@ abstract class AbstractParserAstListener implements Listener { @override void beginRecordTypeNamedFields(Token leftBracket) { RecordTypeNamedFieldsBegin data = new RecordTypeNamedFieldsBegin( - ParserAstType.BEGIN, - leftBracket: leftBracket, - ); + ParserAstType.BEGIN, + leftBracket: leftBracket); seen(data); } @override void endRecordTypeNamedFields(int count, Token leftBracket) { RecordTypeNamedFieldsEnd data = new RecordTypeNamedFieldsEnd( - ParserAstType.END, - count: count, - leftBracket: leftBracket, - ); + ParserAstType.END, + count: count, + leftBracket: leftBracket); seen(data); } @override void beginFunctionType(Token beginToken) { - FunctionTypeBegin data = new FunctionTypeBegin( - ParserAstType.BEGIN, - beginToken: beginToken, - ); + FunctionTypeBegin data = + new FunctionTypeBegin(ParserAstType.BEGIN, beginToken: beginToken); seen(data); } @override void endFunctionType(Token functionToken, Token? questionMark) { - FunctionTypeEnd data = new FunctionTypeEnd( - ParserAstType.END, - functionToken: functionToken, - questionMark: questionMark, - ); + FunctionTypeEnd data = new FunctionTypeEnd(ParserAstType.END, + functionToken: functionToken, questionMark: questionMark); seen(data); } @override void beginTypeArguments(Token token) { - TypeArgumentsBegin data = new TypeArgumentsBegin( - ParserAstType.BEGIN, - token: token, - ); + TypeArgumentsBegin data = + new TypeArgumentsBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endTypeArguments(int count, Token beginToken, Token endToken) { - TypeArgumentsEnd data = new TypeArgumentsEnd( - ParserAstType.END, - count: count, - beginToken: beginToken, - endToken: endToken, - ); + TypeArgumentsEnd data = new TypeArgumentsEnd(ParserAstType.END, + count: count, beginToken: beginToken, endToken: endToken); seen(data); } @override void handleInvalidTypeArguments(Token token) { - InvalidTypeArgumentsHandle data = new InvalidTypeArgumentsHandle( - ParserAstType.HANDLE, - token: token, - ); + InvalidTypeArgumentsHandle data = + new InvalidTypeArgumentsHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleNoTypeArguments(Token token) { - NoTypeArgumentsHandle data = new NoTypeArgumentsHandle( - ParserAstType.HANDLE, - token: token, - ); + NoTypeArgumentsHandle data = + new NoTypeArgumentsHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void beginTypeVariable(Token token) { - TypeVariableBegin data = new TypeVariableBegin( - ParserAstType.BEGIN, - token: token, - ); + TypeVariableBegin data = + new TypeVariableBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void handleTypeVariablesDefined(Token token, int count) { TypeVariablesDefinedHandle data = new TypeVariablesDefinedHandle( - ParserAstType.HANDLE, - token: token, - count: count, - ); + ParserAstType.HANDLE, + token: token, + count: count); seen(data); } @override void endTypeVariable( - Token token, - int index, - Token? extendsOrSuper, - Token? variance, - ) { - TypeVariableEnd data = new TypeVariableEnd( - ParserAstType.END, - token: token, - index: index, - extendsOrSuper: extendsOrSuper, - variance: variance, - ); + Token token, int index, Token? extendsOrSuper, Token? variance) { + TypeVariableEnd data = new TypeVariableEnd(ParserAstType.END, + token: token, + index: index, + extendsOrSuper: extendsOrSuper, + variance: variance); seen(data); } @override void beginTypeVariables(Token token) { - TypeVariablesBegin data = new TypeVariablesBegin( - ParserAstType.BEGIN, - token: token, - ); + TypeVariablesBegin data = + new TypeVariablesBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endTypeVariables(Token beginToken, Token endToken) { - TypeVariablesEnd data = new TypeVariablesEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + TypeVariablesEnd data = new TypeVariablesEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginFunctionExpression(Token token) { - FunctionExpressionBegin data = new FunctionExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + FunctionExpressionBegin data = + new FunctionExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endFunctionExpression(Token beginToken, Token endToken) { - FunctionExpressionEnd data = new FunctionExpressionEnd( - ParserAstType.END, - beginToken: beginToken, - endToken: endToken, - ); + FunctionExpressionEnd data = new FunctionExpressionEnd(ParserAstType.END, + beginToken: beginToken, endToken: endToken); seen(data); } @override void beginVariablesDeclaration( - Token token, - Token? lateToken, - Token? varFinalOrConst, - ) { + Token token, Token? lateToken, Token? varFinalOrConst) { VariablesDeclarationBegin data = new VariablesDeclarationBegin( - ParserAstType.BEGIN, - token: token, - lateToken: lateToken, - varFinalOrConst: varFinalOrConst, - ); + ParserAstType.BEGIN, + token: token, + lateToken: lateToken, + varFinalOrConst: varFinalOrConst); seen(data); } @override void endVariablesDeclaration(int count, Token? endToken) { VariablesDeclarationEnd data = new VariablesDeclarationEnd( - ParserAstType.END, - count: count, - endToken: endToken, - ); + ParserAstType.END, + count: count, + endToken: endToken); seen(data); } @override void beginWhileStatement(Token token) { - WhileStatementBegin data = new WhileStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + WhileStatementBegin data = + new WhileStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endWhileStatement(Token whileKeyword, Token endToken) { - WhileStatementEnd data = new WhileStatementEnd( - ParserAstType.END, - whileKeyword: whileKeyword, - endToken: endToken, - ); + WhileStatementEnd data = new WhileStatementEnd(ParserAstType.END, + whileKeyword: whileKeyword, endToken: endToken); seen(data); } @override void beginAsOperatorType(Token operator) { - AsOperatorTypeBegin data = new AsOperatorTypeBegin( - ParserAstType.BEGIN, - operator: operator, - ); + AsOperatorTypeBegin data = + new AsOperatorTypeBegin(ParserAstType.BEGIN, operator: operator); seen(data); } @override void endAsOperatorType(Token operator) { - AsOperatorTypeEnd data = new AsOperatorTypeEnd( - ParserAstType.END, - operator: operator, - ); + AsOperatorTypeEnd data = + new AsOperatorTypeEnd(ParserAstType.END, operator: operator); seen(data); } @override void handleAsOperator(Token operator) { - AsOperatorHandle data = new AsOperatorHandle( - ParserAstType.HANDLE, - operator: operator, - ); + AsOperatorHandle data = + new AsOperatorHandle(ParserAstType.HANDLE, operator: operator); seen(data); } @override void handleCastPattern(Token operator) { - CastPatternHandle data = new CastPatternHandle( - ParserAstType.HANDLE, - operator: operator, - ); + CastPatternHandle data = + new CastPatternHandle(ParserAstType.HANDLE, operator: operator); seen(data); } @override void handleAssignmentExpression(Token token, Token endToken) { AssignmentExpressionHandle data = new AssignmentExpressionHandle( - ParserAstType.HANDLE, - token: token, - endToken: endToken, - ); + ParserAstType.HANDLE, + token: token, + endToken: endToken); seen(data); } @override void beginBinaryExpression(Token token) { - BinaryExpressionBegin data = new BinaryExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + BinaryExpressionBegin data = + new BinaryExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endBinaryExpression(Token token, Token endToken) { - BinaryExpressionEnd data = new BinaryExpressionEnd( - ParserAstType.END, - token: token, - endToken: endToken, - ); + BinaryExpressionEnd data = new BinaryExpressionEnd(ParserAstType.END, + token: token, endToken: endToken); seen(data); } @override void beginBinaryPattern(Token token) { - BinaryPatternBegin data = new BinaryPatternBegin( - ParserAstType.BEGIN, - token: token, - ); + BinaryPatternBegin data = + new BinaryPatternBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endBinaryPattern(Token token) { - BinaryPatternEnd data = new BinaryPatternEnd( - ParserAstType.END, - token: token, - ); + BinaryPatternEnd data = + new BinaryPatternEnd(ParserAstType.END, token: token); seen(data); } @override void handleEndingBinaryExpression(Token token, Token endToken) { EndingBinaryExpressionHandle data = new EndingBinaryExpressionHandle( - ParserAstType.HANDLE, - token: token, - endToken: endToken, - ); + ParserAstType.HANDLE, + token: token, + endToken: endToken); seen(data); } @override void beginConditionalExpression(Token question) { - ConditionalExpressionBegin data = new ConditionalExpressionBegin( - ParserAstType.BEGIN, - question: question, - ); + ConditionalExpressionBegin data = + new ConditionalExpressionBegin(ParserAstType.BEGIN, question: question); seen(data); } @@ -3077,354 +2368,265 @@ abstract class AbstractParserAstListener implements Listener { @override void endConditionalExpression(Token question, Token colon, Token endToken) { ConditionalExpressionEnd data = new ConditionalExpressionEnd( - ParserAstType.END, - question: question, - colon: colon, - endToken: endToken, - ); + ParserAstType.END, + question: question, + colon: colon, + endToken: endToken); seen(data); } @override void beginConstExpression(Token constKeyword) { - ConstExpressionBegin data = new ConstExpressionBegin( - ParserAstType.BEGIN, - constKeyword: constKeyword, - ); + ConstExpressionBegin data = new ConstExpressionBegin(ParserAstType.BEGIN, + constKeyword: constKeyword); seen(data); } @override void endConstExpression(Token token) { - ConstExpressionEnd data = new ConstExpressionEnd( - ParserAstType.END, - token: token, - ); + ConstExpressionEnd data = + new ConstExpressionEnd(ParserAstType.END, token: token); seen(data); } @override void handleConstFactory(Token constKeyword) { - ConstFactoryHandle data = new ConstFactoryHandle( - ParserAstType.HANDLE, - constKeyword: constKeyword, - ); + ConstFactoryHandle data = new ConstFactoryHandle(ParserAstType.HANDLE, + constKeyword: constKeyword); seen(data); } @override void beginForControlFlow(Token? awaitToken, Token forToken) { - ForControlFlowBegin data = new ForControlFlowBegin( - ParserAstType.BEGIN, - awaitToken: awaitToken, - forToken: forToken, - ); + ForControlFlowBegin data = new ForControlFlowBegin(ParserAstType.BEGIN, + awaitToken: awaitToken, forToken: forToken); seen(data); } @override void endForControlFlow(Token token) { - ForControlFlowEnd data = new ForControlFlowEnd( - ParserAstType.END, - token: token, - ); + ForControlFlowEnd data = + new ForControlFlowEnd(ParserAstType.END, token: token); seen(data); } @override void endForInControlFlow(Token token) { - ForInControlFlowEnd data = new ForInControlFlowEnd( - ParserAstType.END, - token: token, - ); + ForInControlFlowEnd data = + new ForInControlFlowEnd(ParserAstType.END, token: token); seen(data); } @override void beginIfControlFlow(Token ifToken) { - IfControlFlowBegin data = new IfControlFlowBegin( - ParserAstType.BEGIN, - ifToken: ifToken, - ); + IfControlFlowBegin data = + new IfControlFlowBegin(ParserAstType.BEGIN, ifToken: ifToken); seen(data); } @override void handleThenControlFlow(Token token) { - ThenControlFlowHandle data = new ThenControlFlowHandle( - ParserAstType.HANDLE, - token: token, - ); + ThenControlFlowHandle data = + new ThenControlFlowHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleElseControlFlow(Token elseToken) { - ElseControlFlowHandle data = new ElseControlFlowHandle( - ParserAstType.HANDLE, - elseToken: elseToken, - ); + ElseControlFlowHandle data = + new ElseControlFlowHandle(ParserAstType.HANDLE, elseToken: elseToken); seen(data); } @override void endIfControlFlow(Token token) { - IfControlFlowEnd data = new IfControlFlowEnd( - ParserAstType.END, - token: token, - ); + IfControlFlowEnd data = + new IfControlFlowEnd(ParserAstType.END, token: token); seen(data); } @override void endIfElseControlFlow(Token token) { - IfElseControlFlowEnd data = new IfElseControlFlowEnd( - ParserAstType.END, - token: token, - ); + IfElseControlFlowEnd data = + new IfElseControlFlowEnd(ParserAstType.END, token: token); seen(data); } @override void handleSpreadExpression(Token spreadToken) { SpreadExpressionHandle data = new SpreadExpressionHandle( - ParserAstType.HANDLE, - spreadToken: spreadToken, - ); + ParserAstType.HANDLE, + spreadToken: spreadToken); seen(data); } @override void handleNullAwareElement(Token nullAwareToken) { NullAwareElementHandle data = new NullAwareElementHandle( - ParserAstType.HANDLE, - nullAwareToken: nullAwareToken, - ); + ParserAstType.HANDLE, + nullAwareToken: nullAwareToken); seen(data); } @override void handleRestPattern(Token dots, {required bool hasSubPattern}) { - RestPatternHandle data = new RestPatternHandle( - ParserAstType.HANDLE, - dots: dots, - hasSubPattern: hasSubPattern, - ); + RestPatternHandle data = new RestPatternHandle(ParserAstType.HANDLE, + dots: dots, hasSubPattern: hasSubPattern); seen(data); } @override void beginFunctionTypedFormalParameter(Token token) { FunctionTypedFormalParameterBegin data = - new FunctionTypedFormalParameterBegin( - ParserAstType.BEGIN, - token: token, - ); + new FunctionTypedFormalParameterBegin(ParserAstType.BEGIN, + token: token); seen(data); } @override void endFunctionTypedFormalParameter(Token nameToken, Token? question) { FunctionTypedFormalParameterEnd data = new FunctionTypedFormalParameterEnd( - ParserAstType.END, - nameToken: nameToken, - question: question, - ); + ParserAstType.END, + nameToken: nameToken, + question: question); seen(data); } @override void handleIdentifier(Token token, IdentifierContext context) { - IdentifierHandle data = new IdentifierHandle( - ParserAstType.HANDLE, - token: token, - context: context, - ); + IdentifierHandle data = new IdentifierHandle(ParserAstType.HANDLE, + token: token, context: context); seen(data); } @override void handleIndexedExpression( - Token? question, - Token openSquareBracket, - Token closeSquareBracket, - ) { + Token? question, Token openSquareBracket, Token closeSquareBracket) { IndexedExpressionHandle data = new IndexedExpressionHandle( - ParserAstType.HANDLE, - question: question, - openSquareBracket: openSquareBracket, - closeSquareBracket: closeSquareBracket, - ); + ParserAstType.HANDLE, + question: question, + openSquareBracket: openSquareBracket, + closeSquareBracket: closeSquareBracket); seen(data); } @override void beginIsOperatorType(Token operator) { - IsOperatorTypeBegin data = new IsOperatorTypeBegin( - ParserAstType.BEGIN, - operator: operator, - ); + IsOperatorTypeBegin data = + new IsOperatorTypeBegin(ParserAstType.BEGIN, operator: operator); seen(data); } @override void endIsOperatorType(Token operator) { - IsOperatorTypeEnd data = new IsOperatorTypeEnd( - ParserAstType.END, - operator: operator, - ); + IsOperatorTypeEnd data = + new IsOperatorTypeEnd(ParserAstType.END, operator: operator); seen(data); } @override void handleIsOperator(Token isOperator, Token? not) { - IsOperatorHandle data = new IsOperatorHandle( - ParserAstType.HANDLE, - isOperator: isOperator, - not: not, - ); + IsOperatorHandle data = new IsOperatorHandle(ParserAstType.HANDLE, + isOperator: isOperator, not: not); seen(data); } @override void handleLiteralBool(Token token) { - LiteralBoolHandle data = new LiteralBoolHandle( - ParserAstType.HANDLE, - token: token, - ); + LiteralBoolHandle data = + new LiteralBoolHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleBreakStatement( - bool hasTarget, - Token breakKeyword, - Token endToken, - ) { - BreakStatementHandle data = new BreakStatementHandle( - ParserAstType.HANDLE, - hasTarget: hasTarget, - breakKeyword: breakKeyword, - endToken: endToken, - ); + bool hasTarget, Token breakKeyword, Token endToken) { + BreakStatementHandle data = new BreakStatementHandle(ParserAstType.HANDLE, + hasTarget: hasTarget, breakKeyword: breakKeyword, endToken: endToken); seen(data); } @override void handleContinueStatement( - bool hasTarget, - Token continueKeyword, - Token endToken, - ) { + bool hasTarget, Token continueKeyword, Token endToken) { ContinueStatementHandle data = new ContinueStatementHandle( - ParserAstType.HANDLE, - hasTarget: hasTarget, - continueKeyword: continueKeyword, - endToken: endToken, - ); + ParserAstType.HANDLE, + hasTarget: hasTarget, + continueKeyword: continueKeyword, + endToken: endToken); seen(data); } @override void handleEmptyStatement(Token token) { - EmptyStatementHandle data = new EmptyStatementHandle( - ParserAstType.HANDLE, - token: token, - ); + EmptyStatementHandle data = + new EmptyStatementHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void beginAssert(Token assertKeyword, Assert kind) { - AssertBegin data = new AssertBegin( - ParserAstType.BEGIN, - assertKeyword: assertKeyword, - kind: kind, - ); + AssertBegin data = new AssertBegin(ParserAstType.BEGIN, + assertKeyword: assertKeyword, kind: kind); seen(data); } @override - void endAssert( - Token assertKeyword, - Assert kind, - Token leftParenthesis, - Token? commaToken, - Token endToken, - ) { - AssertEnd data = new AssertEnd( - ParserAstType.END, - assertKeyword: assertKeyword, - kind: kind, - leftParenthesis: leftParenthesis, - commaToken: commaToken, - endToken: endToken, - ); + void endAssert(Token assertKeyword, Assert kind, Token leftParenthesis, + Token? commaToken, Token endToken) { + AssertEnd data = new AssertEnd(ParserAstType.END, + assertKeyword: assertKeyword, + kind: kind, + leftParenthesis: leftParenthesis, + commaToken: commaToken, + endToken: endToken); seen(data); } @override void handleLiteralDouble(Token token) { - LiteralDoubleHandle data = new LiteralDoubleHandle( - ParserAstType.HANDLE, - token: token, - ); + LiteralDoubleHandle data = + new LiteralDoubleHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleLiteralDoubleWithSeparators(Token token) { LiteralDoubleWithSeparatorsHandle data = - new LiteralDoubleWithSeparatorsHandle( - ParserAstType.HANDLE, - token: token, - ); + new LiteralDoubleWithSeparatorsHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleLiteralInt(Token token) { - LiteralIntHandle data = new LiteralIntHandle( - ParserAstType.HANDLE, - token: token, - ); + LiteralIntHandle data = + new LiteralIntHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleLiteralIntWithSeparators(Token token) { - LiteralIntWithSeparatorsHandle data = new LiteralIntWithSeparatorsHandle( - ParserAstType.HANDLE, - token: token, - ); + LiteralIntWithSeparatorsHandle data = + new LiteralIntWithSeparatorsHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleLiteralList( - int count, - Token leftBracket, - Token? constKeyword, - Token rightBracket, - ) { - LiteralListHandle data = new LiteralListHandle( - ParserAstType.HANDLE, - count: count, - leftBracket: leftBracket, - constKeyword: constKeyword, - rightBracket: rightBracket, - ); + int count, Token leftBracket, Token? constKeyword, Token rightBracket) { + LiteralListHandle data = new LiteralListHandle(ParserAstType.HANDLE, + count: count, + leftBracket: leftBracket, + constKeyword: constKeyword, + rightBracket: rightBracket); seen(data); } @override void handleListPattern(int count, Token leftBracket, Token rightBracket) { - ListPatternHandle data = new ListPatternHandle( - ParserAstType.HANDLE, - count: count, - leftBracket: leftBracket, - rightBracket: rightBracket, - ); + ListPatternHandle data = new ListPatternHandle(ParserAstType.HANDLE, + count: count, leftBracket: leftBracket, rightBracket: rightBracket); seen(data); } @@ -3436,98 +2638,75 @@ abstract class AbstractParserAstListener implements Listener { Token rightBrace, bool hasSetEntry, ) { - LiteralSetOrMapHandle data = new LiteralSetOrMapHandle( - ParserAstType.HANDLE, - count: count, - leftBrace: leftBrace, - constKeyword: constKeyword, - rightBrace: rightBrace, - hasSetEntry: hasSetEntry, - ); + LiteralSetOrMapHandle data = new LiteralSetOrMapHandle(ParserAstType.HANDLE, + count: count, + leftBrace: leftBrace, + constKeyword: constKeyword, + rightBrace: rightBrace, + hasSetEntry: hasSetEntry); seen(data); } @override void handleMapPattern(int count, Token leftBrace, Token rightBrace) { - MapPatternHandle data = new MapPatternHandle( - ParserAstType.HANDLE, - count: count, - leftBrace: leftBrace, - rightBrace: rightBrace, - ); + MapPatternHandle data = new MapPatternHandle(ParserAstType.HANDLE, + count: count, leftBrace: leftBrace, rightBrace: rightBrace); seen(data); } @override void handleLiteralNull(Token token) { - LiteralNullHandle data = new LiteralNullHandle( - ParserAstType.HANDLE, - token: token, - ); + LiteralNullHandle data = + new LiteralNullHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleNativeClause(Token nativeToken, bool hasName) { - NativeClauseHandle data = new NativeClauseHandle( - ParserAstType.HANDLE, - nativeToken: nativeToken, - hasName: hasName, - ); + NativeClauseHandle data = new NativeClauseHandle(ParserAstType.HANDLE, + nativeToken: nativeToken, hasName: hasName); seen(data); } @override void handleNamedArgument(Token colon) { - NamedArgumentHandle data = new NamedArgumentHandle( - ParserAstType.HANDLE, - colon: colon, - ); + NamedArgumentHandle data = + new NamedArgumentHandle(ParserAstType.HANDLE, colon: colon); seen(data); } @override void handlePatternField(Token? colon) { - PatternFieldHandle data = new PatternFieldHandle( - ParserAstType.HANDLE, - colon: colon, - ); + PatternFieldHandle data = + new PatternFieldHandle(ParserAstType.HANDLE, colon: colon); seen(data); } @override void handleNamedRecordField(Token colon) { - NamedRecordFieldHandle data = new NamedRecordFieldHandle( - ParserAstType.HANDLE, - colon: colon, - ); + NamedRecordFieldHandle data = + new NamedRecordFieldHandle(ParserAstType.HANDLE, colon: colon); seen(data); } @override void beginNewExpression(Token token) { - NewExpressionBegin data = new NewExpressionBegin( - ParserAstType.BEGIN, - token: token, - ); + NewExpressionBegin data = + new NewExpressionBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endNewExpression(Token token) { - NewExpressionEnd data = new NewExpressionEnd( - ParserAstType.END, - token: token, - ); + NewExpressionEnd data = + new NewExpressionEnd(ParserAstType.END, token: token); seen(data); } @override void handleNoArguments(Token token) { - NoArgumentsHandle data = new NoArgumentsHandle( - ParserAstType.HANDLE, - token: token, - ); + NoArgumentsHandle data = + new NoArgumentsHandle(ParserAstType.HANDLE, token: token); seen(data); } @@ -3535,105 +2714,85 @@ abstract class AbstractParserAstListener implements Listener { void handleNoConstructorReferenceContinuationAfterTypeArguments(Token token) { NoConstructorReferenceContinuationAfterTypeArgumentsHandle data = new NoConstructorReferenceContinuationAfterTypeArgumentsHandle( - ParserAstType.HANDLE, - token: token, - ); + ParserAstType.HANDLE, + token: token); seen(data); } @override void handleNoTypeNameInConstructorReference(Token token) { NoTypeNameInConstructorReferenceHandle data = - new NoTypeNameInConstructorReferenceHandle( - ParserAstType.HANDLE, - token: token, - ); + new NoTypeNameInConstructorReferenceHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleNoType(Token lastConsumed) { - NoTypeHandle data = new NoTypeHandle( - ParserAstType.HANDLE, - lastConsumed: lastConsumed, - ); + NoTypeHandle data = + new NoTypeHandle(ParserAstType.HANDLE, lastConsumed: lastConsumed); seen(data); } @override void handleNoTypeVariables(Token token) { - NoTypeVariablesHandle data = new NoTypeVariablesHandle( - ParserAstType.HANDLE, - token: token, - ); + NoTypeVariablesHandle data = + new NoTypeVariablesHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleOperator(Token token) { - OperatorHandle data = new OperatorHandle( - ParserAstType.HANDLE, - token: token, - ); + OperatorHandle data = + new OperatorHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleSwitchCaseNoWhenClause(Token token) { - SwitchCaseNoWhenClauseHandle data = new SwitchCaseNoWhenClauseHandle( - ParserAstType.HANDLE, - token: token, - ); + SwitchCaseNoWhenClauseHandle data = + new SwitchCaseNoWhenClauseHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleSwitchExpressionCasePattern(Token token) { SwitchExpressionCasePatternHandle data = - new SwitchExpressionCasePatternHandle( - ParserAstType.HANDLE, - token: token, - ); + new SwitchExpressionCasePatternHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleSymbolVoid(Token token) { - SymbolVoidHandle data = new SymbolVoidHandle( - ParserAstType.HANDLE, - token: token, - ); + SymbolVoidHandle data = + new SymbolVoidHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleOperatorName(Token operatorKeyword, Token token) { - OperatorNameHandle data = new OperatorNameHandle( - ParserAstType.HANDLE, - operatorKeyword: operatorKeyword, - token: token, - ); + OperatorNameHandle data = new OperatorNameHandle(ParserAstType.HANDLE, + operatorKeyword: operatorKeyword, token: token); seen(data); } @override void handleInvalidOperatorName(Token operatorKeyword, Token token) { InvalidOperatorNameHandle data = new InvalidOperatorNameHandle( - ParserAstType.HANDLE, - operatorKeyword: operatorKeyword, - token: token, - ); + ParserAstType.HANDLE, + operatorKeyword: operatorKeyword, + token: token); seen(data); } @override void handleParenthesizedCondition(Token token, Token? case_, Token? when) { ParenthesizedConditionHandle data = new ParenthesizedConditionHandle( - ParserAstType.HANDLE, - token: token, - case_: case_, - when: when, - ); + ParserAstType.HANDLE, + token: token, + case_: case_, + when: when); seen(data); } @@ -3645,50 +2804,37 @@ abstract class AbstractParserAstListener implements Listener { @override void beginPatternGuard(Token when) { - PatternGuardBegin data = new PatternGuardBegin( - ParserAstType.BEGIN, - when: when, - ); + PatternGuardBegin data = + new PatternGuardBegin(ParserAstType.BEGIN, when: when); seen(data); } @override void beginParenthesizedExpressionOrRecordLiteral(Token token) { ParenthesizedExpressionOrRecordLiteralBegin data = - new ParenthesizedExpressionOrRecordLiteralBegin( - ParserAstType.BEGIN, - token: token, - ); + new ParenthesizedExpressionOrRecordLiteralBegin(ParserAstType.BEGIN, + token: token); seen(data); } @override void beginSwitchCaseWhenClause(Token when) { - SwitchCaseWhenClauseBegin data = new SwitchCaseWhenClauseBegin( - ParserAstType.BEGIN, - when: when, - ); + SwitchCaseWhenClauseBegin data = + new SwitchCaseWhenClauseBegin(ParserAstType.BEGIN, when: when); seen(data); } @override void endRecordLiteral(Token token, int count, Token? constKeyword) { - RecordLiteralEnd data = new RecordLiteralEnd( - ParserAstType.END, - token: token, - count: count, - constKeyword: constKeyword, - ); + RecordLiteralEnd data = new RecordLiteralEnd(ParserAstType.END, + token: token, count: count, constKeyword: constKeyword); seen(data); } @override void handleRecordPattern(Token token, int count) { - RecordPatternHandle data = new RecordPatternHandle( - ParserAstType.HANDLE, - token: token, - count: count, - ); + RecordPatternHandle data = new RecordPatternHandle(ParserAstType.HANDLE, + token: token, count: count); seen(data); } @@ -3706,211 +2852,163 @@ abstract class AbstractParserAstListener implements Listener { @override void endParenthesizedExpression(Token token) { - ParenthesizedExpressionEnd data = new ParenthesizedExpressionEnd( - ParserAstType.END, - token: token, - ); + ParenthesizedExpressionEnd data = + new ParenthesizedExpressionEnd(ParserAstType.END, token: token); seen(data); } @override void endSwitchCaseWhenClause(Token token) { - SwitchCaseWhenClauseEnd data = new SwitchCaseWhenClauseEnd( - ParserAstType.END, - token: token, - ); + SwitchCaseWhenClauseEnd data = + new SwitchCaseWhenClauseEnd(ParserAstType.END, token: token); seen(data); } @override void handleParenthesizedPattern(Token token) { - ParenthesizedPatternHandle data = new ParenthesizedPatternHandle( - ParserAstType.HANDLE, - token: token, - ); + ParenthesizedPatternHandle data = + new ParenthesizedPatternHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void beginConstantPattern(Token? constKeyword) { - ConstantPatternBegin data = new ConstantPatternBegin( - ParserAstType.BEGIN, - constKeyword: constKeyword, - ); + ConstantPatternBegin data = new ConstantPatternBegin(ParserAstType.BEGIN, + constKeyword: constKeyword); seen(data); } @override void endConstantPattern(Token? constKeyword) { - ConstantPatternEnd data = new ConstantPatternEnd( - ParserAstType.END, - constKeyword: constKeyword, - ); + ConstantPatternEnd data = + new ConstantPatternEnd(ParserAstType.END, constKeyword: constKeyword); seen(data); } @override void handleObjectPattern( - Token firstIdentifier, - Token? dot, - Token? secondIdentifier, - ) { - ObjectPatternHandle data = new ObjectPatternHandle( - ParserAstType.HANDLE, - firstIdentifier: firstIdentifier, - dot: dot, - secondIdentifier: secondIdentifier, - ); + Token firstIdentifier, Token? dot, Token? secondIdentifier) { + ObjectPatternHandle data = new ObjectPatternHandle(ParserAstType.HANDLE, + firstIdentifier: firstIdentifier, + dot: dot, + secondIdentifier: secondIdentifier); seen(data); } @override void handleQualified(Token period) { - QualifiedHandle data = new QualifiedHandle( - ParserAstType.HANDLE, - period: period, - ); + QualifiedHandle data = + new QualifiedHandle(ParserAstType.HANDLE, period: period); seen(data); } @override void handleStringPart(Token token) { - StringPartHandle data = new StringPartHandle( - ParserAstType.HANDLE, - token: token, - ); + StringPartHandle data = + new StringPartHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleSuperExpression(Token token, IdentifierContext context) { - SuperExpressionHandle data = new SuperExpressionHandle( - ParserAstType.HANDLE, - token: token, - context: context, - ); + SuperExpressionHandle data = new SuperExpressionHandle(ParserAstType.HANDLE, + token: token, context: context); seen(data); } @override void handleAugmentSuperExpression( - Token augmentToken, - Token superToken, - IdentifierContext context, - ) { + Token augmentToken, Token superToken, IdentifierContext context) { AugmentSuperExpressionHandle data = new AugmentSuperExpressionHandle( - ParserAstType.HANDLE, - augmentToken: augmentToken, - superToken: superToken, - context: context, - ); + ParserAstType.HANDLE, + augmentToken: augmentToken, + superToken: superToken, + context: context); seen(data); } @override void beginSwitchCase(int labelCount, int expressionCount, Token beginToken) { - SwitchCaseBegin data = new SwitchCaseBegin( - ParserAstType.BEGIN, - labelCount: labelCount, - expressionCount: expressionCount, - beginToken: beginToken, - ); + SwitchCaseBegin data = new SwitchCaseBegin(ParserAstType.BEGIN, + labelCount: labelCount, + expressionCount: expressionCount, + beginToken: beginToken); seen(data); } @override void endSwitchCase( - int labelCount, - int expressionCount, - Token? defaultKeyword, - Token? colonAfterDefault, - int statementCount, - Token beginToken, - Token endToken, - ) { - SwitchCaseEnd data = new SwitchCaseEnd( - ParserAstType.END, - labelCount: labelCount, - expressionCount: expressionCount, - defaultKeyword: defaultKeyword, - colonAfterDefault: colonAfterDefault, - statementCount: statementCount, - beginToken: beginToken, - endToken: endToken, - ); + int labelCount, + int expressionCount, + Token? defaultKeyword, + Token? colonAfterDefault, + int statementCount, + Token beginToken, + Token endToken) { + SwitchCaseEnd data = new SwitchCaseEnd(ParserAstType.END, + labelCount: labelCount, + expressionCount: expressionCount, + defaultKeyword: defaultKeyword, + colonAfterDefault: colonAfterDefault, + statementCount: statementCount, + beginToken: beginToken, + endToken: endToken); seen(data); } @override void beginSwitchExpressionCase() { - SwitchExpressionCaseBegin data = new SwitchExpressionCaseBegin( - ParserAstType.BEGIN, - ); + SwitchExpressionCaseBegin data = + new SwitchExpressionCaseBegin(ParserAstType.BEGIN); seen(data); } @override void endSwitchExpressionCase( - Token beginToken, - Token? when, - Token arrow, - Token endToken, - ) { + Token beginToken, Token? when, Token arrow, Token endToken) { SwitchExpressionCaseEnd data = new SwitchExpressionCaseEnd( - ParserAstType.END, - beginToken: beginToken, - when: when, - arrow: arrow, - endToken: endToken, - ); + ParserAstType.END, + beginToken: beginToken, + when: when, + arrow: arrow, + endToken: endToken); seen(data); } @override void handleThisExpression(Token token, IdentifierContext context) { - ThisExpressionHandle data = new ThisExpressionHandle( - ParserAstType.HANDLE, - token: token, - context: context, - ); + ThisExpressionHandle data = new ThisExpressionHandle(ParserAstType.HANDLE, + token: token, context: context); seen(data); } @override void handleUnaryPostfixAssignmentExpression(Token token) { UnaryPostfixAssignmentExpressionHandle data = - new UnaryPostfixAssignmentExpressionHandle( - ParserAstType.HANDLE, - token: token, - ); + new UnaryPostfixAssignmentExpressionHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleUnaryPrefixExpression(Token token) { - UnaryPrefixExpressionHandle data = new UnaryPrefixExpressionHandle( - ParserAstType.HANDLE, - token: token, - ); + UnaryPrefixExpressionHandle data = + new UnaryPrefixExpressionHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleRelationalPattern(Token token) { - RelationalPatternHandle data = new RelationalPatternHandle( - ParserAstType.HANDLE, - token: token, - ); + RelationalPatternHandle data = + new RelationalPatternHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleUnaryPrefixAssignmentExpression(Token token) { UnaryPrefixAssignmentExpressionHandle data = - new UnaryPrefixAssignmentExpressionHandle( - ParserAstType.HANDLE, - token: token, - ); + new UnaryPrefixAssignmentExpressionHandle(ParserAstType.HANDLE, + token: token); seen(data); } @@ -3930,148 +3028,110 @@ abstract class AbstractParserAstListener implements Listener { @override void handleValuedFormalParameter( - Token equals, - Token token, - FormalParameterKind kind, - ) { + Token equals, Token token, FormalParameterKind kind) { ValuedFormalParameterHandle data = new ValuedFormalParameterHandle( - ParserAstType.HANDLE, - equals: equals, - token: token, - kind: kind, - ); + ParserAstType.HANDLE, + equals: equals, + token: token, + kind: kind); seen(data); } @override void handleFormalParameterWithoutValue(Token token) { FormalParameterWithoutValueHandle data = - new FormalParameterWithoutValueHandle( - ParserAstType.HANDLE, - token: token, - ); + new FormalParameterWithoutValueHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void handleVoidKeyword(Token token) { - VoidKeywordHandle data = new VoidKeywordHandle( - ParserAstType.HANDLE, - token: token, - ); + VoidKeywordHandle data = + new VoidKeywordHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleVoidKeywordWithTypeArguments(Token token) { VoidKeywordWithTypeArgumentsHandle data = - new VoidKeywordWithTypeArgumentsHandle( - ParserAstType.HANDLE, - token: token, - ); + new VoidKeywordWithTypeArgumentsHandle(ParserAstType.HANDLE, + token: token); seen(data); } @override void beginYieldStatement(Token token) { - YieldStatementBegin data = new YieldStatementBegin( - ParserAstType.BEGIN, - token: token, - ); + YieldStatementBegin data = + new YieldStatementBegin(ParserAstType.BEGIN, token: token); seen(data); } @override void endYieldStatement(Token yieldToken, Token? starToken, Token endToken) { - YieldStatementEnd data = new YieldStatementEnd( - ParserAstType.END, - yieldToken: yieldToken, - starToken: starToken, - endToken: endToken, - ); + YieldStatementEnd data = new YieldStatementEnd(ParserAstType.END, + yieldToken: yieldToken, starToken: starToken, endToken: endToken); seen(data); } @override - void endInvalidYieldStatement( - Token beginToken, - Token? starToken, - Token endToken, - MessageCode errorCode, - ) { + void endInvalidYieldStatement(Token beginToken, Token? starToken, + Token endToken, MessageCode errorCode) { InvalidYieldStatementEnd data = new InvalidYieldStatementEnd( - ParserAstType.END, - beginToken: beginToken, - starToken: starToken, - endToken: endToken, - errorCode: errorCode, - ); + ParserAstType.END, + beginToken: beginToken, + starToken: starToken, + endToken: endToken, + errorCode: errorCode); seen(data); } @override void handleRecoverableError( - Message message, - Token startToken, - Token endToken, - ) { + Message message, Token startToken, Token endToken) { RecoverableErrorHandle data = new RecoverableErrorHandle( - ParserAstType.HANDLE, - message: message, - startToken: startToken, - endToken: endToken, - ); + ParserAstType.HANDLE, + message: message, + startToken: startToken, + endToken: endToken); seen(data); } @override void handleExperimentNotEnabled( - ExperimentalFlag experimentalFlag, - Token startToken, - Token endToken, - ) { + ExperimentalFlag experimentalFlag, Token startToken, Token endToken) { ExperimentNotEnabledHandle data = new ExperimentNotEnabledHandle( - ParserAstType.HANDLE, - experimentalFlag: experimentalFlag, - startToken: startToken, - endToken: endToken, - ); + ParserAstType.HANDLE, + experimentalFlag: experimentalFlag, + startToken: startToken, + endToken: endToken); seen(data); } @override void handleErrorToken(ErrorToken token) { - ErrorTokenHandle data = new ErrorTokenHandle( - ParserAstType.HANDLE, - token: token, - ); + ErrorTokenHandle data = + new ErrorTokenHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handleUnescapeError( - Message message, - Token location, - int stringOffset, - int length, - ) { - UnescapeErrorHandle data = new UnescapeErrorHandle( - ParserAstType.HANDLE, - message: message, - location: location, - stringOffset: stringOffset, - length: length, - ); + Message message, Token location, int stringOffset, int length) { + UnescapeErrorHandle data = new UnescapeErrorHandle(ParserAstType.HANDLE, + message: message, + location: location, + stringOffset: stringOffset, + length: length); seen(data); } @override void handleInvalidStatement(Token token, Message message) { InvalidStatementHandle data = new InvalidStatementHandle( - ParserAstType.HANDLE, - token: token, - message: message, - ); + ParserAstType.HANDLE, + token: token, + message: message); seen(data); } @@ -4084,43 +3144,31 @@ abstract class AbstractParserAstListener implements Listener { @override void handleTypeArgumentApplication(Token openAngleBracket) { TypeArgumentApplicationHandle data = new TypeArgumentApplicationHandle( - ParserAstType.HANDLE, - openAngleBracket: openAngleBracket, - ); + ParserAstType.HANDLE, + openAngleBracket: openAngleBracket); seen(data); } @override void handleNewAsIdentifier(Token token) { - NewAsIdentifierHandle data = new NewAsIdentifierHandle( - ParserAstType.HANDLE, - token: token, - ); + NewAsIdentifierHandle data = + new NewAsIdentifierHandle(ParserAstType.HANDLE, token: token); seen(data); } @override void handlePatternVariableDeclarationStatement( - Token keyword, - Token equals, - Token semicolon, - ) { + Token keyword, Token equals, Token semicolon) { PatternVariableDeclarationStatementHandle data = - new PatternVariableDeclarationStatementHandle( - ParserAstType.HANDLE, - keyword: keyword, - equals: equals, - semicolon: semicolon, - ); + new PatternVariableDeclarationStatementHandle(ParserAstType.HANDLE, + keyword: keyword, equals: equals, semicolon: semicolon); seen(data); } @override void handlePatternAssignment(Token equals) { - PatternAssignmentHandle data = new PatternAssignmentHandle( - ParserAstType.HANDLE, - equals: equals, - ); + PatternAssignmentHandle data = + new PatternAssignmentHandle(ParserAstType.HANDLE, equals: equals); seen(data); } } @@ -4129,10 +3177,12 @@ class ArgumentsBegin extends ParserAstNode { final Token token; ArgumentsBegin(ParserAstType type, {required this.token}) - : super("Arguments", type); + : super("Arguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitArgumentsBegin(this); @@ -4146,19 +3196,16 @@ class ArgumentsEnd extends ParserAstNode @override final Token endToken; - ArgumentsEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - }) : super("Arguments", type); + ArgumentsEnd(ParserAstType type, + {required this.count, required this.beginToken, required this.endToken}) + : super("Arguments", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitArgumentsEnd(this); @@ -4172,19 +3219,16 @@ class ObjectPatternFieldsHandle extends ParserAstNode @override final Token endToken; - ObjectPatternFieldsHandle( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - }) : super("ObjectPatternFields", type); + ObjectPatternFieldsHandle(ParserAstType type, + {required this.count, required this.beginToken, required this.endToken}) + : super("ObjectPatternFields", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitObjectPatternFieldsHandle(this); @@ -4195,13 +3239,13 @@ class AsyncModifierHandle extends ParserAstNode { final Token? starToken; AsyncModifierHandle(ParserAstType type, {this.asyncToken, this.starToken}) - : super("AsyncModifier", type); + : super("AsyncModifier", type); @override Map get deprecatedArguments => { - "asyncToken": asyncToken, - "starToken": starToken, - }; + "asyncToken": asyncToken, + "starToken": starToken, + }; @override R accept(ParserAstVisitor v) => v.visitAsyncModifierHandle(this); @@ -4211,10 +3255,12 @@ class AwaitExpressionBegin extends ParserAstNode { final Token token; AwaitExpressionBegin(ParserAstType type, {required this.token}) - : super("AwaitExpression", type); + : super("AwaitExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitAwaitExpressionBegin(this); @@ -4227,17 +3273,15 @@ class AwaitExpressionEnd extends ParserAstNode @override final Token endToken; - AwaitExpressionEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("AwaitExpression", type); + AwaitExpressionEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("AwaitExpression", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitAwaitExpressionEnd(this); @@ -4251,19 +3295,18 @@ class InvalidAwaitExpressionEnd extends ParserAstNode final Token endToken; final MessageCode errorCode; - InvalidAwaitExpressionEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - required this.errorCode, - }) : super("InvalidAwaitExpression", type); + InvalidAwaitExpressionEnd(ParserAstType type, + {required this.beginToken, + required this.endToken, + required this.errorCode}) + : super("InvalidAwaitExpression", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - "errorCode": errorCode, - }; + "beginToken": beginToken, + "endToken": endToken, + "errorCode": errorCode, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidAwaitExpressionEnd(this); @@ -4274,13 +3317,13 @@ class BlockBegin extends ParserAstNode { final BlockKind blockKind; BlockBegin(ParserAstType type, {required this.token, required this.blockKind}) - : super("Block", type); + : super("Block", type); @override Map get deprecatedArguments => { - "token": token, - "blockKind": blockKind, - }; + "token": token, + "blockKind": blockKind, + }; @override R accept(ParserAstVisitor v) => v.visitBlockBegin(this); @@ -4294,21 +3337,20 @@ class BlockEnd extends ParserAstNode implements BeginAndEndTokenParserAstNode { final Token endToken; final BlockKind blockKind; - BlockEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - required this.blockKind, - }) : super("Block", type); + BlockEnd(ParserAstType type, + {required this.count, + required this.beginToken, + required this.endToken, + required this.blockKind}) + : super("Block", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - "blockKind": blockKind, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + "blockKind": blockKind, + }; @override R accept(ParserAstVisitor v) => v.visitBlockEnd(this); @@ -4318,10 +3360,12 @@ class InvalidTopLevelBlockHandle extends ParserAstNode { final Token token; InvalidTopLevelBlockHandle(ParserAstType type, {required this.token}) - : super("InvalidTopLevelBlock", type); + : super("InvalidTopLevelBlock", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidTopLevelBlockHandle(this); @@ -4331,10 +3375,12 @@ class CascadeBegin extends ParserAstNode { final Token token; CascadeBegin(ParserAstType type, {required this.token}) - : super("Cascade", type); + : super("Cascade", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCascadeBegin(this); @@ -4354,10 +3400,12 @@ class CaseExpressionBegin extends ParserAstNode { final Token caseKeyword; CaseExpressionBegin(ParserAstType type, {required this.caseKeyword}) - : super("CaseExpression", type); + : super("CaseExpression", type); @override - Map get deprecatedArguments => {"caseKeyword": caseKeyword}; + Map get deprecatedArguments => { + "caseKeyword": caseKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitCaseExpressionBegin(this); @@ -4368,19 +3416,16 @@ class CaseExpressionEnd extends ParserAstNode { final Token? when; final Token colon; - CaseExpressionEnd( - ParserAstType type, { - required this.caseKeyword, - this.when, - required this.colon, - }) : super("CaseExpression", type); + CaseExpressionEnd(ParserAstType type, + {required this.caseKeyword, this.when, required this.colon}) + : super("CaseExpression", type); @override Map get deprecatedArguments => { - "caseKeyword": caseKeyword, - "when": when, - "colon": colon, - }; + "caseKeyword": caseKeyword, + "when": when, + "colon": colon, + }; @override R accept(ParserAstVisitor v) => v.visitCaseExpressionEnd(this); @@ -4390,17 +3435,15 @@ class ClassOrMixinOrExtensionBodyBegin extends ParserAstNode { final DeclarationKind kind; final Token token; - ClassOrMixinOrExtensionBodyBegin( - ParserAstType type, { - required this.kind, - required this.token, - }) : super("ClassOrMixinOrExtensionBody", type); + ClassOrMixinOrExtensionBodyBegin(ParserAstType type, + {required this.kind, required this.token}) + : super("ClassOrMixinOrExtensionBody", type); @override Map get deprecatedArguments => { - "kind": kind, - "token": token, - }; + "kind": kind, + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -4416,21 +3459,20 @@ class ClassOrMixinOrExtensionBodyEnd extends ParserAstNode @override final Token endToken; - ClassOrMixinOrExtensionBodyEnd( - ParserAstType type, { - required this.kind, - required this.memberCount, - required this.beginToken, - required this.endToken, - }) : super("ClassOrMixinOrExtensionBody", type); + ClassOrMixinOrExtensionBodyEnd(ParserAstType type, + {required this.kind, + required this.memberCount, + required this.beginToken, + required this.endToken}) + : super("ClassOrMixinOrExtensionBody", type); @override Map get deprecatedArguments => { - "kind": kind, - "memberCount": memberCount, - "beginToken": beginToken, - "endToken": endToken, - }; + "kind": kind, + "memberCount": memberCount, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -4440,13 +3482,14 @@ class ClassOrMixinOrExtensionBodyEnd extends ParserAstNode class ClassOrMixinOrNamedMixinApplicationPreludeBegin extends ParserAstNode { final Token token; - ClassOrMixinOrNamedMixinApplicationPreludeBegin( - ParserAstType type, { - required this.token, - }) : super("ClassOrMixinOrNamedMixinApplicationPrelude", type); + ClassOrMixinOrNamedMixinApplicationPreludeBegin(ParserAstType type, + {required this.token}) + : super("ClassOrMixinOrNamedMixinApplicationPrelude", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -4465,33 +3508,32 @@ class ClassDeclarationBegin extends ParserAstNode { final Token? mixinToken; final Token name; - ClassDeclarationBegin( - ParserAstType type, { - required this.begin, - this.abstractToken, - this.macroToken, - this.sealedToken, - this.baseToken, - this.interfaceToken, - this.finalToken, - this.augmentToken, - this.mixinToken, - required this.name, - }) : super("ClassDeclaration", type); + ClassDeclarationBegin(ParserAstType type, + {required this.begin, + this.abstractToken, + this.macroToken, + this.sealedToken, + this.baseToken, + this.interfaceToken, + this.finalToken, + this.augmentToken, + this.mixinToken, + required this.name}) + : super("ClassDeclaration", type); @override Map get deprecatedArguments => { - "begin": begin, - "abstractToken": abstractToken, - "macroToken": macroToken, - "sealedToken": sealedToken, - "baseToken": baseToken, - "interfaceToken": interfaceToken, - "finalToken": finalToken, - "augmentToken": augmentToken, - "mixinToken": mixinToken, - "name": name, - }; + "begin": begin, + "abstractToken": abstractToken, + "macroToken": macroToken, + "sealedToken": sealedToken, + "baseToken": baseToken, + "interfaceToken": interfaceToken, + "finalToken": finalToken, + "augmentToken": augmentToken, + "mixinToken": mixinToken, + "name": name, + }; @override R accept(ParserAstVisitor v) => v.visitClassDeclarationBegin(this); @@ -4501,17 +3543,15 @@ class ClassExtendsHandle extends ParserAstNode { final Token? extendsKeyword; final int typeCount; - ClassExtendsHandle( - ParserAstType type, { - this.extendsKeyword, - required this.typeCount, - }) : super("ClassExtends", type); + ClassExtendsHandle(ParserAstType type, + {this.extendsKeyword, required this.typeCount}) + : super("ClassExtends", type); @override Map get deprecatedArguments => { - "extendsKeyword": extendsKeyword, - "typeCount": typeCount, - }; + "extendsKeyword": extendsKeyword, + "typeCount": typeCount, + }; @override R accept(ParserAstVisitor v) => v.visitClassExtendsHandle(this); @@ -4521,17 +3561,15 @@ class ImplementsHandle extends ParserAstNode { final Token? implementsKeyword; final int interfacesCount; - ImplementsHandle( - ParserAstType type, { - this.implementsKeyword, - required this.interfacesCount, - }) : super("Implements", type); + ImplementsHandle(ParserAstType type, + {this.implementsKeyword, required this.interfacesCount}) + : super("Implements", type); @override Map get deprecatedArguments => { - "implementsKeyword": implementsKeyword, - "interfacesCount": interfacesCount, - }; + "implementsKeyword": implementsKeyword, + "interfacesCount": interfacesCount, + }; @override R accept(ParserAstVisitor v) => v.visitImplementsHandle(this); @@ -4542,19 +3580,16 @@ class ClassHeaderHandle extends ParserAstNode { final Token classKeyword; final Token? nativeToken; - ClassHeaderHandle( - ParserAstType type, { - required this.begin, - required this.classKeyword, - this.nativeToken, - }) : super("ClassHeader", type); + ClassHeaderHandle(ParserAstType type, + {required this.begin, required this.classKeyword, this.nativeToken}) + : super("ClassHeader", type); @override Map get deprecatedArguments => { - "begin": begin, - "classKeyword": classKeyword, - "nativeToken": nativeToken, - }; + "begin": begin, + "classKeyword": classKeyword, + "nativeToken": nativeToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassHeaderHandle(this); @@ -4564,10 +3599,12 @@ class RecoverDeclarationHeaderHandle extends ParserAstNode { final DeclarationHeaderKind kind; RecoverDeclarationHeaderHandle(ParserAstType type, {required this.kind}) - : super("RecoverDeclarationHeader", type); + : super("RecoverDeclarationHeader", type); @override - Map get deprecatedArguments => {"kind": kind}; + Map get deprecatedArguments => { + "kind": kind, + }; @override R accept(ParserAstVisitor v) => @@ -4581,17 +3618,15 @@ class ClassDeclarationEnd extends ParserAstNode @override final Token endToken; - ClassDeclarationEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("ClassDeclaration", type); + ClassDeclarationEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("ClassDeclaration", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassDeclarationEnd(this); @@ -4604,23 +3639,22 @@ class MixinDeclarationBegin extends ParserAstNode { final Token mixinKeyword; final Token name; - MixinDeclarationBegin( - ParserAstType type, { - required this.beginToken, - this.augmentToken, - this.baseToken, - required this.mixinKeyword, - required this.name, - }) : super("MixinDeclaration", type); + MixinDeclarationBegin(ParserAstType type, + {required this.beginToken, + this.augmentToken, + this.baseToken, + required this.mixinKeyword, + required this.name}) + : super("MixinDeclaration", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "augmentToken": augmentToken, - "baseToken": baseToken, - "mixinKeyword": mixinKeyword, - "name": name, - }; + "beginToken": beginToken, + "augmentToken": augmentToken, + "baseToken": baseToken, + "mixinKeyword": mixinKeyword, + "name": name, + }; @override R accept(ParserAstVisitor v) => v.visitMixinDeclarationBegin(this); @@ -4631,13 +3665,13 @@ class MixinOnHandle extends ParserAstNode { final int typeCount; MixinOnHandle(ParserAstType type, {this.onKeyword, required this.typeCount}) - : super("MixinOn", type); + : super("MixinOn", type); @override Map get deprecatedArguments => { - "onKeyword": onKeyword, - "typeCount": typeCount, - }; + "onKeyword": onKeyword, + "typeCount": typeCount, + }; @override R accept(ParserAstVisitor v) => v.visitMixinOnHandle(this); @@ -4647,12 +3681,12 @@ class MixinHeaderHandle extends ParserAstNode { final Token mixinKeyword; MixinHeaderHandle(ParserAstType type, {required this.mixinKeyword}) - : super("MixinHeader", type); + : super("MixinHeader", type); @override Map get deprecatedArguments => { - "mixinKeyword": mixinKeyword, - }; + "mixinKeyword": mixinKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitMixinHeaderHandle(this); @@ -4660,7 +3694,7 @@ class MixinHeaderHandle extends ParserAstNode { class RecoverMixinHeaderHandle extends ParserAstNode { RecoverMixinHeaderHandle(ParserAstType type) - : super("RecoverMixinHeader", type); + : super("RecoverMixinHeader", type); @override Map get deprecatedArguments => {}; @@ -4676,17 +3710,15 @@ class MixinDeclarationEnd extends ParserAstNode @override final Token endToken; - MixinDeclarationEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("MixinDeclaration", type); + MixinDeclarationEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("MixinDeclaration", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMixinDeclarationEnd(this); @@ -4695,13 +3727,14 @@ class MixinDeclarationEnd extends ParserAstNode class UncategorizedTopLevelDeclarationBegin extends ParserAstNode { final Token token; - UncategorizedTopLevelDeclarationBegin( - ParserAstType type, { - required this.token, - }) : super("UncategorizedTopLevelDeclaration", type); + UncategorizedTopLevelDeclarationBegin(ParserAstType type, + {required this.token}) + : super("UncategorizedTopLevelDeclaration", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -4711,15 +3744,14 @@ class UncategorizedTopLevelDeclarationBegin extends ParserAstNode { class ExtensionDeclarationPreludeBegin extends ParserAstNode { final Token extensionKeyword; - ExtensionDeclarationPreludeBegin( - ParserAstType type, { - required this.extensionKeyword, - }) : super("ExtensionDeclarationPrelude", type); + ExtensionDeclarationPreludeBegin(ParserAstType type, + {required this.extensionKeyword}) + : super("ExtensionDeclarationPrelude", type); @override Map get deprecatedArguments => { - "extensionKeyword": extensionKeyword, - }; + "extensionKeyword": extensionKeyword, + }; @override R accept(ParserAstVisitor v) => @@ -4731,19 +3763,16 @@ class ExtensionDeclarationBegin extends ParserAstNode { final Token extensionKeyword; final Token? name; - ExtensionDeclarationBegin( - ParserAstType type, { - this.augmentToken, - required this.extensionKeyword, - this.name, - }) : super("ExtensionDeclaration", type); + ExtensionDeclarationBegin(ParserAstType type, + {this.augmentToken, required this.extensionKeyword, this.name}) + : super("ExtensionDeclaration", type); @override Map get deprecatedArguments => { - "augmentToken": augmentToken, - "extensionKeyword": extensionKeyword, - "name": name, - }; + "augmentToken": augmentToken, + "extensionKeyword": extensionKeyword, + "name": name, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionDeclarationBegin(this); @@ -4758,21 +3787,20 @@ class ExtensionDeclarationEnd extends ParserAstNode @override final Token endToken; - ExtensionDeclarationEnd( - ParserAstType type, { - required this.beginToken, - required this.extensionKeyword, - this.onKeyword, - required this.endToken, - }) : super("ExtensionDeclaration", type); + ExtensionDeclarationEnd(ParserAstType type, + {required this.beginToken, + required this.extensionKeyword, + this.onKeyword, + required this.endToken}) + : super("ExtensionDeclaration", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "extensionKeyword": extensionKeyword, - "onKeyword": onKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "extensionKeyword": extensionKeyword, + "onKeyword": onKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionDeclarationEnd(this); @@ -4783,19 +3811,16 @@ class ExtensionTypeDeclarationBegin extends ParserAstNode { final Token extensionKeyword; final Token name; - ExtensionTypeDeclarationBegin( - ParserAstType type, { - this.augmentKeyword, - required this.extensionKeyword, - required this.name, - }) : super("ExtensionTypeDeclaration", type); + ExtensionTypeDeclarationBegin(ParserAstType type, + {this.augmentKeyword, required this.extensionKeyword, required this.name}) + : super("ExtensionTypeDeclaration", type); @override Map get deprecatedArguments => { - "augmentKeyword": augmentKeyword, - "extensionKeyword": extensionKeyword, - "name": name, - }; + "augmentKeyword": augmentKeyword, + "extensionKeyword": extensionKeyword, + "name": name, + }; @override R accept(ParserAstVisitor v) => @@ -4812,23 +3837,22 @@ class ExtensionTypeDeclarationEnd extends ParserAstNode @override final Token endToken; - ExtensionTypeDeclarationEnd( - ParserAstType type, { - required this.beginToken, - this.augmentToken, - required this.extensionKeyword, - required this.typeKeyword, - required this.endToken, - }) : super("ExtensionTypeDeclaration", type); + ExtensionTypeDeclarationEnd(ParserAstType type, + {required this.beginToken, + this.augmentToken, + required this.extensionKeyword, + required this.typeKeyword, + required this.endToken}) + : super("ExtensionTypeDeclaration", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "augmentToken": augmentToken, - "extensionKeyword": extensionKeyword, - "typeKeyword": typeKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "augmentToken": augmentToken, + "extensionKeyword": extensionKeyword, + "typeKeyword": typeKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -4839,10 +3863,12 @@ class PrimaryConstructorBegin extends ParserAstNode { final Token beginToken; PrimaryConstructorBegin(ParserAstType type, {required this.beginToken}) - : super("PrimaryConstructor", type); + : super("PrimaryConstructor", type); @override - Map get deprecatedArguments => {"beginToken": beginToken}; + Map get deprecatedArguments => { + "beginToken": beginToken, + }; @override R accept(ParserAstVisitor v) => v.visitPrimaryConstructorBegin(this); @@ -4853,19 +3879,18 @@ class PrimaryConstructorEnd extends ParserAstNode { final Token? constKeyword; final bool hasConstructorName; - PrimaryConstructorEnd( - ParserAstType type, { - required this.beginToken, - this.constKeyword, - required this.hasConstructorName, - }) : super("PrimaryConstructor", type); + PrimaryConstructorEnd(ParserAstType type, + {required this.beginToken, + this.constKeyword, + required this.hasConstructorName}) + : super("PrimaryConstructor", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "constKeyword": constKeyword, - "hasConstructorName": hasConstructorName, - }; + "beginToken": beginToken, + "constKeyword": constKeyword, + "hasConstructorName": hasConstructorName, + }; @override R accept(ParserAstVisitor v) => v.visitPrimaryConstructorEnd(this); @@ -4875,17 +3900,15 @@ class NoPrimaryConstructorHandle extends ParserAstNode { final Token token; final Token? constKeyword; - NoPrimaryConstructorHandle( - ParserAstType type, { - required this.token, - this.constKeyword, - }) : super("NoPrimaryConstructor", type); + NoPrimaryConstructorHandle(ParserAstType type, + {required this.token, this.constKeyword}) + : super("NoPrimaryConstructor", type); @override Map get deprecatedArguments => { - "token": token, - "constKeyword": constKeyword, - }; + "token": token, + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitNoPrimaryConstructorHandle(this); @@ -4895,10 +3918,12 @@ class CombinatorsBegin extends ParserAstNode { final Token token; CombinatorsBegin(ParserAstType type, {required this.token}) - : super("Combinators", type); + : super("Combinators", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCombinatorsBegin(this); @@ -4908,10 +3933,12 @@ class CombinatorsEnd extends ParserAstNode { final int count; CombinatorsEnd(ParserAstType type, {required this.count}) - : super("Combinators", type); + : super("Combinators", type); @override - Map get deprecatedArguments => {"count": count}; + Map get deprecatedArguments => { + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitCombinatorsEnd(this); @@ -4921,10 +3948,12 @@ class CompilationUnitBegin extends ParserAstNode { final Token token; CompilationUnitBegin(ParserAstType type, {required this.token}) - : super("CompilationUnit", type); + : super("CompilationUnit", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCompilationUnitBegin(this); @@ -4944,17 +3973,15 @@ class CompilationUnitEnd extends ParserAstNode { final int count; final Token token; - CompilationUnitEnd( - ParserAstType type, { - required this.count, - required this.token, - }) : super("CompilationUnit", type); + CompilationUnitEnd(ParserAstType type, + {required this.count, required this.token}) + : super("CompilationUnit", type); @override Map get deprecatedArguments => { - "count": count, - "token": token, - }; + "count": count, + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCompilationUnitEnd(this); @@ -4964,10 +3991,12 @@ class ConstLiteralBegin extends ParserAstNode { final Token token; ConstLiteralBegin(ParserAstType type, {required this.token}) - : super("ConstLiteral", type); + : super("ConstLiteral", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitConstLiteralBegin(this); @@ -4977,10 +4006,12 @@ class ConstLiteralEnd extends ParserAstNode { final Token endToken; ConstLiteralEnd(ParserAstType type, {required this.endToken}) - : super("ConstLiteral", type); + : super("ConstLiteral", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitConstLiteralEnd(this); @@ -4990,10 +4021,12 @@ class ConstructorReferenceBegin extends ParserAstNode { final Token start; ConstructorReferenceBegin(ParserAstType type, {required this.start}) - : super("ConstructorReference", type); + : super("ConstructorReference", type); @override - Map get deprecatedArguments => {"start": start}; + Map get deprecatedArguments => { + "start": start, + }; @override R accept(ParserAstVisitor v) => v.visitConstructorReferenceBegin(this); @@ -5005,21 +4038,20 @@ class ConstructorReferenceEnd extends ParserAstNode { final Token endToken; final ConstructorReferenceContext constructorReferenceContext; - ConstructorReferenceEnd( - ParserAstType type, { - required this.start, - this.periodBeforeName, - required this.endToken, - required this.constructorReferenceContext, - }) : super("ConstructorReference", type); + ConstructorReferenceEnd(ParserAstType type, + {required this.start, + this.periodBeforeName, + required this.endToken, + required this.constructorReferenceContext}) + : super("ConstructorReference", type); @override Map get deprecatedArguments => { - "start": start, - "periodBeforeName": periodBeforeName, - "endToken": endToken, - "constructorReferenceContext": constructorReferenceContext, - }; + "start": start, + "periodBeforeName": periodBeforeName, + "endToken": endToken, + "constructorReferenceContext": constructorReferenceContext, + }; @override R accept(ParserAstVisitor v) => v.visitConstructorReferenceEnd(this); @@ -5029,10 +4061,12 @@ class DoWhileStatementBegin extends ParserAstNode { final Token token; DoWhileStatementBegin(ParserAstType type, {required this.token}) - : super("DoWhileStatement", type); + : super("DoWhileStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitDoWhileStatementBegin(this); @@ -5043,19 +4077,18 @@ class DoWhileStatementEnd extends ParserAstNode { final Token whileKeyword; final Token endToken; - DoWhileStatementEnd( - ParserAstType type, { - required this.doKeyword, - required this.whileKeyword, - required this.endToken, - }) : super("DoWhileStatement", type); + DoWhileStatementEnd(ParserAstType type, + {required this.doKeyword, + required this.whileKeyword, + required this.endToken}) + : super("DoWhileStatement", type); @override Map get deprecatedArguments => { - "doKeyword": doKeyword, - "whileKeyword": whileKeyword, - "endToken": endToken, - }; + "doKeyword": doKeyword, + "whileKeyword": whileKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitDoWhileStatementEnd(this); @@ -5065,10 +4098,12 @@ class DoWhileStatementBodyBegin extends ParserAstNode { final Token token; DoWhileStatementBodyBegin(ParserAstType type, {required this.token}) - : super("DoWhileStatementBody", type); + : super("DoWhileStatementBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitDoWhileStatementBodyBegin(this); @@ -5078,10 +4113,12 @@ class DoWhileStatementBodyEnd extends ParserAstNode { final Token token; DoWhileStatementBodyEnd(ParserAstType type, {required this.token}) - : super("DoWhileStatementBody", type); + : super("DoWhileStatementBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitDoWhileStatementBodyEnd(this); @@ -5091,10 +4128,12 @@ class WhileStatementBodyBegin extends ParserAstNode { final Token token; WhileStatementBodyBegin(ParserAstType type, {required this.token}) - : super("WhileStatementBody", type); + : super("WhileStatementBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitWhileStatementBodyBegin(this); @@ -5104,10 +4143,12 @@ class WhileStatementBodyEnd extends ParserAstNode { final Token endToken; WhileStatementBodyEnd(ParserAstType type, {required this.endToken}) - : super("WhileStatementBody", type); + : super("WhileStatementBody", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitWhileStatementBodyEnd(this); @@ -5117,10 +4158,12 @@ class EnumBegin extends ParserAstNode { final Token enumKeyword; EnumBegin(ParserAstType type, {required this.enumKeyword}) - : super("Enum", type); + : super("Enum", type); @override - Map get deprecatedArguments => {"enumKeyword": enumKeyword}; + Map get deprecatedArguments => { + "enumKeyword": enumKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitEnumBegin(this); @@ -5135,23 +4178,22 @@ class EnumEnd extends ParserAstNode implements BeginAndEndTokenParserAstNode { @override final Token endToken; - EnumEnd( - ParserAstType type, { - required this.beginToken, - required this.enumKeyword, - required this.leftBrace, - required this.memberCount, - required this.endToken, - }) : super("Enum", type); + EnumEnd(ParserAstType type, + {required this.beginToken, + required this.enumKeyword, + required this.leftBrace, + required this.memberCount, + required this.endToken}) + : super("Enum", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "enumKeyword": enumKeyword, - "leftBrace": leftBrace, - "memberCount": memberCount, - "endToken": endToken, - }; + "beginToken": beginToken, + "enumKeyword": enumKeyword, + "leftBrace": leftBrace, + "memberCount": memberCount, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumEnd(this); @@ -5167,23 +4209,22 @@ class EnumConstructorEnd extends ParserAstNode @override final Token endToken; - EnumConstructorEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("EnumConstructor", type); + EnumConstructorEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("EnumConstructor", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumConstructorEnd(this); @@ -5193,17 +4234,15 @@ class EnumElementsHandle extends ParserAstNode { final Token elementsEndToken; final int elementsCount; - EnumElementsHandle( - ParserAstType type, { - required this.elementsEndToken, - required this.elementsCount, - }) : super("EnumElements", type); + EnumElementsHandle(ParserAstType type, + {required this.elementsEndToken, required this.elementsCount}) + : super("EnumElements", type); @override Map get deprecatedArguments => { - "elementsEndToken": elementsEndToken, - "elementsCount": elementsCount, - }; + "elementsEndToken": elementsEndToken, + "elementsCount": elementsCount, + }; @override R accept(ParserAstVisitor v) => v.visitEnumElementsHandle(this); @@ -5214,19 +4253,16 @@ class EnumHeaderHandle extends ParserAstNode { final Token enumKeyword; final Token leftBrace; - EnumHeaderHandle( - ParserAstType type, { - this.augmentToken, - required this.enumKeyword, - required this.leftBrace, - }) : super("EnumHeader", type); + EnumHeaderHandle(ParserAstType type, + {this.augmentToken, required this.enumKeyword, required this.leftBrace}) + : super("EnumHeader", type); @override Map get deprecatedArguments => { - "augmentToken": augmentToken, - "enumKeyword": enumKeyword, - "leftBrace": leftBrace, - }; + "augmentToken": augmentToken, + "enumKeyword": enumKeyword, + "leftBrace": leftBrace, + }; @override R accept(ParserAstVisitor v) => v.visitEnumHeaderHandle(this); @@ -5236,17 +4272,15 @@ class EnumElementHandle extends ParserAstNode { final Token beginToken; final Token? augmentToken; - EnumElementHandle( - ParserAstType type, { - required this.beginToken, - this.augmentToken, - }) : super("EnumElement", type); + EnumElementHandle(ParserAstType type, + {required this.beginToken, this.augmentToken}) + : super("EnumElement", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "augmentToken": augmentToken, - }; + "beginToken": beginToken, + "augmentToken": augmentToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumElementHandle(this); @@ -5260,19 +4294,18 @@ class EnumFactoryMethodEnd extends ParserAstNode @override final Token endToken; - EnumFactoryMethodEnd( - ParserAstType type, { - required this.beginToken, - required this.factoryKeyword, - required this.endToken, - }) : super("EnumFactoryMethod", type); + EnumFactoryMethodEnd(ParserAstType type, + {required this.beginToken, + required this.factoryKeyword, + required this.endToken}) + : super("EnumFactoryMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "factoryKeyword": factoryKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "factoryKeyword": factoryKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumFactoryMethodEnd(this); @@ -5282,10 +4315,12 @@ class ExportBegin extends ParserAstNode { final Token token; ExportBegin(ParserAstType type, {required this.token}) - : super("Export", type); + : super("Export", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitExportBegin(this); @@ -5295,17 +4330,15 @@ class ExportEnd extends ParserAstNode { final Token exportKeyword; final Token semicolon; - ExportEnd( - ParserAstType type, { - required this.exportKeyword, - required this.semicolon, - }) : super("Export", type); + ExportEnd(ParserAstType type, + {required this.exportKeyword, required this.semicolon}) + : super("Export", type); @override Map get deprecatedArguments => { - "exportKeyword": exportKeyword, - "semicolon": semicolon, - }; + "exportKeyword": exportKeyword, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitExportEnd(this); @@ -5315,17 +4348,15 @@ class ExtraneousExpressionHandle extends ParserAstNode { final Token token; final Message message; - ExtraneousExpressionHandle( - ParserAstType type, { - required this.token, - required this.message, - }) : super("ExtraneousExpression", type); + ExtraneousExpressionHandle(ParserAstType type, + {required this.token, required this.message}) + : super("ExtraneousExpression", type); @override Map get deprecatedArguments => { - "token": token, - "message": message, - }; + "token": token, + "message": message, + }; @override R accept(ParserAstVisitor v) => v.visitExtraneousExpressionHandle(this); @@ -5338,17 +4369,15 @@ class ExpressionStatementHandle extends ParserAstNode @override final Token endToken; - ExpressionStatementHandle( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("ExpressionStatement", type); + ExpressionStatementHandle(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("ExpressionStatement", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExpressionStatementHandle(this); @@ -5360,21 +4389,20 @@ class FactoryMethodBegin extends ParserAstNode { final Token? externalToken; final Token? constToken; - FactoryMethodBegin( - ParserAstType type, { - required this.declarationKind, - required this.lastConsumed, - this.externalToken, - this.constToken, - }) : super("FactoryMethod", type); + FactoryMethodBegin(ParserAstType type, + {required this.declarationKind, + required this.lastConsumed, + this.externalToken, + this.constToken}) + : super("FactoryMethod", type); @override Map get deprecatedArguments => { - "declarationKind": declarationKind, - "lastConsumed": lastConsumed, - "externalToken": externalToken, - "constToken": constToken, - }; + "declarationKind": declarationKind, + "lastConsumed": lastConsumed, + "externalToken": externalToken, + "constToken": constToken, + }; @override R accept(ParserAstVisitor v) => v.visitFactoryMethodBegin(this); @@ -5388,19 +4416,18 @@ class ClassFactoryMethodEnd extends ParserAstNode @override final Token endToken; - ClassFactoryMethodEnd( - ParserAstType type, { - required this.beginToken, - required this.factoryKeyword, - required this.endToken, - }) : super("ClassFactoryMethod", type); + ClassFactoryMethodEnd(ParserAstType type, + {required this.beginToken, + required this.factoryKeyword, + required this.endToken}) + : super("ClassFactoryMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "factoryKeyword": factoryKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "factoryKeyword": factoryKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassFactoryMethodEnd(this); @@ -5414,19 +4441,18 @@ class MixinFactoryMethodEnd extends ParserAstNode @override final Token endToken; - MixinFactoryMethodEnd( - ParserAstType type, { - required this.beginToken, - required this.factoryKeyword, - required this.endToken, - }) : super("MixinFactoryMethod", type); + MixinFactoryMethodEnd(ParserAstType type, + {required this.beginToken, + required this.factoryKeyword, + required this.endToken}) + : super("MixinFactoryMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "factoryKeyword": factoryKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "factoryKeyword": factoryKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMixinFactoryMethodEnd(this); @@ -5440,19 +4466,18 @@ class ExtensionFactoryMethodEnd extends ParserAstNode @override final Token endToken; - ExtensionFactoryMethodEnd( - ParserAstType type, { - required this.beginToken, - required this.factoryKeyword, - required this.endToken, - }) : super("ExtensionFactoryMethod", type); + ExtensionFactoryMethodEnd(ParserAstType type, + {required this.beginToken, + required this.factoryKeyword, + required this.endToken}) + : super("ExtensionFactoryMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "factoryKeyword": factoryKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "factoryKeyword": factoryKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionFactoryMethodEnd(this); @@ -5466,19 +4491,18 @@ class ExtensionTypeFactoryMethodEnd extends ParserAstNode @override final Token endToken; - ExtensionTypeFactoryMethodEnd( - ParserAstType type, { - required this.beginToken, - required this.factoryKeyword, - required this.endToken, - }) : super("ExtensionTypeFactoryMethod", type); + ExtensionTypeFactoryMethodEnd(ParserAstType type, + {required this.beginToken, + required this.factoryKeyword, + required this.endToken}) + : super("ExtensionTypeFactoryMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "factoryKeyword": factoryKeyword, - "endToken": endToken, - }; + "beginToken": beginToken, + "factoryKeyword": factoryKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -5492,23 +4516,22 @@ class FormalParameterBegin extends ParserAstNode { final Token? covariantToken; final Token? varFinalOrConst; - FormalParameterBegin( - ParserAstType type, { - required this.token, - required this.kind, - this.requiredToken, - this.covariantToken, - this.varFinalOrConst, - }) : super("FormalParameter", type); + FormalParameterBegin(ParserAstType type, + {required this.token, + required this.kind, + this.requiredToken, + this.covariantToken, + this.varFinalOrConst}) + : super("FormalParameter", type); @override Map get deprecatedArguments => { - "token": token, - "kind": kind, - "requiredToken": requiredToken, - "covariantToken": covariantToken, - "varFinalOrConst": varFinalOrConst, - }; + "token": token, + "kind": kind, + "requiredToken": requiredToken, + "covariantToken": covariantToken, + "varFinalOrConst": varFinalOrConst, + }; @override R accept(ParserAstVisitor v) => v.visitFormalParameterBegin(this); @@ -5524,29 +4547,28 @@ class FormalParameterEnd extends ParserAstNode { final FormalParameterKind kind; final MemberKind memberKind; - FormalParameterEnd( - ParserAstType type, { - this.thisKeyword, - this.superKeyword, - this.periodAfterThisOrSuper, - required this.nameToken, - this.initializerStart, - this.initializerEnd, - required this.kind, - required this.memberKind, - }) : super("FormalParameter", type); + FormalParameterEnd(ParserAstType type, + {this.thisKeyword, + this.superKeyword, + this.periodAfterThisOrSuper, + required this.nameToken, + this.initializerStart, + this.initializerEnd, + required this.kind, + required this.memberKind}) + : super("FormalParameter", type); @override Map get deprecatedArguments => { - "thisKeyword": thisKeyword, - "superKeyword": superKeyword, - "periodAfterThisOrSuper": periodAfterThisOrSuper, - "nameToken": nameToken, - "initializerStart": initializerStart, - "initializerEnd": initializerEnd, - "kind": kind, - "memberKind": memberKind, - }; + "thisKeyword": thisKeyword, + "superKeyword": superKeyword, + "periodAfterThisOrSuper": periodAfterThisOrSuper, + "nameToken": nameToken, + "initializerStart": initializerStart, + "initializerEnd": initializerEnd, + "kind": kind, + "memberKind": memberKind, + }; @override R accept(ParserAstVisitor v) => v.visitFormalParameterEnd(this); @@ -5556,17 +4578,15 @@ class NoFormalParametersHandle extends ParserAstNode { final Token token; final MemberKind kind; - NoFormalParametersHandle( - ParserAstType type, { - required this.token, - required this.kind, - }) : super("NoFormalParameters", type); + NoFormalParametersHandle(ParserAstType type, + {required this.token, required this.kind}) + : super("NoFormalParameters", type); @override Map get deprecatedArguments => { - "token": token, - "kind": kind, - }; + "token": token, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => v.visitNoFormalParametersHandle(this); @@ -5576,17 +4596,15 @@ class FormalParametersBegin extends ParserAstNode { final Token token; final MemberKind kind; - FormalParametersBegin( - ParserAstType type, { - required this.token, - required this.kind, - }) : super("FormalParameters", type); + FormalParametersBegin(ParserAstType type, + {required this.token, required this.kind}) + : super("FormalParameters", type); @override Map get deprecatedArguments => { - "token": token, - "kind": kind, - }; + "token": token, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => v.visitFormalParametersBegin(this); @@ -5601,21 +4619,20 @@ class FormalParametersEnd extends ParserAstNode final Token endToken; final MemberKind kind; - FormalParametersEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - required this.kind, - }) : super("FormalParameters", type); + FormalParametersEnd(ParserAstType type, + {required this.count, + required this.beginToken, + required this.endToken, + required this.kind}) + : super("FormalParameters", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - "kind": kind, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => v.visitFormalParametersEnd(this); @@ -5636,33 +4653,32 @@ class ClassFieldsEnd extends ParserAstNode @override final Token endToken; - ClassFieldsEnd( - ParserAstType type, { - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("ClassFields", type); + ClassFieldsEnd(ParserAstType type, + {this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("ClassFields", type); @override Map get deprecatedArguments => { - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassFieldsEnd(this); @@ -5683,33 +4699,32 @@ class MixinFieldsEnd extends ParserAstNode @override final Token endToken; - MixinFieldsEnd( - ParserAstType type, { - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("MixinFields", type); + MixinFieldsEnd(ParserAstType type, + {this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("MixinFields", type); @override Map get deprecatedArguments => { - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMixinFieldsEnd(this); @@ -5730,33 +4745,32 @@ class ExtensionFieldsEnd extends ParserAstNode @override final Token endToken; - ExtensionFieldsEnd( - ParserAstType type, { - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("ExtensionFields", type); + ExtensionFieldsEnd(ParserAstType type, + {this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("ExtensionFields", type); @override Map get deprecatedArguments => { - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionFieldsEnd(this); @@ -5777,33 +4791,32 @@ class ExtensionTypeFieldsEnd extends ParserAstNode @override final Token endToken; - ExtensionTypeFieldsEnd( - ParserAstType type, { - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("ExtensionTypeFields", type); + ExtensionTypeFieldsEnd(ParserAstType type, + {this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("ExtensionTypeFields", type); @override Map get deprecatedArguments => { - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionTypeFieldsEnd(this); @@ -5824,33 +4837,32 @@ class EnumFieldsEnd extends ParserAstNode @override final Token endToken; - EnumFieldsEnd( - ParserAstType type, { - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("EnumFields", type); + EnumFieldsEnd(ParserAstType type, + {this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("EnumFields", type); @override Map get deprecatedArguments => { - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumFieldsEnd(this); @@ -5866,23 +4878,22 @@ class EnumMethodEnd extends ParserAstNode @override final Token endToken; - EnumMethodEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("EnumMethod", type); + EnumMethodEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("EnumMethod", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitEnumMethodEnd(this); @@ -5892,10 +4903,12 @@ class ForInitializerEmptyStatementHandle extends ParserAstNode { final Token token; ForInitializerEmptyStatementHandle(ParserAstType type, {required this.token}) - : super("ForInitializerEmptyStatement", type); + : super("ForInitializerEmptyStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -5906,17 +4919,15 @@ class ForInitializerExpressionStatementHandle extends ParserAstNode { final Token token; final bool forIn; - ForInitializerExpressionStatementHandle( - ParserAstType type, { - required this.token, - required this.forIn, - }) : super("ForInitializerExpressionStatement", type); + ForInitializerExpressionStatementHandle(ParserAstType type, + {required this.token, required this.forIn}) + : super("ForInitializerExpressionStatement", type); @override Map get deprecatedArguments => { - "token": token, - "forIn": forIn, - }; + "token": token, + "forIn": forIn, + }; @override R accept(ParserAstVisitor v) => @@ -5927,17 +4938,15 @@ class ForInitializerLocalVariableDeclarationHandle extends ParserAstNode { final Token token; final bool forIn; - ForInitializerLocalVariableDeclarationHandle( - ParserAstType type, { - required this.token, - required this.forIn, - }) : super("ForInitializerLocalVariableDeclaration", type); + ForInitializerLocalVariableDeclarationHandle(ParserAstType type, + {required this.token, required this.forIn}) + : super("ForInitializerLocalVariableDeclaration", type); @override Map get deprecatedArguments => { - "token": token, - "forIn": forIn, - }; + "token": token, + "forIn": forIn, + }; @override R accept(ParserAstVisitor v) => @@ -5948,17 +4957,15 @@ class ForInitializerPatternVariableAssignmentHandle extends ParserAstNode { final Token keyword; final Token equals; - ForInitializerPatternVariableAssignmentHandle( - ParserAstType type, { - required this.keyword, - required this.equals, - }) : super("ForInitializerPatternVariableAssignment", type); + ForInitializerPatternVariableAssignmentHandle(ParserAstType type, + {required this.keyword, required this.equals}) + : super("ForInitializerPatternVariableAssignment", type); @override Map get deprecatedArguments => { - "keyword": keyword, - "equals": equals, - }; + "keyword": keyword, + "equals": equals, + }; @override R accept(ParserAstVisitor v) => @@ -5969,10 +4976,12 @@ class ForStatementBegin extends ParserAstNode { final Token token; ForStatementBegin(ParserAstType type, {required this.token}) - : super("ForStatement", type); + : super("ForStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForStatementBegin(this); @@ -5985,23 +4994,22 @@ class ForLoopPartsHandle extends ParserAstNode { final Token rightSeparator; final int updateExpressionCount; - ForLoopPartsHandle( - ParserAstType type, { - required this.forKeyword, - required this.leftParen, - required this.leftSeparator, - required this.rightSeparator, - required this.updateExpressionCount, - }) : super("ForLoopParts", type); + ForLoopPartsHandle(ParserAstType type, + {required this.forKeyword, + required this.leftParen, + required this.leftSeparator, + required this.rightSeparator, + required this.updateExpressionCount}) + : super("ForLoopParts", type); @override Map get deprecatedArguments => { - "forKeyword": forKeyword, - "leftParen": leftParen, - "leftSeparator": leftSeparator, - "rightSeparator": rightSeparator, - "updateExpressionCount": updateExpressionCount, - }; + "forKeyword": forKeyword, + "leftParen": leftParen, + "leftSeparator": leftSeparator, + "rightSeparator": rightSeparator, + "updateExpressionCount": updateExpressionCount, + }; @override R accept(ParserAstVisitor v) => v.visitForLoopPartsHandle(this); @@ -6011,10 +5019,12 @@ class ForStatementEnd extends ParserAstNode { final Token endToken; ForStatementEnd(ParserAstType type, {required this.endToken}) - : super("ForStatement", type); + : super("ForStatement", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitForStatementEnd(this); @@ -6024,10 +5034,12 @@ class ForStatementBodyBegin extends ParserAstNode { final Token token; ForStatementBodyBegin(ParserAstType type, {required this.token}) - : super("ForStatementBody", type); + : super("ForStatementBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForStatementBodyBegin(this); @@ -6037,10 +5049,12 @@ class ForStatementBodyEnd extends ParserAstNode { final Token endToken; ForStatementBodyEnd(ParserAstType type, {required this.endToken}) - : super("ForStatementBody", type); + : super("ForStatementBody", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitForStatementBodyEnd(this); @@ -6053,23 +5067,22 @@ class ForInLoopPartsHandle extends ParserAstNode { final Token? patternKeyword; final Token inKeyword; - ForInLoopPartsHandle( - ParserAstType type, { - this.awaitToken, - required this.forToken, - required this.leftParenthesis, - this.patternKeyword, - required this.inKeyword, - }) : super("ForInLoopParts", type); + ForInLoopPartsHandle(ParserAstType type, + {this.awaitToken, + required this.forToken, + required this.leftParenthesis, + this.patternKeyword, + required this.inKeyword}) + : super("ForInLoopParts", type); @override Map get deprecatedArguments => { - "awaitToken": awaitToken, - "forToken": forToken, - "leftParenthesis": leftParenthesis, - "patternKeyword": patternKeyword, - "inKeyword": inKeyword, - }; + "awaitToken": awaitToken, + "forToken": forToken, + "leftParenthesis": leftParenthesis, + "patternKeyword": patternKeyword, + "inKeyword": inKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitForInLoopPartsHandle(this); @@ -6081,7 +5094,9 @@ class ForInEnd extends ParserAstNode { ForInEnd(ParserAstType type, {required this.endToken}) : super("ForIn", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitForInEnd(this); @@ -6091,10 +5106,12 @@ class ForInExpressionBegin extends ParserAstNode { final Token token; ForInExpressionBegin(ParserAstType type, {required this.token}) - : super("ForInExpression", type); + : super("ForInExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForInExpressionBegin(this); @@ -6104,10 +5121,12 @@ class ForInExpressionEnd extends ParserAstNode { final Token token; ForInExpressionEnd(ParserAstType type, {required this.token}) - : super("ForInExpression", type); + : super("ForInExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForInExpressionEnd(this); @@ -6117,10 +5136,12 @@ class ForInBodyBegin extends ParserAstNode { final Token token; ForInBodyBegin(ParserAstType type, {required this.token}) - : super("ForInBody", type); + : super("ForInBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForInBodyBegin(this); @@ -6130,10 +5151,12 @@ class ForInBodyEnd extends ParserAstNode { final Token endToken; ForInBodyEnd(ParserAstType type, {required this.endToken}) - : super("ForInBody", type); + : super("ForInBody", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitForInBodyEnd(this); @@ -6143,10 +5166,12 @@ class NamedFunctionExpressionBegin extends ParserAstNode { final Token token; NamedFunctionExpressionBegin(ParserAstType type, {required this.token}) - : super("NamedFunctionExpression", type); + : super("NamedFunctionExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -6157,10 +5182,12 @@ class NamedFunctionExpressionEnd extends ParserAstNode { final Token endToken; NamedFunctionExpressionEnd(ParserAstType type, {required this.endToken}) - : super("NamedFunctionExpression", type); + : super("NamedFunctionExpression", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitNamedFunctionExpressionEnd(this); @@ -6170,10 +5197,12 @@ class LocalFunctionDeclarationBegin extends ParserAstNode { final Token token; LocalFunctionDeclarationBegin(ParserAstType type, {required this.token}) - : super("LocalFunctionDeclaration", type); + : super("LocalFunctionDeclaration", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -6184,10 +5213,12 @@ class LocalFunctionDeclarationEnd extends ParserAstNode { final Token endToken; LocalFunctionDeclarationEnd(ParserAstType type, {required this.endToken}) - : super("LocalFunctionDeclaration", type); + : super("LocalFunctionDeclaration", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -6198,10 +5229,12 @@ class BlockFunctionBodyBegin extends ParserAstNode { final Token token; BlockFunctionBodyBegin(ParserAstType type, {required this.token}) - : super("BlockFunctionBody", type); + : super("BlockFunctionBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitBlockFunctionBodyBegin(this); @@ -6215,19 +5248,16 @@ class BlockFunctionBodyEnd extends ParserAstNode @override final Token endToken; - BlockFunctionBodyEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - }) : super("BlockFunctionBody", type); + BlockFunctionBodyEnd(ParserAstType type, + {required this.count, required this.beginToken, required this.endToken}) + : super("BlockFunctionBody", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitBlockFunctionBodyEnd(this); @@ -6237,10 +5267,12 @@ class NoFunctionBodyHandle extends ParserAstNode { final Token token; NoFunctionBodyHandle(ParserAstType type, {required this.token}) - : super("NoFunctionBody", type); + : super("NoFunctionBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoFunctionBodyHandle(this); @@ -6250,17 +5282,15 @@ class FunctionBodySkippedHandle extends ParserAstNode { final Token token; final bool isExpressionBody; - FunctionBodySkippedHandle( - ParserAstType type, { - required this.token, - required this.isExpressionBody, - }) : super("FunctionBodySkipped", type); + FunctionBodySkippedHandle(ParserAstType type, + {required this.token, required this.isExpressionBody}) + : super("FunctionBodySkipped", type); @override Map get deprecatedArguments => { - "token": token, - "isExpressionBody": isExpressionBody, - }; + "token": token, + "isExpressionBody": isExpressionBody, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionBodySkippedHandle(this); @@ -6270,10 +5300,12 @@ class FunctionNameBegin extends ParserAstNode { final Token token; FunctionNameBegin(ParserAstType type, {required this.token}) - : super("FunctionName", type); + : super("FunctionName", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionNameBegin(this); @@ -6283,17 +5315,15 @@ class FunctionNameEnd extends ParserAstNode { final Token beginToken; final Token token; - FunctionNameEnd( - ParserAstType type, { - required this.beginToken, - required this.token, - }) : super("FunctionName", type); + FunctionNameEnd(ParserAstType type, + {required this.beginToken, required this.token}) + : super("FunctionName", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "token": token, - }; + "beginToken": beginToken, + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionNameEnd(this); @@ -6303,10 +5333,12 @@ class TypedefBegin extends ParserAstNode { final Token token; TypedefBegin(ParserAstType type, {required this.token}) - : super("Typedef", type); + : super("Typedef", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTypedefBegin(this); @@ -6318,21 +5350,20 @@ class TypedefEnd extends ParserAstNode { final Token? equals; final Token endToken; - TypedefEnd( - ParserAstType type, { - this.augmentToken, - required this.typedefKeyword, - this.equals, - required this.endToken, - }) : super("Typedef", type); + TypedefEnd(ParserAstType type, + {this.augmentToken, + required this.typedefKeyword, + this.equals, + required this.endToken}) + : super("Typedef", type); @override Map get deprecatedArguments => { - "augmentToken": augmentToken, - "typedefKeyword": typedefKeyword, - "equals": equals, - "endToken": endToken, - }; + "augmentToken": augmentToken, + "typedefKeyword": typedefKeyword, + "equals": equals, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTypedefEnd(this); @@ -6342,10 +5373,12 @@ class ClassWithClauseHandle extends ParserAstNode { final Token withKeyword; ClassWithClauseHandle(ParserAstType type, {required this.withKeyword}) - : super("ClassWithClause", type); + : super("ClassWithClause", type); @override - Map get deprecatedArguments => {"withKeyword": withKeyword}; + Map get deprecatedArguments => { + "withKeyword": withKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitClassWithClauseHandle(this); @@ -6353,7 +5386,7 @@ class ClassWithClauseHandle extends ParserAstNode { class ClassNoWithClauseHandle extends ParserAstNode { ClassNoWithClauseHandle(ParserAstType type) - : super("ClassNoWithClause", type); + : super("ClassNoWithClause", type); @override Map get deprecatedArguments => {}; @@ -6366,10 +5399,12 @@ class EnumWithClauseHandle extends ParserAstNode { final Token withKeyword; EnumWithClauseHandle(ParserAstType type, {required this.withKeyword}) - : super("EnumWithClause", type); + : super("EnumWithClause", type); @override - Map get deprecatedArguments => {"withKeyword": withKeyword}; + Map get deprecatedArguments => { + "withKeyword": withKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitEnumWithClauseHandle(this); @@ -6389,10 +5424,12 @@ class MixinWithClauseHandle extends ParserAstNode { final Token withKeyword; MixinWithClauseHandle(ParserAstType type, {required this.withKeyword}) - : super("MixinWithClause", type); + : super("MixinWithClause", type); @override - Map get deprecatedArguments => {"withKeyword": withKeyword}; + Map get deprecatedArguments => { + "withKeyword": withKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitMixinWithClauseHandle(this); @@ -6410,33 +5447,32 @@ class NamedMixinApplicationBegin extends ParserAstNode { final Token? mixinToken; final Token name; - NamedMixinApplicationBegin( - ParserAstType type, { - required this.beginToken, - this.abstractToken, - this.macroToken, - this.sealedToken, - this.baseToken, - this.interfaceToken, - this.finalToken, - this.augmentToken, - this.mixinToken, - required this.name, - }) : super("NamedMixinApplication", type); + NamedMixinApplicationBegin(ParserAstType type, + {required this.beginToken, + this.abstractToken, + this.macroToken, + this.sealedToken, + this.baseToken, + this.interfaceToken, + this.finalToken, + this.augmentToken, + this.mixinToken, + required this.name}) + : super("NamedMixinApplication", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "abstractToken": abstractToken, - "macroToken": macroToken, - "sealedToken": sealedToken, - "baseToken": baseToken, - "interfaceToken": interfaceToken, - "finalToken": finalToken, - "augmentToken": augmentToken, - "mixinToken": mixinToken, - "name": name, - }; + "beginToken": beginToken, + "abstractToken": abstractToken, + "macroToken": macroToken, + "sealedToken": sealedToken, + "baseToken": baseToken, + "interfaceToken": interfaceToken, + "finalToken": finalToken, + "augmentToken": augmentToken, + "mixinToken": mixinToken, + "name": name, + }; @override R accept(ParserAstVisitor v) => v.visitNamedMixinApplicationBegin(this); @@ -6445,13 +5481,14 @@ class NamedMixinApplicationBegin extends ParserAstNode { class NamedMixinApplicationWithClauseHandle extends ParserAstNode { final Token withKeyword; - NamedMixinApplicationWithClauseHandle( - ParserAstType type, { - required this.withKeyword, - }) : super("NamedMixinApplicationWithClause", type); + NamedMixinApplicationWithClauseHandle(ParserAstType type, + {required this.withKeyword}) + : super("NamedMixinApplicationWithClause", type); @override - Map get deprecatedArguments => {"withKeyword": withKeyword}; + Map get deprecatedArguments => { + "withKeyword": withKeyword, + }; @override R accept(ParserAstVisitor v) => @@ -6465,23 +5502,22 @@ class NamedMixinApplicationEnd extends ParserAstNode { final Token? implementsKeyword; final Token endToken; - NamedMixinApplicationEnd( - ParserAstType type, { - required this.begin, - required this.classKeyword, - required this.equals, - this.implementsKeyword, - required this.endToken, - }) : super("NamedMixinApplication", type); + NamedMixinApplicationEnd(ParserAstType type, + {required this.begin, + required this.classKeyword, + required this.equals, + this.implementsKeyword, + required this.endToken}) + : super("NamedMixinApplication", type); @override Map get deprecatedArguments => { - "begin": begin, - "classKeyword": classKeyword, - "equals": equals, - "implementsKeyword": implementsKeyword, - "endToken": endToken, - }; + "begin": begin, + "classKeyword": classKeyword, + "equals": equals, + "implementsKeyword": implementsKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitNamedMixinApplicationEnd(this); @@ -6491,10 +5527,12 @@ class HideBegin extends ParserAstNode { final Token hideKeyword; HideBegin(ParserAstType type, {required this.hideKeyword}) - : super("Hide", type); + : super("Hide", type); @override - Map get deprecatedArguments => {"hideKeyword": hideKeyword}; + Map get deprecatedArguments => { + "hideKeyword": hideKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitHideBegin(this); @@ -6504,10 +5542,12 @@ class HideEnd extends ParserAstNode { final Token hideKeyword; HideEnd(ParserAstType type, {required this.hideKeyword}) - : super("Hide", type); + : super("Hide", type); @override - Map get deprecatedArguments => {"hideKeyword": hideKeyword}; + Map get deprecatedArguments => { + "hideKeyword": hideKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitHideEnd(this); @@ -6517,10 +5557,12 @@ class IdentifierListHandle extends ParserAstNode { final int count; IdentifierListHandle(ParserAstType type, {required this.count}) - : super("IdentifierList", type); + : super("IdentifierList", type); @override - Map get deprecatedArguments => {"count": count}; + Map get deprecatedArguments => { + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitIdentifierListHandle(this); @@ -6530,10 +5572,12 @@ class TypeListBegin extends ParserAstNode { final Token token; TypeListBegin(ParserAstType type, {required this.token}) - : super("TypeList", type); + : super("TypeList", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTypeListBegin(this); @@ -6543,10 +5587,12 @@ class TypeListEnd extends ParserAstNode { final int count; TypeListEnd(ParserAstType type, {required this.count}) - : super("TypeList", type); + : super("TypeList", type); @override - Map get deprecatedArguments => {"count": count}; + Map get deprecatedArguments => { + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitTypeListEnd(this); @@ -6556,10 +5602,12 @@ class IfStatementBegin extends ParserAstNode { final Token token; IfStatementBegin(ParserAstType type, {required this.token}) - : super("IfStatement", type); + : super("IfStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitIfStatementBegin(this); @@ -6570,19 +5618,16 @@ class IfStatementEnd extends ParserAstNode { final Token? elseToken; final Token endToken; - IfStatementEnd( - ParserAstType type, { - required this.ifToken, - this.elseToken, - required this.endToken, - }) : super("IfStatement", type); + IfStatementEnd(ParserAstType type, + {required this.ifToken, this.elseToken, required this.endToken}) + : super("IfStatement", type); @override Map get deprecatedArguments => { - "ifToken": ifToken, - "elseToken": elseToken, - "endToken": endToken, - }; + "ifToken": ifToken, + "elseToken": elseToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitIfStatementEnd(this); @@ -6592,10 +5637,12 @@ class ThenStatementBegin extends ParserAstNode { final Token token; ThenStatementBegin(ParserAstType type, {required this.token}) - : super("ThenStatement", type); + : super("ThenStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitThenStatementBegin(this); @@ -6608,17 +5655,15 @@ class ThenStatementEnd extends ParserAstNode @override final Token endToken; - ThenStatementEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("ThenStatement", type); + ThenStatementEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("ThenStatement", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitThenStatementEnd(this); @@ -6628,10 +5673,12 @@ class ElseStatementBegin extends ParserAstNode { final Token token; ElseStatementBegin(ParserAstType type, {required this.token}) - : super("ElseStatement", type); + : super("ElseStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitElseStatementBegin(this); @@ -6644,17 +5691,15 @@ class ElseStatementEnd extends ParserAstNode @override final Token endToken; - ElseStatementEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("ElseStatement", type); + ElseStatementEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("ElseStatement", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitElseStatementEnd(this); @@ -6664,12 +5709,12 @@ class ImportBegin extends ParserAstNode { final Token importKeyword; ImportBegin(ParserAstType type, {required this.importKeyword}) - : super("Import", type); + : super("Import", type); @override Map get deprecatedArguments => { - "importKeyword": importKeyword, - }; + "importKeyword": importKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitImportBegin(this); @@ -6680,13 +5725,13 @@ class ImportPrefixHandle extends ParserAstNode { final Token? asKeyword; ImportPrefixHandle(ParserAstType type, {this.deferredKeyword, this.asKeyword}) - : super("ImportPrefix", type); + : super("ImportPrefix", type); @override Map get deprecatedArguments => { - "deferredKeyword": deferredKeyword, - "asKeyword": asKeyword, - }; + "deferredKeyword": deferredKeyword, + "asKeyword": asKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitImportPrefixHandle(this); @@ -6697,19 +5742,16 @@ class ImportEnd extends ParserAstNode { final Token? augmentToken; final Token? semicolon; - ImportEnd( - ParserAstType type, { - required this.importKeyword, - this.augmentToken, - this.semicolon, - }) : super("Import", type); + ImportEnd(ParserAstType type, + {required this.importKeyword, this.augmentToken, this.semicolon}) + : super("Import", type); @override Map get deprecatedArguments => { - "importKeyword": importKeyword, - "augmentToken": augmentToken, - "semicolon": semicolon, - }; + "importKeyword": importKeyword, + "augmentToken": augmentToken, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitImportEnd(this); @@ -6719,10 +5761,12 @@ class RecoverImportHandle extends ParserAstNode { final Token? semicolon; RecoverImportHandle(ParserAstType type, {this.semicolon}) - : super("RecoverImport", type); + : super("RecoverImport", type); @override - Map get deprecatedArguments => {"semicolon": semicolon}; + Map get deprecatedArguments => { + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitRecoverImportHandle(this); @@ -6732,10 +5776,12 @@ class ConditionalUrisBegin extends ParserAstNode { final Token token; ConditionalUrisBegin(ParserAstType type, {required this.token}) - : super("ConditionalUris", type); + : super("ConditionalUris", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalUrisBegin(this); @@ -6745,10 +5791,12 @@ class ConditionalUrisEnd extends ParserAstNode { final int count; ConditionalUrisEnd(ParserAstType type, {required this.count}) - : super("ConditionalUris", type); + : super("ConditionalUris", type); @override - Map get deprecatedArguments => {"count": count}; + Map get deprecatedArguments => { + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalUrisEnd(this); @@ -6758,10 +5806,12 @@ class ConditionalUriBegin extends ParserAstNode { final Token ifKeyword; ConditionalUriBegin(ParserAstType type, {required this.ifKeyword}) - : super("ConditionalUri", type); + : super("ConditionalUri", type); @override - Map get deprecatedArguments => {"ifKeyword": ifKeyword}; + Map get deprecatedArguments => { + "ifKeyword": ifKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalUriBegin(this); @@ -6772,19 +5822,16 @@ class ConditionalUriEnd extends ParserAstNode { final Token leftParen; final Token? equalSign; - ConditionalUriEnd( - ParserAstType type, { - required this.ifKeyword, - required this.leftParen, - this.equalSign, - }) : super("ConditionalUri", type); + ConditionalUriEnd(ParserAstType type, + {required this.ifKeyword, required this.leftParen, this.equalSign}) + : super("ConditionalUri", type); @override Map get deprecatedArguments => { - "ifKeyword": ifKeyword, - "leftParen": leftParen, - "equalSign": equalSign, - }; + "ifKeyword": ifKeyword, + "leftParen": leftParen, + "equalSign": equalSign, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalUriEnd(this); @@ -6794,17 +5841,15 @@ class DottedNameHandle extends ParserAstNode { final int count; final Token firstIdentifier; - DottedNameHandle( - ParserAstType type, { - required this.count, - required this.firstIdentifier, - }) : super("DottedName", type); + DottedNameHandle(ParserAstType type, + {required this.count, required this.firstIdentifier}) + : super("DottedName", type); @override Map get deprecatedArguments => { - "count": count, - "firstIdentifier": firstIdentifier, - }; + "count": count, + "firstIdentifier": firstIdentifier, + }; @override R accept(ParserAstVisitor v) => v.visitDottedNameHandle(this); @@ -6814,10 +5859,12 @@ class ImplicitCreationExpressionBegin extends ParserAstNode { final Token token; ImplicitCreationExpressionBegin(ParserAstType type, {required this.token}) - : super("ImplicitCreationExpression", type); + : super("ImplicitCreationExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -6828,17 +5875,15 @@ class ImplicitCreationExpressionEnd extends ParserAstNode { final Token token; final Token openAngleBracket; - ImplicitCreationExpressionEnd( - ParserAstType type, { - required this.token, - required this.openAngleBracket, - }) : super("ImplicitCreationExpression", type); + ImplicitCreationExpressionEnd(ParserAstType type, + {required this.token, required this.openAngleBracket}) + : super("ImplicitCreationExpression", type); @override Map get deprecatedArguments => { - "token": token, - "openAngleBracket": openAngleBracket, - }; + "token": token, + "openAngleBracket": openAngleBracket, + }; @override R accept(ParserAstVisitor v) => @@ -6849,10 +5894,12 @@ class InitializedIdentifierBegin extends ParserAstNode { final Token token; InitializedIdentifierBegin(ParserAstType type, {required this.token}) - : super("InitializedIdentifier", type); + : super("InitializedIdentifier", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInitializedIdentifierBegin(this); @@ -6862,10 +5909,12 @@ class InitializedIdentifierEnd extends ParserAstNode { final Token nameToken; InitializedIdentifierEnd(ParserAstType type, {required this.nameToken}) - : super("InitializedIdentifier", type); + : super("InitializedIdentifier", type); @override - Map get deprecatedArguments => {"nameToken": nameToken}; + Map get deprecatedArguments => { + "nameToken": nameToken, + }; @override R accept(ParserAstVisitor v) => v.visitInitializedIdentifierEnd(this); @@ -6875,10 +5924,12 @@ class FieldInitializerBegin extends ParserAstNode { final Token token; FieldInitializerBegin(ParserAstType type, {required this.token}) - : super("FieldInitializer", type); + : super("FieldInitializer", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitFieldInitializerBegin(this); @@ -6888,17 +5939,15 @@ class FieldInitializerEnd extends ParserAstNode { final Token assignment; final Token endToken; - FieldInitializerEnd( - ParserAstType type, { - required this.assignment, - required this.endToken, - }) : super("FieldInitializer", type); + FieldInitializerEnd(ParserAstType type, + {required this.assignment, required this.endToken}) + : super("FieldInitializer", type); @override Map get deprecatedArguments => { - "assignment": assignment, - "endToken": endToken, - }; + "assignment": assignment, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitFieldInitializerEnd(this); @@ -6908,10 +5957,12 @@ class NoFieldInitializerHandle extends ParserAstNode { final Token token; NoFieldInitializerHandle(ParserAstType type, {required this.token}) - : super("NoFieldInitializer", type); + : super("NoFieldInitializer", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoFieldInitializerHandle(this); @@ -6921,10 +5972,12 @@ class VariableInitializerBegin extends ParserAstNode { final Token token; VariableInitializerBegin(ParserAstType type, {required this.token}) - : super("VariableInitializer", type); + : super("VariableInitializer", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitVariableInitializerBegin(this); @@ -6934,12 +5987,12 @@ class VariableInitializerEnd extends ParserAstNode { final Token assignmentOperator; VariableInitializerEnd(ParserAstType type, {required this.assignmentOperator}) - : super("VariableInitializer", type); + : super("VariableInitializer", type); @override Map get deprecatedArguments => { - "assignmentOperator": assignmentOperator, - }; + "assignmentOperator": assignmentOperator, + }; @override R accept(ParserAstVisitor v) => v.visitVariableInitializerEnd(this); @@ -6949,10 +6002,12 @@ class NoVariableInitializerHandle extends ParserAstNode { final Token token; NoVariableInitializerHandle(ParserAstType type, {required this.token}) - : super("NoVariableInitializer", type); + : super("NoVariableInitializer", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -6963,10 +6018,12 @@ class InitializerBegin extends ParserAstNode { final Token token; InitializerBegin(ParserAstType type, {required this.token}) - : super("Initializer", type); + : super("Initializer", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInitializerBegin(this); @@ -6976,10 +6033,12 @@ class InitializerEnd extends ParserAstNode { final Token endToken; InitializerEnd(ParserAstType type, {required this.endToken}) - : super("Initializer", type); + : super("Initializer", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitInitializerEnd(this); @@ -6989,10 +6048,12 @@ class InitializersBegin extends ParserAstNode { final Token token; InitializersBegin(ParserAstType type, {required this.token}) - : super("Initializers", type); + : super("Initializers", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInitializersBegin(this); @@ -7006,19 +6067,16 @@ class InitializersEnd extends ParserAstNode @override final Token endToken; - InitializersEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - }) : super("Initializers", type); + InitializersEnd(ParserAstType type, + {required this.count, required this.beginToken, required this.endToken}) + : super("Initializers", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitInitializersEnd(this); @@ -7038,10 +6096,12 @@ class InvalidExpressionHandle extends ParserAstNode { final Token token; InvalidExpressionHandle(ParserAstType type, {required this.token}) - : super("InvalidExpression", type); + : super("InvalidExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidExpressionHandle(this); @@ -7051,10 +6111,12 @@ class InvalidFunctionBodyHandle extends ParserAstNode { final Token token; InvalidFunctionBodyHandle(ParserAstType type, {required this.token}) - : super("InvalidFunctionBody", type); + : super("InvalidFunctionBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidFunctionBodyHandle(this); @@ -7064,10 +6126,12 @@ class InvalidTypeReferenceHandle extends ParserAstNode { final Token token; InvalidTypeReferenceHandle(ParserAstType type, {required this.token}) - : super("InvalidTypeReference", type); + : super("InvalidTypeReference", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidTypeReferenceHandle(this); @@ -7079,7 +6143,9 @@ class LabelHandle extends ParserAstNode { LabelHandle(ParserAstType type, {required this.token}) : super("Label", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLabelHandle(this); @@ -7089,17 +6155,15 @@ class LabeledStatementBegin extends ParserAstNode { final Token token; final int labelCount; - LabeledStatementBegin( - ParserAstType type, { - required this.token, - required this.labelCount, - }) : super("LabeledStatement", type); + LabeledStatementBegin(ParserAstType type, + {required this.token, required this.labelCount}) + : super("LabeledStatement", type); @override Map get deprecatedArguments => { - "token": token, - "labelCount": labelCount, - }; + "token": token, + "labelCount": labelCount, + }; @override R accept(ParserAstVisitor v) => v.visitLabeledStatementBegin(this); @@ -7109,10 +6173,12 @@ class LabeledStatementEnd extends ParserAstNode { final int labelCount; LabeledStatementEnd(ParserAstType type, {required this.labelCount}) - : super("LabeledStatement", type); + : super("LabeledStatement", type); @override - Map get deprecatedArguments => {"labelCount": labelCount}; + Map get deprecatedArguments => { + "labelCount": labelCount, + }; @override R accept(ParserAstVisitor v) => v.visitLabeledStatementEnd(this); @@ -7122,17 +6188,15 @@ class LibraryAugmentationBegin extends ParserAstNode { final Token augmentKeyword; final Token libraryKeyword; - LibraryAugmentationBegin( - ParserAstType type, { - required this.augmentKeyword, - required this.libraryKeyword, - }) : super("LibraryAugmentation", type); + LibraryAugmentationBegin(ParserAstType type, + {required this.augmentKeyword, required this.libraryKeyword}) + : super("LibraryAugmentation", type); @override Map get deprecatedArguments => { - "augmentKeyword": augmentKeyword, - "libraryKeyword": libraryKeyword, - }; + "augmentKeyword": augmentKeyword, + "libraryKeyword": libraryKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitLibraryAugmentationBegin(this); @@ -7143,19 +6207,18 @@ class LibraryAugmentationEnd extends ParserAstNode { final Token libraryKeyword; final Token semicolon; - LibraryAugmentationEnd( - ParserAstType type, { - required this.augmentKeyword, - required this.libraryKeyword, - required this.semicolon, - }) : super("LibraryAugmentation", type); + LibraryAugmentationEnd(ParserAstType type, + {required this.augmentKeyword, + required this.libraryKeyword, + required this.semicolon}) + : super("LibraryAugmentation", type); @override Map get deprecatedArguments => { - "augmentKeyword": augmentKeyword, - "libraryKeyword": libraryKeyword, - "semicolon": semicolon, - }; + "augmentKeyword": augmentKeyword, + "libraryKeyword": libraryKeyword, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitLibraryAugmentationEnd(this); @@ -7165,10 +6228,12 @@ class LibraryNameBegin extends ParserAstNode { final Token token; LibraryNameBegin(ParserAstType type, {required this.token}) - : super("LibraryName", type); + : super("LibraryName", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLibraryNameBegin(this); @@ -7179,19 +6244,18 @@ class LibraryNameEnd extends ParserAstNode { final Token semicolon; final bool hasName; - LibraryNameEnd( - ParserAstType type, { - required this.libraryKeyword, - required this.semicolon, - required this.hasName, - }) : super("LibraryName", type); + LibraryNameEnd(ParserAstType type, + {required this.libraryKeyword, + required this.semicolon, + required this.hasName}) + : super("LibraryName", type); @override Map get deprecatedArguments => { - "libraryKeyword": libraryKeyword, - "semicolon": semicolon, - "hasName": hasName, - }; + "libraryKeyword": libraryKeyword, + "semicolon": semicolon, + "hasName": hasName, + }; @override R accept(ParserAstVisitor v) => v.visitLibraryNameEnd(this); @@ -7203,21 +6267,20 @@ class LiteralMapEntryHandle extends ParserAstNode { final Token? nullAwareKeyToken; final Token? nullAwareValueToken; - LiteralMapEntryHandle( - ParserAstType type, { - required this.colon, - required this.endToken, - this.nullAwareKeyToken, - this.nullAwareValueToken, - }) : super("LiteralMapEntry", type); + LiteralMapEntryHandle(ParserAstType type, + {required this.colon, + required this.endToken, + this.nullAwareKeyToken, + this.nullAwareValueToken}) + : super("LiteralMapEntry", type); @override Map get deprecatedArguments => { - "colon": colon, - "endToken": endToken, - "nullAwareKeyToken": nullAwareKeyToken, - "nullAwareValueToken": nullAwareValueToken, - }; + "colon": colon, + "endToken": endToken, + "nullAwareKeyToken": nullAwareKeyToken, + "nullAwareValueToken": nullAwareValueToken, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralMapEntryHandle(this); @@ -7227,17 +6290,15 @@ class MapPatternEntryHandle extends ParserAstNode { final Token colon; final Token endToken; - MapPatternEntryHandle( - ParserAstType type, { - required this.colon, - required this.endToken, - }) : super("MapPatternEntry", type); + MapPatternEntryHandle(ParserAstType type, + {required this.colon, required this.endToken}) + : super("MapPatternEntry", type); @override Map get deprecatedArguments => { - "colon": colon, - "endToken": endToken, - }; + "colon": colon, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMapPatternEntryHandle(this); @@ -7247,10 +6308,12 @@ class LiteralStringBegin extends ParserAstNode { final Token token; LiteralStringBegin(ParserAstType type, {required this.token}) - : super("LiteralString", type); + : super("LiteralString", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralStringBegin(this); @@ -7260,17 +6323,15 @@ class InterpolationExpressionHandle extends ParserAstNode { final Token leftBracket; final Token? rightBracket; - InterpolationExpressionHandle( - ParserAstType type, { - required this.leftBracket, - this.rightBracket, - }) : super("InterpolationExpression", type); + InterpolationExpressionHandle(ParserAstType type, + {required this.leftBracket, this.rightBracket}) + : super("InterpolationExpression", type); @override Map get deprecatedArguments => { - "leftBracket": leftBracket, - "rightBracket": rightBracket, - }; + "leftBracket": leftBracket, + "rightBracket": rightBracket, + }; @override R accept(ParserAstVisitor v) => @@ -7281,17 +6342,15 @@ class LiteralStringEnd extends ParserAstNode { final int interpolationCount; final Token endToken; - LiteralStringEnd( - ParserAstType type, { - required this.interpolationCount, - required this.endToken, - }) : super("LiteralString", type); + LiteralStringEnd(ParserAstType type, + {required this.interpolationCount, required this.endToken}) + : super("LiteralString", type); @override Map get deprecatedArguments => { - "interpolationCount": interpolationCount, - "endToken": endToken, - }; + "interpolationCount": interpolationCount, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralStringEnd(this); @@ -7301,17 +6360,15 @@ class AdjacentStringLiteralsHandle extends ParserAstNode { final Token startToken; final int literalCount; - AdjacentStringLiteralsHandle( - ParserAstType type, { - required this.startToken, - required this.literalCount, - }) : super("AdjacentStringLiterals", type); + AdjacentStringLiteralsHandle(ParserAstType type, + {required this.startToken, required this.literalCount}) + : super("AdjacentStringLiterals", type); @override Map get deprecatedArguments => { - "startToken": startToken, - "literalCount": literalCount, - }; + "startToken": startToken, + "literalCount": literalCount, + }; @override R accept(ParserAstVisitor v) => @@ -7332,10 +6389,12 @@ class InvalidMemberHandle extends ParserAstNode { final Token endToken; InvalidMemberHandle(ParserAstType type, {required this.endToken}) - : super("InvalidMember", type); + : super("InvalidMember", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidMemberHandle(this); @@ -7362,31 +6421,30 @@ class MethodBegin extends ParserAstNode { final Token name; final String? enclosingDeclarationName; - MethodBegin( - ParserAstType type, { - required this.declarationKind, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.varFinalOrConst, - this.getOrSet, - required this.name, - this.enclosingDeclarationName, - }) : super("Method", type); + MethodBegin(ParserAstType type, + {required this.declarationKind, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.varFinalOrConst, + this.getOrSet, + required this.name, + this.enclosingDeclarationName}) + : super("Method", type); @override Map get deprecatedArguments => { - "declarationKind": declarationKind, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "varFinalOrConst": varFinalOrConst, - "getOrSet": getOrSet, - "name": name, - "enclosingDeclarationName": enclosingDeclarationName, - }; + "declarationKind": declarationKind, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "varFinalOrConst": varFinalOrConst, + "getOrSet": getOrSet, + "name": name, + "enclosingDeclarationName": enclosingDeclarationName, + }; @override R accept(ParserAstVisitor v) => v.visitMethodBegin(this); @@ -7402,23 +6460,22 @@ class ClassMethodEnd extends ParserAstNode @override final Token endToken; - ClassMethodEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ClassMethod", type); + ClassMethodEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ClassMethod", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassMethodEnd(this); @@ -7434,23 +6491,22 @@ class MixinMethodEnd extends ParserAstNode @override final Token endToken; - MixinMethodEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("MixinMethod", type); + MixinMethodEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("MixinMethod", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMixinMethodEnd(this); @@ -7466,23 +6522,22 @@ class ExtensionMethodEnd extends ParserAstNode @override final Token endToken; - ExtensionMethodEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ExtensionMethod", type); + ExtensionMethodEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ExtensionMethod", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionMethodEnd(this); @@ -7498,23 +6553,22 @@ class ExtensionTypeMethodEnd extends ParserAstNode @override final Token endToken; - ExtensionTypeMethodEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ExtensionTypeMethod", type); + ExtensionTypeMethodEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ExtensionTypeMethod", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionTypeMethodEnd(this); @@ -7530,23 +6584,22 @@ class ClassConstructorEnd extends ParserAstNode @override final Token endToken; - ClassConstructorEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ClassConstructor", type); + ClassConstructorEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ClassConstructor", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitClassConstructorEnd(this); @@ -7562,23 +6615,22 @@ class MixinConstructorEnd extends ParserAstNode @override final Token endToken; - MixinConstructorEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("MixinConstructor", type); + MixinConstructorEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("MixinConstructor", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMixinConstructorEnd(this); @@ -7594,23 +6646,22 @@ class ExtensionConstructorEnd extends ParserAstNode @override final Token endToken; - ExtensionConstructorEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ExtensionConstructor", type); + ExtensionConstructorEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ExtensionConstructor", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExtensionConstructorEnd(this); @@ -7626,23 +6677,22 @@ class ExtensionTypeConstructorEnd extends ParserAstNode @override final Token endToken; - ExtensionTypeConstructorEnd( - ParserAstType type, { - this.getOrSet, - required this.beginToken, - required this.beginParam, - this.beginInitializers, - required this.endToken, - }) : super("ExtensionTypeConstructor", type); + ExtensionTypeConstructorEnd(ParserAstType type, + {this.getOrSet, + required this.beginToken, + required this.beginParam, + this.beginInitializers, + required this.endToken}) + : super("ExtensionTypeConstructor", type); @override Map get deprecatedArguments => { - "getOrSet": getOrSet, - "beginToken": beginToken, - "beginParam": beginParam, - "beginInitializers": beginInitializers, - "endToken": endToken, - }; + "getOrSet": getOrSet, + "beginToken": beginToken, + "beginParam": beginParam, + "beginInitializers": beginInitializers, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -7653,10 +6703,12 @@ class MetadataStarBegin extends ParserAstNode { final Token token; MetadataStarBegin(ParserAstType type, {required this.token}) - : super("MetadataStar", type); + : super("MetadataStar", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitMetadataStarBegin(this); @@ -7666,10 +6718,12 @@ class MetadataStarEnd extends ParserAstNode { final int count; MetadataStarEnd(ParserAstType type, {required this.count}) - : super("MetadataStar", type); + : super("MetadataStar", type); @override - Map get deprecatedArguments => {"count": count}; + Map get deprecatedArguments => { + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitMetadataStarEnd(this); @@ -7679,10 +6733,12 @@ class MetadataBegin extends ParserAstNode { final Token token; MetadataBegin(ParserAstType type, {required this.token}) - : super("Metadata", type); + : super("Metadata", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitMetadataBegin(this); @@ -7696,19 +6752,16 @@ class MetadataEnd extends ParserAstNode @override final Token endToken; - MetadataEnd( - ParserAstType type, { - required this.beginToken, - this.periodBeforeName, - required this.endToken, - }) : super("Metadata", type); + MetadataEnd(ParserAstType type, + {required this.beginToken, this.periodBeforeName, required this.endToken}) + : super("Metadata", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "periodBeforeName": periodBeforeName, - "endToken": endToken, - }; + "beginToken": beginToken, + "periodBeforeName": periodBeforeName, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitMetadataEnd(this); @@ -7718,10 +6771,12 @@ class OptionalFormalParametersBegin extends ParserAstNode { final Token token; OptionalFormalParametersBegin(ParserAstType type, {required this.token}) - : super("OptionalFormalParameters", type); + : super("OptionalFormalParameters", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -7737,21 +6792,20 @@ class OptionalFormalParametersEnd extends ParserAstNode final Token endToken; final MemberKind kind; - OptionalFormalParametersEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - required this.kind, - }) : super("OptionalFormalParameters", type); + OptionalFormalParametersEnd(ParserAstType type, + {required this.count, + required this.beginToken, + required this.endToken, + required this.kind}) + : super("OptionalFormalParameters", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - "kind": kind, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => @@ -7764,7 +6818,9 @@ class PartBegin extends ParserAstNode { PartBegin(ParserAstType type, {required this.token}) : super("Part", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitPartBegin(this); @@ -7774,17 +6830,15 @@ class PartEnd extends ParserAstNode { final Token partKeyword; final Token semicolon; - PartEnd( - ParserAstType type, { - required this.partKeyword, - required this.semicolon, - }) : super("Part", type); + PartEnd(ParserAstType type, + {required this.partKeyword, required this.semicolon}) + : super("Part", type); @override Map get deprecatedArguments => { - "partKeyword": partKeyword, - "semicolon": semicolon, - }; + "partKeyword": partKeyword, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitPartEnd(this); @@ -7794,10 +6848,12 @@ class PartOfBegin extends ParserAstNode { final Token token; PartOfBegin(ParserAstType type, {required this.token}) - : super("PartOf", type); + : super("PartOf", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitPartOfBegin(this); @@ -7809,21 +6865,20 @@ class PartOfEnd extends ParserAstNode { final Token semicolon; final bool hasName; - PartOfEnd( - ParserAstType type, { - required this.partKeyword, - required this.ofKeyword, - required this.semicolon, - required this.hasName, - }) : super("PartOf", type); + PartOfEnd(ParserAstType type, + {required this.partKeyword, + required this.ofKeyword, + required this.semicolon, + required this.hasName}) + : super("PartOf", type); @override Map get deprecatedArguments => { - "partKeyword": partKeyword, - "ofKeyword": ofKeyword, - "semicolon": semicolon, - "hasName": hasName, - }; + "partKeyword": partKeyword, + "ofKeyword": ofKeyword, + "semicolon": semicolon, + "hasName": hasName, + }; @override R accept(ParserAstVisitor v) => v.visitPartOfEnd(this); @@ -7833,10 +6888,12 @@ class RedirectingFactoryBodyBegin extends ParserAstNode { final Token token; RedirectingFactoryBodyBegin(ParserAstType type, {required this.token}) - : super("RedirectingFactoryBody", type); + : super("RedirectingFactoryBody", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -7850,17 +6907,15 @@ class RedirectingFactoryBodyEnd extends ParserAstNode @override final Token endToken; - RedirectingFactoryBodyEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("RedirectingFactoryBody", type); + RedirectingFactoryBodyEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("RedirectingFactoryBody", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitRedirectingFactoryBodyEnd(this); @@ -7870,10 +6925,12 @@ class ReturnStatementBegin extends ParserAstNode { final Token token; ReturnStatementBegin(ParserAstType type, {required this.token}) - : super("ReturnStatement", type); + : super("ReturnStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitReturnStatementBegin(this); @@ -7883,17 +6940,15 @@ class NativeFunctionBodyHandle extends ParserAstNode { final Token nativeToken; final Token semicolon; - NativeFunctionBodyHandle( - ParserAstType type, { - required this.nativeToken, - required this.semicolon, - }) : super("NativeFunctionBody", type); + NativeFunctionBodyHandle(ParserAstType type, + {required this.nativeToken, required this.semicolon}) + : super("NativeFunctionBody", type); @override Map get deprecatedArguments => { - "nativeToken": nativeToken, - "semicolon": semicolon, - }; + "nativeToken": nativeToken, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitNativeFunctionBodyHandle(this); @@ -7903,17 +6958,15 @@ class NativeFunctionBodyIgnoredHandle extends ParserAstNode { final Token nativeToken; final Token semicolon; - NativeFunctionBodyIgnoredHandle( - ParserAstType type, { - required this.nativeToken, - required this.semicolon, - }) : super("NativeFunctionBodyIgnored", type); + NativeFunctionBodyIgnoredHandle(ParserAstType type, + {required this.nativeToken, required this.semicolon}) + : super("NativeFunctionBodyIgnored", type); @override Map get deprecatedArguments => { - "nativeToken": nativeToken, - "semicolon": semicolon, - }; + "nativeToken": nativeToken, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => @@ -7924,17 +6977,15 @@ class NativeFunctionBodySkippedHandle extends ParserAstNode { final Token nativeToken; final Token semicolon; - NativeFunctionBodySkippedHandle( - ParserAstType type, { - required this.nativeToken, - required this.semicolon, - }) : super("NativeFunctionBodySkipped", type); + NativeFunctionBodySkippedHandle(ParserAstType type, + {required this.nativeToken, required this.semicolon}) + : super("NativeFunctionBodySkipped", type); @override Map get deprecatedArguments => { - "nativeToken": nativeToken, - "semicolon": semicolon, - }; + "nativeToken": nativeToken, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => @@ -7945,10 +6996,12 @@ class EmptyFunctionBodyHandle extends ParserAstNode { final Token semicolon; EmptyFunctionBodyHandle(ParserAstType type, {required this.semicolon}) - : super("EmptyFunctionBody", type); + : super("EmptyFunctionBody", type); @override - Map get deprecatedArguments => {"semicolon": semicolon}; + Map get deprecatedArguments => { + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => v.visitEmptyFunctionBodyHandle(this); @@ -7958,17 +7011,15 @@ class ExpressionFunctionBodyHandle extends ParserAstNode { final Token arrowToken; final Token? endToken; - ExpressionFunctionBodyHandle( - ParserAstType type, { - required this.arrowToken, - this.endToken, - }) : super("ExpressionFunctionBody", type); + ExpressionFunctionBodyHandle(ParserAstType type, + {required this.arrowToken, this.endToken}) + : super("ExpressionFunctionBody", type); @override Map get deprecatedArguments => { - "arrowToken": arrowToken, - "endToken": endToken, - }; + "arrowToken": arrowToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -7983,19 +7034,18 @@ class ReturnStatementEnd extends ParserAstNode @override final Token endToken; - ReturnStatementEnd( - ParserAstType type, { - required this.hasExpression, - required this.beginToken, - required this.endToken, - }) : super("ReturnStatement", type); + ReturnStatementEnd(ParserAstType type, + {required this.hasExpression, + required this.beginToken, + required this.endToken}) + : super("ReturnStatement", type); @override Map get deprecatedArguments => { - "hasExpression": hasExpression, - "beginToken": beginToken, - "endToken": endToken, - }; + "hasExpression": hasExpression, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitReturnStatementEnd(this); @@ -8008,17 +7058,15 @@ class SendHandle extends ParserAstNode @override final Token endToken; - SendHandle( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("Send", type); + SendHandle(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("Send", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSendHandle(this); @@ -8028,10 +7076,12 @@ class ShowBegin extends ParserAstNode { final Token showKeyword; ShowBegin(ParserAstType type, {required this.showKeyword}) - : super("Show", type); + : super("Show", type); @override - Map get deprecatedArguments => {"showKeyword": showKeyword}; + Map get deprecatedArguments => { + "showKeyword": showKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitShowBegin(this); @@ -8041,10 +7091,12 @@ class ShowEnd extends ParserAstNode { final Token showKeyword; ShowEnd(ParserAstType type, {required this.showKeyword}) - : super("Show", type); + : super("Show", type); @override - Map get deprecatedArguments => {"showKeyword": showKeyword}; + Map get deprecatedArguments => { + "showKeyword": showKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitShowEnd(this); @@ -8054,10 +7106,12 @@ class SwitchStatementBegin extends ParserAstNode { final Token token; SwitchStatementBegin(ParserAstType type, {required this.token}) - : super("SwitchStatement", type); + : super("SwitchStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchStatementBegin(this); @@ -8067,17 +7121,15 @@ class SwitchStatementEnd extends ParserAstNode { final Token switchKeyword; final Token endToken; - SwitchStatementEnd( - ParserAstType type, { - required this.switchKeyword, - required this.endToken, - }) : super("SwitchStatement", type); + SwitchStatementEnd(ParserAstType type, + {required this.switchKeyword, required this.endToken}) + : super("SwitchStatement", type); @override Map get deprecatedArguments => { - "switchKeyword": switchKeyword, - "endToken": endToken, - }; + "switchKeyword": switchKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchStatementEnd(this); @@ -8087,10 +7139,12 @@ class SwitchExpressionBegin extends ParserAstNode { final Token token; SwitchExpressionBegin(ParserAstType type, {required this.token}) - : super("SwitchExpression", type); + : super("SwitchExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchExpressionBegin(this); @@ -8100,17 +7154,15 @@ class SwitchExpressionEnd extends ParserAstNode { final Token switchKeyword; final Token endToken; - SwitchExpressionEnd( - ParserAstType type, { - required this.switchKeyword, - required this.endToken, - }) : super("SwitchExpression", type); + SwitchExpressionEnd(ParserAstType type, + {required this.switchKeyword, required this.endToken}) + : super("SwitchExpression", type); @override Map get deprecatedArguments => { - "switchKeyword": switchKeyword, - "endToken": endToken, - }; + "switchKeyword": switchKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchExpressionEnd(this); @@ -8120,10 +7172,12 @@ class SwitchBlockBegin extends ParserAstNode { final Token token; SwitchBlockBegin(ParserAstType type, {required this.token}) - : super("SwitchBlock", type); + : super("SwitchBlock", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchBlockBegin(this); @@ -8137,19 +7191,18 @@ class SwitchBlockEnd extends ParserAstNode @override final Token endToken; - SwitchBlockEnd( - ParserAstType type, { - required this.caseCount, - required this.beginToken, - required this.endToken, - }) : super("SwitchBlock", type); + SwitchBlockEnd(ParserAstType type, + {required this.caseCount, + required this.beginToken, + required this.endToken}) + : super("SwitchBlock", type); @override Map get deprecatedArguments => { - "caseCount": caseCount, - "beginToken": beginToken, - "endToken": endToken, - }; + "caseCount": caseCount, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchBlockEnd(this); @@ -8159,10 +7212,12 @@ class SwitchExpressionBlockBegin extends ParserAstNode { final Token token; SwitchExpressionBlockBegin(ParserAstType type, {required this.token}) - : super("SwitchExpressionBlock", type); + : super("SwitchExpressionBlock", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchExpressionBlockBegin(this); @@ -8176,19 +7231,18 @@ class SwitchExpressionBlockEnd extends ParserAstNode @override final Token endToken; - SwitchExpressionBlockEnd( - ParserAstType type, { - required this.caseCount, - required this.beginToken, - required this.endToken, - }) : super("SwitchExpressionBlock", type); + SwitchExpressionBlockEnd(ParserAstType type, + {required this.caseCount, + required this.beginToken, + required this.endToken}) + : super("SwitchExpressionBlock", type); @override Map get deprecatedArguments => { - "caseCount": caseCount, - "beginToken": beginToken, - "endToken": endToken, - }; + "caseCount": caseCount, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchExpressionBlockEnd(this); @@ -8198,10 +7252,12 @@ class LiteralSymbolBegin extends ParserAstNode { final Token token; LiteralSymbolBegin(ParserAstType type, {required this.token}) - : super("LiteralSymbol", type); + : super("LiteralSymbol", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralSymbolBegin(this); @@ -8211,17 +7267,15 @@ class LiteralSymbolEnd extends ParserAstNode { final Token hashToken; final int identifierCount; - LiteralSymbolEnd( - ParserAstType type, { - required this.hashToken, - required this.identifierCount, - }) : super("LiteralSymbol", type); + LiteralSymbolEnd(ParserAstType type, + {required this.hashToken, required this.identifierCount}) + : super("LiteralSymbol", type); @override Map get deprecatedArguments => { - "hashToken": hashToken, - "identifierCount": identifierCount, - }; + "hashToken": hashToken, + "identifierCount": identifierCount, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralSymbolEnd(this); @@ -8231,17 +7285,15 @@ class ThrowExpressionHandle extends ParserAstNode { final Token throwToken; final Token endToken; - ThrowExpressionHandle( - ParserAstType type, { - required this.throwToken, - required this.endToken, - }) : super("ThrowExpression", type); + ThrowExpressionHandle(ParserAstType type, + {required this.throwToken, required this.endToken}) + : super("ThrowExpression", type); @override Map get deprecatedArguments => { - "throwToken": throwToken, - "endToken": endToken, - }; + "throwToken": throwToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitThrowExpressionHandle(this); @@ -8251,10 +7303,12 @@ class RethrowStatementBegin extends ParserAstNode { final Token token; RethrowStatementBegin(ParserAstType type, {required this.token}) - : super("RethrowStatement", type); + : super("RethrowStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitRethrowStatementBegin(this); @@ -8264,17 +7318,15 @@ class RethrowStatementEnd extends ParserAstNode { final Token rethrowToken; final Token endToken; - RethrowStatementEnd( - ParserAstType type, { - required this.rethrowToken, - required this.endToken, - }) : super("RethrowStatement", type); + RethrowStatementEnd(ParserAstType type, + {required this.rethrowToken, required this.endToken}) + : super("RethrowStatement", type); @override Map get deprecatedArguments => { - "rethrowToken": rethrowToken, - "endToken": endToken, - }; + "rethrowToken": rethrowToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitRethrowStatementEnd(this); @@ -8284,10 +7336,12 @@ class TopLevelDeclarationEnd extends ParserAstNode { final Token endToken; TopLevelDeclarationEnd(ParserAstType type, {required this.endToken}) - : super("TopLevelDeclaration", type); + : super("TopLevelDeclaration", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTopLevelDeclarationEnd(this); @@ -8297,10 +7351,12 @@ class InvalidTopLevelDeclarationHandle extends ParserAstNode { final Token endToken; InvalidTopLevelDeclarationHandle(ParserAstType type, {required this.endToken}) - : super("InvalidTopLevelDeclaration", type); + : super("InvalidTopLevelDeclaration", type); @override - Map get deprecatedArguments => {"endToken": endToken}; + Map get deprecatedArguments => { + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -8311,10 +7367,12 @@ class TopLevelMemberBegin extends ParserAstNode { final Token token; TopLevelMemberBegin(ParserAstType type, {required this.token}) - : super("TopLevelMember", type); + : super("TopLevelMember", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTopLevelMemberBegin(this); @@ -8331,31 +7389,30 @@ class FieldsBegin extends ParserAstNode { final Token? varFinalOrConst; final Token lastConsumed; - FieldsBegin( - ParserAstType type, { - required this.declarationKind, - this.abstractToken, - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.lastConsumed, - }) : super("Fields", type); + FieldsBegin(ParserAstType type, + {required this.declarationKind, + this.abstractToken, + this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.lastConsumed}) + : super("Fields", type); @override Map get deprecatedArguments => { - "declarationKind": declarationKind, - "abstractToken": abstractToken, - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "lastConsumed": lastConsumed, - }; + "declarationKind": declarationKind, + "abstractToken": abstractToken, + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "lastConsumed": lastConsumed, + }; @override R accept(ParserAstVisitor v) => v.visitFieldsBegin(this); @@ -8375,31 +7432,30 @@ class TopLevelFieldsEnd extends ParserAstNode @override final Token endToken; - TopLevelFieldsEnd( - ParserAstType type, { - this.augmentToken, - this.externalToken, - this.staticToken, - this.covariantToken, - this.lateToken, - this.varFinalOrConst, - required this.count, - required this.beginToken, - required this.endToken, - }) : super("TopLevelFields", type); + TopLevelFieldsEnd(ParserAstType type, + {this.augmentToken, + this.externalToken, + this.staticToken, + this.covariantToken, + this.lateToken, + this.varFinalOrConst, + required this.count, + required this.beginToken, + required this.endToken}) + : super("TopLevelFields", type); @override Map get deprecatedArguments => { - "augmentToken": augmentToken, - "externalToken": externalToken, - "staticToken": staticToken, - "covariantToken": covariantToken, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "augmentToken": augmentToken, + "externalToken": externalToken, + "staticToken": staticToken, + "covariantToken": covariantToken, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTopLevelFieldsEnd(this); @@ -8410,19 +7466,16 @@ class TopLevelMethodBegin extends ParserAstNode { final Token? augmentToken; final Token? externalToken; - TopLevelMethodBegin( - ParserAstType type, { - required this.lastConsumed, - this.augmentToken, - this.externalToken, - }) : super("TopLevelMethod", type); + TopLevelMethodBegin(ParserAstType type, + {required this.lastConsumed, this.augmentToken, this.externalToken}) + : super("TopLevelMethod", type); @override Map get deprecatedArguments => { - "lastConsumed": lastConsumed, - "augmentToken": augmentToken, - "externalToken": externalToken, - }; + "lastConsumed": lastConsumed, + "augmentToken": augmentToken, + "externalToken": externalToken, + }; @override R accept(ParserAstVisitor v) => v.visitTopLevelMethodBegin(this); @@ -8436,19 +7489,16 @@ class TopLevelMethodEnd extends ParserAstNode @override final Token endToken; - TopLevelMethodEnd( - ParserAstType type, { - required this.beginToken, - this.getOrSet, - required this.endToken, - }) : super("TopLevelMethod", type); + TopLevelMethodEnd(ParserAstType type, + {required this.beginToken, this.getOrSet, required this.endToken}) + : super("TopLevelMethod", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "getOrSet": getOrSet, - "endToken": endToken, - }; + "beginToken": beginToken, + "getOrSet": getOrSet, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTopLevelMethodEnd(this); @@ -8458,10 +7508,12 @@ class TryStatementBegin extends ParserAstNode { final Token token; TryStatementBegin(ParserAstType type, {required this.token}) - : super("TryStatement", type); + : super("TryStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTryStatementBegin(this); @@ -8471,10 +7523,12 @@ class CatchClauseBegin extends ParserAstNode { final Token token; CatchClauseBegin(ParserAstType type, {required this.token}) - : super("CatchClause", type); + : super("CatchClause", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCatchClauseBegin(this); @@ -8484,10 +7538,12 @@ class CatchClauseEnd extends ParserAstNode { final Token token; CatchClauseEnd(ParserAstType type, {required this.token}) - : super("CatchClause", type); + : super("CatchClause", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitCatchClauseEnd(this); @@ -8498,19 +7554,16 @@ class CatchBlockHandle extends ParserAstNode { final Token? catchKeyword; final Token? comma; - CatchBlockHandle( - ParserAstType type, { - this.onKeyword, - this.catchKeyword, - this.comma, - }) : super("CatchBlock", type); + CatchBlockHandle(ParserAstType type, + {this.onKeyword, this.catchKeyword, this.comma}) + : super("CatchBlock", type); @override Map get deprecatedArguments => { - "onKeyword": onKeyword, - "catchKeyword": catchKeyword, - "comma": comma, - }; + "onKeyword": onKeyword, + "catchKeyword": catchKeyword, + "comma": comma, + }; @override R accept(ParserAstVisitor v) => v.visitCatchBlockHandle(this); @@ -8520,12 +7573,12 @@ class FinallyBlockHandle extends ParserAstNode { final Token finallyKeyword; FinallyBlockHandle(ParserAstType type, {required this.finallyKeyword}) - : super("FinallyBlock", type); + : super("FinallyBlock", type); @override Map get deprecatedArguments => { - "finallyKeyword": finallyKeyword, - }; + "finallyKeyword": finallyKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitFinallyBlockHandle(this); @@ -8537,21 +7590,20 @@ class TryStatementEnd extends ParserAstNode { final Token? finallyKeyword; final Token endToken; - TryStatementEnd( - ParserAstType type, { - required this.catchCount, - required this.tryKeyword, - this.finallyKeyword, - required this.endToken, - }) : super("TryStatement", type); + TryStatementEnd(ParserAstType type, + {required this.catchCount, + required this.tryKeyword, + this.finallyKeyword, + required this.endToken}) + : super("TryStatement", type); @override Map get deprecatedArguments => { - "catchCount": catchCount, - "tryKeyword": tryKeyword, - "finallyKeyword": finallyKeyword, - "endToken": endToken, - }; + "catchCount": catchCount, + "tryKeyword": tryKeyword, + "finallyKeyword": finallyKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTryStatementEnd(this); @@ -8562,13 +7614,13 @@ class TypeHandle extends ParserAstNode { final Token? questionMark; TypeHandle(ParserAstType type, {required this.beginToken, this.questionMark}) - : super("Type", type); + : super("Type", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "questionMark": questionMark, - }; + "beginToken": beginToken, + "questionMark": questionMark, + }; @override R accept(ParserAstVisitor v) => v.visitTypeHandle(this); @@ -8578,10 +7630,12 @@ class NonNullAssertExpressionHandle extends ParserAstNode { final Token bang; NonNullAssertExpressionHandle(ParserAstType type, {required this.bang}) - : super("NonNullAssertExpression", type); + : super("NonNullAssertExpression", type); @override - Map get deprecatedArguments => {"bang": bang}; + Map get deprecatedArguments => { + "bang": bang, + }; @override R accept(ParserAstVisitor v) => @@ -8592,10 +7646,12 @@ class NullAssertPatternHandle extends ParserAstNode { final Token bang; NullAssertPatternHandle(ParserAstType type, {required this.bang}) - : super("NullAssertPattern", type); + : super("NullAssertPattern", type); @override - Map get deprecatedArguments => {"bang": bang}; + Map get deprecatedArguments => { + "bang": bang, + }; @override R accept(ParserAstVisitor v) => v.visitNullAssertPatternHandle(this); @@ -8605,10 +7661,12 @@ class NullCheckPatternHandle extends ParserAstNode { final Token question; NullCheckPatternHandle(ParserAstType type, {required this.question}) - : super("NullCheckPattern", type); + : super("NullCheckPattern", type); @override - Map get deprecatedArguments => {"question": question}; + Map get deprecatedArguments => { + "question": question, + }; @override R accept(ParserAstVisitor v) => v.visitNullCheckPatternHandle(this); @@ -8618,10 +7676,12 @@ class AssignedVariablePatternHandle extends ParserAstNode { final Token variable; AssignedVariablePatternHandle(ParserAstType type, {required this.variable}) - : super("AssignedVariablePattern", type); + : super("AssignedVariablePattern", type); @override - Map get deprecatedArguments => {"variable": variable}; + Map get deprecatedArguments => { + "variable": variable, + }; @override R accept(ParserAstVisitor v) => @@ -8633,19 +7693,16 @@ class DeclaredVariablePatternHandle extends ParserAstNode { final Token variable; final bool inAssignmentPattern; - DeclaredVariablePatternHandle( - ParserAstType type, { - this.keyword, - required this.variable, - required this.inAssignmentPattern, - }) : super("DeclaredVariablePattern", type); + DeclaredVariablePatternHandle(ParserAstType type, + {this.keyword, required this.variable, required this.inAssignmentPattern}) + : super("DeclaredVariablePattern", type); @override Map get deprecatedArguments => { - "keyword": keyword, - "variable": variable, - "inAssignmentPattern": inAssignmentPattern, - }; + "keyword": keyword, + "variable": variable, + "inAssignmentPattern": inAssignmentPattern, + }; @override R accept(ParserAstVisitor v) => @@ -8656,17 +7713,15 @@ class WildcardPatternHandle extends ParserAstNode { final Token? keyword; final Token wildcard; - WildcardPatternHandle( - ParserAstType type, { - this.keyword, - required this.wildcard, - }) : super("WildcardPattern", type); + WildcardPatternHandle(ParserAstType type, + {this.keyword, required this.wildcard}) + : super("WildcardPattern", type); @override Map get deprecatedArguments => { - "keyword": keyword, - "wildcard": wildcard, - }; + "keyword": keyword, + "wildcard": wildcard, + }; @override R accept(ParserAstVisitor v) => v.visitWildcardPatternHandle(this); @@ -8676,10 +7731,12 @@ class NoNameHandle extends ParserAstNode { final Token token; NoNameHandle(ParserAstType type, {required this.token}) - : super("NoName", type); + : super("NoName", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoNameHandle(this); @@ -8689,10 +7746,12 @@ class RecordTypeBegin extends ParserAstNode { final Token leftBracket; RecordTypeBegin(ParserAstType type, {required this.leftBracket}) - : super("RecordType", type); + : super("RecordType", type); @override - Map get deprecatedArguments => {"leftBracket": leftBracket}; + Map get deprecatedArguments => { + "leftBracket": leftBracket, + }; @override R accept(ParserAstVisitor v) => v.visitRecordTypeBegin(this); @@ -8704,21 +7763,20 @@ class RecordTypeEnd extends ParserAstNode { final int count; final bool hasNamedFields; - RecordTypeEnd( - ParserAstType type, { - required this.leftBracket, - this.questionMark, - required this.count, - required this.hasNamedFields, - }) : super("RecordType", type); + RecordTypeEnd(ParserAstType type, + {required this.leftBracket, + this.questionMark, + required this.count, + required this.hasNamedFields}) + : super("RecordType", type); @override Map get deprecatedArguments => { - "leftBracket": leftBracket, - "questionMark": questionMark, - "count": count, - "hasNamedFields": hasNamedFields, - }; + "leftBracket": leftBracket, + "questionMark": questionMark, + "count": count, + "hasNamedFields": hasNamedFields, + }; @override R accept(ParserAstVisitor v) => v.visitRecordTypeEnd(this); @@ -8748,10 +7806,12 @@ class RecordTypeNamedFieldsBegin extends ParserAstNode { final Token leftBracket; RecordTypeNamedFieldsBegin(ParserAstType type, {required this.leftBracket}) - : super("RecordTypeNamedFields", type); + : super("RecordTypeNamedFields", type); @override - Map get deprecatedArguments => {"leftBracket": leftBracket}; + Map get deprecatedArguments => { + "leftBracket": leftBracket, + }; @override R accept(ParserAstVisitor v) => v.visitRecordTypeNamedFieldsBegin(this); @@ -8761,17 +7821,15 @@ class RecordTypeNamedFieldsEnd extends ParserAstNode { final int count; final Token leftBracket; - RecordTypeNamedFieldsEnd( - ParserAstType type, { - required this.count, - required this.leftBracket, - }) : super("RecordTypeNamedFields", type); + RecordTypeNamedFieldsEnd(ParserAstType type, + {required this.count, required this.leftBracket}) + : super("RecordTypeNamedFields", type); @override Map get deprecatedArguments => { - "count": count, - "leftBracket": leftBracket, - }; + "count": count, + "leftBracket": leftBracket, + }; @override R accept(ParserAstVisitor v) => v.visitRecordTypeNamedFieldsEnd(this); @@ -8781,10 +7839,12 @@ class FunctionTypeBegin extends ParserAstNode { final Token beginToken; FunctionTypeBegin(ParserAstType type, {required this.beginToken}) - : super("FunctionType", type); + : super("FunctionType", type); @override - Map get deprecatedArguments => {"beginToken": beginToken}; + Map get deprecatedArguments => { + "beginToken": beginToken, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionTypeBegin(this); @@ -8794,17 +7854,15 @@ class FunctionTypeEnd extends ParserAstNode { final Token functionToken; final Token? questionMark; - FunctionTypeEnd( - ParserAstType type, { - required this.functionToken, - this.questionMark, - }) : super("FunctionType", type); + FunctionTypeEnd(ParserAstType type, + {required this.functionToken, this.questionMark}) + : super("FunctionType", type); @override Map get deprecatedArguments => { - "functionToken": functionToken, - "questionMark": questionMark, - }; + "functionToken": functionToken, + "questionMark": questionMark, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionTypeEnd(this); @@ -8814,10 +7872,12 @@ class TypeArgumentsBegin extends ParserAstNode { final Token token; TypeArgumentsBegin(ParserAstType type, {required this.token}) - : super("TypeArguments", type); + : super("TypeArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTypeArgumentsBegin(this); @@ -8831,19 +7891,16 @@ class TypeArgumentsEnd extends ParserAstNode @override final Token endToken; - TypeArgumentsEnd( - ParserAstType type, { - required this.count, - required this.beginToken, - required this.endToken, - }) : super("TypeArguments", type); + TypeArgumentsEnd(ParserAstType type, + {required this.count, required this.beginToken, required this.endToken}) + : super("TypeArguments", type); @override Map get deprecatedArguments => { - "count": count, - "beginToken": beginToken, - "endToken": endToken, - }; + "count": count, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTypeArgumentsEnd(this); @@ -8853,10 +7910,12 @@ class InvalidTypeArgumentsHandle extends ParserAstNode { final Token token; InvalidTypeArgumentsHandle(ParserAstType type, {required this.token}) - : super("InvalidTypeArguments", type); + : super("InvalidTypeArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidTypeArgumentsHandle(this); @@ -8866,10 +7925,12 @@ class NoTypeArgumentsHandle extends ParserAstNode { final Token token; NoTypeArgumentsHandle(ParserAstType type, {required this.token}) - : super("NoTypeArguments", type); + : super("NoTypeArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoTypeArgumentsHandle(this); @@ -8879,10 +7940,12 @@ class TypeVariableBegin extends ParserAstNode { final Token token; TypeVariableBegin(ParserAstType type, {required this.token}) - : super("TypeVariable", type); + : super("TypeVariable", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTypeVariableBegin(this); @@ -8892,17 +7955,15 @@ class TypeVariablesDefinedHandle extends ParserAstNode { final Token token; final int count; - TypeVariablesDefinedHandle( - ParserAstType type, { - required this.token, - required this.count, - }) : super("TypeVariablesDefined", type); + TypeVariablesDefinedHandle(ParserAstType type, + {required this.token, required this.count}) + : super("TypeVariablesDefined", type); @override Map get deprecatedArguments => { - "token": token, - "count": count, - }; + "token": token, + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitTypeVariablesDefinedHandle(this); @@ -8914,21 +7975,20 @@ class TypeVariableEnd extends ParserAstNode { final Token? extendsOrSuper; final Token? variance; - TypeVariableEnd( - ParserAstType type, { - required this.token, - required this.index, - this.extendsOrSuper, - this.variance, - }) : super("TypeVariable", type); + TypeVariableEnd(ParserAstType type, + {required this.token, + required this.index, + this.extendsOrSuper, + this.variance}) + : super("TypeVariable", type); @override Map get deprecatedArguments => { - "token": token, - "index": index, - "extendsOrSuper": extendsOrSuper, - "variance": variance, - }; + "token": token, + "index": index, + "extendsOrSuper": extendsOrSuper, + "variance": variance, + }; @override R accept(ParserAstVisitor v) => v.visitTypeVariableEnd(this); @@ -8938,10 +7998,12 @@ class TypeVariablesBegin extends ParserAstNode { final Token token; TypeVariablesBegin(ParserAstType type, {required this.token}) - : super("TypeVariables", type); + : super("TypeVariables", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitTypeVariablesBegin(this); @@ -8954,17 +8016,15 @@ class TypeVariablesEnd extends ParserAstNode @override final Token endToken; - TypeVariablesEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("TypeVariables", type); + TypeVariablesEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("TypeVariables", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitTypeVariablesEnd(this); @@ -8974,10 +8034,12 @@ class FunctionExpressionBegin extends ParserAstNode { final Token token; FunctionExpressionBegin(ParserAstType type, {required this.token}) - : super("FunctionExpression", type); + : super("FunctionExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionExpressionBegin(this); @@ -8990,17 +8052,15 @@ class FunctionExpressionEnd extends ParserAstNode @override final Token endToken; - FunctionExpressionEnd( - ParserAstType type, { - required this.beginToken, - required this.endToken, - }) : super("FunctionExpression", type); + FunctionExpressionEnd(ParserAstType type, + {required this.beginToken, required this.endToken}) + : super("FunctionExpression", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "endToken": endToken, - }; + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitFunctionExpressionEnd(this); @@ -9011,19 +8071,16 @@ class VariablesDeclarationBegin extends ParserAstNode { final Token? lateToken; final Token? varFinalOrConst; - VariablesDeclarationBegin( - ParserAstType type, { - required this.token, - this.lateToken, - this.varFinalOrConst, - }) : super("VariablesDeclaration", type); + VariablesDeclarationBegin(ParserAstType type, + {required this.token, this.lateToken, this.varFinalOrConst}) + : super("VariablesDeclaration", type); @override Map get deprecatedArguments => { - "token": token, - "lateToken": lateToken, - "varFinalOrConst": varFinalOrConst, - }; + "token": token, + "lateToken": lateToken, + "varFinalOrConst": varFinalOrConst, + }; @override R accept(ParserAstVisitor v) => v.visitVariablesDeclarationBegin(this); @@ -9033,17 +8090,15 @@ class VariablesDeclarationEnd extends ParserAstNode { final int count; final Token? endToken; - VariablesDeclarationEnd( - ParserAstType type, { - required this.count, - this.endToken, - }) : super("VariablesDeclaration", type); + VariablesDeclarationEnd(ParserAstType type, + {required this.count, this.endToken}) + : super("VariablesDeclaration", type); @override Map get deprecatedArguments => { - "count": count, - "endToken": endToken, - }; + "count": count, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitVariablesDeclarationEnd(this); @@ -9053,10 +8108,12 @@ class WhileStatementBegin extends ParserAstNode { final Token token; WhileStatementBegin(ParserAstType type, {required this.token}) - : super("WhileStatement", type); + : super("WhileStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitWhileStatementBegin(this); @@ -9066,17 +8123,15 @@ class WhileStatementEnd extends ParserAstNode { final Token whileKeyword; final Token endToken; - WhileStatementEnd( - ParserAstType type, { - required this.whileKeyword, - required this.endToken, - }) : super("WhileStatement", type); + WhileStatementEnd(ParserAstType type, + {required this.whileKeyword, required this.endToken}) + : super("WhileStatement", type); @override Map get deprecatedArguments => { - "whileKeyword": whileKeyword, - "endToken": endToken, - }; + "whileKeyword": whileKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitWhileStatementEnd(this); @@ -9086,10 +8141,12 @@ class AsOperatorTypeBegin extends ParserAstNode { final Token operator; AsOperatorTypeBegin(ParserAstType type, {required this.operator}) - : super("AsOperatorType", type); + : super("AsOperatorType", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitAsOperatorTypeBegin(this); @@ -9099,10 +8156,12 @@ class AsOperatorTypeEnd extends ParserAstNode { final Token operator; AsOperatorTypeEnd(ParserAstType type, {required this.operator}) - : super("AsOperatorType", type); + : super("AsOperatorType", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitAsOperatorTypeEnd(this); @@ -9112,10 +8171,12 @@ class AsOperatorHandle extends ParserAstNode { final Token operator; AsOperatorHandle(ParserAstType type, {required this.operator}) - : super("AsOperator", type); + : super("AsOperator", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitAsOperatorHandle(this); @@ -9125,10 +8186,12 @@ class CastPatternHandle extends ParserAstNode { final Token operator; CastPatternHandle(ParserAstType type, {required this.operator}) - : super("CastPattern", type); + : super("CastPattern", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitCastPatternHandle(this); @@ -9138,17 +8201,15 @@ class AssignmentExpressionHandle extends ParserAstNode { final Token token; final Token endToken; - AssignmentExpressionHandle( - ParserAstType type, { - required this.token, - required this.endToken, - }) : super("AssignmentExpression", type); + AssignmentExpressionHandle(ParserAstType type, + {required this.token, required this.endToken}) + : super("AssignmentExpression", type); @override Map get deprecatedArguments => { - "token": token, - "endToken": endToken, - }; + "token": token, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitAssignmentExpressionHandle(this); @@ -9158,10 +8219,12 @@ class BinaryExpressionBegin extends ParserAstNode { final Token token; BinaryExpressionBegin(ParserAstType type, {required this.token}) - : super("BinaryExpression", type); + : super("BinaryExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitBinaryExpressionBegin(this); @@ -9171,17 +8234,15 @@ class BinaryExpressionEnd extends ParserAstNode { final Token token; final Token endToken; - BinaryExpressionEnd( - ParserAstType type, { - required this.token, - required this.endToken, - }) : super("BinaryExpression", type); + BinaryExpressionEnd(ParserAstType type, + {required this.token, required this.endToken}) + : super("BinaryExpression", type); @override Map get deprecatedArguments => { - "token": token, - "endToken": endToken, - }; + "token": token, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitBinaryExpressionEnd(this); @@ -9191,10 +8252,12 @@ class BinaryPatternBegin extends ParserAstNode { final Token token; BinaryPatternBegin(ParserAstType type, {required this.token}) - : super("BinaryPattern", type); + : super("BinaryPattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitBinaryPatternBegin(this); @@ -9204,10 +8267,12 @@ class BinaryPatternEnd extends ParserAstNode { final Token token; BinaryPatternEnd(ParserAstType type, {required this.token}) - : super("BinaryPattern", type); + : super("BinaryPattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitBinaryPatternEnd(this); @@ -9217,17 +8282,15 @@ class EndingBinaryExpressionHandle extends ParserAstNode { final Token token; final Token endToken; - EndingBinaryExpressionHandle( - ParserAstType type, { - required this.token, - required this.endToken, - }) : super("EndingBinaryExpression", type); + EndingBinaryExpressionHandle(ParserAstType type, + {required this.token, required this.endToken}) + : super("EndingBinaryExpression", type); @override Map get deprecatedArguments => { - "token": token, - "endToken": endToken, - }; + "token": token, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => @@ -9238,10 +8301,12 @@ class ConditionalExpressionBegin extends ParserAstNode { final Token question; ConditionalExpressionBegin(ParserAstType type, {required this.question}) - : super("ConditionalExpression", type); + : super("ConditionalExpression", type); @override - Map get deprecatedArguments => {"question": question}; + Map get deprecatedArguments => { + "question": question, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalExpressionBegin(this); @@ -9249,7 +8314,7 @@ class ConditionalExpressionBegin extends ParserAstNode { class ConditionalExpressionColonHandle extends ParserAstNode { ConditionalExpressionColonHandle(ParserAstType type) - : super("ConditionalExpressionColon", type); + : super("ConditionalExpressionColon", type); @override Map get deprecatedArguments => {}; @@ -9264,19 +8329,16 @@ class ConditionalExpressionEnd extends ParserAstNode { final Token colon; final Token endToken; - ConditionalExpressionEnd( - ParserAstType type, { - required this.question, - required this.colon, - required this.endToken, - }) : super("ConditionalExpression", type); + ConditionalExpressionEnd(ParserAstType type, + {required this.question, required this.colon, required this.endToken}) + : super("ConditionalExpression", type); @override Map get deprecatedArguments => { - "question": question, - "colon": colon, - "endToken": endToken, - }; + "question": question, + "colon": colon, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitConditionalExpressionEnd(this); @@ -9286,12 +8348,12 @@ class ConstExpressionBegin extends ParserAstNode { final Token constKeyword; ConstExpressionBegin(ParserAstType type, {required this.constKeyword}) - : super("ConstExpression", type); + : super("ConstExpression", type); @override Map get deprecatedArguments => { - "constKeyword": constKeyword, - }; + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitConstExpressionBegin(this); @@ -9301,10 +8363,12 @@ class ConstExpressionEnd extends ParserAstNode { final Token token; ConstExpressionEnd(ParserAstType type, {required this.token}) - : super("ConstExpression", type); + : super("ConstExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitConstExpressionEnd(this); @@ -9314,12 +8378,12 @@ class ConstFactoryHandle extends ParserAstNode { final Token constKeyword; ConstFactoryHandle(ParserAstType type, {required this.constKeyword}) - : super("ConstFactory", type); + : super("ConstFactory", type); @override Map get deprecatedArguments => { - "constKeyword": constKeyword, - }; + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitConstFactoryHandle(this); @@ -9329,17 +8393,15 @@ class ForControlFlowBegin extends ParserAstNode { final Token? awaitToken; final Token forToken; - ForControlFlowBegin( - ParserAstType type, { - this.awaitToken, - required this.forToken, - }) : super("ForControlFlow", type); + ForControlFlowBegin(ParserAstType type, + {this.awaitToken, required this.forToken}) + : super("ForControlFlow", type); @override Map get deprecatedArguments => { - "awaitToken": awaitToken, - "forToken": forToken, - }; + "awaitToken": awaitToken, + "forToken": forToken, + }; @override R accept(ParserAstVisitor v) => v.visitForControlFlowBegin(this); @@ -9349,10 +8411,12 @@ class ForControlFlowEnd extends ParserAstNode { final Token token; ForControlFlowEnd(ParserAstType type, {required this.token}) - : super("ForControlFlow", type); + : super("ForControlFlow", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForControlFlowEnd(this); @@ -9362,10 +8426,12 @@ class ForInControlFlowEnd extends ParserAstNode { final Token token; ForInControlFlowEnd(ParserAstType type, {required this.token}) - : super("ForInControlFlow", type); + : super("ForInControlFlow", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitForInControlFlowEnd(this); @@ -9375,10 +8441,12 @@ class IfControlFlowBegin extends ParserAstNode { final Token ifToken; IfControlFlowBegin(ParserAstType type, {required this.ifToken}) - : super("IfControlFlow", type); + : super("IfControlFlow", type); @override - Map get deprecatedArguments => {"ifToken": ifToken}; + Map get deprecatedArguments => { + "ifToken": ifToken, + }; @override R accept(ParserAstVisitor v) => v.visitIfControlFlowBegin(this); @@ -9388,10 +8456,12 @@ class ThenControlFlowHandle extends ParserAstNode { final Token token; ThenControlFlowHandle(ParserAstType type, {required this.token}) - : super("ThenControlFlow", type); + : super("ThenControlFlow", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitThenControlFlowHandle(this); @@ -9401,10 +8471,12 @@ class ElseControlFlowHandle extends ParserAstNode { final Token elseToken; ElseControlFlowHandle(ParserAstType type, {required this.elseToken}) - : super("ElseControlFlow", type); + : super("ElseControlFlow", type); @override - Map get deprecatedArguments => {"elseToken": elseToken}; + Map get deprecatedArguments => { + "elseToken": elseToken, + }; @override R accept(ParserAstVisitor v) => v.visitElseControlFlowHandle(this); @@ -9414,10 +8486,12 @@ class IfControlFlowEnd extends ParserAstNode { final Token token; IfControlFlowEnd(ParserAstType type, {required this.token}) - : super("IfControlFlow", type); + : super("IfControlFlow", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitIfControlFlowEnd(this); @@ -9427,10 +8501,12 @@ class IfElseControlFlowEnd extends ParserAstNode { final Token token; IfElseControlFlowEnd(ParserAstType type, {required this.token}) - : super("IfElseControlFlow", type); + : super("IfElseControlFlow", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitIfElseControlFlowEnd(this); @@ -9440,10 +8516,12 @@ class SpreadExpressionHandle extends ParserAstNode { final Token spreadToken; SpreadExpressionHandle(ParserAstType type, {required this.spreadToken}) - : super("SpreadExpression", type); + : super("SpreadExpression", type); @override - Map get deprecatedArguments => {"spreadToken": spreadToken}; + Map get deprecatedArguments => { + "spreadToken": spreadToken, + }; @override R accept(ParserAstVisitor v) => v.visitSpreadExpressionHandle(this); @@ -9453,12 +8531,12 @@ class NullAwareElementHandle extends ParserAstNode { final Token nullAwareToken; NullAwareElementHandle(ParserAstType type, {required this.nullAwareToken}) - : super("NullAwareElement", type); + : super("NullAwareElement", type); @override Map get deprecatedArguments => { - "nullAwareToken": nullAwareToken, - }; + "nullAwareToken": nullAwareToken, + }; @override R accept(ParserAstVisitor v) => v.visitNullAwareElementHandle(this); @@ -9468,17 +8546,15 @@ class RestPatternHandle extends ParserAstNode { final Token dots; final bool hasSubPattern; - RestPatternHandle( - ParserAstType type, { - required this.dots, - required this.hasSubPattern, - }) : super("RestPattern", type); + RestPatternHandle(ParserAstType type, + {required this.dots, required this.hasSubPattern}) + : super("RestPattern", type); @override Map get deprecatedArguments => { - "dots": dots, - "hasSubPattern": hasSubPattern, - }; + "dots": dots, + "hasSubPattern": hasSubPattern, + }; @override R accept(ParserAstVisitor v) => v.visitRestPatternHandle(this); @@ -9488,10 +8564,12 @@ class FunctionTypedFormalParameterBegin extends ParserAstNode { final Token token; FunctionTypedFormalParameterBegin(ParserAstType type, {required this.token}) - : super("FunctionTypedFormalParameter", type); + : super("FunctionTypedFormalParameter", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -9502,17 +8580,15 @@ class FunctionTypedFormalParameterEnd extends ParserAstNode { final Token nameToken; final Token? question; - FunctionTypedFormalParameterEnd( - ParserAstType type, { - required this.nameToken, - this.question, - }) : super("FunctionTypedFormalParameter", type); + FunctionTypedFormalParameterEnd(ParserAstType type, + {required this.nameToken, this.question}) + : super("FunctionTypedFormalParameter", type); @override Map get deprecatedArguments => { - "nameToken": nameToken, - "question": question, - }; + "nameToken": nameToken, + "question": question, + }; @override R accept(ParserAstVisitor v) => @@ -9523,17 +8599,15 @@ class IdentifierHandle extends ParserAstNode { final Token token; final IdentifierContext context; - IdentifierHandle( - ParserAstType type, { - required this.token, - required this.context, - }) : super("Identifier", type); + IdentifierHandle(ParserAstType type, + {required this.token, required this.context}) + : super("Identifier", type); @override Map get deprecatedArguments => { - "token": token, - "context": context, - }; + "token": token, + "context": context, + }; @override R accept(ParserAstVisitor v) => v.visitIdentifierHandle(this); @@ -9544,19 +8618,18 @@ class IndexedExpressionHandle extends ParserAstNode { final Token openSquareBracket; final Token closeSquareBracket; - IndexedExpressionHandle( - ParserAstType type, { - this.question, - required this.openSquareBracket, - required this.closeSquareBracket, - }) : super("IndexedExpression", type); + IndexedExpressionHandle(ParserAstType type, + {this.question, + required this.openSquareBracket, + required this.closeSquareBracket}) + : super("IndexedExpression", type); @override Map get deprecatedArguments => { - "question": question, - "openSquareBracket": openSquareBracket, - "closeSquareBracket": closeSquareBracket, - }; + "question": question, + "openSquareBracket": openSquareBracket, + "closeSquareBracket": closeSquareBracket, + }; @override R accept(ParserAstVisitor v) => v.visitIndexedExpressionHandle(this); @@ -9566,10 +8639,12 @@ class IsOperatorTypeBegin extends ParserAstNode { final Token operator; IsOperatorTypeBegin(ParserAstType type, {required this.operator}) - : super("IsOperatorType", type); + : super("IsOperatorType", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitIsOperatorTypeBegin(this); @@ -9579,10 +8654,12 @@ class IsOperatorTypeEnd extends ParserAstNode { final Token operator; IsOperatorTypeEnd(ParserAstType type, {required this.operator}) - : super("IsOperatorType", type); + : super("IsOperatorType", type); @override - Map get deprecatedArguments => {"operator": operator}; + Map get deprecatedArguments => { + "operator": operator, + }; @override R accept(ParserAstVisitor v) => v.visitIsOperatorTypeEnd(this); @@ -9593,13 +8670,13 @@ class IsOperatorHandle extends ParserAstNode { final Token? not; IsOperatorHandle(ParserAstType type, {required this.isOperator, this.not}) - : super("IsOperator", type); + : super("IsOperator", type); @override Map get deprecatedArguments => { - "isOperator": isOperator, - "not": not, - }; + "isOperator": isOperator, + "not": not, + }; @override R accept(ParserAstVisitor v) => v.visitIsOperatorHandle(this); @@ -9609,10 +8686,12 @@ class LiteralBoolHandle extends ParserAstNode { final Token token; LiteralBoolHandle(ParserAstType type, {required this.token}) - : super("LiteralBool", type); + : super("LiteralBool", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralBoolHandle(this); @@ -9623,19 +8702,18 @@ class BreakStatementHandle extends ParserAstNode { final Token breakKeyword; final Token endToken; - BreakStatementHandle( - ParserAstType type, { - required this.hasTarget, - required this.breakKeyword, - required this.endToken, - }) : super("BreakStatement", type); + BreakStatementHandle(ParserAstType type, + {required this.hasTarget, + required this.breakKeyword, + required this.endToken}) + : super("BreakStatement", type); @override Map get deprecatedArguments => { - "hasTarget": hasTarget, - "breakKeyword": breakKeyword, - "endToken": endToken, - }; + "hasTarget": hasTarget, + "breakKeyword": breakKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitBreakStatementHandle(this); @@ -9646,19 +8724,18 @@ class ContinueStatementHandle extends ParserAstNode { final Token continueKeyword; final Token endToken; - ContinueStatementHandle( - ParserAstType type, { - required this.hasTarget, - required this.continueKeyword, - required this.endToken, - }) : super("ContinueStatement", type); + ContinueStatementHandle(ParserAstType type, + {required this.hasTarget, + required this.continueKeyword, + required this.endToken}) + : super("ContinueStatement", type); @override Map get deprecatedArguments => { - "hasTarget": hasTarget, - "continueKeyword": continueKeyword, - "endToken": endToken, - }; + "hasTarget": hasTarget, + "continueKeyword": continueKeyword, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitContinueStatementHandle(this); @@ -9668,10 +8745,12 @@ class EmptyStatementHandle extends ParserAstNode { final Token token; EmptyStatementHandle(ParserAstType type, {required this.token}) - : super("EmptyStatement", type); + : super("EmptyStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitEmptyStatementHandle(this); @@ -9681,17 +8760,15 @@ class AssertBegin extends ParserAstNode { final Token assertKeyword; final Assert kind; - AssertBegin( - ParserAstType type, { - required this.assertKeyword, - required this.kind, - }) : super("Assert", type); + AssertBegin(ParserAstType type, + {required this.assertKeyword, required this.kind}) + : super("Assert", type); @override Map get deprecatedArguments => { - "assertKeyword": assertKeyword, - "kind": kind, - }; + "assertKeyword": assertKeyword, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => v.visitAssertBegin(this); @@ -9704,23 +8781,22 @@ class AssertEnd extends ParserAstNode { final Token? commaToken; final Token endToken; - AssertEnd( - ParserAstType type, { - required this.assertKeyword, - required this.kind, - required this.leftParenthesis, - this.commaToken, - required this.endToken, - }) : super("Assert", type); + AssertEnd(ParserAstType type, + {required this.assertKeyword, + required this.kind, + required this.leftParenthesis, + this.commaToken, + required this.endToken}) + : super("Assert", type); @override Map get deprecatedArguments => { - "assertKeyword": assertKeyword, - "kind": kind, - "leftParenthesis": leftParenthesis, - "commaToken": commaToken, - "endToken": endToken, - }; + "assertKeyword": assertKeyword, + "kind": kind, + "leftParenthesis": leftParenthesis, + "commaToken": commaToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitAssertEnd(this); @@ -9730,10 +8806,12 @@ class LiteralDoubleHandle extends ParserAstNode { final Token token; LiteralDoubleHandle(ParserAstType type, {required this.token}) - : super("LiteralDouble", type); + : super("LiteralDouble", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralDoubleHandle(this); @@ -9743,10 +8821,12 @@ class LiteralDoubleWithSeparatorsHandle extends ParserAstNode { final Token token; LiteralDoubleWithSeparatorsHandle(ParserAstType type, {required this.token}) - : super("LiteralDoubleWithSeparators", type); + : super("LiteralDoubleWithSeparators", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -9757,10 +8837,12 @@ class LiteralIntHandle extends ParserAstNode { final Token token; LiteralIntHandle(ParserAstType type, {required this.token}) - : super("LiteralInt", type); + : super("LiteralInt", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralIntHandle(this); @@ -9770,10 +8852,12 @@ class LiteralIntWithSeparatorsHandle extends ParserAstNode { final Token token; LiteralIntWithSeparatorsHandle(ParserAstType type, {required this.token}) - : super("LiteralIntWithSeparators", type); + : super("LiteralIntWithSeparators", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -9786,21 +8870,20 @@ class LiteralListHandle extends ParserAstNode { final Token? constKeyword; final Token rightBracket; - LiteralListHandle( - ParserAstType type, { - required this.count, - required this.leftBracket, - this.constKeyword, - required this.rightBracket, - }) : super("LiteralList", type); + LiteralListHandle(ParserAstType type, + {required this.count, + required this.leftBracket, + this.constKeyword, + required this.rightBracket}) + : super("LiteralList", type); @override Map get deprecatedArguments => { - "count": count, - "leftBracket": leftBracket, - "constKeyword": constKeyword, - "rightBracket": rightBracket, - }; + "count": count, + "leftBracket": leftBracket, + "constKeyword": constKeyword, + "rightBracket": rightBracket, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralListHandle(this); @@ -9811,19 +8894,18 @@ class ListPatternHandle extends ParserAstNode { final Token leftBracket; final Token rightBracket; - ListPatternHandle( - ParserAstType type, { - required this.count, - required this.leftBracket, - required this.rightBracket, - }) : super("ListPattern", type); + ListPatternHandle(ParserAstType type, + {required this.count, + required this.leftBracket, + required this.rightBracket}) + : super("ListPattern", type); @override Map get deprecatedArguments => { - "count": count, - "leftBracket": leftBracket, - "rightBracket": rightBracket, - }; + "count": count, + "leftBracket": leftBracket, + "rightBracket": rightBracket, + }; @override R accept(ParserAstVisitor v) => v.visitListPatternHandle(this); @@ -9836,23 +8918,22 @@ class LiteralSetOrMapHandle extends ParserAstNode { final Token rightBrace; final bool hasSetEntry; - LiteralSetOrMapHandle( - ParserAstType type, { - required this.count, - required this.leftBrace, - this.constKeyword, - required this.rightBrace, - required this.hasSetEntry, - }) : super("LiteralSetOrMap", type); + LiteralSetOrMapHandle(ParserAstType type, + {required this.count, + required this.leftBrace, + this.constKeyword, + required this.rightBrace, + required this.hasSetEntry}) + : super("LiteralSetOrMap", type); @override Map get deprecatedArguments => { - "count": count, - "leftBrace": leftBrace, - "constKeyword": constKeyword, - "rightBrace": rightBrace, - "hasSetEntry": hasSetEntry, - }; + "count": count, + "leftBrace": leftBrace, + "constKeyword": constKeyword, + "rightBrace": rightBrace, + "hasSetEntry": hasSetEntry, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralSetOrMapHandle(this); @@ -9863,19 +8944,16 @@ class MapPatternHandle extends ParserAstNode { final Token leftBrace; final Token rightBrace; - MapPatternHandle( - ParserAstType type, { - required this.count, - required this.leftBrace, - required this.rightBrace, - }) : super("MapPattern", type); + MapPatternHandle(ParserAstType type, + {required this.count, required this.leftBrace, required this.rightBrace}) + : super("MapPattern", type); @override Map get deprecatedArguments => { - "count": count, - "leftBrace": leftBrace, - "rightBrace": rightBrace, - }; + "count": count, + "leftBrace": leftBrace, + "rightBrace": rightBrace, + }; @override R accept(ParserAstVisitor v) => v.visitMapPatternHandle(this); @@ -9885,10 +8963,12 @@ class LiteralNullHandle extends ParserAstNode { final Token token; LiteralNullHandle(ParserAstType type, {required this.token}) - : super("LiteralNull", type); + : super("LiteralNull", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitLiteralNullHandle(this); @@ -9898,17 +8978,15 @@ class NativeClauseHandle extends ParserAstNode { final Token nativeToken; final bool hasName; - NativeClauseHandle( - ParserAstType type, { - required this.nativeToken, - required this.hasName, - }) : super("NativeClause", type); + NativeClauseHandle(ParserAstType type, + {required this.nativeToken, required this.hasName}) + : super("NativeClause", type); @override Map get deprecatedArguments => { - "nativeToken": nativeToken, - "hasName": hasName, - }; + "nativeToken": nativeToken, + "hasName": hasName, + }; @override R accept(ParserAstVisitor v) => v.visitNativeClauseHandle(this); @@ -9918,10 +8996,12 @@ class NamedArgumentHandle extends ParserAstNode { final Token colon; NamedArgumentHandle(ParserAstType type, {required this.colon}) - : super("NamedArgument", type); + : super("NamedArgument", type); @override - Map get deprecatedArguments => {"colon": colon}; + Map get deprecatedArguments => { + "colon": colon, + }; @override R accept(ParserAstVisitor v) => v.visitNamedArgumentHandle(this); @@ -9931,10 +9011,12 @@ class PatternFieldHandle extends ParserAstNode { final Token? colon; PatternFieldHandle(ParserAstType type, {this.colon}) - : super("PatternField", type); + : super("PatternField", type); @override - Map get deprecatedArguments => {"colon": colon}; + Map get deprecatedArguments => { + "colon": colon, + }; @override R accept(ParserAstVisitor v) => v.visitPatternFieldHandle(this); @@ -9944,10 +9026,12 @@ class NamedRecordFieldHandle extends ParserAstNode { final Token colon; NamedRecordFieldHandle(ParserAstType type, {required this.colon}) - : super("NamedRecordField", type); + : super("NamedRecordField", type); @override - Map get deprecatedArguments => {"colon": colon}; + Map get deprecatedArguments => { + "colon": colon, + }; @override R accept(ParserAstVisitor v) => v.visitNamedRecordFieldHandle(this); @@ -9957,10 +9041,12 @@ class NewExpressionBegin extends ParserAstNode { final Token token; NewExpressionBegin(ParserAstType type, {required this.token}) - : super("NewExpression", type); + : super("NewExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNewExpressionBegin(this); @@ -9970,10 +9056,12 @@ class NewExpressionEnd extends ParserAstNode { final Token token; NewExpressionEnd(ParserAstType type, {required this.token}) - : super("NewExpression", type); + : super("NewExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNewExpressionEnd(this); @@ -9983,10 +9071,12 @@ class NoArgumentsHandle extends ParserAstNode { final Token token; NoArgumentsHandle(ParserAstType type, {required this.token}) - : super("NoArguments", type); + : super("NoArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoArgumentsHandle(this); @@ -9996,13 +9086,14 @@ class NoConstructorReferenceContinuationAfterTypeArgumentsHandle extends ParserAstNode { final Token token; - NoConstructorReferenceContinuationAfterTypeArgumentsHandle( - ParserAstType type, { - required this.token, - }) : super("NoConstructorReferenceContinuationAfterTypeArguments", type); + NoConstructorReferenceContinuationAfterTypeArgumentsHandle(ParserAstType type, + {required this.token}) + : super("NoConstructorReferenceContinuationAfterTypeArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10012,13 +9103,14 @@ class NoConstructorReferenceContinuationAfterTypeArgumentsHandle class NoTypeNameInConstructorReferenceHandle extends ParserAstNode { final Token token; - NoTypeNameInConstructorReferenceHandle( - ParserAstType type, { - required this.token, - }) : super("NoTypeNameInConstructorReference", type); + NoTypeNameInConstructorReferenceHandle(ParserAstType type, + {required this.token}) + : super("NoTypeNameInConstructorReference", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10029,12 +9121,12 @@ class NoTypeHandle extends ParserAstNode { final Token lastConsumed; NoTypeHandle(ParserAstType type, {required this.lastConsumed}) - : super("NoType", type); + : super("NoType", type); @override Map get deprecatedArguments => { - "lastConsumed": lastConsumed, - }; + "lastConsumed": lastConsumed, + }; @override R accept(ParserAstVisitor v) => v.visitNoTypeHandle(this); @@ -10044,10 +9136,12 @@ class NoTypeVariablesHandle extends ParserAstNode { final Token token; NoTypeVariablesHandle(ParserAstType type, {required this.token}) - : super("NoTypeVariables", type); + : super("NoTypeVariables", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNoTypeVariablesHandle(this); @@ -10057,10 +9151,12 @@ class OperatorHandle extends ParserAstNode { final Token token; OperatorHandle(ParserAstType type, {required this.token}) - : super("Operator", type); + : super("Operator", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitOperatorHandle(this); @@ -10070,10 +9166,12 @@ class SwitchCaseNoWhenClauseHandle extends ParserAstNode { final Token token; SwitchCaseNoWhenClauseHandle(ParserAstType type, {required this.token}) - : super("SwitchCaseNoWhenClause", type); + : super("SwitchCaseNoWhenClause", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10084,10 +9182,12 @@ class SwitchExpressionCasePatternHandle extends ParserAstNode { final Token token; SwitchExpressionCasePatternHandle(ParserAstType type, {required this.token}) - : super("SwitchExpressionCasePattern", type); + : super("SwitchExpressionCasePattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10098,10 +9198,12 @@ class SymbolVoidHandle extends ParserAstNode { final Token token; SymbolVoidHandle(ParserAstType type, {required this.token}) - : super("SymbolVoid", type); + : super("SymbolVoid", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSymbolVoidHandle(this); @@ -10111,17 +9213,15 @@ class OperatorNameHandle extends ParserAstNode { final Token operatorKeyword; final Token token; - OperatorNameHandle( - ParserAstType type, { - required this.operatorKeyword, - required this.token, - }) : super("OperatorName", type); + OperatorNameHandle(ParserAstType type, + {required this.operatorKeyword, required this.token}) + : super("OperatorName", type); @override Map get deprecatedArguments => { - "operatorKeyword": operatorKeyword, - "token": token, - }; + "operatorKeyword": operatorKeyword, + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitOperatorNameHandle(this); @@ -10131,17 +9231,15 @@ class InvalidOperatorNameHandle extends ParserAstNode { final Token operatorKeyword; final Token token; - InvalidOperatorNameHandle( - ParserAstType type, { - required this.operatorKeyword, - required this.token, - }) : super("InvalidOperatorName", type); + InvalidOperatorNameHandle(ParserAstType type, + {required this.operatorKeyword, required this.token}) + : super("InvalidOperatorName", type); @override Map get deprecatedArguments => { - "operatorKeyword": operatorKeyword, - "token": token, - }; + "operatorKeyword": operatorKeyword, + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidOperatorNameHandle(this); @@ -10152,19 +9250,16 @@ class ParenthesizedConditionHandle extends ParserAstNode { final Token? case_; final Token? when; - ParenthesizedConditionHandle( - ParserAstType type, { - required this.token, - this.case_, - this.when, - }) : super("ParenthesizedCondition", type); + ParenthesizedConditionHandle(ParserAstType type, + {required this.token, this.case_, this.when}) + : super("ParenthesizedCondition", type); @override Map get deprecatedArguments => { - "token": token, - "case_": case_, - "when": when, - }; + "token": token, + "case_": case_, + "when": when, + }; @override R accept(ParserAstVisitor v) => @@ -10175,10 +9270,12 @@ class PatternBegin extends ParserAstNode { final Token token; PatternBegin(ParserAstType type, {required this.token}) - : super("Pattern", type); + : super("Pattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitPatternBegin(this); @@ -10188,10 +9285,12 @@ class PatternGuardBegin extends ParserAstNode { final Token when; PatternGuardBegin(ParserAstType type, {required this.when}) - : super("PatternGuard", type); + : super("PatternGuard", type); @override - Map get deprecatedArguments => {"when": when}; + Map get deprecatedArguments => { + "when": when, + }; @override R accept(ParserAstVisitor v) => v.visitPatternGuardBegin(this); @@ -10200,13 +9299,14 @@ class PatternGuardBegin extends ParserAstNode { class ParenthesizedExpressionOrRecordLiteralBegin extends ParserAstNode { final Token token; - ParenthesizedExpressionOrRecordLiteralBegin( - ParserAstType type, { - required this.token, - }) : super("ParenthesizedExpressionOrRecordLiteral", type); + ParenthesizedExpressionOrRecordLiteralBegin(ParserAstType type, + {required this.token}) + : super("ParenthesizedExpressionOrRecordLiteral", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10217,10 +9317,12 @@ class SwitchCaseWhenClauseBegin extends ParserAstNode { final Token when; SwitchCaseWhenClauseBegin(ParserAstType type, {required this.when}) - : super("SwitchCaseWhenClause", type); + : super("SwitchCaseWhenClause", type); @override - Map get deprecatedArguments => {"when": when}; + Map get deprecatedArguments => { + "when": when, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchCaseWhenClauseBegin(this); @@ -10231,19 +9333,16 @@ class RecordLiteralEnd extends ParserAstNode { final int count; final Token? constKeyword; - RecordLiteralEnd( - ParserAstType type, { - required this.token, - required this.count, - this.constKeyword, - }) : super("RecordLiteral", type); + RecordLiteralEnd(ParserAstType type, + {required this.token, required this.count, this.constKeyword}) + : super("RecordLiteral", type); @override Map get deprecatedArguments => { - "token": token, - "count": count, - "constKeyword": constKeyword, - }; + "token": token, + "count": count, + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitRecordLiteralEnd(this); @@ -10253,17 +9352,15 @@ class RecordPatternHandle extends ParserAstNode { final Token token; final int count; - RecordPatternHandle( - ParserAstType type, { - required this.token, - required this.count, - }) : super("RecordPattern", type); + RecordPatternHandle(ParserAstType type, + {required this.token, required this.count}) + : super("RecordPattern", type); @override Map get deprecatedArguments => { - "token": token, - "count": count, - }; + "token": token, + "count": count, + }; @override R accept(ParserAstVisitor v) => v.visitRecordPatternHandle(this); @@ -10273,10 +9370,12 @@ class PatternEnd extends ParserAstNode { final Token token; PatternEnd(ParserAstType type, {required this.token}) - : super("Pattern", type); + : super("Pattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitPatternEnd(this); @@ -10286,10 +9385,12 @@ class PatternGuardEnd extends ParserAstNode { final Token token; PatternGuardEnd(ParserAstType type, {required this.token}) - : super("PatternGuard", type); + : super("PatternGuard", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitPatternGuardEnd(this); @@ -10299,10 +9400,12 @@ class ParenthesizedExpressionEnd extends ParserAstNode { final Token token; ParenthesizedExpressionEnd(ParserAstType type, {required this.token}) - : super("ParenthesizedExpression", type); + : super("ParenthesizedExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitParenthesizedExpressionEnd(this); @@ -10312,10 +9415,12 @@ class SwitchCaseWhenClauseEnd extends ParserAstNode { final Token token; SwitchCaseWhenClauseEnd(ParserAstType type, {required this.token}) - : super("SwitchCaseWhenClause", type); + : super("SwitchCaseWhenClause", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchCaseWhenClauseEnd(this); @@ -10325,10 +9430,12 @@ class ParenthesizedPatternHandle extends ParserAstNode { final Token token; ParenthesizedPatternHandle(ParserAstType type, {required this.token}) - : super("ParenthesizedPattern", type); + : super("ParenthesizedPattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitParenthesizedPatternHandle(this); @@ -10338,12 +9445,12 @@ class ConstantPatternBegin extends ParserAstNode { final Token? constKeyword; ConstantPatternBegin(ParserAstType type, {this.constKeyword}) - : super("ConstantPattern", type); + : super("ConstantPattern", type); @override Map get deprecatedArguments => { - "constKeyword": constKeyword, - }; + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitConstantPatternBegin(this); @@ -10353,12 +9460,12 @@ class ConstantPatternEnd extends ParserAstNode { final Token? constKeyword; ConstantPatternEnd(ParserAstType type, {this.constKeyword}) - : super("ConstantPattern", type); + : super("ConstantPattern", type); @override Map get deprecatedArguments => { - "constKeyword": constKeyword, - }; + "constKeyword": constKeyword, + }; @override R accept(ParserAstVisitor v) => v.visitConstantPatternEnd(this); @@ -10369,19 +9476,16 @@ class ObjectPatternHandle extends ParserAstNode { final Token? dot; final Token? secondIdentifier; - ObjectPatternHandle( - ParserAstType type, { - required this.firstIdentifier, - this.dot, - this.secondIdentifier, - }) : super("ObjectPattern", type); + ObjectPatternHandle(ParserAstType type, + {required this.firstIdentifier, this.dot, this.secondIdentifier}) + : super("ObjectPattern", type); @override Map get deprecatedArguments => { - "firstIdentifier": firstIdentifier, - "dot": dot, - "secondIdentifier": secondIdentifier, - }; + "firstIdentifier": firstIdentifier, + "dot": dot, + "secondIdentifier": secondIdentifier, + }; @override R accept(ParserAstVisitor v) => v.visitObjectPatternHandle(this); @@ -10391,10 +9495,12 @@ class QualifiedHandle extends ParserAstNode { final Token period; QualifiedHandle(ParserAstType type, {required this.period}) - : super("Qualified", type); + : super("Qualified", type); @override - Map get deprecatedArguments => {"period": period}; + Map get deprecatedArguments => { + "period": period, + }; @override R accept(ParserAstVisitor v) => v.visitQualifiedHandle(this); @@ -10404,10 +9510,12 @@ class StringPartHandle extends ParserAstNode { final Token token; StringPartHandle(ParserAstType type, {required this.token}) - : super("StringPart", type); + : super("StringPart", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitStringPartHandle(this); @@ -10417,17 +9525,15 @@ class SuperExpressionHandle extends ParserAstNode { final Token token; final IdentifierContext context; - SuperExpressionHandle( - ParserAstType type, { - required this.token, - required this.context, - }) : super("SuperExpression", type); + SuperExpressionHandle(ParserAstType type, + {required this.token, required this.context}) + : super("SuperExpression", type); @override Map get deprecatedArguments => { - "token": token, - "context": context, - }; + "token": token, + "context": context, + }; @override R accept(ParserAstVisitor v) => v.visitSuperExpressionHandle(this); @@ -10438,19 +9544,18 @@ class AugmentSuperExpressionHandle extends ParserAstNode { final Token superToken; final IdentifierContext context; - AugmentSuperExpressionHandle( - ParserAstType type, { - required this.augmentToken, - required this.superToken, - required this.context, - }) : super("AugmentSuperExpression", type); + AugmentSuperExpressionHandle(ParserAstType type, + {required this.augmentToken, + required this.superToken, + required this.context}) + : super("AugmentSuperExpression", type); @override Map get deprecatedArguments => { - "augmentToken": augmentToken, - "superToken": superToken, - "context": context, - }; + "augmentToken": augmentToken, + "superToken": superToken, + "context": context, + }; @override R accept(ParserAstVisitor v) => @@ -10462,19 +9567,18 @@ class SwitchCaseBegin extends ParserAstNode { final int expressionCount; final Token beginToken; - SwitchCaseBegin( - ParserAstType type, { - required this.labelCount, - required this.expressionCount, - required this.beginToken, - }) : super("SwitchCase", type); + SwitchCaseBegin(ParserAstType type, + {required this.labelCount, + required this.expressionCount, + required this.beginToken}) + : super("SwitchCase", type); @override Map get deprecatedArguments => { - "labelCount": labelCount, - "expressionCount": expressionCount, - "beginToken": beginToken, - }; + "labelCount": labelCount, + "expressionCount": expressionCount, + "beginToken": beginToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchCaseBegin(this); @@ -10492,27 +9596,26 @@ class SwitchCaseEnd extends ParserAstNode @override final Token endToken; - SwitchCaseEnd( - ParserAstType type, { - required this.labelCount, - required this.expressionCount, - this.defaultKeyword, - this.colonAfterDefault, - required this.statementCount, - required this.beginToken, - required this.endToken, - }) : super("SwitchCase", type); + SwitchCaseEnd(ParserAstType type, + {required this.labelCount, + required this.expressionCount, + this.defaultKeyword, + this.colonAfterDefault, + required this.statementCount, + required this.beginToken, + required this.endToken}) + : super("SwitchCase", type); @override Map get deprecatedArguments => { - "labelCount": labelCount, - "expressionCount": expressionCount, - "defaultKeyword": defaultKeyword, - "colonAfterDefault": colonAfterDefault, - "statementCount": statementCount, - "beginToken": beginToken, - "endToken": endToken, - }; + "labelCount": labelCount, + "expressionCount": expressionCount, + "defaultKeyword": defaultKeyword, + "colonAfterDefault": colonAfterDefault, + "statementCount": statementCount, + "beginToken": beginToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchCaseEnd(this); @@ -10520,7 +9623,7 @@ class SwitchCaseEnd extends ParserAstNode class SwitchExpressionCaseBegin extends ParserAstNode { SwitchExpressionCaseBegin(ParserAstType type) - : super("SwitchExpressionCase", type); + : super("SwitchExpressionCase", type); @override Map get deprecatedArguments => {}; @@ -10538,21 +9641,20 @@ class SwitchExpressionCaseEnd extends ParserAstNode @override final Token endToken; - SwitchExpressionCaseEnd( - ParserAstType type, { - required this.beginToken, - this.when, - required this.arrow, - required this.endToken, - }) : super("SwitchExpressionCase", type); + SwitchExpressionCaseEnd(ParserAstType type, + {required this.beginToken, + this.when, + required this.arrow, + required this.endToken}) + : super("SwitchExpressionCase", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "when": when, - "arrow": arrow, - "endToken": endToken, - }; + "beginToken": beginToken, + "when": when, + "arrow": arrow, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitSwitchExpressionCaseEnd(this); @@ -10562,17 +9664,15 @@ class ThisExpressionHandle extends ParserAstNode { final Token token; final IdentifierContext context; - ThisExpressionHandle( - ParserAstType type, { - required this.token, - required this.context, - }) : super("ThisExpression", type); + ThisExpressionHandle(ParserAstType type, + {required this.token, required this.context}) + : super("ThisExpression", type); @override Map get deprecatedArguments => { - "token": token, - "context": context, - }; + "token": token, + "context": context, + }; @override R accept(ParserAstVisitor v) => v.visitThisExpressionHandle(this); @@ -10581,13 +9681,14 @@ class ThisExpressionHandle extends ParserAstNode { class UnaryPostfixAssignmentExpressionHandle extends ParserAstNode { final Token token; - UnaryPostfixAssignmentExpressionHandle( - ParserAstType type, { - required this.token, - }) : super("UnaryPostfixAssignmentExpression", type); + UnaryPostfixAssignmentExpressionHandle(ParserAstType type, + {required this.token}) + : super("UnaryPostfixAssignmentExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10598,10 +9699,12 @@ class UnaryPrefixExpressionHandle extends ParserAstNode { final Token token; UnaryPrefixExpressionHandle(ParserAstType type, {required this.token}) - : super("UnaryPrefixExpression", type); + : super("UnaryPrefixExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10612,10 +9715,12 @@ class RelationalPatternHandle extends ParserAstNode { final Token token; RelationalPatternHandle(ParserAstType type, {required this.token}) - : super("RelationalPattern", type); + : super("RelationalPattern", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitRelationalPatternHandle(this); @@ -10624,13 +9729,14 @@ class RelationalPatternHandle extends ParserAstNode { class UnaryPrefixAssignmentExpressionHandle extends ParserAstNode { final Token token; - UnaryPrefixAssignmentExpressionHandle( - ParserAstType type, { - required this.token, - }) : super("UnaryPrefixAssignmentExpression", type); + UnaryPrefixAssignmentExpressionHandle(ParserAstType type, + {required this.token}) + : super("UnaryPrefixAssignmentExpression", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10639,7 +9745,7 @@ class UnaryPrefixAssignmentExpressionHandle extends ParserAstNode { class FormalParameterDefaultValueExpressionBegin extends ParserAstNode { FormalParameterDefaultValueExpressionBegin(ParserAstType type) - : super("FormalParameterDefaultValueExpression", type); + : super("FormalParameterDefaultValueExpression", type); @override Map get deprecatedArguments => {}; @@ -10651,7 +9757,7 @@ class FormalParameterDefaultValueExpressionBegin extends ParserAstNode { class FormalParameterDefaultValueExpressionEnd extends ParserAstNode { FormalParameterDefaultValueExpressionEnd(ParserAstType type) - : super("FormalParameterDefaultValueExpression", type); + : super("FormalParameterDefaultValueExpression", type); @override Map get deprecatedArguments => {}; @@ -10666,19 +9772,16 @@ class ValuedFormalParameterHandle extends ParserAstNode { final Token token; final FormalParameterKind kind; - ValuedFormalParameterHandle( - ParserAstType type, { - required this.equals, - required this.token, - required this.kind, - }) : super("ValuedFormalParameter", type); + ValuedFormalParameterHandle(ParserAstType type, + {required this.equals, required this.token, required this.kind}) + : super("ValuedFormalParameter", type); @override Map get deprecatedArguments => { - "equals": equals, - "token": token, - "kind": kind, - }; + "equals": equals, + "token": token, + "kind": kind, + }; @override R accept(ParserAstVisitor v) => @@ -10689,10 +9792,12 @@ class FormalParameterWithoutValueHandle extends ParserAstNode { final Token token; FormalParameterWithoutValueHandle(ParserAstType type, {required this.token}) - : super("FormalParameterWithoutValue", type); + : super("FormalParameterWithoutValue", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10703,10 +9808,12 @@ class VoidKeywordHandle extends ParserAstNode { final Token token; VoidKeywordHandle(ParserAstType type, {required this.token}) - : super("VoidKeyword", type); + : super("VoidKeyword", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitVoidKeywordHandle(this); @@ -10716,10 +9823,12 @@ class VoidKeywordWithTypeArgumentsHandle extends ParserAstNode { final Token token; VoidKeywordWithTypeArgumentsHandle(ParserAstType type, {required this.token}) - : super("VoidKeywordWithTypeArguments", type); + : super("VoidKeywordWithTypeArguments", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => @@ -10730,10 +9839,12 @@ class YieldStatementBegin extends ParserAstNode { final Token token; YieldStatementBegin(ParserAstType type, {required this.token}) - : super("YieldStatement", type); + : super("YieldStatement", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitYieldStatementBegin(this); @@ -10744,19 +9855,16 @@ class YieldStatementEnd extends ParserAstNode { final Token? starToken; final Token endToken; - YieldStatementEnd( - ParserAstType type, { - required this.yieldToken, - this.starToken, - required this.endToken, - }) : super("YieldStatement", type); + YieldStatementEnd(ParserAstType type, + {required this.yieldToken, this.starToken, required this.endToken}) + : super("YieldStatement", type); @override Map get deprecatedArguments => { - "yieldToken": yieldToken, - "starToken": starToken, - "endToken": endToken, - }; + "yieldToken": yieldToken, + "starToken": starToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitYieldStatementEnd(this); @@ -10771,21 +9879,20 @@ class InvalidYieldStatementEnd extends ParserAstNode final Token endToken; final MessageCode errorCode; - InvalidYieldStatementEnd( - ParserAstType type, { - required this.beginToken, - this.starToken, - required this.endToken, - required this.errorCode, - }) : super("InvalidYieldStatement", type); + InvalidYieldStatementEnd(ParserAstType type, + {required this.beginToken, + this.starToken, + required this.endToken, + required this.errorCode}) + : super("InvalidYieldStatement", type); @override Map get deprecatedArguments => { - "beginToken": beginToken, - "starToken": starToken, - "endToken": endToken, - "errorCode": errorCode, - }; + "beginToken": beginToken, + "starToken": starToken, + "endToken": endToken, + "errorCode": errorCode, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidYieldStatementEnd(this); @@ -10796,19 +9903,16 @@ class RecoverableErrorHandle extends ParserAstNode { final Token startToken; final Token endToken; - RecoverableErrorHandle( - ParserAstType type, { - required this.message, - required this.startToken, - required this.endToken, - }) : super("RecoverableError", type); + RecoverableErrorHandle(ParserAstType type, + {required this.message, required this.startToken, required this.endToken}) + : super("RecoverableError", type); @override Map get deprecatedArguments => { - "message": message, - "startToken": startToken, - "endToken": endToken, - }; + "message": message, + "startToken": startToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitRecoverableErrorHandle(this); @@ -10819,19 +9923,18 @@ class ExperimentNotEnabledHandle extends ParserAstNode { final Token startToken; final Token endToken; - ExperimentNotEnabledHandle( - ParserAstType type, { - required this.experimentalFlag, - required this.startToken, - required this.endToken, - }) : super("ExperimentNotEnabled", type); + ExperimentNotEnabledHandle(ParserAstType type, + {required this.experimentalFlag, + required this.startToken, + required this.endToken}) + : super("ExperimentNotEnabled", type); @override Map get deprecatedArguments => { - "experimentalFlag": experimentalFlag, - "startToken": startToken, - "endToken": endToken, - }; + "experimentalFlag": experimentalFlag, + "startToken": startToken, + "endToken": endToken, + }; @override R accept(ParserAstVisitor v) => v.visitExperimentNotEnabledHandle(this); @@ -10841,10 +9944,12 @@ class ErrorTokenHandle extends ParserAstNode { final ErrorToken token; ErrorTokenHandle(ParserAstType type, {required this.token}) - : super("ErrorToken", type); + : super("ErrorToken", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitErrorTokenHandle(this); @@ -10856,21 +9961,20 @@ class UnescapeErrorHandle extends ParserAstNode { final int stringOffset; final int length; - UnescapeErrorHandle( - ParserAstType type, { - required this.message, - required this.location, - required this.stringOffset, - required this.length, - }) : super("UnescapeError", type); + UnescapeErrorHandle(ParserAstType type, + {required this.message, + required this.location, + required this.stringOffset, + required this.length}) + : super("UnescapeError", type); @override Map get deprecatedArguments => { - "message": message, - "location": location, - "stringOffset": stringOffset, - "length": length, - }; + "message": message, + "location": location, + "stringOffset": stringOffset, + "length": length, + }; @override R accept(ParserAstVisitor v) => v.visitUnescapeErrorHandle(this); @@ -10880,17 +9984,15 @@ class InvalidStatementHandle extends ParserAstNode { final Token token; final Message message; - InvalidStatementHandle( - ParserAstType type, { - required this.token, - required this.message, - }) : super("InvalidStatement", type); + InvalidStatementHandle(ParserAstType type, + {required this.token, required this.message}) + : super("InvalidStatement", type); @override Map get deprecatedArguments => { - "token": token, - "message": message, - }; + "token": token, + "message": message, + }; @override R accept(ParserAstVisitor v) => v.visitInvalidStatementHandle(this); @@ -10900,10 +10002,12 @@ class ScriptHandle extends ParserAstNode { final Token token; ScriptHandle(ParserAstType type, {required this.token}) - : super("Script", type); + : super("Script", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitScriptHandle(this); @@ -10912,15 +10016,14 @@ class ScriptHandle extends ParserAstNode { class TypeArgumentApplicationHandle extends ParserAstNode { final Token openAngleBracket; - TypeArgumentApplicationHandle( - ParserAstType type, { - required this.openAngleBracket, - }) : super("TypeArgumentApplication", type); + TypeArgumentApplicationHandle(ParserAstType type, + {required this.openAngleBracket}) + : super("TypeArgumentApplication", type); @override Map get deprecatedArguments => { - "openAngleBracket": openAngleBracket, - }; + "openAngleBracket": openAngleBracket, + }; @override R accept(ParserAstVisitor v) => @@ -10931,10 +10034,12 @@ class NewAsIdentifierHandle extends ParserAstNode { final Token token; NewAsIdentifierHandle(ParserAstType type, {required this.token}) - : super("NewAsIdentifier", type); + : super("NewAsIdentifier", type); @override - Map get deprecatedArguments => {"token": token}; + Map get deprecatedArguments => { + "token": token, + }; @override R accept(ParserAstVisitor v) => v.visitNewAsIdentifierHandle(this); @@ -10945,19 +10050,16 @@ class PatternVariableDeclarationStatementHandle extends ParserAstNode { final Token equals; final Token semicolon; - PatternVariableDeclarationStatementHandle( - ParserAstType type, { - required this.keyword, - required this.equals, - required this.semicolon, - }) : super("PatternVariableDeclarationStatement", type); + PatternVariableDeclarationStatementHandle(ParserAstType type, + {required this.keyword, required this.equals, required this.semicolon}) + : super("PatternVariableDeclarationStatement", type); @override Map get deprecatedArguments => { - "keyword": keyword, - "equals": equals, - "semicolon": semicolon, - }; + "keyword": keyword, + "equals": equals, + "semicolon": semicolon, + }; @override R accept(ParserAstVisitor v) => @@ -10968,10 +10070,12 @@ class PatternAssignmentHandle extends ParserAstNode { final Token equals; PatternAssignmentHandle(ParserAstType type, {required this.equals}) - : super("PatternAssignment", type); + : super("PatternAssignment", type); @override - Map get deprecatedArguments => {"equals": equals}; + Map get deprecatedArguments => { + "equals": equals, + }; @override R accept(ParserAstVisitor v) => v.visitPatternAssignmentHandle(this); @@ -10993,12 +10097,10 @@ abstract class ParserAstVisitor { R visitCaseExpressionBegin(CaseExpressionBegin node); R visitCaseExpressionEnd(CaseExpressionEnd node); R visitClassOrMixinOrExtensionBodyBegin( - ClassOrMixinOrExtensionBodyBegin node, - ); + ClassOrMixinOrExtensionBodyBegin node); R visitClassOrMixinOrExtensionBodyEnd(ClassOrMixinOrExtensionBodyEnd node); R visitClassOrMixinOrNamedMixinApplicationPreludeBegin( - ClassOrMixinOrNamedMixinApplicationPreludeBegin node, - ); + ClassOrMixinOrNamedMixinApplicationPreludeBegin node); R visitClassDeclarationBegin(ClassDeclarationBegin node); R visitClassExtendsHandle(ClassExtendsHandle node); R visitImplementsHandle(ImplementsHandle node); @@ -11011,11 +10113,9 @@ abstract class ParserAstVisitor { R visitRecoverMixinHeaderHandle(RecoverMixinHeaderHandle node); R visitMixinDeclarationEnd(MixinDeclarationEnd node); R visitUncategorizedTopLevelDeclarationBegin( - UncategorizedTopLevelDeclarationBegin node, - ); + UncategorizedTopLevelDeclarationBegin node); R visitExtensionDeclarationPreludeBegin( - ExtensionDeclarationPreludeBegin node, - ); + ExtensionDeclarationPreludeBegin node); R visitExtensionDeclarationBegin(ExtensionDeclarationBegin node); R visitExtensionDeclarationEnd(ExtensionDeclarationEnd node); R visitExtensionTypeDeclarationBegin(ExtensionTypeDeclarationBegin node); @@ -11066,17 +10166,13 @@ abstract class ParserAstVisitor { R visitEnumFieldsEnd(EnumFieldsEnd node); R visitEnumMethodEnd(EnumMethodEnd node); R visitForInitializerEmptyStatementHandle( - ForInitializerEmptyStatementHandle node, - ); + ForInitializerEmptyStatementHandle node); R visitForInitializerExpressionStatementHandle( - ForInitializerExpressionStatementHandle node, - ); + ForInitializerExpressionStatementHandle node); R visitForInitializerLocalVariableDeclarationHandle( - ForInitializerLocalVariableDeclarationHandle node, - ); + ForInitializerLocalVariableDeclarationHandle node); R visitForInitializerPatternVariableAssignmentHandle( - ForInitializerPatternVariableAssignmentHandle node, - ); + ForInitializerPatternVariableAssignmentHandle node); R visitForStatementBegin(ForStatementBegin node); R visitForLoopPartsHandle(ForLoopPartsHandle node); R visitForStatementEnd(ForStatementEnd node); @@ -11107,8 +10203,7 @@ abstract class ParserAstVisitor { R visitMixinWithClauseHandle(MixinWithClauseHandle node); R visitNamedMixinApplicationBegin(NamedMixinApplicationBegin node); R visitNamedMixinApplicationWithClauseHandle( - NamedMixinApplicationWithClauseHandle node, - ); + NamedMixinApplicationWithClauseHandle node); R visitNamedMixinApplicationEnd(NamedMixinApplicationEnd node); R visitHideBegin(HideBegin node); R visitHideEnd(HideEnd node); @@ -11210,8 +10305,7 @@ abstract class ParserAstVisitor { R visitRethrowStatementEnd(RethrowStatementEnd node); R visitTopLevelDeclarationEnd(TopLevelDeclarationEnd node); R visitInvalidTopLevelDeclarationHandle( - InvalidTopLevelDeclarationHandle node, - ); + InvalidTopLevelDeclarationHandle node); R visitTopLevelMemberBegin(TopLevelMemberBegin node); R visitFieldsBegin(FieldsBegin node); R visitTopLevelFieldsEnd(TopLevelFieldsEnd node); @@ -11266,8 +10360,7 @@ abstract class ParserAstVisitor { R visitEndingBinaryExpressionHandle(EndingBinaryExpressionHandle node); R visitConditionalExpressionBegin(ConditionalExpressionBegin node); R visitConditionalExpressionColonHandle( - ConditionalExpressionColonHandle node, - ); + ConditionalExpressionColonHandle node); R visitConditionalExpressionEnd(ConditionalExpressionEnd node); R visitConstExpressionBegin(ConstExpressionBegin node); R visitConstExpressionEnd(ConstExpressionEnd node); @@ -11284,8 +10377,7 @@ abstract class ParserAstVisitor { R visitNullAwareElementHandle(NullAwareElementHandle node); R visitRestPatternHandle(RestPatternHandle node); R visitFunctionTypedFormalParameterBegin( - FunctionTypedFormalParameterBegin node, - ); + FunctionTypedFormalParameterBegin node); R visitFunctionTypedFormalParameterEnd(FunctionTypedFormalParameterEnd node); R visitIdentifierHandle(IdentifierHandle node); R visitIndexedExpressionHandle(IndexedExpressionHandle node); @@ -11300,8 +10392,7 @@ abstract class ParserAstVisitor { R visitAssertEnd(AssertEnd node); R visitLiteralDoubleHandle(LiteralDoubleHandle node); R visitLiteralDoubleWithSeparatorsHandle( - LiteralDoubleWithSeparatorsHandle node, - ); + LiteralDoubleWithSeparatorsHandle node); R visitLiteralIntHandle(LiteralIntHandle node); R visitLiteralIntWithSeparatorsHandle(LiteralIntWithSeparatorsHandle node); R visitLiteralListHandle(LiteralListHandle node); @@ -11317,18 +10408,15 @@ abstract class ParserAstVisitor { R visitNewExpressionEnd(NewExpressionEnd node); R visitNoArgumentsHandle(NoArgumentsHandle node); R visitNoConstructorReferenceContinuationAfterTypeArgumentsHandle( - NoConstructorReferenceContinuationAfterTypeArgumentsHandle node, - ); + NoConstructorReferenceContinuationAfterTypeArgumentsHandle node); R visitNoTypeNameInConstructorReferenceHandle( - NoTypeNameInConstructorReferenceHandle node, - ); + NoTypeNameInConstructorReferenceHandle node); R visitNoTypeHandle(NoTypeHandle node); R visitNoTypeVariablesHandle(NoTypeVariablesHandle node); R visitOperatorHandle(OperatorHandle node); R visitSwitchCaseNoWhenClauseHandle(SwitchCaseNoWhenClauseHandle node); R visitSwitchExpressionCasePatternHandle( - SwitchExpressionCasePatternHandle node, - ); + SwitchExpressionCasePatternHandle node); R visitSymbolVoidHandle(SymbolVoidHandle node); R visitOperatorNameHandle(OperatorNameHandle node); R visitInvalidOperatorNameHandle(InvalidOperatorNameHandle node); @@ -11336,8 +10424,7 @@ abstract class ParserAstVisitor { R visitPatternBegin(PatternBegin node); R visitPatternGuardBegin(PatternGuardBegin node); R visitParenthesizedExpressionOrRecordLiteralBegin( - ParenthesizedExpressionOrRecordLiteralBegin node, - ); + ParenthesizedExpressionOrRecordLiteralBegin node); R visitSwitchCaseWhenClauseBegin(SwitchCaseWhenClauseBegin node); R visitRecordLiteralEnd(RecordLiteralEnd node); R visitRecordPatternHandle(RecordPatternHandle node); @@ -11359,27 +10446,21 @@ abstract class ParserAstVisitor { R visitSwitchExpressionCaseEnd(SwitchExpressionCaseEnd node); R visitThisExpressionHandle(ThisExpressionHandle node); R visitUnaryPostfixAssignmentExpressionHandle( - UnaryPostfixAssignmentExpressionHandle node, - ); + UnaryPostfixAssignmentExpressionHandle node); R visitUnaryPrefixExpressionHandle(UnaryPrefixExpressionHandle node); R visitRelationalPatternHandle(RelationalPatternHandle node); R visitUnaryPrefixAssignmentExpressionHandle( - UnaryPrefixAssignmentExpressionHandle node, - ); + UnaryPrefixAssignmentExpressionHandle node); R visitFormalParameterDefaultValueExpressionBegin( - FormalParameterDefaultValueExpressionBegin node, - ); + FormalParameterDefaultValueExpressionBegin node); R visitFormalParameterDefaultValueExpressionEnd( - FormalParameterDefaultValueExpressionEnd node, - ); + FormalParameterDefaultValueExpressionEnd node); R visitValuedFormalParameterHandle(ValuedFormalParameterHandle node); R visitFormalParameterWithoutValueHandle( - FormalParameterWithoutValueHandle node, - ); + FormalParameterWithoutValueHandle node); R visitVoidKeywordHandle(VoidKeywordHandle node); R visitVoidKeywordWithTypeArgumentsHandle( - VoidKeywordWithTypeArgumentsHandle node, - ); + VoidKeywordWithTypeArgumentsHandle node); R visitYieldStatementBegin(YieldStatementBegin node); R visitYieldStatementEnd(YieldStatementEnd node); R visitInvalidYieldStatementEnd(InvalidYieldStatementEnd node); @@ -11392,8 +10473,7 @@ abstract class ParserAstVisitor { R visitTypeArgumentApplicationHandle(TypeArgumentApplicationHandle node); R visitNewAsIdentifierHandle(NewAsIdentifierHandle node); R visitPatternVariableDeclarationStatementHandle( - PatternVariableDeclarationStatementHandle node, - ); + PatternVariableDeclarationStatementHandle node); R visitPatternAssignmentHandle(PatternAssignmentHandle node); } @@ -11450,18 +10530,18 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitClassOrMixinOrExtensionBodyBegin( - ClassOrMixinOrExtensionBodyBegin node, - ) => node.visitChildren(this); + ClassOrMixinOrExtensionBodyBegin node) => + node.visitChildren(this); @override void visitClassOrMixinOrExtensionBodyEnd( - ClassOrMixinOrExtensionBodyEnd node, - ) => node.visitChildren(this); + ClassOrMixinOrExtensionBodyEnd node) => + node.visitChildren(this); @override void visitClassOrMixinOrNamedMixinApplicationPreludeBegin( - ClassOrMixinOrNamedMixinApplicationPreludeBegin node, - ) => node.visitChildren(this); + ClassOrMixinOrNamedMixinApplicationPreludeBegin node) => + node.visitChildren(this); @override void visitClassDeclarationBegin(ClassDeclarationBegin node) => @@ -11480,8 +10560,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitRecoverDeclarationHeaderHandle( - RecoverDeclarationHeaderHandle node, - ) => node.visitChildren(this); + RecoverDeclarationHeaderHandle node) => + node.visitChildren(this); @override void visitClassDeclarationEnd(ClassDeclarationEnd node) => @@ -11508,13 +10588,13 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitUncategorizedTopLevelDeclarationBegin( - UncategorizedTopLevelDeclarationBegin node, - ) => node.visitChildren(this); + UncategorizedTopLevelDeclarationBegin node) => + node.visitChildren(this); @override void visitExtensionDeclarationPreludeBegin( - ExtensionDeclarationPreludeBegin node, - ) => node.visitChildren(this); + ExtensionDeclarationPreludeBegin node) => + node.visitChildren(this); @override void visitExtensionDeclarationBegin(ExtensionDeclarationBegin node) => @@ -11702,23 +10782,23 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitForInitializerEmptyStatementHandle( - ForInitializerEmptyStatementHandle node, - ) => node.visitChildren(this); + ForInitializerEmptyStatementHandle node) => + node.visitChildren(this); @override void visitForInitializerExpressionStatementHandle( - ForInitializerExpressionStatementHandle node, - ) => node.visitChildren(this); + ForInitializerExpressionStatementHandle node) => + node.visitChildren(this); @override void visitForInitializerLocalVariableDeclarationHandle( - ForInitializerLocalVariableDeclarationHandle node, - ) => node.visitChildren(this); + ForInitializerLocalVariableDeclarationHandle node) => + node.visitChildren(this); @override void visitForInitializerPatternVariableAssignmentHandle( - ForInitializerPatternVariableAssignmentHandle node, - ) => node.visitChildren(this); + ForInitializerPatternVariableAssignmentHandle node) => + node.visitChildren(this); @override void visitForStatementBegin(ForStatementBegin node) => @@ -11831,8 +10911,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitNamedMixinApplicationWithClauseHandle( - NamedMixinApplicationWithClauseHandle node, - ) => node.visitChildren(this); + NamedMixinApplicationWithClauseHandle node) => + node.visitChildren(this); @override void visitNamedMixinApplicationEnd(NamedMixinApplicationEnd node) => @@ -11909,8 +10989,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitImplicitCreationExpressionBegin( - ImplicitCreationExpressionBegin node, - ) => node.visitChildren(this); + ImplicitCreationExpressionBegin node) => + node.visitChildren(this); @override void visitImplicitCreationExpressionEnd(ImplicitCreationExpressionEnd node) => @@ -12119,13 +11199,13 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitNativeFunctionBodyIgnoredHandle( - NativeFunctionBodyIgnoredHandle node, - ) => node.visitChildren(this); + NativeFunctionBodyIgnoredHandle node) => + node.visitChildren(this); @override void visitNativeFunctionBodySkippedHandle( - NativeFunctionBodySkippedHandle node, - ) => node.visitChildren(this); + NativeFunctionBodySkippedHandle node) => + node.visitChildren(this); @override void visitEmptyFunctionBodyHandle(EmptyFunctionBodyHandle node) => @@ -12203,8 +11283,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitInvalidTopLevelDeclarationHandle( - InvalidTopLevelDeclarationHandle node, - ) => node.visitChildren(this); + InvalidTopLevelDeclarationHandle node) => + node.visitChildren(this); @override void visitTopLevelMemberBegin(TopLevelMemberBegin node) => @@ -12405,8 +11485,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitConditionalExpressionColonHandle( - ConditionalExpressionColonHandle node, - ) => node.visitChildren(this); + ConditionalExpressionColonHandle node) => + node.visitChildren(this); @override void visitConditionalExpressionEnd(ConditionalExpressionEnd node) => @@ -12469,13 +11549,13 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitFunctionTypedFormalParameterBegin( - FunctionTypedFormalParameterBegin node, - ) => node.visitChildren(this); + FunctionTypedFormalParameterBegin node) => + node.visitChildren(this); @override void visitFunctionTypedFormalParameterEnd( - FunctionTypedFormalParameterEnd node, - ) => node.visitChildren(this); + FunctionTypedFormalParameterEnd node) => + node.visitChildren(this); @override void visitIdentifierHandle(IdentifierHandle node) => node.visitChildren(this); @@ -12523,16 +11603,16 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitLiteralDoubleWithSeparatorsHandle( - LiteralDoubleWithSeparatorsHandle node, - ) => node.visitChildren(this); + LiteralDoubleWithSeparatorsHandle node) => + node.visitChildren(this); @override void visitLiteralIntHandle(LiteralIntHandle node) => node.visitChildren(this); @override void visitLiteralIntWithSeparatorsHandle( - LiteralIntWithSeparatorsHandle node, - ) => node.visitChildren(this); + LiteralIntWithSeparatorsHandle node) => + node.visitChildren(this); @override void visitLiteralListHandle(LiteralListHandle node) => @@ -12582,13 +11662,13 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitNoConstructorReferenceContinuationAfterTypeArgumentsHandle( - NoConstructorReferenceContinuationAfterTypeArgumentsHandle node, - ) => node.visitChildren(this); + NoConstructorReferenceContinuationAfterTypeArgumentsHandle node) => + node.visitChildren(this); @override void visitNoTypeNameInConstructorReferenceHandle( - NoTypeNameInConstructorReferenceHandle node, - ) => node.visitChildren(this); + NoTypeNameInConstructorReferenceHandle node) => + node.visitChildren(this); @override void visitNoTypeHandle(NoTypeHandle node) => node.visitChildren(this); @@ -12606,8 +11686,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitSwitchExpressionCasePatternHandle( - SwitchExpressionCasePatternHandle node, - ) => node.visitChildren(this); + SwitchExpressionCasePatternHandle node) => + node.visitChildren(this); @override void visitSymbolVoidHandle(SymbolVoidHandle node) => node.visitChildren(this); @@ -12633,8 +11713,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitParenthesizedExpressionOrRecordLiteralBegin( - ParenthesizedExpressionOrRecordLiteralBegin node, - ) => node.visitChildren(this); + ParenthesizedExpressionOrRecordLiteralBegin node) => + node.visitChildren(this); @override void visitSwitchCaseWhenClauseBegin(SwitchCaseWhenClauseBegin node) => @@ -12711,8 +11791,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitUnaryPostfixAssignmentExpressionHandle( - UnaryPostfixAssignmentExpressionHandle node, - ) => node.visitChildren(this); + UnaryPostfixAssignmentExpressionHandle node) => + node.visitChildren(this); @override void visitUnaryPrefixExpressionHandle(UnaryPrefixExpressionHandle node) => @@ -12724,18 +11804,18 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitUnaryPrefixAssignmentExpressionHandle( - UnaryPrefixAssignmentExpressionHandle node, - ) => node.visitChildren(this); + UnaryPrefixAssignmentExpressionHandle node) => + node.visitChildren(this); @override void visitFormalParameterDefaultValueExpressionBegin( - FormalParameterDefaultValueExpressionBegin node, - ) => node.visitChildren(this); + FormalParameterDefaultValueExpressionBegin node) => + node.visitChildren(this); @override void visitFormalParameterDefaultValueExpressionEnd( - FormalParameterDefaultValueExpressionEnd node, - ) => node.visitChildren(this); + FormalParameterDefaultValueExpressionEnd node) => + node.visitChildren(this); @override void visitValuedFormalParameterHandle(ValuedFormalParameterHandle node) => @@ -12743,8 +11823,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitFormalParameterWithoutValueHandle( - FormalParameterWithoutValueHandle node, - ) => node.visitChildren(this); + FormalParameterWithoutValueHandle node) => + node.visitChildren(this); @override void visitVoidKeywordHandle(VoidKeywordHandle node) => @@ -12752,8 +11832,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitVoidKeywordWithTypeArgumentsHandle( - VoidKeywordWithTypeArgumentsHandle node, - ) => node.visitChildren(this); + VoidKeywordWithTypeArgumentsHandle node) => + node.visitChildren(this); @override void visitYieldStatementBegin(YieldStatementBegin node) => @@ -12799,8 +11879,8 @@ class RecursiveParserAstVisitor implements ParserAstVisitor { @override void visitPatternVariableDeclarationStatementHandle( - PatternVariableDeclarationStatementHandle node, - ) => node.visitChildren(this); + PatternVariableDeclarationStatementHandle node) => + node.visitChildren(this); @override void visitPatternAssignmentHandle(PatternAssignmentHandle node) => diff --git a/pkg/front_end/test/parser_test_listener.dart b/pkg/front_end/test/parser_test_listener.dart index bd5fe3ec072..6c07759070c 100644 --- a/pkg/front_end/test/parser_test_listener.dart +++ b/pkg/front_end/test/parser_test_listener.dart @@ -73,19 +73,13 @@ class ParserTestListener implements Listener { @override void logEvent(String name) { - doPrint( - 'logEvent(' - '$name)', - ); + doPrint('logEvent(' '$name)'); } @override void beginArguments(Token token) { seen(token); - doPrint( - 'beginArguments(' - '$token)', - ); + doPrint('beginArguments(' '$token)'); indent++; } @@ -94,12 +88,7 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endArguments(' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endArguments(' '$count, ' '$beginToken, ' '$endToken)'); } @override @@ -107,31 +96,20 @@ class ParserTestListener implements Listener { seen(beginToken); seen(endToken); doPrint( - 'handleObjectPatternFields(' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + 'handleObjectPatternFields(' '$count, ' '$beginToken, ' '$endToken)'); } @override void handleAsyncModifier(Token? asyncToken, Token? starToken) { seen(asyncToken); seen(starToken); - doPrint( - 'handleAsyncModifier(' - '$asyncToken, ' - '$starToken)', - ); + doPrint('handleAsyncModifier(' '$asyncToken, ' '$starToken)'); } @override void beginAwaitExpression(Token token) { seen(token); - doPrint( - 'beginAwaitExpression(' - '$token)', - ); + doPrint('beginAwaitExpression(' '$token)'); indent++; } @@ -140,76 +118,47 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endAwaitExpression(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endAwaitExpression(' '$beginToken, ' '$endToken)'); } @override void endInvalidAwaitExpression( - Token beginToken, - Token endToken, - MessageCode errorCode, - ) { + Token beginToken, Token endToken, MessageCode errorCode) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endInvalidAwaitExpression(' - '$beginToken, ' - '$endToken, ' - '$errorCode)', - ); + doPrint('endInvalidAwaitExpression(' + '$beginToken, ' + '$endToken, ' + '$errorCode)'); } @override void beginBlock(Token token, BlockKind blockKind) { seen(token); - doPrint( - 'beginBlock(' - '$token, ' - '$blockKind)', - ); + doPrint('beginBlock(' '$token, ' '$blockKind)'); indent++; } @override void endBlock( - int count, - Token beginToken, - Token endToken, - BlockKind blockKind, - ) { + int count, Token beginToken, Token endToken, BlockKind blockKind) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endBlock(' - '$count, ' - '$beginToken, ' - '$endToken, ' - '$blockKind)', - ); + doPrint('endBlock(' '$count, ' '$beginToken, ' '$endToken, ' '$blockKind)'); } @override void handleInvalidTopLevelBlock(Token token) { seen(token); - doPrint( - 'handleInvalidTopLevelBlock(' - '$token)', - ); + doPrint('handleInvalidTopLevelBlock(' '$token)'); } @override void beginCascade(Token token) { seen(token); - doPrint( - 'beginCascade(' - '$token)', - ); + doPrint('beginCascade(' '$token)'); indent++; } @@ -222,10 +171,7 @@ class ParserTestListener implements Listener { @override void beginCaseExpression(Token caseKeyword) { seen(caseKeyword); - doPrint( - 'beginCaseExpression(' - '$caseKeyword)', - ); + doPrint('beginCaseExpression(' '$caseKeyword)'); indent++; } @@ -235,67 +181,48 @@ class ParserTestListener implements Listener { seen(caseKeyword); seen(when); seen(colon); - doPrint( - 'endCaseExpression(' - '$caseKeyword, ' - '$when, ' - '$colon)', - ); + doPrint('endCaseExpression(' '$caseKeyword, ' '$when, ' '$colon)'); } @override void beginClassOrMixinOrExtensionBody(DeclarationKind kind, Token token) { seen(token); - doPrint( - 'beginClassOrMixinOrExtensionBody(' - '$kind, ' - '$token)', - ); + doPrint('beginClassOrMixinOrExtensionBody(' '$kind, ' '$token)'); indent++; } @override void endClassOrMixinOrExtensionBody( - DeclarationKind kind, - int memberCount, - Token beginToken, - Token endToken, - ) { + DeclarationKind kind, int memberCount, Token beginToken, Token endToken) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endClassOrMixinOrExtensionBody(' - '$kind, ' - '$memberCount, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endClassOrMixinOrExtensionBody(' + '$kind, ' + '$memberCount, ' + '$beginToken, ' + '$endToken)'); } @override void beginClassOrMixinOrNamedMixinApplicationPrelude(Token token) { seen(token); - doPrint( - 'beginClassOrMixinOrNamedMixinApplicationPrelude(' - '$token)', - ); + doPrint('beginClassOrMixinOrNamedMixinApplicationPrelude(' '$token)'); indent++; } @override void beginClassDeclaration( - Token begin, - Token? abstractToken, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - Token? finalToken, - Token? augmentToken, - Token? mixinToken, - Token name, - ) { + Token begin, + Token? abstractToken, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + Token? finalToken, + Token? augmentToken, + Token? mixinToken, + Token name) { seen(begin); seen(abstractToken); seen(macroToken); @@ -306,40 +233,30 @@ class ParserTestListener implements Listener { seen(augmentToken); seen(mixinToken); seen(name); - doPrint( - 'beginClassDeclaration(' - '$begin, ' - '$abstractToken, ' - '$macroToken, ' - '$sealedToken, ' - '$baseToken, ' - '$interfaceToken, ' - '$finalToken, ' - '$augmentToken, ' - '$mixinToken, ' - '$name)', - ); + doPrint('beginClassDeclaration(' + '$begin, ' + '$abstractToken, ' + '$macroToken, ' + '$sealedToken, ' + '$baseToken, ' + '$interfaceToken, ' + '$finalToken, ' + '$augmentToken, ' + '$mixinToken, ' + '$name)'); indent++; } @override void handleClassExtends(Token? extendsKeyword, int typeCount) { seen(extendsKeyword); - doPrint( - 'handleClassExtends(' - '$extendsKeyword, ' - '$typeCount)', - ); + doPrint('handleClassExtends(' '$extendsKeyword, ' '$typeCount)'); } @override void handleImplements(Token? implementsKeyword, int interfacesCount) { seen(implementsKeyword); - doPrint( - 'handleImplements(' - '$implementsKeyword, ' - '$interfacesCount)', - ); + doPrint('handleImplements(' '$implementsKeyword, ' '$interfacesCount)'); } @override @@ -347,20 +264,12 @@ class ParserTestListener implements Listener { seen(begin); seen(classKeyword); seen(nativeToken); - doPrint( - 'handleClassHeader(' - '$begin, ' - '$classKeyword, ' - '$nativeToken)', - ); + doPrint('handleClassHeader(' '$begin, ' '$classKeyword, ' '$nativeToken)'); } @override void handleRecoverDeclarationHeader(DeclarationHeaderKind kind) { - doPrint( - 'handleRecoverDeclarationHeader(' - '$kind)', - ); + doPrint('handleRecoverDeclarationHeader(' '$kind)'); } @override @@ -368,54 +277,36 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endClassDeclaration(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endClassDeclaration(' '$beginToken, ' '$endToken)'); } @override - void beginMixinDeclaration( - Token beginToken, - Token? augmentToken, - Token? baseToken, - Token mixinKeyword, - Token name, - ) { + void beginMixinDeclaration(Token beginToken, Token? augmentToken, + Token? baseToken, Token mixinKeyword, Token name) { seen(beginToken); seen(augmentToken); seen(baseToken); seen(mixinKeyword); seen(name); - doPrint( - 'beginMixinDeclaration(' - '$beginToken, ' - '$augmentToken, ' - '$baseToken, ' - '$mixinKeyword, ' - '$name)', - ); + doPrint('beginMixinDeclaration(' + '$beginToken, ' + '$augmentToken, ' + '$baseToken, ' + '$mixinKeyword, ' + '$name)'); indent++; } @override void handleMixinOn(Token? onKeyword, int typeCount) { seen(onKeyword); - doPrint( - 'handleMixinOn(' - '$onKeyword, ' - '$typeCount)', - ); + doPrint('handleMixinOn(' '$onKeyword, ' '$typeCount)'); } @override void handleMixinHeader(Token mixinKeyword) { seen(mixinKeyword); - doPrint( - 'handleMixinHeader(' - '$mixinKeyword)', - ); + doPrint('handleMixinHeader(' '$mixinKeyword)'); } @override @@ -428,178 +319,124 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endMixinDeclaration(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endMixinDeclaration(' '$beginToken, ' '$endToken)'); } @override void beginUncategorizedTopLevelDeclaration(Token token) { seen(token); - doPrint( - 'beginUncategorizedTopLevelDeclaration(' - '$token)', - ); + doPrint('beginUncategorizedTopLevelDeclaration(' '$token)'); indent++; } @override void beginExtensionDeclarationPrelude(Token extensionKeyword) { seen(extensionKeyword); - doPrint( - 'beginExtensionDeclarationPrelude(' - '$extensionKeyword)', - ); + doPrint('beginExtensionDeclarationPrelude(' '$extensionKeyword)'); indent++; } @override void beginExtensionDeclaration( - Token? augmentToken, - Token extensionKeyword, - Token? name, - ) { + Token? augmentToken, Token extensionKeyword, Token? name) { seen(augmentToken); seen(extensionKeyword); seen(name); - doPrint( - 'beginExtensionDeclaration(' - '$augmentToken, ' - '$extensionKeyword, ' - '$name)', - ); + doPrint('beginExtensionDeclaration(' + '$augmentToken, ' + '$extensionKeyword, ' + '$name)'); indent++; } @override - void endExtensionDeclaration( - Token beginToken, - Token extensionKeyword, - Token? onKeyword, - Token endToken, - ) { + void endExtensionDeclaration(Token beginToken, Token extensionKeyword, + Token? onKeyword, Token endToken) { indent--; seen(beginToken); seen(extensionKeyword); seen(onKeyword); seen(endToken); - doPrint( - 'endExtensionDeclaration(' - '$beginToken, ' - '$extensionKeyword, ' - '$onKeyword, ' - '$endToken)', - ); + doPrint('endExtensionDeclaration(' + '$beginToken, ' + '$extensionKeyword, ' + '$onKeyword, ' + '$endToken)'); } @override void beginExtensionTypeDeclaration( - Token? augmentKeyword, - Token extensionKeyword, - Token name, - ) { + Token? augmentKeyword, Token extensionKeyword, Token name) { seen(augmentKeyword); seen(extensionKeyword); seen(name); - doPrint( - 'beginExtensionTypeDeclaration(' - '$augmentKeyword, ' - '$extensionKeyword, ' - '$name)', - ); + doPrint('beginExtensionTypeDeclaration(' + '$augmentKeyword, ' + '$extensionKeyword, ' + '$name)'); indent++; } @override - void endExtensionTypeDeclaration( - Token beginToken, - Token? augmentToken, - Token extensionKeyword, - Token typeKeyword, - Token endToken, - ) { + void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken, + Token extensionKeyword, Token typeKeyword, Token endToken) { indent--; seen(beginToken); seen(augmentToken); seen(extensionKeyword); seen(typeKeyword); seen(endToken); - doPrint( - 'endExtensionTypeDeclaration(' - '$beginToken, ' - '$augmentToken, ' - '$extensionKeyword, ' - '$typeKeyword, ' - '$endToken)', - ); + doPrint('endExtensionTypeDeclaration(' + '$beginToken, ' + '$augmentToken, ' + '$extensionKeyword, ' + '$typeKeyword, ' + '$endToken)'); } @override void beginPrimaryConstructor(Token beginToken) { seen(beginToken); - doPrint( - 'beginPrimaryConstructor(' - '$beginToken)', - ); + doPrint('beginPrimaryConstructor(' '$beginToken)'); indent++; } @override void endPrimaryConstructor( - Token beginToken, - Token? constKeyword, - bool hasConstructorName, - ) { + Token beginToken, Token? constKeyword, bool hasConstructorName) { indent--; seen(beginToken); seen(constKeyword); - doPrint( - 'endPrimaryConstructor(' - '$beginToken, ' - '$constKeyword, ' - '$hasConstructorName)', - ); + doPrint('endPrimaryConstructor(' + '$beginToken, ' + '$constKeyword, ' + '$hasConstructorName)'); } @override void handleNoPrimaryConstructor(Token token, Token? constKeyword) { seen(token); seen(constKeyword); - doPrint( - 'handleNoPrimaryConstructor(' - '$token, ' - '$constKeyword)', - ); + doPrint('handleNoPrimaryConstructor(' '$token, ' '$constKeyword)'); } @override void beginCombinators(Token token) { seen(token); - doPrint( - 'beginCombinators(' - '$token)', - ); + doPrint('beginCombinators(' '$token)'); indent++; } @override void endCombinators(int count) { indent--; - doPrint( - 'endCombinators(' - '$count)', - ); + doPrint('endCombinators(' '$count)'); } @override void beginCompilationUnit(Token token) { seen(token); - doPrint( - 'beginCompilationUnit(' - '$token)', - ); + doPrint('beginCompilationUnit(' '$token)'); indent++; } @@ -612,20 +449,13 @@ class ParserTestListener implements Listener { void endCompilationUnit(int count, Token token) { indent--; seen(token); - doPrint( - 'endCompilationUnit(' - '$count, ' - '$token)', - ); + doPrint('endCompilationUnit(' '$count, ' '$token)'); } @override void beginConstLiteral(Token token) { seen(token); - doPrint( - 'beginConstLiteral(' - '$token)', - ); + doPrint('beginConstLiteral(' '$token)'); indent++; } @@ -633,77 +463,52 @@ class ParserTestListener implements Listener { void endConstLiteral(Token endToken) { indent--; seen(endToken); - doPrint( - 'endConstLiteral(' - '$endToken)', - ); + doPrint('endConstLiteral(' '$endToken)'); } @override void beginConstructorReference(Token start) { seen(start); - doPrint( - 'beginConstructorReference(' - '$start)', - ); + doPrint('beginConstructorReference(' '$start)'); indent++; } @override - void endConstructorReference( - Token start, - Token? periodBeforeName, - Token endToken, - ConstructorReferenceContext constructorReferenceContext, - ) { + void endConstructorReference(Token start, Token? periodBeforeName, + Token endToken, ConstructorReferenceContext constructorReferenceContext) { indent--; seen(start); seen(periodBeforeName); seen(endToken); - doPrint( - 'endConstructorReference(' - '$start, ' - '$periodBeforeName, ' - '$endToken, ' - '$constructorReferenceContext)', - ); + doPrint('endConstructorReference(' + '$start, ' + '$periodBeforeName, ' + '$endToken, ' + '$constructorReferenceContext)'); } @override void beginDoWhileStatement(Token token) { seen(token); - doPrint( - 'beginDoWhileStatement(' - '$token)', - ); + doPrint('beginDoWhileStatement(' '$token)'); indent++; } @override void endDoWhileStatement( - Token doKeyword, - Token whileKeyword, - Token endToken, - ) { + Token doKeyword, Token whileKeyword, Token endToken) { indent--; seen(doKeyword); seen(whileKeyword); seen(endToken); doPrint( - 'endDoWhileStatement(' - '$doKeyword, ' - '$whileKeyword, ' - '$endToken)', - ); + 'endDoWhileStatement(' '$doKeyword, ' '$whileKeyword, ' '$endToken)'); } @override void beginDoWhileStatementBody(Token token) { seen(token); - doPrint( - 'beginDoWhileStatementBody(' - '$token)', - ); + doPrint('beginDoWhileStatementBody(' '$token)'); indent++; } @@ -711,19 +516,13 @@ class ParserTestListener implements Listener { void endDoWhileStatementBody(Token token) { indent--; seen(token); - doPrint( - 'endDoWhileStatementBody(' - '$token)', - ); + doPrint('endDoWhileStatementBody(' '$token)'); } @override void beginWhileStatementBody(Token token) { seen(token); - doPrint( - 'beginWhileStatementBody(' - '$token)', - ); + doPrint('beginWhileStatementBody(' '$token)'); indent++; } @@ -731,132 +530,89 @@ class ParserTestListener implements Listener { void endWhileStatementBody(Token endToken) { indent--; seen(endToken); - doPrint( - 'endWhileStatementBody(' - '$endToken)', - ); + doPrint('endWhileStatementBody(' '$endToken)'); } @override void beginEnum(Token enumKeyword) { seen(enumKeyword); - doPrint( - 'beginEnum(' - '$enumKeyword)', - ); + doPrint('beginEnum(' '$enumKeyword)'); indent++; } @override - void endEnum( - Token beginToken, - Token enumKeyword, - Token leftBrace, - int memberCount, - Token endToken, - ) { + void endEnum(Token beginToken, Token enumKeyword, Token leftBrace, + int memberCount, Token endToken) { indent--; seen(beginToken); seen(enumKeyword); seen(leftBrace); seen(endToken); - doPrint( - 'endEnum(' - '$beginToken, ' - '$enumKeyword, ' - '$leftBrace, ' - '$memberCount, ' - '$endToken)', - ); + doPrint('endEnum(' + '$beginToken, ' + '$enumKeyword, ' + '$leftBrace, ' + '$memberCount, ' + '$endToken)'); } @override - void endEnumConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endEnumConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endEnumConstructor(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endEnumConstructor(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override void handleEnumElements(Token elementsEndToken, int elementsCount) { seen(elementsEndToken); - doPrint( - 'handleEnumElements(' - '$elementsEndToken, ' - '$elementsCount)', - ); + doPrint('handleEnumElements(' '$elementsEndToken, ' '$elementsCount)'); } @override void handleEnumHeader( - Token? augmentToken, - Token enumKeyword, - Token leftBrace, - ) { + Token? augmentToken, Token enumKeyword, Token leftBrace) { seen(augmentToken); seen(enumKeyword); seen(leftBrace); doPrint( - 'handleEnumHeader(' - '$augmentToken, ' - '$enumKeyword, ' - '$leftBrace)', - ); + 'handleEnumHeader(' '$augmentToken, ' '$enumKeyword, ' '$leftBrace)'); } @override void handleEnumElement(Token beginToken, Token? augmentToken) { seen(beginToken); seen(augmentToken); - doPrint( - 'handleEnumElement(' - '$beginToken, ' - '$augmentToken)', - ); + doPrint('handleEnumElement(' '$beginToken, ' '$augmentToken)'); } @override void endEnumFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { indent--; seen(beginToken); seen(factoryKeyword); seen(endToken); - doPrint( - 'endEnumFactoryMethod(' - '$beginToken, ' - '$factoryKeyword, ' - '$endToken)', - ); + doPrint('endEnumFactoryMethod(' + '$beginToken, ' + '$factoryKeyword, ' + '$endToken)'); } @override void beginExport(Token token) { seen(token); - doPrint( - 'beginExport(' - '$token)', - ); + doPrint('beginExport(' '$token)'); indent++; } @@ -865,160 +621,114 @@ class ParserTestListener implements Listener { indent--; seen(exportKeyword); seen(semicolon); - doPrint( - 'endExport(' - '$exportKeyword, ' - '$semicolon)', - ); + doPrint('endExport(' '$exportKeyword, ' '$semicolon)'); } @override void handleExtraneousExpression(Token token, Message message) { seen(token); - doPrint( - 'handleExtraneousExpression(' - '$token, ' - '$message)', - ); + doPrint('handleExtraneousExpression(' '$token, ' '$message)'); } @override void handleExpressionStatement(Token beginToken, Token endToken) { seen(beginToken); seen(endToken); - doPrint( - 'handleExpressionStatement(' - '$beginToken, ' - '$endToken)', - ); + doPrint('handleExpressionStatement(' '$beginToken, ' '$endToken)'); } @override - void beginFactoryMethod( - DeclarationKind declarationKind, - Token lastConsumed, - Token? externalToken, - Token? constToken, - ) { + void beginFactoryMethod(DeclarationKind declarationKind, Token lastConsumed, + Token? externalToken, Token? constToken) { seen(lastConsumed); seen(externalToken); seen(constToken); - doPrint( - 'beginFactoryMethod(' - '$declarationKind, ' - '$lastConsumed, ' - '$externalToken, ' - '$constToken)', - ); + doPrint('beginFactoryMethod(' + '$declarationKind, ' + '$lastConsumed, ' + '$externalToken, ' + '$constToken)'); indent++; } @override void endClassFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { indent--; seen(beginToken); seen(factoryKeyword); seen(endToken); - doPrint( - 'endClassFactoryMethod(' - '$beginToken, ' - '$factoryKeyword, ' - '$endToken)', - ); + doPrint('endClassFactoryMethod(' + '$beginToken, ' + '$factoryKeyword, ' + '$endToken)'); } @override void endMixinFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { indent--; seen(beginToken); seen(factoryKeyword); seen(endToken); - doPrint( - 'endMixinFactoryMethod(' - '$beginToken, ' - '$factoryKeyword, ' - '$endToken)', - ); + doPrint('endMixinFactoryMethod(' + '$beginToken, ' + '$factoryKeyword, ' + '$endToken)'); } @override void endExtensionFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { indent--; seen(beginToken); seen(factoryKeyword); seen(endToken); - doPrint( - 'endExtensionFactoryMethod(' - '$beginToken, ' - '$factoryKeyword, ' - '$endToken)', - ); + doPrint('endExtensionFactoryMethod(' + '$beginToken, ' + '$factoryKeyword, ' + '$endToken)'); } @override void endExtensionTypeFactoryMethod( - Token beginToken, - Token factoryKeyword, - Token endToken, - ) { + Token beginToken, Token factoryKeyword, Token endToken) { indent--; seen(beginToken); seen(factoryKeyword); seen(endToken); - doPrint( - 'endExtensionTypeFactoryMethod(' - '$beginToken, ' - '$factoryKeyword, ' - '$endToken)', - ); + doPrint('endExtensionTypeFactoryMethod(' + '$beginToken, ' + '$factoryKeyword, ' + '$endToken)'); } @override - void beginFormalParameter( - Token token, - MemberKind kind, - Token? requiredToken, - Token? covariantToken, - Token? varFinalOrConst, - ) { + void beginFormalParameter(Token token, MemberKind kind, Token? requiredToken, + Token? covariantToken, Token? varFinalOrConst) { seen(token); seen(requiredToken); seen(covariantToken); seen(varFinalOrConst); - doPrint( - 'beginFormalParameter(' - '$token, ' - '$kind, ' - '$requiredToken, ' - '$covariantToken, ' - '$varFinalOrConst)', - ); + doPrint('beginFormalParameter(' + '$token, ' + '$kind, ' + '$requiredToken, ' + '$covariantToken, ' + '$varFinalOrConst)'); indent++; } @override void endFormalParameter( - Token? thisKeyword, - Token? superKeyword, - Token? periodAfterThisOrSuper, - Token nameToken, - Token? initializerStart, - Token? initializerEnd, - FormalParameterKind kind, - MemberKind memberKind, - ) { + Token? thisKeyword, + Token? superKeyword, + Token? periodAfterThisOrSuper, + Token nameToken, + Token? initializerStart, + Token? initializerEnd, + FormalParameterKind kind, + MemberKind memberKind) { indent--; seen(thisKeyword); seen(superKeyword); @@ -1026,72 +736,55 @@ class ParserTestListener implements Listener { seen(nameToken); seen(initializerStart); seen(initializerEnd); - doPrint( - 'endFormalParameter(' - '$thisKeyword, ' - '$superKeyword, ' - '$periodAfterThisOrSuper, ' - '$nameToken, ' - '$initializerStart, ' - '$initializerEnd, ' - '$kind, ' - '$memberKind)', - ); + doPrint('endFormalParameter(' + '$thisKeyword, ' + '$superKeyword, ' + '$periodAfterThisOrSuper, ' + '$nameToken, ' + '$initializerStart, ' + '$initializerEnd, ' + '$kind, ' + '$memberKind)'); } @override void handleNoFormalParameters(Token token, MemberKind kind) { seen(token); - doPrint( - 'handleNoFormalParameters(' - '$token, ' - '$kind)', - ); + doPrint('handleNoFormalParameters(' '$token, ' '$kind)'); } @override void beginFormalParameters(Token token, MemberKind kind) { seen(token); - doPrint( - 'beginFormalParameters(' - '$token, ' - '$kind)', - ); + doPrint('beginFormalParameters(' '$token, ' '$kind)'); indent++; } @override void endFormalParameters( - int count, - Token beginToken, - Token endToken, - MemberKind kind, - ) { + int count, Token beginToken, Token endToken, MemberKind kind) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endFormalParameters(' - '$count, ' - '$beginToken, ' - '$endToken, ' - '$kind)', - ); + doPrint('endFormalParameters(' + '$count, ' + '$beginToken, ' + '$endToken, ' + '$kind)'); } @override void endClassFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(abstractToken); seen(augmentToken); @@ -1102,34 +795,31 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endClassFields(' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endClassFields(' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override void endMixinFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(abstractToken); seen(augmentToken); @@ -1140,34 +830,31 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endMixinFields(' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endMixinFields(' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override void endExtensionFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(abstractToken); seen(augmentToken); @@ -1178,34 +865,31 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endExtensionFields(' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endExtensionFields(' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override void endExtensionTypeFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(abstractToken); seen(augmentToken); @@ -1216,34 +900,31 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endExtensionTypeFields(' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endExtensionTypeFields(' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override void endEnumFields( - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(abstractToken); seen(augmentToken); @@ -1254,137 +935,98 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endEnumFields(' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endEnumFields(' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override - void endEnumMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endEnumMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endEnumMethod(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endEnumMethod(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override void handleForInitializerEmptyStatement(Token token) { seen(token); - doPrint( - 'handleForInitializerEmptyStatement(' - '$token)', - ); + doPrint('handleForInitializerEmptyStatement(' '$token)'); } @override void handleForInitializerExpressionStatement(Token token, bool forIn) { seen(token); - doPrint( - 'handleForInitializerExpressionStatement(' - '$token, ' - '$forIn)', - ); + doPrint('handleForInitializerExpressionStatement(' '$token, ' '$forIn)'); } @override void handleForInitializerLocalVariableDeclaration(Token token, bool forIn) { seen(token); doPrint( - 'handleForInitializerLocalVariableDeclaration(' - '$token, ' - '$forIn)', - ); + 'handleForInitializerLocalVariableDeclaration(' '$token, ' '$forIn)'); } @override void handleForInitializerPatternVariableAssignment( - Token keyword, - Token equals, - ) { + Token keyword, Token equals) { seen(keyword); seen(equals); - doPrint( - 'handleForInitializerPatternVariableAssignment(' - '$keyword, ' - '$equals)', - ); + doPrint('handleForInitializerPatternVariableAssignment(' + '$keyword, ' + '$equals)'); } @override void beginForStatement(Token token) { seen(token); - doPrint( - 'beginForStatement(' - '$token)', - ); + doPrint('beginForStatement(' '$token)'); indent++; } @override - void handleForLoopParts( - Token forKeyword, - Token leftParen, - Token leftSeparator, - Token rightSeparator, - int updateExpressionCount, - ) { + void handleForLoopParts(Token forKeyword, Token leftParen, + Token leftSeparator, Token rightSeparator, int updateExpressionCount) { seen(forKeyword); seen(leftParen); seen(leftSeparator); seen(rightSeparator); - doPrint( - 'handleForLoopParts(' - '$forKeyword, ' - '$leftParen, ' - '$leftSeparator, ' - '$rightSeparator, ' - '$updateExpressionCount)', - ); + doPrint('handleForLoopParts(' + '$forKeyword, ' + '$leftParen, ' + '$leftSeparator, ' + '$rightSeparator, ' + '$updateExpressionCount)'); } @override void endForStatement(Token endToken) { indent--; seen(endToken); - doPrint( - 'endForStatement(' - '$endToken)', - ); + doPrint('endForStatement(' '$endToken)'); } @override void beginForStatementBody(Token token) { seen(token); - doPrint( - 'beginForStatementBody(' - '$token)', - ); + doPrint('beginForStatementBody(' '$token)'); indent++; } @@ -1392,52 +1034,36 @@ class ParserTestListener implements Listener { void endForStatementBody(Token endToken) { indent--; seen(endToken); - doPrint( - 'endForStatementBody(' - '$endToken)', - ); + doPrint('endForStatementBody(' '$endToken)'); } @override - void handleForInLoopParts( - Token? awaitToken, - Token forToken, - Token leftParenthesis, - Token? patternKeyword, - Token inKeyword, - ) { + void handleForInLoopParts(Token? awaitToken, Token forToken, + Token leftParenthesis, Token? patternKeyword, Token inKeyword) { seen(awaitToken); seen(forToken); seen(leftParenthesis); seen(patternKeyword); seen(inKeyword); - doPrint( - 'handleForInLoopParts(' - '$awaitToken, ' - '$forToken, ' - '$leftParenthesis, ' - '$patternKeyword, ' - '$inKeyword)', - ); + doPrint('handleForInLoopParts(' + '$awaitToken, ' + '$forToken, ' + '$leftParenthesis, ' + '$patternKeyword, ' + '$inKeyword)'); } @override void endForIn(Token endToken) { indent--; seen(endToken); - doPrint( - 'endForIn(' - '$endToken)', - ); + doPrint('endForIn(' '$endToken)'); } @override void beginForInExpression(Token token) { seen(token); - doPrint( - 'beginForInExpression(' - '$token)', - ); + doPrint('beginForInExpression(' '$token)'); indent++; } @@ -1445,19 +1071,13 @@ class ParserTestListener implements Listener { void endForInExpression(Token token) { indent--; seen(token); - doPrint( - 'endForInExpression(' - '$token)', - ); + doPrint('endForInExpression(' '$token)'); } @override void beginForInBody(Token token) { seen(token); - doPrint( - 'beginForInBody(' - '$token)', - ); + doPrint('beginForInBody(' '$token)'); indent++; } @@ -1465,19 +1085,13 @@ class ParserTestListener implements Listener { void endForInBody(Token endToken) { indent--; seen(endToken); - doPrint( - 'endForInBody(' - '$endToken)', - ); + doPrint('endForInBody(' '$endToken)'); } @override void beginNamedFunctionExpression(Token token) { seen(token); - doPrint( - 'beginNamedFunctionExpression(' - '$token)', - ); + doPrint('beginNamedFunctionExpression(' '$token)'); indent++; } @@ -1485,19 +1099,13 @@ class ParserTestListener implements Listener { void endNamedFunctionExpression(Token endToken) { indent--; seen(endToken); - doPrint( - 'endNamedFunctionExpression(' - '$endToken)', - ); + doPrint('endNamedFunctionExpression(' '$endToken)'); } @override void beginLocalFunctionDeclaration(Token token) { seen(token); - doPrint( - 'beginLocalFunctionDeclaration(' - '$token)', - ); + doPrint('beginLocalFunctionDeclaration(' '$token)'); indent++; } @@ -1505,19 +1113,13 @@ class ParserTestListener implements Listener { void endLocalFunctionDeclaration(Token endToken) { indent--; seen(endToken); - doPrint( - 'endLocalFunctionDeclaration(' - '$endToken)', - ); + doPrint('endLocalFunctionDeclaration(' '$endToken)'); } @override void beginBlockFunctionBody(Token token) { seen(token); - doPrint( - 'beginBlockFunctionBody(' - '$token)', - ); + doPrint('beginBlockFunctionBody(' '$token)'); indent++; } @@ -1526,40 +1128,25 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endBlockFunctionBody(' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endBlockFunctionBody(' '$count, ' '$beginToken, ' '$endToken)'); } @override void handleNoFunctionBody(Token token) { seen(token); - doPrint( - 'handleNoFunctionBody(' - '$token)', - ); + doPrint('handleNoFunctionBody(' '$token)'); } @override void handleFunctionBodySkipped(Token token, bool isExpressionBody) { seen(token); - doPrint( - 'handleFunctionBodySkipped(' - '$token, ' - '$isExpressionBody)', - ); + doPrint('handleFunctionBodySkipped(' '$token, ' '$isExpressionBody)'); } @override void beginFunctionName(Token token) { seen(token); - doPrint( - 'beginFunctionName(' - '$token)', - ); + doPrint('beginFunctionName(' '$token)'); indent++; } @@ -1568,51 +1155,35 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(token); - doPrint( - 'endFunctionName(' - '$beginToken, ' - '$token)', - ); + doPrint('endFunctionName(' '$beginToken, ' '$token)'); } @override void beginTypedef(Token token) { seen(token); - doPrint( - 'beginTypedef(' - '$token)', - ); + doPrint('beginTypedef(' '$token)'); indent++; } @override - void endTypedef( - Token? augmentToken, - Token typedefKeyword, - Token? equals, - Token endToken, - ) { + void endTypedef(Token? augmentToken, Token typedefKeyword, Token? equals, + Token endToken) { indent--; seen(augmentToken); seen(typedefKeyword); seen(equals); seen(endToken); - doPrint( - 'endTypedef(' - '$augmentToken, ' - '$typedefKeyword, ' - '$equals, ' - '$endToken)', - ); + doPrint('endTypedef(' + '$augmentToken, ' + '$typedefKeyword, ' + '$equals, ' + '$endToken)'); } @override void handleClassWithClause(Token withKeyword) { seen(withKeyword); - doPrint( - 'handleClassWithClause(' - '$withKeyword)', - ); + doPrint('handleClassWithClause(' '$withKeyword)'); } @override @@ -1623,10 +1194,7 @@ class ParserTestListener implements Listener { @override void handleEnumWithClause(Token withKeyword) { seen(withKeyword); - doPrint( - 'handleEnumWithClause(' - '$withKeyword)', - ); + doPrint('handleEnumWithClause(' '$withKeyword)'); } @override @@ -1637,25 +1205,21 @@ class ParserTestListener implements Listener { @override void handleMixinWithClause(Token withKeyword) { seen(withKeyword); - doPrint( - 'handleMixinWithClause(' - '$withKeyword)', - ); + doPrint('handleMixinWithClause(' '$withKeyword)'); } @override void beginNamedMixinApplication( - Token beginToken, - Token? abstractToken, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - Token? finalToken, - Token? augmentToken, - Token? mixinToken, - Token name, - ) { + Token beginToken, + Token? abstractToken, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + Token? finalToken, + Token? augmentToken, + Token? mixinToken, + Token name) { seen(beginToken); seen(abstractToken); seen(macroToken); @@ -1666,62 +1230,47 @@ class ParserTestListener implements Listener { seen(augmentToken); seen(mixinToken); seen(name); - doPrint( - 'beginNamedMixinApplication(' - '$beginToken, ' - '$abstractToken, ' - '$macroToken, ' - '$sealedToken, ' - '$baseToken, ' - '$interfaceToken, ' - '$finalToken, ' - '$augmentToken, ' - '$mixinToken, ' - '$name)', - ); + doPrint('beginNamedMixinApplication(' + '$beginToken, ' + '$abstractToken, ' + '$macroToken, ' + '$sealedToken, ' + '$baseToken, ' + '$interfaceToken, ' + '$finalToken, ' + '$augmentToken, ' + '$mixinToken, ' + '$name)'); indent++; } @override void handleNamedMixinApplicationWithClause(Token withKeyword) { seen(withKeyword); - doPrint( - 'handleNamedMixinApplicationWithClause(' - '$withKeyword)', - ); + doPrint('handleNamedMixinApplicationWithClause(' '$withKeyword)'); } @override - void endNamedMixinApplication( - Token begin, - Token classKeyword, - Token equals, - Token? implementsKeyword, - Token endToken, - ) { + void endNamedMixinApplication(Token begin, Token classKeyword, Token equals, + Token? implementsKeyword, Token endToken) { indent--; seen(begin); seen(classKeyword); seen(equals); seen(implementsKeyword); seen(endToken); - doPrint( - 'endNamedMixinApplication(' - '$begin, ' - '$classKeyword, ' - '$equals, ' - '$implementsKeyword, ' - '$endToken)', - ); + doPrint('endNamedMixinApplication(' + '$begin, ' + '$classKeyword, ' + '$equals, ' + '$implementsKeyword, ' + '$endToken)'); } @override void beginHide(Token hideKeyword) { seen(hideKeyword); - doPrint( - 'beginHide(' - '$hideKeyword)', - ); + doPrint('beginHide(' '$hideKeyword)'); indent++; } @@ -1729,46 +1278,31 @@ class ParserTestListener implements Listener { void endHide(Token hideKeyword) { indent--; seen(hideKeyword); - doPrint( - 'endHide(' - '$hideKeyword)', - ); + doPrint('endHide(' '$hideKeyword)'); } @override void handleIdentifierList(int count) { - doPrint( - 'handleIdentifierList(' - '$count)', - ); + doPrint('handleIdentifierList(' '$count)'); } @override void beginTypeList(Token token) { seen(token); - doPrint( - 'beginTypeList(' - '$token)', - ); + doPrint('beginTypeList(' '$token)'); indent++; } @override void endTypeList(int count) { indent--; - doPrint( - 'endTypeList(' - '$count)', - ); + doPrint('endTypeList(' '$count)'); } @override void beginIfStatement(Token token) { seen(token); - doPrint( - 'beginIfStatement(' - '$token)', - ); + doPrint('beginIfStatement(' '$token)'); indent++; } @@ -1778,21 +1312,13 @@ class ParserTestListener implements Listener { seen(ifToken); seen(elseToken); seen(endToken); - doPrint( - 'endIfStatement(' - '$ifToken, ' - '$elseToken, ' - '$endToken)', - ); + doPrint('endIfStatement(' '$ifToken, ' '$elseToken, ' '$endToken)'); } @override void beginThenStatement(Token token) { seen(token); - doPrint( - 'beginThenStatement(' - '$token)', - ); + doPrint('beginThenStatement(' '$token)'); indent++; } @@ -1801,20 +1327,13 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endThenStatement(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endThenStatement(' '$beginToken, ' '$endToken)'); } @override void beginElseStatement(Token token) { seen(token); - doPrint( - 'beginElseStatement(' - '$token)', - ); + doPrint('beginElseStatement(' '$token)'); indent++; } @@ -1823,20 +1342,13 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endElseStatement(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endElseStatement(' '$beginToken, ' '$endToken)'); } @override void beginImport(Token importKeyword) { seen(importKeyword); - doPrint( - 'beginImport(' - '$importKeyword)', - ); + doPrint('beginImport(' '$importKeyword)'); indent++; } @@ -1844,11 +1356,7 @@ class ParserTestListener implements Listener { void handleImportPrefix(Token? deferredKeyword, Token? asKeyword) { seen(deferredKeyword); seen(asKeyword); - doPrint( - 'handleImportPrefix(' - '$deferredKeyword, ' - '$asKeyword)', - ); + doPrint('handleImportPrefix(' '$deferredKeyword, ' '$asKeyword)'); } @override @@ -1857,49 +1365,32 @@ class ParserTestListener implements Listener { seen(importKeyword); seen(augmentToken); seen(semicolon); - doPrint( - 'endImport(' - '$importKeyword, ' - '$augmentToken, ' - '$semicolon)', - ); + doPrint('endImport(' '$importKeyword, ' '$augmentToken, ' '$semicolon)'); } @override void handleRecoverImport(Token? semicolon) { seen(semicolon); - doPrint( - 'handleRecoverImport(' - '$semicolon)', - ); + doPrint('handleRecoverImport(' '$semicolon)'); } @override void beginConditionalUris(Token token) { seen(token); - doPrint( - 'beginConditionalUris(' - '$token)', - ); + doPrint('beginConditionalUris(' '$token)'); indent++; } @override void endConditionalUris(int count) { indent--; - doPrint( - 'endConditionalUris(' - '$count)', - ); + doPrint('endConditionalUris(' '$count)'); } @override void beginConditionalUri(Token ifKeyword) { seen(ifKeyword); - doPrint( - 'beginConditionalUri(' - '$ifKeyword)', - ); + doPrint('beginConditionalUri(' '$ifKeyword)'); indent++; } @@ -1909,31 +1400,19 @@ class ParserTestListener implements Listener { seen(ifKeyword); seen(leftParen); seen(equalSign); - doPrint( - 'endConditionalUri(' - '$ifKeyword, ' - '$leftParen, ' - '$equalSign)', - ); + doPrint('endConditionalUri(' '$ifKeyword, ' '$leftParen, ' '$equalSign)'); } @override void handleDottedName(int count, Token firstIdentifier) { seen(firstIdentifier); - doPrint( - 'handleDottedName(' - '$count, ' - '$firstIdentifier)', - ); + doPrint('handleDottedName(' '$count, ' '$firstIdentifier)'); } @override void beginImplicitCreationExpression(Token token) { seen(token); - doPrint( - 'beginImplicitCreationExpression(' - '$token)', - ); + doPrint('beginImplicitCreationExpression(' '$token)'); indent++; } @@ -1942,20 +1421,13 @@ class ParserTestListener implements Listener { indent--; seen(token); seen(openAngleBracket); - doPrint( - 'endImplicitCreationExpression(' - '$token, ' - '$openAngleBracket)', - ); + doPrint('endImplicitCreationExpression(' '$token, ' '$openAngleBracket)'); } @override void beginInitializedIdentifier(Token token) { seen(token); - doPrint( - 'beginInitializedIdentifier(' - '$token)', - ); + doPrint('beginInitializedIdentifier(' '$token)'); indent++; } @@ -1963,19 +1435,13 @@ class ParserTestListener implements Listener { void endInitializedIdentifier(Token nameToken) { indent--; seen(nameToken); - doPrint( - 'endInitializedIdentifier(' - '$nameToken)', - ); + doPrint('endInitializedIdentifier(' '$nameToken)'); } @override void beginFieldInitializer(Token token) { seen(token); - doPrint( - 'beginFieldInitializer(' - '$token)', - ); + doPrint('beginFieldInitializer(' '$token)'); indent++; } @@ -1984,29 +1450,19 @@ class ParserTestListener implements Listener { indent--; seen(assignment); seen(endToken); - doPrint( - 'endFieldInitializer(' - '$assignment, ' - '$endToken)', - ); + doPrint('endFieldInitializer(' '$assignment, ' '$endToken)'); } @override void handleNoFieldInitializer(Token token) { seen(token); - doPrint( - 'handleNoFieldInitializer(' - '$token)', - ); + doPrint('handleNoFieldInitializer(' '$token)'); } @override void beginVariableInitializer(Token token) { seen(token); - doPrint( - 'beginVariableInitializer(' - '$token)', - ); + doPrint('beginVariableInitializer(' '$token)'); indent++; } @@ -2014,28 +1470,19 @@ class ParserTestListener implements Listener { void endVariableInitializer(Token assignmentOperator) { indent--; seen(assignmentOperator); - doPrint( - 'endVariableInitializer(' - '$assignmentOperator)', - ); + doPrint('endVariableInitializer(' '$assignmentOperator)'); } @override void handleNoVariableInitializer(Token token) { seen(token); - doPrint( - 'handleNoVariableInitializer(' - '$token)', - ); + doPrint('handleNoVariableInitializer(' '$token)'); } @override void beginInitializer(Token token) { seen(token); - doPrint( - 'beginInitializer(' - '$token)', - ); + doPrint('beginInitializer(' '$token)'); indent++; } @@ -2043,19 +1490,13 @@ class ParserTestListener implements Listener { void endInitializer(Token endToken) { indent--; seen(endToken); - doPrint( - 'endInitializer(' - '$endToken)', - ); + doPrint('endInitializer(' '$endToken)'); } @override void beginInitializers(Token token) { seen(token); - doPrint( - 'beginInitializers(' - '$token)', - ); + doPrint('beginInitializers(' '$token)'); indent++; } @@ -2064,12 +1505,7 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endInitializers(' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endInitializers(' '$count, ' '$beginToken, ' '$endToken)'); } @override @@ -2080,96 +1516,65 @@ class ParserTestListener implements Listener { @override void handleInvalidExpression(Token token) { seen(token); - doPrint( - 'handleInvalidExpression(' - '$token)', - ); + doPrint('handleInvalidExpression(' '$token)'); } @override void handleInvalidFunctionBody(Token token) { seen(token); - doPrint( - 'handleInvalidFunctionBody(' - '$token)', - ); + doPrint('handleInvalidFunctionBody(' '$token)'); } @override void handleInvalidTypeReference(Token token) { seen(token); - doPrint( - 'handleInvalidTypeReference(' - '$token)', - ); + doPrint('handleInvalidTypeReference(' '$token)'); } @override void handleLabel(Token token) { seen(token); - doPrint( - 'handleLabel(' - '$token)', - ); + doPrint('handleLabel(' '$token)'); } @override void beginLabeledStatement(Token token, int labelCount) { seen(token); - doPrint( - 'beginLabeledStatement(' - '$token, ' - '$labelCount)', - ); + doPrint('beginLabeledStatement(' '$token, ' '$labelCount)'); indent++; } @override void endLabeledStatement(int labelCount) { indent--; - doPrint( - 'endLabeledStatement(' - '$labelCount)', - ); + doPrint('endLabeledStatement(' '$labelCount)'); } @override void beginLibraryAugmentation(Token augmentKeyword, Token libraryKeyword) { seen(augmentKeyword); seen(libraryKeyword); - doPrint( - 'beginLibraryAugmentation(' - '$augmentKeyword, ' - '$libraryKeyword)', - ); + doPrint('beginLibraryAugmentation(' '$augmentKeyword, ' '$libraryKeyword)'); indent++; } @override void endLibraryAugmentation( - Token augmentKeyword, - Token libraryKeyword, - Token semicolon, - ) { + Token augmentKeyword, Token libraryKeyword, Token semicolon) { indent--; seen(augmentKeyword); seen(libraryKeyword); seen(semicolon); - doPrint( - 'endLibraryAugmentation(' - '$augmentKeyword, ' - '$libraryKeyword, ' - '$semicolon)', - ); + doPrint('endLibraryAugmentation(' + '$augmentKeyword, ' + '$libraryKeyword, ' + '$semicolon)'); } @override void beginLibraryName(Token token) { seen(token); - doPrint( - 'beginLibraryName(' - '$token)', - ); + doPrint('beginLibraryName(' '$token)'); indent++; } @@ -2178,52 +1583,34 @@ class ParserTestListener implements Listener { indent--; seen(libraryKeyword); seen(semicolon); - doPrint( - 'endLibraryName(' - '$libraryKeyword, ' - '$semicolon, ' - '$hasName)', - ); + doPrint('endLibraryName(' '$libraryKeyword, ' '$semicolon, ' '$hasName)'); } @override - void handleLiteralMapEntry( - Token colon, - Token endToken, { - Token? nullAwareKeyToken, - Token? nullAwareValueToken, - }) { + void handleLiteralMapEntry(Token colon, Token endToken, + {Token? nullAwareKeyToken, Token? nullAwareValueToken}) { seen(colon); seen(endToken); seen(nullAwareKeyToken); seen(nullAwareValueToken); - doPrint( - 'handleLiteralMapEntry(' - '$colon, ' - '$endToken, ' - '$nullAwareKeyToken, ' - '$nullAwareValueToken)', - ); + doPrint('handleLiteralMapEntry(' + '$colon, ' + '$endToken, ' + '$nullAwareKeyToken, ' + '$nullAwareValueToken)'); } @override void handleMapPatternEntry(Token colon, Token endToken) { seen(colon); seen(endToken); - doPrint( - 'handleMapPatternEntry(' - '$colon, ' - '$endToken)', - ); + doPrint('handleMapPatternEntry(' '$colon, ' '$endToken)'); } @override void beginLiteralString(Token token) { seen(token); - doPrint( - 'beginLiteralString(' - '$token)', - ); + doPrint('beginLiteralString(' '$token)'); indent++; } @@ -2231,32 +1618,20 @@ class ParserTestListener implements Listener { void handleInterpolationExpression(Token leftBracket, Token? rightBracket) { seen(leftBracket); seen(rightBracket); - doPrint( - 'handleInterpolationExpression(' - '$leftBracket, ' - '$rightBracket)', - ); + doPrint('handleInterpolationExpression(' '$leftBracket, ' '$rightBracket)'); } @override void endLiteralString(int interpolationCount, Token endToken) { indent--; seen(endToken); - doPrint( - 'endLiteralString(' - '$interpolationCount, ' - '$endToken)', - ); + doPrint('endLiteralString(' '$interpolationCount, ' '$endToken)'); } @override void handleAdjacentStringLiterals(Token startToken, int literalCount) { seen(startToken); - doPrint( - 'handleAdjacentStringLiterals(' - '$startToken, ' - '$literalCount)', - ); + doPrint('handleAdjacentStringLiterals(' '$startToken, ' '$literalCount)'); } @override @@ -2268,10 +1643,7 @@ class ParserTestListener implements Listener { @override void handleInvalidMember(Token endToken) { seen(endToken); - doPrint( - 'handleInvalidMember(' - '$endToken)', - ); + doPrint('handleInvalidMember(' '$endToken)'); } @override @@ -2282,16 +1654,15 @@ class ParserTestListener implements Listener { @override void beginMethod( - DeclarationKind declarationKind, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? varFinalOrConst, - Token? getOrSet, - Token name, - String? enclosingDeclarationName, - ) { + DeclarationKind declarationKind, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? varFinalOrConst, + Token? getOrSet, + Token name, + String? enclosingDeclarationName) { seen(augmentToken); seen(externalToken); seen(staticToken); @@ -2299,239 +1670,172 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(getOrSet); seen(name); - doPrint( - 'beginMethod(' - '$declarationKind, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$varFinalOrConst, ' - '$getOrSet, ' - '$name, ' - '$enclosingDeclarationName)', - ); + doPrint('beginMethod(' + '$declarationKind, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$varFinalOrConst, ' + '$getOrSet, ' + '$name, ' + '$enclosingDeclarationName)'); indent++; } @override - void endClassMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endClassMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endClassMethod(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endClassMethod(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endMixinMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endMixinMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endMixinMethod(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endMixinMethod(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endExtensionMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionMethod(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endExtensionMethod(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endExtensionMethod(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endExtensionTypeMethod( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionTypeMethod(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endExtensionTypeMethod(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endExtensionTypeMethod(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endClassConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endClassConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endClassConstructor(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endClassConstructor(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endMixinConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endMixinConstructor(Token? getOrSet, Token beginToken, Token beginParam, + Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endMixinConstructor(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endMixinConstructor(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endExtensionConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionConstructor(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endExtensionConstructor(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endExtensionConstructor(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override - void endExtensionTypeConstructor( - Token? getOrSet, - Token beginToken, - Token beginParam, - Token? beginInitializers, - Token endToken, - ) { + void endExtensionTypeConstructor(Token? getOrSet, Token beginToken, + Token beginParam, Token? beginInitializers, Token endToken) { indent--; seen(getOrSet); seen(beginToken); seen(beginParam); seen(beginInitializers); seen(endToken); - doPrint( - 'endExtensionTypeConstructor(' - '$getOrSet, ' - '$beginToken, ' - '$beginParam, ' - '$beginInitializers, ' - '$endToken)', - ); + doPrint('endExtensionTypeConstructor(' + '$getOrSet, ' + '$beginToken, ' + '$beginParam, ' + '$beginInitializers, ' + '$endToken)'); } @override void beginMetadataStar(Token token) { seen(token); - doPrint( - 'beginMetadataStar(' - '$token)', - ); + doPrint('beginMetadataStar(' '$token)'); indent++; } @override void endMetadataStar(int count) { indent--; - doPrint( - 'endMetadataStar(' - '$count)', - ); + doPrint('endMetadataStar(' '$count)'); } @override void beginMetadata(Token token) { seen(token); - doPrint( - 'beginMetadata(' - '$token)', - ); + doPrint('beginMetadata(' '$token)'); indent++; } @@ -2541,50 +1845,33 @@ class ParserTestListener implements Listener { seen(beginToken); seen(periodBeforeName); seen(endToken); - doPrint( - 'endMetadata(' - '$beginToken, ' - '$periodBeforeName, ' - '$endToken)', - ); + doPrint('endMetadata(' '$beginToken, ' '$periodBeforeName, ' '$endToken)'); } @override void beginOptionalFormalParameters(Token token) { seen(token); - doPrint( - 'beginOptionalFormalParameters(' - '$token)', - ); + doPrint('beginOptionalFormalParameters(' '$token)'); indent++; } @override void endOptionalFormalParameters( - int count, - Token beginToken, - Token endToken, - MemberKind kind, - ) { + int count, Token beginToken, Token endToken, MemberKind kind) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endOptionalFormalParameters(' - '$count, ' - '$beginToken, ' - '$endToken, ' - '$kind)', - ); + doPrint('endOptionalFormalParameters(' + '$count, ' + '$beginToken, ' + '$endToken, ' + '$kind)'); } @override void beginPart(Token token) { seen(token); - doPrint( - 'beginPart(' - '$token)', - ); + doPrint('beginPart(' '$token)'); indent++; } @@ -2593,50 +1880,34 @@ class ParserTestListener implements Listener { indent--; seen(partKeyword); seen(semicolon); - doPrint( - 'endPart(' - '$partKeyword, ' - '$semicolon)', - ); + doPrint('endPart(' '$partKeyword, ' '$semicolon)'); } @override void beginPartOf(Token token) { seen(token); - doPrint( - 'beginPartOf(' - '$token)', - ); + doPrint('beginPartOf(' '$token)'); indent++; } @override void endPartOf( - Token partKeyword, - Token ofKeyword, - Token semicolon, - bool hasName, - ) { + Token partKeyword, Token ofKeyword, Token semicolon, bool hasName) { indent--; seen(partKeyword); seen(ofKeyword); seen(semicolon); - doPrint( - 'endPartOf(' - '$partKeyword, ' - '$ofKeyword, ' - '$semicolon, ' - '$hasName)', - ); + doPrint('endPartOf(' + '$partKeyword, ' + '$ofKeyword, ' + '$semicolon, ' + '$hasName)'); } @override void beginRedirectingFactoryBody(Token token) { seen(token); - doPrint( - 'beginRedirectingFactoryBody(' - '$token)', - ); + doPrint('beginRedirectingFactoryBody(' '$token)'); indent++; } @@ -2645,20 +1916,13 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endRedirectingFactoryBody(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endRedirectingFactoryBody(' '$beginToken, ' '$endToken)'); } @override void beginReturnStatement(Token token) { seen(token); - doPrint( - 'beginReturnStatement(' - '$token)', - ); + doPrint('beginReturnStatement(' '$token)'); indent++; } @@ -2666,90 +1930,57 @@ class ParserTestListener implements Listener { void handleNativeFunctionBody(Token nativeToken, Token semicolon) { seen(nativeToken); seen(semicolon); - doPrint( - 'handleNativeFunctionBody(' - '$nativeToken, ' - '$semicolon)', - ); + doPrint('handleNativeFunctionBody(' '$nativeToken, ' '$semicolon)'); } @override void handleNativeFunctionBodyIgnored(Token nativeToken, Token semicolon) { seen(nativeToken); seen(semicolon); - doPrint( - 'handleNativeFunctionBodyIgnored(' - '$nativeToken, ' - '$semicolon)', - ); + doPrint('handleNativeFunctionBodyIgnored(' '$nativeToken, ' '$semicolon)'); } @override void handleNativeFunctionBodySkipped(Token nativeToken, Token semicolon) { seen(nativeToken); seen(semicolon); - doPrint( - 'handleNativeFunctionBodySkipped(' - '$nativeToken, ' - '$semicolon)', - ); + doPrint('handleNativeFunctionBodySkipped(' '$nativeToken, ' '$semicolon)'); } @override void handleEmptyFunctionBody(Token semicolon) { seen(semicolon); - doPrint( - 'handleEmptyFunctionBody(' - '$semicolon)', - ); + doPrint('handleEmptyFunctionBody(' '$semicolon)'); } @override void handleExpressionFunctionBody(Token arrowToken, Token? endToken) { seen(arrowToken); seen(endToken); - doPrint( - 'handleExpressionFunctionBody(' - '$arrowToken, ' - '$endToken)', - ); + doPrint('handleExpressionFunctionBody(' '$arrowToken, ' '$endToken)'); } @override void endReturnStatement( - bool hasExpression, - Token beginToken, - Token endToken, - ) { + bool hasExpression, Token beginToken, Token endToken) { indent--; seen(beginToken); seen(endToken); doPrint( - 'endReturnStatement(' - '$hasExpression, ' - '$beginToken, ' - '$endToken)', - ); + 'endReturnStatement(' '$hasExpression, ' '$beginToken, ' '$endToken)'); } @override void handleSend(Token beginToken, Token endToken) { seen(beginToken); seen(endToken); - doPrint( - 'handleSend(' - '$beginToken, ' - '$endToken)', - ); + doPrint('handleSend(' '$beginToken, ' '$endToken)'); } @override void beginShow(Token showKeyword) { seen(showKeyword); - doPrint( - 'beginShow(' - '$showKeyword)', - ); + doPrint('beginShow(' '$showKeyword)'); indent++; } @@ -2757,19 +1988,13 @@ class ParserTestListener implements Listener { void endShow(Token showKeyword) { indent--; seen(showKeyword); - doPrint( - 'endShow(' - '$showKeyword)', - ); + doPrint('endShow(' '$showKeyword)'); } @override void beginSwitchStatement(Token token) { seen(token); - doPrint( - 'beginSwitchStatement(' - '$token)', - ); + doPrint('beginSwitchStatement(' '$token)'); indent++; } @@ -2778,20 +2003,13 @@ class ParserTestListener implements Listener { indent--; seen(switchKeyword); seen(endToken); - doPrint( - 'endSwitchStatement(' - '$switchKeyword, ' - '$endToken)', - ); + doPrint('endSwitchStatement(' '$switchKeyword, ' '$endToken)'); } @override void beginSwitchExpression(Token token) { seen(token); - doPrint( - 'beginSwitchExpression(' - '$token)', - ); + doPrint('beginSwitchExpression(' '$token)'); indent++; } @@ -2800,20 +2018,13 @@ class ParserTestListener implements Listener { indent--; seen(switchKeyword); seen(endToken); - doPrint( - 'endSwitchExpression(' - '$switchKeyword, ' - '$endToken)', - ); + doPrint('endSwitchExpression(' '$switchKeyword, ' '$endToken)'); } @override void beginSwitchBlock(Token token) { seen(token); - doPrint( - 'beginSwitchBlock(' - '$token)', - ); + doPrint('beginSwitchBlock(' '$token)'); indent++; } @@ -2822,48 +2033,32 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endSwitchBlock(' - '$caseCount, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endSwitchBlock(' '$caseCount, ' '$beginToken, ' '$endToken)'); } @override void beginSwitchExpressionBlock(Token token) { seen(token); - doPrint( - 'beginSwitchExpressionBlock(' - '$token)', - ); + doPrint('beginSwitchExpressionBlock(' '$token)'); indent++; } @override void endSwitchExpressionBlock( - int caseCount, - Token beginToken, - Token endToken, - ) { + int caseCount, Token beginToken, Token endToken) { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endSwitchExpressionBlock(' - '$caseCount, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endSwitchExpressionBlock(' + '$caseCount, ' + '$beginToken, ' + '$endToken)'); } @override void beginLiteralSymbol(Token token) { seen(token); - doPrint( - 'beginLiteralSymbol(' - '$token)', - ); + doPrint('beginLiteralSymbol(' '$token)'); indent++; } @@ -2871,31 +2066,20 @@ class ParserTestListener implements Listener { void endLiteralSymbol(Token hashToken, int identifierCount) { indent--; seen(hashToken); - doPrint( - 'endLiteralSymbol(' - '$hashToken, ' - '$identifierCount)', - ); + doPrint('endLiteralSymbol(' '$hashToken, ' '$identifierCount)'); } @override void handleThrowExpression(Token throwToken, Token endToken) { seen(throwToken); seen(endToken); - doPrint( - 'handleThrowExpression(' - '$throwToken, ' - '$endToken)', - ); + doPrint('handleThrowExpression(' '$throwToken, ' '$endToken)'); } @override void beginRethrowStatement(Token token) { seen(token); - doPrint( - 'beginRethrowStatement(' - '$token)', - ); + doPrint('beginRethrowStatement(' '$token)'); indent++; } @@ -2904,54 +2088,40 @@ class ParserTestListener implements Listener { indent--; seen(rethrowToken); seen(endToken); - doPrint( - 'endRethrowStatement(' - '$rethrowToken, ' - '$endToken)', - ); + doPrint('endRethrowStatement(' '$rethrowToken, ' '$endToken)'); } @override void endTopLevelDeclaration(Token endToken) { indent--; seen(endToken); - doPrint( - 'endTopLevelDeclaration(' - '$endToken)', - ); + doPrint('endTopLevelDeclaration(' '$endToken)'); } @override void handleInvalidTopLevelDeclaration(Token endToken) { seen(endToken); - doPrint( - 'handleInvalidTopLevelDeclaration(' - '$endToken)', - ); + doPrint('handleInvalidTopLevelDeclaration(' '$endToken)'); } @override void beginTopLevelMember(Token token) { seen(token); - doPrint( - 'beginTopLevelMember(' - '$token)', - ); + doPrint('beginTopLevelMember(' '$token)'); indent++; } @override void beginFields( - DeclarationKind declarationKind, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token lastConsumed, - ) { + DeclarationKind declarationKind, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token lastConsumed) { seen(abstractToken); seen(augmentToken); seen(externalToken); @@ -2960,33 +2130,30 @@ class ParserTestListener implements Listener { seen(lateToken); seen(varFinalOrConst); seen(lastConsumed); - doPrint( - 'beginFields(' - '$declarationKind, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$lastConsumed)', - ); + doPrint('beginFields(' + '$declarationKind, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$lastConsumed)'); indent++; } @override void endTopLevelFields( - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - int count, - Token beginToken, - Token endToken, - ) { + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + int count, + Token beginToken, + Token endToken) { indent--; seen(augmentToken); seen(externalToken); @@ -2996,35 +2163,28 @@ class ParserTestListener implements Listener { seen(varFinalOrConst); seen(beginToken); seen(endToken); - doPrint( - 'endTopLevelFields(' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endTopLevelFields(' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$count, ' + '$beginToken, ' + '$endToken)'); } @override void beginTopLevelMethod( - Token lastConsumed, - Token? augmentToken, - Token? externalToken, - ) { + Token lastConsumed, Token? augmentToken, Token? externalToken) { seen(lastConsumed); seen(augmentToken); seen(externalToken); - doPrint( - 'beginTopLevelMethod(' - '$lastConsumed, ' - '$augmentToken, ' - '$externalToken)', - ); + doPrint('beginTopLevelMethod(' + '$lastConsumed, ' + '$augmentToken, ' + '$externalToken)'); indent++; } @@ -3034,31 +2194,20 @@ class ParserTestListener implements Listener { seen(beginToken); seen(getOrSet); seen(endToken); - doPrint( - 'endTopLevelMethod(' - '$beginToken, ' - '$getOrSet, ' - '$endToken)', - ); + doPrint('endTopLevelMethod(' '$beginToken, ' '$getOrSet, ' '$endToken)'); } @override void beginTryStatement(Token token) { seen(token); - doPrint( - 'beginTryStatement(' - '$token)', - ); + doPrint('beginTryStatement(' '$token)'); indent++; } @override void beginCatchClause(Token token) { seen(token); - doPrint( - 'beginCatchClause(' - '$token)', - ); + doPrint('beginCatchClause(' '$token)'); indent++; } @@ -3066,10 +2215,7 @@ class ParserTestListener implements Listener { void endCatchClause(Token token) { indent--; seen(token); - doPrint( - 'endCatchClause(' - '$token)', - ); + doPrint('endCatchClause(' '$token)'); } @override @@ -3077,153 +2223,102 @@ class ParserTestListener implements Listener { seen(onKeyword); seen(catchKeyword); seen(comma); - doPrint( - 'handleCatchBlock(' - '$onKeyword, ' - '$catchKeyword, ' - '$comma)', - ); + doPrint('handleCatchBlock(' '$onKeyword, ' '$catchKeyword, ' '$comma)'); } @override void handleFinallyBlock(Token finallyKeyword) { seen(finallyKeyword); - doPrint( - 'handleFinallyBlock(' - '$finallyKeyword)', - ); + doPrint('handleFinallyBlock(' '$finallyKeyword)'); } @override void endTryStatement( - int catchCount, - Token tryKeyword, - Token? finallyKeyword, - Token endToken, - ) { + int catchCount, Token tryKeyword, Token? finallyKeyword, Token endToken) { indent--; seen(tryKeyword); seen(finallyKeyword); seen(endToken); - doPrint( - 'endTryStatement(' - '$catchCount, ' - '$tryKeyword, ' - '$finallyKeyword, ' - '$endToken)', - ); + doPrint('endTryStatement(' + '$catchCount, ' + '$tryKeyword, ' + '$finallyKeyword, ' + '$endToken)'); } @override void handleType(Token beginToken, Token? questionMark) { seen(beginToken); seen(questionMark); - doPrint( - 'handleType(' - '$beginToken, ' - '$questionMark)', - ); + doPrint('handleType(' '$beginToken, ' '$questionMark)'); } @override void handleNonNullAssertExpression(Token bang) { seen(bang); - doPrint( - 'handleNonNullAssertExpression(' - '$bang)', - ); + doPrint('handleNonNullAssertExpression(' '$bang)'); } @override void handleNullAssertPattern(Token bang) { seen(bang); - doPrint( - 'handleNullAssertPattern(' - '$bang)', - ); + doPrint('handleNullAssertPattern(' '$bang)'); } @override void handleNullCheckPattern(Token question) { seen(question); - doPrint( - 'handleNullCheckPattern(' - '$question)', - ); + doPrint('handleNullCheckPattern(' '$question)'); } @override void handleAssignedVariablePattern(Token variable) { seen(variable); - doPrint( - 'handleAssignedVariablePattern(' - '$variable)', - ); + doPrint('handleAssignedVariablePattern(' '$variable)'); } @override - void handleDeclaredVariablePattern( - Token? keyword, - Token variable, { - required bool inAssignmentPattern, - }) { + void handleDeclaredVariablePattern(Token? keyword, Token variable, + {required bool inAssignmentPattern}) { seen(keyword); seen(variable); - doPrint( - 'handleDeclaredVariablePattern(' - '$keyword, ' - '$variable, ' - '$inAssignmentPattern)', - ); + doPrint('handleDeclaredVariablePattern(' + '$keyword, ' + '$variable, ' + '$inAssignmentPattern)'); } @override void handleWildcardPattern(Token? keyword, Token wildcard) { seen(keyword); seen(wildcard); - doPrint( - 'handleWildcardPattern(' - '$keyword, ' - '$wildcard)', - ); + doPrint('handleWildcardPattern(' '$keyword, ' '$wildcard)'); } @override void handleNoName(Token token) { seen(token); - doPrint( - 'handleNoName(' - '$token)', - ); + doPrint('handleNoName(' '$token)'); } @override void beginRecordType(Token leftBracket) { seen(leftBracket); - doPrint( - 'beginRecordType(' - '$leftBracket)', - ); + doPrint('beginRecordType(' '$leftBracket)'); indent++; } @override void endRecordType( - Token leftBracket, - Token? questionMark, - int count, - bool hasNamedFields, - ) { + Token leftBracket, Token? questionMark, int count, bool hasNamedFields) { indent--; seen(leftBracket); seen(questionMark); - doPrint( - 'endRecordType(' - '$leftBracket, ' - '$questionMark, ' - '$count, ' - '$hasNamedFields)', - ); + doPrint('endRecordType(' + '$leftBracket, ' + '$questionMark, ' + '$count, ' + '$hasNamedFields)'); } @override @@ -3241,10 +2336,7 @@ class ParserTestListener implements Listener { @override void beginRecordTypeNamedFields(Token leftBracket) { seen(leftBracket); - doPrint( - 'beginRecordTypeNamedFields(' - '$leftBracket)', - ); + doPrint('beginRecordTypeNamedFields(' '$leftBracket)'); indent++; } @@ -3252,20 +2344,13 @@ class ParserTestListener implements Listener { void endRecordTypeNamedFields(int count, Token leftBracket) { indent--; seen(leftBracket); - doPrint( - 'endRecordTypeNamedFields(' - '$count, ' - '$leftBracket)', - ); + doPrint('endRecordTypeNamedFields(' '$count, ' '$leftBracket)'); } @override void beginFunctionType(Token beginToken) { seen(beginToken); - doPrint( - 'beginFunctionType(' - '$beginToken)', - ); + doPrint('beginFunctionType(' '$beginToken)'); indent++; } @@ -3274,20 +2359,13 @@ class ParserTestListener implements Listener { indent--; seen(functionToken); seen(questionMark); - doPrint( - 'endFunctionType(' - '$functionToken, ' - '$questionMark)', - ); + doPrint('endFunctionType(' '$functionToken, ' '$questionMark)'); } @override void beginTypeArguments(Token token) { seen(token); - doPrint( - 'beginTypeArguments(' - '$token)', - ); + doPrint('beginTypeArguments(' '$token)'); indent++; } @@ -3296,79 +2374,52 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endTypeArguments(' - '$count, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endTypeArguments(' '$count, ' '$beginToken, ' '$endToken)'); } @override void handleInvalidTypeArguments(Token token) { seen(token); - doPrint( - 'handleInvalidTypeArguments(' - '$token)', - ); + doPrint('handleInvalidTypeArguments(' '$token)'); } @override void handleNoTypeArguments(Token token) { seen(token); - doPrint( - 'handleNoTypeArguments(' - '$token)', - ); + doPrint('handleNoTypeArguments(' '$token)'); } @override void beginTypeVariable(Token token) { seen(token); - doPrint( - 'beginTypeVariable(' - '$token)', - ); + doPrint('beginTypeVariable(' '$token)'); indent++; } @override void handleTypeVariablesDefined(Token token, int count) { seen(token); - doPrint( - 'handleTypeVariablesDefined(' - '$token, ' - '$count)', - ); + doPrint('handleTypeVariablesDefined(' '$token, ' '$count)'); } @override void endTypeVariable( - Token token, - int index, - Token? extendsOrSuper, - Token? variance, - ) { + Token token, int index, Token? extendsOrSuper, Token? variance) { indent--; seen(token); seen(extendsOrSuper); seen(variance); - doPrint( - 'endTypeVariable(' - '$token, ' - '$index, ' - '$extendsOrSuper, ' - '$variance)', - ); + doPrint('endTypeVariable(' + '$token, ' + '$index, ' + '$extendsOrSuper, ' + '$variance)'); } @override void beginTypeVariables(Token token) { seen(token); - doPrint( - 'beginTypeVariables(' - '$token)', - ); + doPrint('beginTypeVariables(' '$token)'); indent++; } @@ -3377,29 +2428,19 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endTypeVariables(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endTypeVariables(' '$beginToken, ' '$endToken)'); } @override void reportVarianceModifierNotEnabled(Token? variance) { seen(variance); - doPrint( - 'reportVarianceModifierNotEnabled(' - '$variance)', - ); + doPrint('reportVarianceModifierNotEnabled(' '$variance)'); } @override void beginFunctionExpression(Token token) { seen(token); - doPrint( - 'beginFunctionExpression(' - '$token)', - ); + doPrint('beginFunctionExpression(' '$token)'); indent++; } @@ -3408,28 +2449,19 @@ class ParserTestListener implements Listener { indent--; seen(beginToken); seen(endToken); - doPrint( - 'endFunctionExpression(' - '$beginToken, ' - '$endToken)', - ); + doPrint('endFunctionExpression(' '$beginToken, ' '$endToken)'); } @override void beginVariablesDeclaration( - Token token, - Token? lateToken, - Token? varFinalOrConst, - ) { + Token token, Token? lateToken, Token? varFinalOrConst) { seen(token); seen(lateToken); seen(varFinalOrConst); - doPrint( - 'beginVariablesDeclaration(' - '$token, ' - '$lateToken, ' - '$varFinalOrConst)', - ); + doPrint('beginVariablesDeclaration(' + '$token, ' + '$lateToken, ' + '$varFinalOrConst)'); indent++; } @@ -3437,20 +2469,13 @@ class ParserTestListener implements Listener { void endVariablesDeclaration(int count, Token? endToken) { indent--; seen(endToken); - doPrint( - 'endVariablesDeclaration(' - '$count, ' - '$endToken)', - ); + doPrint('endVariablesDeclaration(' '$count, ' '$endToken)'); } @override void beginWhileStatement(Token token) { seen(token); - doPrint( - 'beginWhileStatement(' - '$token)', - ); + doPrint('beginWhileStatement(' '$token)'); indent++; } @@ -3459,20 +2484,13 @@ class ParserTestListener implements Listener { indent--; seen(whileKeyword); seen(endToken); - doPrint( - 'endWhileStatement(' - '$whileKeyword, ' - '$endToken)', - ); + doPrint('endWhileStatement(' '$whileKeyword, ' '$endToken)'); } @override void beginAsOperatorType(Token operator) { seen(operator); - doPrint( - 'beginAsOperatorType(' - '$operator)', - ); + doPrint('beginAsOperatorType(' '$operator)'); indent++; } @@ -3480,48 +2498,32 @@ class ParserTestListener implements Listener { void endAsOperatorType(Token operator) { indent--; seen(operator); - doPrint( - 'endAsOperatorType(' - '$operator)', - ); + doPrint('endAsOperatorType(' '$operator)'); } @override void handleAsOperator(Token operator) { seen(operator); - doPrint( - 'handleAsOperator(' - '$operator)', - ); + doPrint('handleAsOperator(' '$operator)'); } @override void handleCastPattern(Token operator) { seen(operator); - doPrint( - 'handleCastPattern(' - '$operator)', - ); + doPrint('handleCastPattern(' '$operator)'); } @override void handleAssignmentExpression(Token token, Token endToken) { seen(token); seen(endToken); - doPrint( - 'handleAssignmentExpression(' - '$token, ' - '$endToken)', - ); + doPrint('handleAssignmentExpression(' '$token, ' '$endToken)'); } @override void beginBinaryExpression(Token token) { seen(token); - doPrint( - 'beginBinaryExpression(' - '$token)', - ); + doPrint('beginBinaryExpression(' '$token)'); indent++; } @@ -3530,20 +2532,13 @@ class ParserTestListener implements Listener { indent--; seen(token); seen(endToken); - doPrint( - 'endBinaryExpression(' - '$token, ' - '$endToken)', - ); + doPrint('endBinaryExpression(' '$token, ' '$endToken)'); } @override void beginBinaryPattern(Token token) { seen(token); - doPrint( - 'beginBinaryPattern(' - '$token)', - ); + doPrint('beginBinaryPattern(' '$token)'); indent++; } @@ -3551,30 +2546,20 @@ class ParserTestListener implements Listener { void endBinaryPattern(Token token) { indent--; seen(token); - doPrint( - 'endBinaryPattern(' - '$token)', - ); + doPrint('endBinaryPattern(' '$token)'); } @override void handleEndingBinaryExpression(Token token, Token endToken) { seen(token); seen(endToken); - doPrint( - 'handleEndingBinaryExpression(' - '$token, ' - '$endToken)', - ); + doPrint('handleEndingBinaryExpression(' '$token, ' '$endToken)'); } @override void beginConditionalExpression(Token question) { seen(question); - doPrint( - 'beginConditionalExpression(' - '$question)', - ); + doPrint('beginConditionalExpression(' '$question)'); indent++; } @@ -3589,21 +2574,13 @@ class ParserTestListener implements Listener { seen(question); seen(colon); seen(endToken); - doPrint( - 'endConditionalExpression(' - '$question, ' - '$colon, ' - '$endToken)', - ); + doPrint('endConditionalExpression(' '$question, ' '$colon, ' '$endToken)'); } @override void beginConstExpression(Token constKeyword) { seen(constKeyword); - doPrint( - 'beginConstExpression(' - '$constKeyword)', - ); + doPrint('beginConstExpression(' '$constKeyword)'); indent++; } @@ -3611,30 +2588,20 @@ class ParserTestListener implements Listener { void endConstExpression(Token token) { indent--; seen(token); - doPrint( - 'endConstExpression(' - '$token)', - ); + doPrint('endConstExpression(' '$token)'); } @override void handleConstFactory(Token constKeyword) { seen(constKeyword); - doPrint( - 'handleConstFactory(' - '$constKeyword)', - ); + doPrint('handleConstFactory(' '$constKeyword)'); } @override void beginForControlFlow(Token? awaitToken, Token forToken) { seen(awaitToken); seen(forToken); - doPrint( - 'beginForControlFlow(' - '$awaitToken, ' - '$forToken)', - ); + doPrint('beginForControlFlow(' '$awaitToken, ' '$forToken)'); indent++; } @@ -3642,105 +2609,71 @@ class ParserTestListener implements Listener { void endForControlFlow(Token token) { indent--; seen(token); - doPrint( - 'endForControlFlow(' - '$token)', - ); + doPrint('endForControlFlow(' '$token)'); } @override void endForInControlFlow(Token token) { indent--; seen(token); - doPrint( - 'endForInControlFlow(' - '$token)', - ); + doPrint('endForInControlFlow(' '$token)'); } @override void beginIfControlFlow(Token ifToken) { seen(ifToken); - doPrint( - 'beginIfControlFlow(' - '$ifToken)', - ); + doPrint('beginIfControlFlow(' '$ifToken)'); indent++; } @override void handleThenControlFlow(Token token) { seen(token); - doPrint( - 'handleThenControlFlow(' - '$token)', - ); + doPrint('handleThenControlFlow(' '$token)'); } @override void handleElseControlFlow(Token elseToken) { seen(elseToken); - doPrint( - 'handleElseControlFlow(' - '$elseToken)', - ); + doPrint('handleElseControlFlow(' '$elseToken)'); } @override void endIfControlFlow(Token token) { indent--; seen(token); - doPrint( - 'endIfControlFlow(' - '$token)', - ); + doPrint('endIfControlFlow(' '$token)'); } @override void endIfElseControlFlow(Token token) { indent--; seen(token); - doPrint( - 'endIfElseControlFlow(' - '$token)', - ); + doPrint('endIfElseControlFlow(' '$token)'); } @override void handleSpreadExpression(Token spreadToken) { seen(spreadToken); - doPrint( - 'handleSpreadExpression(' - '$spreadToken)', - ); + doPrint('handleSpreadExpression(' '$spreadToken)'); } @override void handleNullAwareElement(Token nullAwareToken) { seen(nullAwareToken); - doPrint( - 'handleNullAwareElement(' - '$nullAwareToken)', - ); + doPrint('handleNullAwareElement(' '$nullAwareToken)'); } @override void handleRestPattern(Token dots, {required bool hasSubPattern}) { seen(dots); - doPrint( - 'handleRestPattern(' - '$dots, ' - '$hasSubPattern)', - ); + doPrint('handleRestPattern(' '$dots, ' '$hasSubPattern)'); } @override void beginFunctionTypedFormalParameter(Token token) { seen(token); - doPrint( - 'beginFunctionTypedFormalParameter(' - '$token)', - ); + doPrint('beginFunctionTypedFormalParameter(' '$token)'); indent++; } @@ -3749,47 +2682,31 @@ class ParserTestListener implements Listener { indent--; seen(nameToken); seen(question); - doPrint( - 'endFunctionTypedFormalParameter(' - '$nameToken, ' - '$question)', - ); + doPrint('endFunctionTypedFormalParameter(' '$nameToken, ' '$question)'); } @override void handleIdentifier(Token token, IdentifierContext context) { seen(token); - doPrint( - 'handleIdentifier(' - '$token, ' - '$context)', - ); + doPrint('handleIdentifier(' '$token, ' '$context)'); } @override void handleIndexedExpression( - Token? question, - Token openSquareBracket, - Token closeSquareBracket, - ) { + Token? question, Token openSquareBracket, Token closeSquareBracket) { seen(question); seen(openSquareBracket); seen(closeSquareBracket); - doPrint( - 'handleIndexedExpression(' - '$question, ' - '$openSquareBracket, ' - '$closeSquareBracket)', - ); + doPrint('handleIndexedExpression(' + '$question, ' + '$openSquareBracket, ' + '$closeSquareBracket)'); } @override void beginIsOperatorType(Token operator) { seen(operator); - doPrint( - 'beginIsOperatorType(' - '$operator)', - ); + doPrint('beginIsOperatorType(' '$operator)'); indent++; } @@ -3797,172 +2714,113 @@ class ParserTestListener implements Listener { void endIsOperatorType(Token operator) { indent--; seen(operator); - doPrint( - 'endIsOperatorType(' - '$operator)', - ); + doPrint('endIsOperatorType(' '$operator)'); } @override void handleIsOperator(Token isOperator, Token? not) { seen(isOperator); seen(not); - doPrint( - 'handleIsOperator(' - '$isOperator, ' - '$not)', - ); + doPrint('handleIsOperator(' '$isOperator, ' '$not)'); } @override void handleLiteralBool(Token token) { seen(token); - doPrint( - 'handleLiteralBool(' - '$token)', - ); + doPrint('handleLiteralBool(' '$token)'); } @override void handleBreakStatement( - bool hasTarget, - Token breakKeyword, - Token endToken, - ) { + bool hasTarget, Token breakKeyword, Token endToken) { seen(breakKeyword); seen(endToken); doPrint( - 'handleBreakStatement(' - '$hasTarget, ' - '$breakKeyword, ' - '$endToken)', - ); + 'handleBreakStatement(' '$hasTarget, ' '$breakKeyword, ' '$endToken)'); } @override void handleContinueStatement( - bool hasTarget, - Token continueKeyword, - Token endToken, - ) { + bool hasTarget, Token continueKeyword, Token endToken) { seen(continueKeyword); seen(endToken); - doPrint( - 'handleContinueStatement(' - '$hasTarget, ' - '$continueKeyword, ' - '$endToken)', - ); + doPrint('handleContinueStatement(' + '$hasTarget, ' + '$continueKeyword, ' + '$endToken)'); } @override void handleEmptyStatement(Token token) { seen(token); - doPrint( - 'handleEmptyStatement(' - '$token)', - ); + doPrint('handleEmptyStatement(' '$token)'); } @override void beginAssert(Token assertKeyword, Assert kind) { seen(assertKeyword); - doPrint( - 'beginAssert(' - '$assertKeyword, ' - '$kind)', - ); + doPrint('beginAssert(' '$assertKeyword, ' '$kind)'); indent++; } @override - void endAssert( - Token assertKeyword, - Assert kind, - Token leftParenthesis, - Token? commaToken, - Token endToken, - ) { + void endAssert(Token assertKeyword, Assert kind, Token leftParenthesis, + Token? commaToken, Token endToken) { indent--; seen(assertKeyword); seen(leftParenthesis); seen(commaToken); seen(endToken); - doPrint( - 'endAssert(' - '$assertKeyword, ' - '$kind, ' - '$leftParenthesis, ' - '$commaToken, ' - '$endToken)', - ); + doPrint('endAssert(' + '$assertKeyword, ' + '$kind, ' + '$leftParenthesis, ' + '$commaToken, ' + '$endToken)'); } @override void handleLiteralDouble(Token token) { seen(token); - doPrint( - 'handleLiteralDouble(' - '$token)', - ); + doPrint('handleLiteralDouble(' '$token)'); } @override void handleLiteralDoubleWithSeparators(Token token) { seen(token); - doPrint( - 'handleLiteralDoubleWithSeparators(' - '$token)', - ); + doPrint('handleLiteralDoubleWithSeparators(' '$token)'); } @override void handleLiteralInt(Token token) { seen(token); - doPrint( - 'handleLiteralInt(' - '$token)', - ); + doPrint('handleLiteralInt(' '$token)'); } @override void handleLiteralIntWithSeparators(Token token) { seen(token); - doPrint( - 'handleLiteralIntWithSeparators(' - '$token)', - ); + doPrint('handleLiteralIntWithSeparators(' '$token)'); } @override void handleLiteralList( - int count, - Token leftBracket, - Token? constKeyword, - Token rightBracket, - ) { + int count, Token leftBracket, Token? constKeyword, Token rightBracket) { seen(leftBracket); seen(constKeyword); seen(rightBracket); - doPrint( - 'handleLiteralList(' - '$count, ' - '$leftBracket, ' - '$constKeyword, ' - '$rightBracket)', - ); + doPrint('handleLiteralList(' + '$count, ' + '$leftBracket, ' + '$constKeyword, ' + '$rightBracket)'); } @override void handleListPattern(int count, Token leftBracket, Token rightBracket) { seen(leftBracket); seen(rightBracket); - doPrint( - 'handleListPattern(' - '$count, ' - '$leftBracket, ' - '$rightBracket)', - ); + doPrint('handleListPattern(' '$count, ' '$leftBracket, ' '$rightBracket)'); } @override @@ -3976,81 +2834,55 @@ class ParserTestListener implements Listener { seen(leftBrace); seen(constKeyword); seen(rightBrace); - doPrint( - 'handleLiteralSetOrMap(' - '$count, ' - '$leftBrace, ' - '$constKeyword, ' - '$rightBrace, ' - '$hasSetEntry)', - ); + doPrint('handleLiteralSetOrMap(' + '$count, ' + '$leftBrace, ' + '$constKeyword, ' + '$rightBrace, ' + '$hasSetEntry)'); } @override void handleMapPattern(int count, Token leftBrace, Token rightBrace) { seen(leftBrace); seen(rightBrace); - doPrint( - 'handleMapPattern(' - '$count, ' - '$leftBrace, ' - '$rightBrace)', - ); + doPrint('handleMapPattern(' '$count, ' '$leftBrace, ' '$rightBrace)'); } @override void handleLiteralNull(Token token) { seen(token); - doPrint( - 'handleLiteralNull(' - '$token)', - ); + doPrint('handleLiteralNull(' '$token)'); } @override void handleNativeClause(Token nativeToken, bool hasName) { seen(nativeToken); - doPrint( - 'handleNativeClause(' - '$nativeToken, ' - '$hasName)', - ); + doPrint('handleNativeClause(' '$nativeToken, ' '$hasName)'); } @override void handleNamedArgument(Token colon) { seen(colon); - doPrint( - 'handleNamedArgument(' - '$colon)', - ); + doPrint('handleNamedArgument(' '$colon)'); } @override void handlePatternField(Token? colon) { seen(colon); - doPrint( - 'handlePatternField(' - '$colon)', - ); + doPrint('handlePatternField(' '$colon)'); } @override void handleNamedRecordField(Token colon) { seen(colon); - doPrint( - 'handleNamedRecordField(' - '$colon)', - ); + doPrint('handleNamedRecordField(' '$colon)'); } @override void beginNewExpression(Token token) { seen(token); - doPrint( - 'beginNewExpression(' - '$token)', - ); + doPrint('beginNewExpression(' '$token)'); indent++; } @@ -4058,113 +2890,76 @@ class ParserTestListener implements Listener { void endNewExpression(Token token) { indent--; seen(token); - doPrint( - 'endNewExpression(' - '$token)', - ); + doPrint('endNewExpression(' '$token)'); } @override void handleNoArguments(Token token) { seen(token); - doPrint( - 'handleNoArguments(' - '$token)', - ); + doPrint('handleNoArguments(' '$token)'); } @override void handleNoConstructorReferenceContinuationAfterTypeArguments(Token token) { seen(token); - doPrint( - 'handleNoConstructorReferenceContinuationAfterTypeArguments(' - '$token)', - ); + doPrint('handleNoConstructorReferenceContinuationAfterTypeArguments(' + '$token)'); } @override void handleNoTypeNameInConstructorReference(Token token) { seen(token); - doPrint( - 'handleNoTypeNameInConstructorReference(' - '$token)', - ); + doPrint('handleNoTypeNameInConstructorReference(' '$token)'); } @override void handleNoType(Token lastConsumed) { seen(lastConsumed); - doPrint( - 'handleNoType(' - '$lastConsumed)', - ); + doPrint('handleNoType(' '$lastConsumed)'); } @override void handleNoTypeVariables(Token token) { seen(token); - doPrint( - 'handleNoTypeVariables(' - '$token)', - ); + doPrint('handleNoTypeVariables(' '$token)'); } @override void handleOperator(Token token) { seen(token); - doPrint( - 'handleOperator(' - '$token)', - ); + doPrint('handleOperator(' '$token)'); } @override void handleSwitchCaseNoWhenClause(Token token) { seen(token); - doPrint( - 'handleSwitchCaseNoWhenClause(' - '$token)', - ); + doPrint('handleSwitchCaseNoWhenClause(' '$token)'); } @override void handleSwitchExpressionCasePattern(Token token) { seen(token); - doPrint( - 'handleSwitchExpressionCasePattern(' - '$token)', - ); + doPrint('handleSwitchExpressionCasePattern(' '$token)'); } @override void handleSymbolVoid(Token token) { seen(token); - doPrint( - 'handleSymbolVoid(' - '$token)', - ); + doPrint('handleSymbolVoid(' '$token)'); } @override void handleOperatorName(Token operatorKeyword, Token token) { seen(operatorKeyword); seen(token); - doPrint( - 'handleOperatorName(' - '$operatorKeyword, ' - '$token)', - ); + doPrint('handleOperatorName(' '$operatorKeyword, ' '$token)'); } @override void handleInvalidOperatorName(Token operatorKeyword, Token token) { seen(operatorKeyword); seen(token); - doPrint( - 'handleInvalidOperatorName(' - '$operatorKeyword, ' - '$token)', - ); + doPrint('handleInvalidOperatorName(' '$operatorKeyword, ' '$token)'); } @override @@ -4172,51 +2967,34 @@ class ParserTestListener implements Listener { seen(token); seen(case_); seen(when); - doPrint( - 'handleParenthesizedCondition(' - '$token, ' - '$case_, ' - '$when)', - ); + doPrint('handleParenthesizedCondition(' '$token, ' '$case_, ' '$when)'); } @override void beginPattern(Token token) { seen(token); - doPrint( - 'beginPattern(' - '$token)', - ); + doPrint('beginPattern(' '$token)'); indent++; } @override void beginPatternGuard(Token when) { seen(when); - doPrint( - 'beginPatternGuard(' - '$when)', - ); + doPrint('beginPatternGuard(' '$when)'); indent++; } @override void beginParenthesizedExpressionOrRecordLiteral(Token token) { seen(token); - doPrint( - 'beginParenthesizedExpressionOrRecordLiteral(' - '$token)', - ); + doPrint('beginParenthesizedExpressionOrRecordLiteral(' '$token)'); indent++; } @override void beginSwitchCaseWhenClause(Token when) { seen(when); - doPrint( - 'beginSwitchCaseWhenClause(' - '$when)', - ); + doPrint('beginSwitchCaseWhenClause(' '$when)'); indent++; } @@ -4225,80 +3003,53 @@ class ParserTestListener implements Listener { indent--; seen(token); seen(constKeyword); - doPrint( - 'endRecordLiteral(' - '$token, ' - '$count, ' - '$constKeyword)', - ); + doPrint('endRecordLiteral(' '$token, ' '$count, ' '$constKeyword)'); } @override void handleRecordPattern(Token token, int count) { seen(token); - doPrint( - 'handleRecordPattern(' - '$token, ' - '$count)', - ); + doPrint('handleRecordPattern(' '$token, ' '$count)'); } @override void endPattern(Token token) { indent--; seen(token); - doPrint( - 'endPattern(' - '$token)', - ); + doPrint('endPattern(' '$token)'); } @override void endPatternGuard(Token token) { indent--; seen(token); - doPrint( - 'endPatternGuard(' - '$token)', - ); + doPrint('endPatternGuard(' '$token)'); } @override void endParenthesizedExpression(Token token) { indent--; seen(token); - doPrint( - 'endParenthesizedExpression(' - '$token)', - ); + doPrint('endParenthesizedExpression(' '$token)'); } @override void endSwitchCaseWhenClause(Token token) { indent--; seen(token); - doPrint( - 'endSwitchCaseWhenClause(' - '$token)', - ); + doPrint('endSwitchCaseWhenClause(' '$token)'); } @override void handleParenthesizedPattern(Token token) { seen(token); - doPrint( - 'handleParenthesizedPattern(' - '$token)', - ); + doPrint('handleParenthesizedPattern(' '$token)'); } @override void beginConstantPattern(Token? constKeyword) { seen(constKeyword); - doPrint( - 'beginConstantPattern(' - '$constKeyword)', - ); + doPrint('beginConstantPattern(' '$constKeyword)'); indent++; } @@ -4306,110 +3057,80 @@ class ParserTestListener implements Listener { void endConstantPattern(Token? constKeyword) { indent--; seen(constKeyword); - doPrint( - 'endConstantPattern(' - '$constKeyword)', - ); + doPrint('endConstantPattern(' '$constKeyword)'); } @override void handleObjectPattern( - Token firstIdentifier, - Token? dot, - Token? secondIdentifier, - ) { + Token firstIdentifier, Token? dot, Token? secondIdentifier) { seen(firstIdentifier); seen(dot); seen(secondIdentifier); - doPrint( - 'handleObjectPattern(' - '$firstIdentifier, ' - '$dot, ' - '$secondIdentifier)', - ); + doPrint('handleObjectPattern(' + '$firstIdentifier, ' + '$dot, ' + '$secondIdentifier)'); } @override void handleQualified(Token period) { seen(period); - doPrint( - 'handleQualified(' - '$period)', - ); + doPrint('handleQualified(' '$period)'); } @override void handleStringPart(Token token) { seen(token); - doPrint( - 'handleStringPart(' - '$token)', - ); + doPrint('handleStringPart(' '$token)'); } @override void handleSuperExpression(Token token, IdentifierContext context) { seen(token); - doPrint( - 'handleSuperExpression(' - '$token, ' - '$context)', - ); + doPrint('handleSuperExpression(' '$token, ' '$context)'); } @override void handleAugmentSuperExpression( - Token augmentToken, - Token superToken, - IdentifierContext context, - ) { + Token augmentToken, Token superToken, IdentifierContext context) { seen(augmentToken); seen(superToken); - doPrint( - 'handleAugmentSuperExpression(' - '$augmentToken, ' - '$superToken, ' - '$context)', - ); + doPrint('handleAugmentSuperExpression(' + '$augmentToken, ' + '$superToken, ' + '$context)'); } @override void beginSwitchCase(int labelCount, int expressionCount, Token beginToken) { seen(beginToken); doPrint( - 'beginSwitchCase(' - '$labelCount, ' - '$expressionCount, ' - '$beginToken)', - ); + 'beginSwitchCase(' '$labelCount, ' '$expressionCount, ' '$beginToken)'); indent++; } @override void endSwitchCase( - int labelCount, - int expressionCount, - Token? defaultKeyword, - Token? colonAfterDefault, - int statementCount, - Token beginToken, - Token endToken, - ) { + int labelCount, + int expressionCount, + Token? defaultKeyword, + Token? colonAfterDefault, + int statementCount, + Token beginToken, + Token endToken) { indent--; seen(defaultKeyword); seen(colonAfterDefault); seen(beginToken); seen(endToken); - doPrint( - 'endSwitchCase(' - '$labelCount, ' - '$expressionCount, ' - '$defaultKeyword, ' - '$colonAfterDefault, ' - '$statementCount, ' - '$beginToken, ' - '$endToken)', - ); + doPrint('endSwitchCase(' + '$labelCount, ' + '$expressionCount, ' + '$defaultKeyword, ' + '$colonAfterDefault, ' + '$statementCount, ' + '$beginToken, ' + '$endToken)'); } @override @@ -4420,69 +3141,47 @@ class ParserTestListener implements Listener { @override void endSwitchExpressionCase( - Token beginToken, - Token? when, - Token arrow, - Token endToken, - ) { + Token beginToken, Token? when, Token arrow, Token endToken) { indent--; seen(beginToken); seen(when); seen(arrow); seen(endToken); - doPrint( - 'endSwitchExpressionCase(' - '$beginToken, ' - '$when, ' - '$arrow, ' - '$endToken)', - ); + doPrint('endSwitchExpressionCase(' + '$beginToken, ' + '$when, ' + '$arrow, ' + '$endToken)'); } @override void handleThisExpression(Token token, IdentifierContext context) { seen(token); - doPrint( - 'handleThisExpression(' - '$token, ' - '$context)', - ); + doPrint('handleThisExpression(' '$token, ' '$context)'); } @override void handleUnaryPostfixAssignmentExpression(Token token) { seen(token); - doPrint( - 'handleUnaryPostfixAssignmentExpression(' - '$token)', - ); + doPrint('handleUnaryPostfixAssignmentExpression(' '$token)'); } @override void handleUnaryPrefixExpression(Token token) { seen(token); - doPrint( - 'handleUnaryPrefixExpression(' - '$token)', - ); + doPrint('handleUnaryPrefixExpression(' '$token)'); } @override void handleRelationalPattern(Token token) { seen(token); - doPrint( - 'handleRelationalPattern(' - '$token)', - ); + doPrint('handleRelationalPattern(' '$token)'); } @override void handleUnaryPrefixAssignmentExpression(Token token) { seen(token); - doPrint( - 'handleUnaryPrefixAssignmentExpression(' - '$token)', - ); + doPrint('handleUnaryPrefixAssignmentExpression(' '$token)'); } @override @@ -4499,54 +3198,34 @@ class ParserTestListener implements Listener { @override void handleValuedFormalParameter( - Token equals, - Token token, - FormalParameterKind kind, - ) { + Token equals, Token token, FormalParameterKind kind) { seen(equals); seen(token); - doPrint( - 'handleValuedFormalParameter(' - '$equals, ' - '$token, ' - '$kind)', - ); + doPrint('handleValuedFormalParameter(' '$equals, ' '$token, ' '$kind)'); } @override void handleFormalParameterWithoutValue(Token token) { seen(token); - doPrint( - 'handleFormalParameterWithoutValue(' - '$token)', - ); + doPrint('handleFormalParameterWithoutValue(' '$token)'); } @override void handleVoidKeyword(Token token) { seen(token); - doPrint( - 'handleVoidKeyword(' - '$token)', - ); + doPrint('handleVoidKeyword(' '$token)'); } @override void handleVoidKeywordWithTypeArguments(Token token) { seen(token); - doPrint( - 'handleVoidKeywordWithTypeArguments(' - '$token)', - ); + doPrint('handleVoidKeywordWithTypeArguments(' '$token)'); } @override void beginYieldStatement(Token token) { seen(token); - doPrint( - 'beginYieldStatement(' - '$token)', - ); + doPrint('beginYieldStatement(' '$token)'); indent++; } @@ -4556,153 +3235,100 @@ class ParserTestListener implements Listener { seen(yieldToken); seen(starToken); seen(endToken); - doPrint( - 'endYieldStatement(' - '$yieldToken, ' - '$starToken, ' - '$endToken)', - ); + doPrint('endYieldStatement(' '$yieldToken, ' '$starToken, ' '$endToken)'); } @override - void endInvalidYieldStatement( - Token beginToken, - Token? starToken, - Token endToken, - MessageCode errorCode, - ) { + void endInvalidYieldStatement(Token beginToken, Token? starToken, + Token endToken, MessageCode errorCode) { indent--; seen(beginToken); seen(starToken); seen(endToken); - doPrint( - 'endInvalidYieldStatement(' - '$beginToken, ' - '$starToken, ' - '$endToken, ' - '$errorCode)', - ); + doPrint('endInvalidYieldStatement(' + '$beginToken, ' + '$starToken, ' + '$endToken, ' + '$errorCode)'); } @override void handleRecoverableError( - Message message, - Token startToken, - Token endToken, - ) { + Message message, Token startToken, Token endToken) { seen(startToken); seen(endToken); doPrint( - 'handleRecoverableError(' - '$message, ' - '$startToken, ' - '$endToken)', - ); + 'handleRecoverableError(' '$message, ' '$startToken, ' '$endToken)'); checkEof(endToken); } @override void handleExperimentNotEnabled( - ExperimentalFlag experimentalFlag, - Token startToken, - Token endToken, - ) { + ExperimentalFlag experimentalFlag, Token startToken, Token endToken) { seen(startToken); seen(endToken); - doPrint( - 'handleExperimentNotEnabled(' - '$experimentalFlag, ' - '$startToken, ' - '$endToken)', - ); + doPrint('handleExperimentNotEnabled(' + '$experimentalFlag, ' + '$startToken, ' + '$endToken)'); } @override void handleErrorToken(ErrorToken token) { - doPrint( - 'handleErrorToken(' - '$token)', - ); + doPrint('handleErrorToken(' '$token)'); handleRecoverableError(token.assertionMessage, token, token); } @override void handleUnescapeError( - Message message, - Token location, - int stringOffset, - int length, - ) { + Message message, Token location, int stringOffset, int length) { seen(location); - doPrint( - 'handleUnescapeError(' - '$message, ' - '$location, ' - '$stringOffset, ' - '$length)', - ); + doPrint('handleUnescapeError(' + '$message, ' + '$location, ' + '$stringOffset, ' + '$length)'); } @override void handleInvalidStatement(Token token, Message message) { seen(token); - doPrint( - 'handleInvalidStatement(' - '$token, ' - '$message)', - ); + doPrint('handleInvalidStatement(' '$token, ' '$message)'); } @override void handleScript(Token token) { seen(token); - doPrint( - 'handleScript(' - '$token)', - ); + doPrint('handleScript(' '$token)'); } @override void handleTypeArgumentApplication(Token openAngleBracket) { seen(openAngleBracket); - doPrint( - 'handleTypeArgumentApplication(' - '$openAngleBracket)', - ); + doPrint('handleTypeArgumentApplication(' '$openAngleBracket)'); } @override void handleNewAsIdentifier(Token token) { seen(token); - doPrint( - 'handleNewAsIdentifier(' - '$token)', - ); + doPrint('handleNewAsIdentifier(' '$token)'); } @override void handlePatternVariableDeclarationStatement( - Token keyword, - Token equals, - Token semicolon, - ) { + Token keyword, Token equals, Token semicolon) { seen(keyword); seen(equals); seen(semicolon); - doPrint( - 'handlePatternVariableDeclarationStatement(' - '$keyword, ' - '$equals, ' - '$semicolon)', - ); + doPrint('handlePatternVariableDeclarationStatement(' + '$keyword, ' + '$equals, ' + '$semicolon)'); } @override void handlePatternAssignment(Token equals) { seen(equals); - doPrint( - 'handlePatternAssignment(' - '$equals)', - ); + doPrint('handlePatternAssignment(' '$equals)'); } } diff --git a/pkg/front_end/test/parser_test_listener_creator.dart b/pkg/front_end/test/parser_test_listener_creator.dart index 472a297a97e..4f701b72ce9 100644 --- a/pkg/front_end/test/parser_test_listener_creator.dart +++ b/pkg/front_end/test/parser_test_listener_creator.dart @@ -111,7 +111,8 @@ class ParserTestListener implements Listener { out.writeln("}"); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$out"); } diff --git a/pkg/front_end/test/parser_test_parser.dart b/pkg/front_end/test/parser_test_parser.dart index 24bbb92a144..360bb2fe516 100644 --- a/pkg/front_end/test/parser_test_parser.dart +++ b/pkg/front_end/test/parser_test_parser.dart @@ -34,11 +34,9 @@ class TestParser extends Parser { bool _inhibitPrinting = false; TestParser(Listener listener, this.trace, {required bool allowPatterns}) - : super( - listener, - useImplicitCreationExpression: useImplicitCreationExpressionInCfe, - allowPatterns: allowPatterns, - ); + : super(listener, + useImplicitCreationExpression: useImplicitCreationExpressionInCfe, + allowPatterns: allowPatterns); String createTrace() { List traceLines = StackTrace.current.toString().split("\n"); @@ -148,10 +146,7 @@ class TestParser extends Parser { @override Token parseUnit(Token token) { - doPrint( - 'parseUnit(' - '$token)', - ); + doPrint('parseUnit(' '$token)'); indent++; var result = super.parseUnit(token); indent--; @@ -160,10 +155,7 @@ class TestParser extends Parser { @override Token parseDirectives(Token token) { - doPrint( - 'parseDirectives(' - '$token)', - ); + doPrint('parseDirectives(' '$token)'); indent++; var result = super.parseDirectives(token); indent--; @@ -172,10 +164,7 @@ class TestParser extends Parser { @override Token parseTopLevelDeclaration(Token token) { - doPrint( - 'parseTopLevelDeclaration(' - '$token)', - ); + doPrint('parseTopLevelDeclaration(' '$token)'); indent++; var result = super.parseTopLevelDeclaration(token); indent--; @@ -184,14 +173,8 @@ class TestParser extends Parser { @override Token parseTopLevelDeclarationImpl( - Token token, - DirectiveContext? directiveState, - ) { - doPrint( - 'parseTopLevelDeclarationImpl(' - '$token, ' - '$directiveState)', - ); + Token token, DirectiveContext? directiveState) { + doPrint('parseTopLevelDeclarationImpl(' '$token, ' '$directiveState)'); indent++; var result = super.parseTopLevelDeclarationImpl(token, directiveState); indent--; @@ -200,48 +183,40 @@ class TestParser extends Parser { @override Token parseTopLevelKeywordDeclaration( - Token beginToken, - Token modifierStart, - Token keyword, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - DirectiveContext? directiveState, - ) { - doPrint( - 'parseTopLevelKeywordDeclaration(' - '$beginToken, ' - '$modifierStart, ' - '$keyword, ' - '$macroToken, ' - '$sealedToken, ' - '$baseToken, ' - '$interfaceToken, ' - '$directiveState)', - ); + Token beginToken, + Token modifierStart, + Token keyword, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + DirectiveContext? directiveState) { + doPrint('parseTopLevelKeywordDeclaration(' + '$beginToken, ' + '$modifierStart, ' + '$keyword, ' + '$macroToken, ' + '$sealedToken, ' + '$baseToken, ' + '$interfaceToken, ' + '$directiveState)'); indent++; var result = super.parseTopLevelKeywordDeclaration( - beginToken, - modifierStart, - keyword, - macroToken, - sealedToken, - baseToken, - interfaceToken, - directiveState, - ); + beginToken, + modifierStart, + keyword, + macroToken, + sealedToken, + baseToken, + interfaceToken, + directiveState); indent--; return result; } @override Token parseLibraryAugmentation(Token augmentKeyword, Token libraryKeyword) { - doPrint( - 'parseLibraryAugmentation(' - '$augmentKeyword, ' - '$libraryKeyword)', - ); + doPrint('parseLibraryAugmentation(' '$augmentKeyword, ' '$libraryKeyword)'); indent++; var result = super.parseLibraryAugmentation(augmentKeyword, libraryKeyword); indent--; @@ -250,10 +225,7 @@ class TestParser extends Parser { @override Token parseLibraryName(Token libraryKeyword) { - doPrint( - 'parseLibraryName(' - '$libraryKeyword)', - ); + doPrint('parseLibraryName(' '$libraryKeyword)'); indent++; var result = super.parseLibraryName(libraryKeyword); indent--; @@ -262,10 +234,7 @@ class TestParser extends Parser { @override Token parseImportPrefixOpt(Token token) { - doPrint( - 'parseImportPrefixOpt(' - '$token)', - ); + doPrint('parseImportPrefixOpt(' '$token)'); indent++; var result = super.parseImportPrefixOpt(token); indent--; @@ -274,10 +243,7 @@ class TestParser extends Parser { @override Token parseImport(Token importKeyword) { - doPrint( - 'parseImport(' - '$importKeyword)', - ); + doPrint('parseImport(' '$importKeyword)'); indent++; var result = super.parseImport(importKeyword); indent--; @@ -286,10 +252,7 @@ class TestParser extends Parser { @override Token parseImportRecovery(Token token) { - doPrint( - 'parseImportRecovery(' - '$token)', - ); + doPrint('parseImportRecovery(' '$token)'); indent++; var result = super.parseImportRecovery(token); indent--; @@ -298,10 +261,7 @@ class TestParser extends Parser { @override Token parseConditionalUriStar(Token token) { - doPrint( - 'parseConditionalUriStar(' - '$token)', - ); + doPrint('parseConditionalUriStar(' '$token)'); indent++; var result = super.parseConditionalUriStar(token); indent--; @@ -310,10 +270,7 @@ class TestParser extends Parser { @override Token parseConditionalUri(Token token) { - doPrint( - 'parseConditionalUri(' - '$token)', - ); + doPrint('parseConditionalUri(' '$token)'); indent++; var result = super.parseConditionalUri(token); indent--; @@ -322,10 +279,7 @@ class TestParser extends Parser { @override Token parseDottedName(Token token) { - doPrint( - 'parseDottedName(' - '$token)', - ); + doPrint('parseDottedName(' '$token)'); indent++; var result = super.parseDottedName(token); indent--; @@ -334,10 +288,7 @@ class TestParser extends Parser { @override Token parseExport(Token exportKeyword) { - doPrint( - 'parseExport(' - '$exportKeyword)', - ); + doPrint('parseExport(' '$exportKeyword)'); indent++; var result = super.parseExport(exportKeyword); indent--; @@ -346,10 +297,7 @@ class TestParser extends Parser { @override Token parseCombinatorStar(Token token) { - doPrint( - 'parseCombinatorStar(' - '$token)', - ); + doPrint('parseCombinatorStar(' '$token)'); indent++; var result = super.parseCombinatorStar(token); indent--; @@ -358,10 +306,7 @@ class TestParser extends Parser { @override Token parseHide(Token token) { - doPrint( - 'parseHide(' - '$token)', - ); + doPrint('parseHide(' '$token)'); indent++; var result = super.parseHide(token); indent--; @@ -370,10 +315,7 @@ class TestParser extends Parser { @override Token parseShow(Token token) { - doPrint( - 'parseShow(' - '$token)', - ); + doPrint('parseShow(' '$token)'); indent++; var result = super.parseShow(token); indent--; @@ -382,10 +324,7 @@ class TestParser extends Parser { @override Token parseIdentifierList(Token token) { - doPrint( - 'parseIdentifierList(' - '$token)', - ); + doPrint('parseIdentifierList(' '$token)'); indent++; var result = super.parseIdentifierList(token); indent--; @@ -394,10 +333,7 @@ class TestParser extends Parser { @override Token parseTypeList(Token token) { - doPrint( - 'parseTypeList(' - '$token)', - ); + doPrint('parseTypeList(' '$token)'); indent++; var result = super.parseTypeList(token); indent--; @@ -406,11 +342,7 @@ class TestParser extends Parser { @override Token parsePartOrPartOf(Token partKeyword, DirectiveContext? directiveState) { - doPrint( - 'parsePartOrPartOf(' - '$partKeyword, ' - '$directiveState)', - ); + doPrint('parsePartOrPartOf(' '$partKeyword, ' '$directiveState)'); indent++; var result = super.parsePartOrPartOf(partKeyword, directiveState); indent--; @@ -419,10 +351,7 @@ class TestParser extends Parser { @override Token parsePart(Token partKeyword) { - doPrint( - 'parsePart(' - '$partKeyword)', - ); + doPrint('parsePart(' '$partKeyword)'); indent++; var result = super.parsePart(partKeyword); indent--; @@ -431,10 +360,7 @@ class TestParser extends Parser { @override Token parsePartOf(Token partKeyword) { - doPrint( - 'parsePartOf(' - '$partKeyword)', - ); + doPrint('parsePartOf(' '$partKeyword)'); indent++; var result = super.parsePartOf(partKeyword); indent--; @@ -443,10 +369,7 @@ class TestParser extends Parser { @override Token parseMetadataStar(Token token) { - doPrint( - 'parseMetadataStar(' - '$token)', - ); + doPrint('parseMetadataStar(' '$token)'); indent++; var result = super.parseMetadataStar(token); indent--; @@ -455,10 +378,7 @@ class TestParser extends Parser { @override Token parseMetadata(Token token) { - doPrint( - 'parseMetadata(' - '$token)', - ); + doPrint('parseMetadata(' '$token)'); indent++; var result = super.parseMetadata(token); indent--; @@ -467,10 +387,7 @@ class TestParser extends Parser { @override Token parseScript(Token token) { - doPrint( - 'parseScript(' - '$token)', - ); + doPrint('parseScript(' '$token)'); indent++; var result = super.parseScript(token); indent--; @@ -479,11 +396,7 @@ class TestParser extends Parser { @override Token parseTypedef(Token? augmentToken, Token typedefKeyword) { - doPrint( - 'parseTypedef(' - '$augmentToken, ' - '$typedefKeyword)', - ); + doPrint('parseTypedef(' '$augmentToken, ' '$typedefKeyword)'); indent++; var result = super.parseTypedef(augmentToken, typedefKeyword); indent--; @@ -492,10 +405,7 @@ class TestParser extends Parser { @override Token parseMixinApplicationRest(Token token) { - doPrint( - 'parseMixinApplicationRest(' - '$token)', - ); + doPrint('parseMixinApplicationRest(' '$token)'); indent++; var result = super.parseMixinApplicationRest(token); indent--; @@ -504,10 +414,7 @@ class TestParser extends Parser { @override Token parseClassWithClauseOpt(Token token) { - doPrint( - 'parseClassWithClauseOpt(' - '$token)', - ); + doPrint('parseClassWithClauseOpt(' '$token)'); indent++; var result = super.parseClassWithClauseOpt(token); indent--; @@ -516,10 +423,7 @@ class TestParser extends Parser { @override Token parseEnumWithClauseOpt(Token token) { - doPrint( - 'parseEnumWithClauseOpt(' - '$token)', - ); + doPrint('parseEnumWithClauseOpt(' '$token)'); indent++; var result = super.parseEnumWithClauseOpt(token); indent--; @@ -528,36 +432,22 @@ class TestParser extends Parser { @override Token parseGetterOrFormalParameters( - Token token, - Token name, - bool isGetter, - MemberKind kind, - ) { - doPrint( - 'parseGetterOrFormalParameters(' - '$token, ' - '$name, ' - '$isGetter, ' - '$kind)', - ); + Token token, Token name, bool isGetter, MemberKind kind) { + doPrint('parseGetterOrFormalParameters(' + '$token, ' + '$name, ' + '$isGetter, ' + '$kind)'); indent++; - var result = super.parseGetterOrFormalParameters( - token, - name, - isGetter, - kind, - ); + var result = + super.parseGetterOrFormalParameters(token, name, isGetter, kind); indent--; return result; } @override Token parseFormalParametersOpt(Token token, MemberKind kind) { - doPrint( - 'parseFormalParametersOpt(' - '$token, ' - '$kind)', - ); + doPrint('parseFormalParametersOpt(' '$token, ' '$kind)'); indent++; var result = super.parseFormalParametersOpt(token, kind); indent--; @@ -566,11 +456,7 @@ class TestParser extends Parser { @override Token skipFormalParameters(Token token, MemberKind kind) { - doPrint( - 'skipFormalParameters(' - '$token, ' - '$kind)', - ); + doPrint('skipFormalParameters(' '$token, ' '$kind)'); indent++; var result = super.skipFormalParameters(token, kind); indent--; @@ -579,11 +465,7 @@ class TestParser extends Parser { @override Token skipFormalParametersRest(Token token, MemberKind kind) { - doPrint( - 'skipFormalParametersRest(' - '$token, ' - '$kind)', - ); + doPrint('skipFormalParametersRest(' '$token, ' '$kind)'); indent++; var result = super.skipFormalParametersRest(token, kind); indent--; @@ -592,16 +474,9 @@ class TestParser extends Parser { @override Token parseRecordType( - final Token start, - Token token, - bool isQuestionMarkPartOfType, - ) { + final Token start, Token token, bool isQuestionMarkPartOfType) { doPrint( - 'parseRecordType(' - '$start, ' - '$token, ' - '$isQuestionMarkPartOfType)', - ); + 'parseRecordType(' '$start, ' '$token, ' '$isQuestionMarkPartOfType)'); indent++; var result = super.parseRecordType(start, token, isQuestionMarkPartOfType); indent--; @@ -609,30 +484,21 @@ class TestParser extends Parser { } @override - Token parseRecordTypeField( - Token token, { - required bool identifierIsOptional, - }) { - doPrint( - 'parseRecordTypeField(' - '$token, ' - 'identifierIsOptional: $identifierIsOptional)', - ); + Token parseRecordTypeField(Token token, + {required bool identifierIsOptional}) { + doPrint('parseRecordTypeField(' + '$token, ' + 'identifierIsOptional: $identifierIsOptional)'); indent++; - var result = super.parseRecordTypeField( - token, - identifierIsOptional: identifierIsOptional, - ); + var result = super.parseRecordTypeField(token, + identifierIsOptional: identifierIsOptional); indent--; return result; } @override Token parseRecordTypeNamedFields(Token token) { - doPrint( - 'parseRecordTypeNamedFields(' - '$token)', - ); + doPrint('parseRecordTypeNamedFields(' '$token)'); indent++; var result = super.parseRecordTypeNamedFields(token); indent--; @@ -641,11 +507,7 @@ class TestParser extends Parser { @override Token parseFormalParametersRequiredOpt(Token token, MemberKind kind) { - doPrint( - 'parseFormalParametersRequiredOpt(' - '$token, ' - '$kind)', - ); + doPrint('parseFormalParametersRequiredOpt(' '$token, ' '$kind)'); indent++; var result = super.parseFormalParametersRequiredOpt(token, kind); indent--; @@ -654,11 +516,7 @@ class TestParser extends Parser { @override Token parseFormalParameters(Token token, MemberKind kind) { - doPrint( - 'parseFormalParameters(' - '$token, ' - '$kind)', - ); + doPrint('parseFormalParameters(' '$token, ' '$kind)'); indent++; var result = super.parseFormalParameters(token, kind); indent--; @@ -667,11 +525,7 @@ class TestParser extends Parser { @override Token parseFormalParametersRest(Token token, MemberKind kind) { - doPrint( - 'parseFormalParametersRest(' - '$token, ' - '$kind)', - ); + doPrint('parseFormalParametersRest(' '$token, ' '$kind)'); indent++; var result = super.parseFormalParametersRest(token, kind); indent--; @@ -680,10 +534,7 @@ class TestParser extends Parser { @override codes.Message missingParameterMessage(MemberKind kind) { - doPrint( - 'missingParameterMessage(' - '$kind)', - ); + doPrint('missingParameterMessage(' '$kind)'); indent++; var result = super.missingParameterMessage(kind); indent--; @@ -692,16 +543,9 @@ class TestParser extends Parser { @override Token parseFormalParameter( - Token token, - FormalParameterKind parameterKind, - MemberKind memberKind, - ) { + Token token, FormalParameterKind parameterKind, MemberKind memberKind) { doPrint( - 'parseFormalParameter(' - '$token, ' - '$parameterKind, ' - '$memberKind)', - ); + 'parseFormalParameter(' '$token, ' '$parameterKind, ' '$memberKind)'); indent++; var result = super.parseFormalParameter(token, parameterKind, memberKind); indent--; @@ -710,11 +554,7 @@ class TestParser extends Parser { @override Token parseOptionalPositionalParameters(Token token, MemberKind kind) { - doPrint( - 'parseOptionalPositionalParameters(' - '$token, ' - '$kind)', - ); + doPrint('parseOptionalPositionalParameters(' '$token, ' '$kind)'); indent++; var result = super.parseOptionalPositionalParameters(token, kind); indent--; @@ -723,11 +563,7 @@ class TestParser extends Parser { @override Token parseOptionalNamedParameters(Token token, MemberKind kind) { - doPrint( - 'parseOptionalNamedParameters(' - '$token, ' - '$kind)', - ); + doPrint('parseOptionalNamedParameters(' '$token, ' '$kind)'); indent++; var result = super.parseOptionalNamedParameters(token, kind); indent--; @@ -735,17 +571,9 @@ class TestParser extends Parser { } @override - Token parseQualified( - Token token, - IdentifierContext context, - IdentifierContext continuationContext, - ) { - doPrint( - 'parseQualified(' - '$token, ' - '$context, ' - '$continuationContext)', - ); + Token parseQualified(Token token, IdentifierContext context, + IdentifierContext continuationContext) { + doPrint('parseQualified(' '$token, ' '$context, ' '$continuationContext)'); indent++; var result = super.parseQualified(token, context, continuationContext); indent--; @@ -754,14 +582,8 @@ class TestParser extends Parser { @override Token parseQualifiedRestOpt( - Token token, - IdentifierContext continuationContext, - ) { - doPrint( - 'parseQualifiedRestOpt(' - '$token, ' - '$continuationContext)', - ); + Token token, IdentifierContext continuationContext) { + doPrint('parseQualifiedRestOpt(' '$token, ' '$continuationContext)'); indent++; var result = super.parseQualifiedRestOpt(token, continuationContext); indent--; @@ -770,11 +592,7 @@ class TestParser extends Parser { @override Token parseQualifiedRest(Token token, IdentifierContext context) { - doPrint( - 'parseQualifiedRest(' - '$token, ' - '$context)', - ); + doPrint('parseQualifiedRest(' '$token, ' '$context)'); indent++; var result = super.parseQualifiedRest(token, context); indent--; @@ -783,10 +601,7 @@ class TestParser extends Parser { @override Token skipBlock(Token token) { - doPrint( - 'skipBlock(' - '$token)', - ); + doPrint('skipBlock(' '$token)'); indent++; var result = super.skipBlock(token); indent--; @@ -795,12 +610,7 @@ class TestParser extends Parser { @override Token parseEnum(Token beginToken, Token? augmentToken, Token enumKeyword) { - doPrint( - 'parseEnum(' - '$beginToken, ' - '$augmentToken, ' - '$enumKeyword)', - ); + doPrint('parseEnum(' '$beginToken, ' '$augmentToken, ' '$enumKeyword)'); indent++; var result = super.parseEnum(beginToken, augmentToken, enumKeyword); indent--; @@ -809,11 +619,7 @@ class TestParser extends Parser { @override Token parseEnumHeaderOpt(Token token, Token enumKeyword) { - doPrint( - 'parseEnumHeaderOpt(' - '$token, ' - '$enumKeyword)', - ); + doPrint('parseEnumHeaderOpt(' '$token, ' '$enumKeyword)'); indent++; var result = super.parseEnumHeaderOpt(token, enumKeyword); indent--; @@ -822,11 +628,7 @@ class TestParser extends Parser { @override Token? recoveryEnumWith(Token token, codes.Message message) { - doPrint( - 'recoveryEnumWith(' - '$token, ' - '$message)', - ); + doPrint('recoveryEnumWith(' '$token, ' '$message)'); indent++; var result = super.recoveryEnumWith(token, message); indent--; @@ -835,11 +637,7 @@ class TestParser extends Parser { @override Token? recoveryEnumImplements(Token token, codes.Message message) { - doPrint( - 'recoveryEnumImplements(' - '$token, ' - '$message)', - ); + doPrint('recoveryEnumImplements(' '$token, ' '$message)'); indent++; var result = super.recoveryEnumImplements(token, message); indent--; @@ -848,14 +646,8 @@ class TestParser extends Parser { @override Token? recoverySmallLookAheadSkipTokens( - final Token token, - List lookFor, - ) { - doPrint( - 'recoverySmallLookAheadSkipTokens(' - '$token, ' - '$lookFor)', - ); + final Token token, List lookFor) { + doPrint('recoverySmallLookAheadSkipTokens(' '$token, ' '$lookFor)'); indent++; var result = super.recoverySmallLookAheadSkipTokens(token, lookFor); indent--; @@ -864,10 +656,7 @@ class TestParser extends Parser { @override Token parseEnumElement(Token token) { - doPrint( - 'parseEnumElement(' - '$token)', - ); + doPrint('parseEnumElement(' '$token)'); indent++; var result = super.parseEnumElement(token); indent--; @@ -876,59 +665,48 @@ class TestParser extends Parser { @override Token parseClassOrNamedMixinApplication( - Token beginToken, - Token? abstractToken, - Token? macroToken, - Token? sealedToken, - Token? baseToken, - Token? interfaceToken, - Token? finalToken, - Token? augmentToken, - Token? mixinToken, - Token classKeyword, - ) { - doPrint( - 'parseClassOrNamedMixinApplication(' - '$beginToken, ' - '$abstractToken, ' - '$macroToken, ' - '$sealedToken, ' - '$baseToken, ' - '$interfaceToken, ' - '$finalToken, ' - '$augmentToken, ' - '$mixinToken, ' - '$classKeyword)', - ); + Token beginToken, + Token? abstractToken, + Token? macroToken, + Token? sealedToken, + Token? baseToken, + Token? interfaceToken, + Token? finalToken, + Token? augmentToken, + Token? mixinToken, + Token classKeyword) { + doPrint('parseClassOrNamedMixinApplication(' + '$beginToken, ' + '$abstractToken, ' + '$macroToken, ' + '$sealedToken, ' + '$baseToken, ' + '$interfaceToken, ' + '$finalToken, ' + '$augmentToken, ' + '$mixinToken, ' + '$classKeyword)'); indent++; var result = super.parseClassOrNamedMixinApplication( - beginToken, - abstractToken, - macroToken, - sealedToken, - baseToken, - interfaceToken, - finalToken, - augmentToken, - mixinToken, - classKeyword, - ); + beginToken, + abstractToken, + macroToken, + sealedToken, + baseToken, + interfaceToken, + finalToken, + augmentToken, + mixinToken, + classKeyword); indent--; return result; } @override Token parseNamedMixinApplication( - Token token, - Token begin, - Token classKeyword, - ) { + Token token, Token begin, Token classKeyword) { doPrint( - 'parseNamedMixinApplication(' - '$token, ' - '$begin, ' - '$classKeyword)', - ); + 'parseNamedMixinApplication(' '$token, ' '$begin, ' '$classKeyword)'); indent++; var result = super.parseNamedMixinApplication(token, begin, classKeyword); indent--; @@ -937,18 +715,12 @@ class TestParser extends Parser { @override Token parseClass( - Token token, - Token beginToken, - Token classKeyword, - String className, - ) { - doPrint( - 'parseClass(' - '$token, ' - '$beginToken, ' - '$classKeyword, ' - '$className)', - ); + Token token, Token beginToken, Token classKeyword, String className) { + doPrint('parseClass(' + '$token, ' + '$beginToken, ' + '$classKeyword, ' + '$className)'); indent++; var result = super.parseClass(token, beginToken, classKeyword, className); indent--; @@ -957,12 +729,7 @@ class TestParser extends Parser { @override Token parseClassHeaderOpt(Token token, Token begin, Token classKeyword) { - doPrint( - 'parseClassHeaderOpt(' - '$token, ' - '$begin, ' - '$classKeyword)', - ); + doPrint('parseClassHeaderOpt(' '$token, ' '$begin, ' '$classKeyword)'); indent++; var result = super.parseClassHeaderOpt(token, begin, classKeyword); indent--; @@ -971,12 +738,7 @@ class TestParser extends Parser { @override Token parseClassHeaderRecovery(Token token, Token begin, Token classKeyword) { - doPrint( - 'parseClassHeaderRecovery(' - '$token, ' - '$begin, ' - '$classKeyword)', - ); + doPrint('parseClassHeaderRecovery(' '$token, ' '$begin, ' '$classKeyword)'); indent++; var result = super.parseClassHeaderRecovery(token, begin, classKeyword); indent--; @@ -986,51 +748,32 @@ class TestParser extends Parser { @override Token parseExtensionTypeHeaderRecovery(Token token, Token extensionKeyword) { doPrint( - 'parseExtensionTypeHeaderRecovery(' - '$token, ' - '$extensionKeyword)', - ); + 'parseExtensionTypeHeaderRecovery(' '$token, ' '$extensionKeyword)'); indent++; - var result = super.parseExtensionTypeHeaderRecovery( - token, - extensionKeyword, - ); + var result = + super.parseExtensionTypeHeaderRecovery(token, extensionKeyword); indent--; return result; } @override - Token parseDeclarationHeaderRecoveryInternal( - Token token, - Token begin, - Token declarationKeyword, - DeclarationHeaderKind kind, - ) { - doPrint( - 'parseDeclarationHeaderRecoveryInternal(' - '$token, ' - '$begin, ' - '$declarationKeyword, ' - '$kind)', - ); + Token parseDeclarationHeaderRecoveryInternal(Token token, Token begin, + Token declarationKeyword, DeclarationHeaderKind kind) { + doPrint('parseDeclarationHeaderRecoveryInternal(' + '$token, ' + '$begin, ' + '$declarationKeyword, ' + '$kind)'); indent++; var result = super.parseDeclarationHeaderRecoveryInternal( - token, - begin, - declarationKeyword, - kind, - ); + token, begin, declarationKeyword, kind); indent--; return result; } @override Token parseClassExtendsOpt(Token token, DeclarationHeaderKind kind) { - doPrint( - 'parseClassExtendsOpt(' - '$token, ' - '$kind)', - ); + doPrint('parseClassExtendsOpt(' '$token, ' '$kind)'); indent++; var result = super.parseClassExtendsOpt(token, kind); indent--; @@ -1039,32 +782,21 @@ class TestParser extends Parser { @override Token parseClassExtendsSeenExtendsClause( - Token extendsKeyword, - Token token, - DeclarationHeaderKind kind, - ) { - doPrint( - 'parseClassExtendsSeenExtendsClause(' - '$extendsKeyword, ' - '$token, ' - '$kind)', - ); + Token extendsKeyword, Token token, DeclarationHeaderKind kind) { + doPrint('parseClassExtendsSeenExtendsClause(' + '$extendsKeyword, ' + '$token, ' + '$kind)'); indent++; - var result = super.parseClassExtendsSeenExtendsClause( - extendsKeyword, - token, - kind, - ); + var result = + super.parseClassExtendsSeenExtendsClause(extendsKeyword, token, kind); indent--; return result; } @override Token parseClassOrMixinOrEnumImplementsOpt(Token token) { - doPrint( - 'parseClassOrMixinOrEnumImplementsOpt(' - '$token)', - ); + doPrint('parseClassOrMixinOrEnumImplementsOpt(' '$token)'); indent++; var result = super.parseClassOrMixinOrEnumImplementsOpt(token); indent--; @@ -1072,37 +804,23 @@ class TestParser extends Parser { } @override - Token parseMixin( - Token beginToken, - Token? augmentToken, - Token? baseToken, - Token mixinKeyword, - ) { - doPrint( - 'parseMixin(' - '$beginToken, ' - '$augmentToken, ' - '$baseToken, ' - '$mixinKeyword)', - ); + Token parseMixin(Token beginToken, Token? augmentToken, Token? baseToken, + Token mixinKeyword) { + doPrint('parseMixin(' + '$beginToken, ' + '$augmentToken, ' + '$baseToken, ' + '$mixinKeyword)'); indent++; - var result = super.parseMixin( - beginToken, - augmentToken, - baseToken, - mixinKeyword, - ); + var result = + super.parseMixin(beginToken, augmentToken, baseToken, mixinKeyword); indent--; return result; } @override Token parseMixinHeaderOpt(Token token, Token mixinKeyword) { - doPrint( - 'parseMixinHeaderOpt(' - '$token, ' - '$mixinKeyword)', - ); + doPrint('parseMixinHeaderOpt(' '$token, ' '$mixinKeyword)'); indent++; var result = super.parseMixinHeaderOpt(token, mixinKeyword); indent--; @@ -1111,32 +829,21 @@ class TestParser extends Parser { @override Token parseMixinHeaderRecovery( - Token token, - Token mixinKeyword, - Token headerStart, - ) { - doPrint( - 'parseMixinHeaderRecovery(' - '$token, ' - '$mixinKeyword, ' - '$headerStart)', - ); + Token token, Token mixinKeyword, Token headerStart) { + doPrint('parseMixinHeaderRecovery(' + '$token, ' + '$mixinKeyword, ' + '$headerStart)'); indent++; - var result = super.parseMixinHeaderRecovery( - token, - mixinKeyword, - headerStart, - ); + var result = + super.parseMixinHeaderRecovery(token, mixinKeyword, headerStart); indent--; return result; } @override Token parseMixinOnOpt(Token token) { - doPrint( - 'parseMixinOnOpt(' - '$token)', - ); + doPrint('parseMixinOnOpt(' '$token)'); indent++; var result = super.parseMixinOnOpt(token); indent--; @@ -1145,10 +852,7 @@ class TestParser extends Parser { @override Token parseMixinOn(Token token) { - doPrint( - 'parseMixinOn(' - '$token)', - ); + doPrint('parseMixinOn(' '$token)'); indent++; var result = super.parseMixinOn(token); indent--; @@ -1157,85 +861,52 @@ class TestParser extends Parser { @override Token parseExtension( - Token beginToken, - Token? augmentToken, - Token extensionKeyword, - ) { - doPrint( - 'parseExtension(' - '$beginToken, ' - '$augmentToken, ' - '$extensionKeyword)', - ); + Token beginToken, Token? augmentToken, Token extensionKeyword) { + doPrint('parseExtension(' + '$beginToken, ' + '$augmentToken, ' + '$extensionKeyword)'); indent++; - var result = super.parseExtension( - beginToken, - augmentToken, - extensionKeyword, - ); + var result = + super.parseExtension(beginToken, augmentToken, extensionKeyword); indent--; return result; } @override - Token parseExtensionDeclaration( - Token beginToken, - Token token, - Token? augmentToken, - Token extensionKeyword, - ) { - doPrint( - 'parseExtensionDeclaration(' - '$beginToken, ' - '$token, ' - '$augmentToken, ' - '$extensionKeyword)', - ); + Token parseExtensionDeclaration(Token beginToken, Token token, + Token? augmentToken, Token extensionKeyword) { + doPrint('parseExtensionDeclaration(' + '$beginToken, ' + '$token, ' + '$augmentToken, ' + '$extensionKeyword)'); indent++; var result = super.parseExtensionDeclaration( - beginToken, - token, - augmentToken, - extensionKeyword, - ); + beginToken, token, augmentToken, extensionKeyword); indent--; return result; } @override - Token parseExtensionTypeDeclaration( - Token beginToken, - Token token, - Token? augmentToken, - Token extensionKeyword, - Token typeKeyword, - ) { - doPrint( - 'parseExtensionTypeDeclaration(' - '$beginToken, ' - '$token, ' - '$augmentToken, ' - '$extensionKeyword, ' - '$typeKeyword)', - ); + Token parseExtensionTypeDeclaration(Token beginToken, Token token, + Token? augmentToken, Token extensionKeyword, Token typeKeyword) { + doPrint('parseExtensionTypeDeclaration(' + '$beginToken, ' + '$token, ' + '$augmentToken, ' + '$extensionKeyword, ' + '$typeKeyword)'); indent++; var result = super.parseExtensionTypeDeclaration( - beginToken, - token, - augmentToken, - extensionKeyword, - typeKeyword, - ); + beginToken, token, augmentToken, extensionKeyword, typeKeyword); indent--; return result; } @override Token parseStringPart(Token token) { - doPrint( - 'parseStringPart(' - '$token)', - ); + doPrint('parseStringPart(' '$token)'); indent++; var result = super.parseStringPart(token); indent--; @@ -1243,37 +914,23 @@ class TestParser extends Parser { } @override - Token insertSyntheticIdentifier( - Token token, - IdentifierContext context, { - codes.Message? message, - Token? messageOnToken, - }) { - doPrint( - 'insertSyntheticIdentifier(' - '$token, ' - '$context, ' - 'message: $message, ' - 'messageOnToken: $messageOnToken)', - ); + Token insertSyntheticIdentifier(Token token, IdentifierContext context, + {codes.Message? message, Token? messageOnToken}) { + doPrint('insertSyntheticIdentifier(' + '$token, ' + '$context, ' + 'message: $message, ' + 'messageOnToken: $messageOnToken)'); indent++; - var result = super.insertSyntheticIdentifier( - token, - context, - message: message, - messageOnToken: messageOnToken, - ); + var result = super.insertSyntheticIdentifier(token, context, + message: message, messageOnToken: messageOnToken); indent--; return result; } @override Token ensureIdentifier(Token token, IdentifierContext context) { - doPrint( - 'ensureIdentifier(' - '$token, ' - '$context)', - ); + doPrint('ensureIdentifier(' '$token, ' '$context)'); indent++; var result = super.ensureIdentifier(token, context); indent--; @@ -1282,10 +939,7 @@ class TestParser extends Parser { @override bool isNextIdentifier(Token token) { - doPrint( - 'isNextIdentifier(' - '$token)', - ); + doPrint('isNextIdentifier(' '$token)'); indent++; var result = super.isNextIdentifier(token); indent--; @@ -1294,33 +948,21 @@ class TestParser extends Parser { @override Token ensureIdentifierPotentiallyRecovered( - Token token, - IdentifierContext context, - bool isRecovered, - ) { - doPrint( - 'ensureIdentifierPotentiallyRecovered(' - '$token, ' - '$context, ' - '$isRecovered)', - ); + Token token, IdentifierContext context, bool isRecovered) { + doPrint('ensureIdentifierPotentiallyRecovered(' + '$token, ' + '$context, ' + '$isRecovered)'); indent++; - var result = super.ensureIdentifierPotentiallyRecovered( - token, - context, - isRecovered, - ); + var result = + super.ensureIdentifierPotentiallyRecovered(token, context, isRecovered); indent--; return result; } @override bool notEofOrValue(String value, Token token) { - doPrint( - 'notEofOrValue(' - '$value, ' - '$token)', - ); + doPrint('notEofOrValue(' '$value, ' '$token)'); indent++; var result = super.notEofOrValue(value, token); indent--; @@ -1329,10 +971,7 @@ class TestParser extends Parser { @override Token parseTypeVariablesOpt(Token token) { - doPrint( - 'parseTypeVariablesOpt(' - '$token)', - ); + doPrint('parseTypeVariablesOpt(' '$token)'); indent++; var result = super.parseTypeVariablesOpt(token); indent--; @@ -1341,10 +980,7 @@ class TestParser extends Parser { @override Token parseTopLevelMember(Token token) { - doPrint( - 'parseTopLevelMember(' - '$token)', - ); + doPrint('parseTopLevelMember(' '$token)'); indent++; var result = super.parseTopLevelMember(token); indent--; @@ -1353,10 +989,7 @@ class TestParser extends Parser { @override Token parseTopLevelMemberImpl(Token token) { - doPrint( - 'parseTopLevelMemberImpl(' - '$token)', - ); + doPrint('parseTopLevelMemberImpl(' '$token)'); indent++; var result = super.parseTopLevelMemberImpl(token); indent--; @@ -1365,102 +998,84 @@ class TestParser extends Parser { @override Token parseFields( - Token beforeStart, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token beforeType, - TypeInfo typeInfo, - Token name, - DeclarationKind kind, - String? enclosingDeclarationName, - bool nameIsRecovered, - ) { - doPrint( - 'parseFields(' - '$beforeStart, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$beforeType, ' - '$typeInfo, ' - '$name, ' - '$kind, ' - '$enclosingDeclarationName, ' - '$nameIsRecovered)', - ); + Token beforeStart, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token beforeType, + TypeInfo typeInfo, + Token name, + DeclarationKind kind, + String? enclosingDeclarationName, + bool nameIsRecovered) { + doPrint('parseFields(' + '$beforeStart, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$beforeType, ' + '$typeInfo, ' + '$name, ' + '$kind, ' + '$enclosingDeclarationName, ' + '$nameIsRecovered)'); indent++; var result = super.parseFields( - beforeStart, - abstractToken, - augmentToken, - externalToken, - staticToken, - covariantToken, - lateToken, - varFinalOrConst, - beforeType, - typeInfo, - name, - kind, - enclosingDeclarationName, - nameIsRecovered, - ); + beforeStart, + abstractToken, + augmentToken, + externalToken, + staticToken, + covariantToken, + lateToken, + varFinalOrConst, + beforeType, + typeInfo, + name, + kind, + enclosingDeclarationName, + nameIsRecovered); indent--; return result; } @override Token parseTopLevelMethod( - Token beforeStart, - Token? augmentToken, - Token? externalToken, - Token beforeType, - TypeInfo typeInfo, - Token? getOrSet, - Token name, - bool nameIsRecovered, - ) { - doPrint( - 'parseTopLevelMethod(' - '$beforeStart, ' - '$augmentToken, ' - '$externalToken, ' - '$beforeType, ' - '$typeInfo, ' - '$getOrSet, ' - '$name, ' - '$nameIsRecovered)', - ); + Token beforeStart, + Token? augmentToken, + Token? externalToken, + Token beforeType, + TypeInfo typeInfo, + Token? getOrSet, + Token name, + bool nameIsRecovered) { + doPrint('parseTopLevelMethod(' + '$beforeStart, ' + '$augmentToken, ' + '$externalToken, ' + '$beforeType, ' + '$typeInfo, ' + '$getOrSet, ' + '$name, ' + '$nameIsRecovered)'); indent++; - var result = super.parseTopLevelMethod( - beforeStart, - augmentToken, - externalToken, - beforeType, - typeInfo, - getOrSet, - name, - nameIsRecovered, - ); + var result = super.parseTopLevelMethod(beforeStart, augmentToken, + externalToken, beforeType, typeInfo, getOrSet, name, nameIsRecovered); indent--; return result; } @override Token parseMethodTypeVar(Token name) { - doPrint( - 'parseMethodTypeVar(' - '$name)', - ); + doPrint('parseMethodTypeVar(' '$name)'); indent++; var result = super.parseMethodTypeVar(name); indent--; @@ -1469,50 +1084,43 @@ class TestParser extends Parser { @override Token parseFieldInitializerOpt( - Token token, - Token name, - Token? lateToken, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? varFinalOrConst, - DeclarationKind kind, - String? enclosingDeclarationName, - ) { - doPrint( - 'parseFieldInitializerOpt(' - '$token, ' - '$name, ' - '$lateToken, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$varFinalOrConst, ' - '$kind, ' - '$enclosingDeclarationName)', - ); + Token token, + Token name, + Token? lateToken, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? varFinalOrConst, + DeclarationKind kind, + String? enclosingDeclarationName) { + doPrint('parseFieldInitializerOpt(' + '$token, ' + '$name, ' + '$lateToken, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$varFinalOrConst, ' + '$kind, ' + '$enclosingDeclarationName)'); indent++; var result = super.parseFieldInitializerOpt( - token, - name, - lateToken, - abstractToken, - augmentToken, - externalToken, - varFinalOrConst, - kind, - enclosingDeclarationName, - ); + token, + name, + lateToken, + abstractToken, + augmentToken, + externalToken, + varFinalOrConst, + kind, + enclosingDeclarationName); indent--; return result; } @override Token parseVariableInitializerOpt(Token token) { - doPrint( - 'parseVariableInitializerOpt(' - '$token)', - ); + doPrint('parseVariableInitializerOpt(' '$token)'); indent++; var result = super.parseVariableInitializerOpt(token); indent--; @@ -1521,10 +1129,7 @@ class TestParser extends Parser { @override Token parseInitializersOpt(Token token) { - doPrint( - 'parseInitializersOpt(' - '$token)', - ); + doPrint('parseInitializersOpt(' '$token)'); indent++; var result = super.parseInitializersOpt(token); indent--; @@ -1533,10 +1138,7 @@ class TestParser extends Parser { @override Token parseInitializers(Token token) { - doPrint( - 'parseInitializers(' - '$token)', - ); + doPrint('parseInitializers(' '$token)'); indent++; var result = super.parseInitializers(token); indent--; @@ -1545,10 +1147,7 @@ class TestParser extends Parser { @override Token parseInitializer(Token token) { - doPrint( - 'parseInitializer(' - '$token)', - ); + doPrint('parseInitializer(' '$token)'); indent++; var result = super.parseInitializer(token); indent--; @@ -1557,10 +1156,7 @@ class TestParser extends Parser { @override Token parseSuperInitializerExpression(final Token start) { - doPrint( - 'parseSuperInitializerExpression(' - '$start)', - ); + doPrint('parseSuperInitializerExpression(' '$start)'); indent++; var result = super.parseSuperInitializerExpression(start); indent--; @@ -1569,10 +1165,7 @@ class TestParser extends Parser { @override Token parseInitializerExpressionRest(Token token) { - doPrint( - 'parseInitializerExpressionRest(' - '$token)', - ); + doPrint('parseInitializerExpressionRest(' '$token)'); indent++; var result = super.parseInitializerExpressionRest(token); indent--; @@ -1581,11 +1174,7 @@ class TestParser extends Parser { @override Token ensureBlock(Token token, BlockKind? missingBlockKind) { - doPrint( - 'ensureBlock(' - '$token, ' - '$missingBlockKind)', - ); + doPrint('ensureBlock(' '$token, ' '$missingBlockKind)'); indent++; var result = super.ensureBlock(token, missingBlockKind); indent--; @@ -1594,10 +1183,7 @@ class TestParser extends Parser { @override Token insertBlock(Token token) { - doPrint( - 'insertBlock(' - '$token)', - ); + doPrint('insertBlock(' '$token)'); indent++; var result = super.insertBlock(token); indent--; @@ -1606,11 +1192,7 @@ class TestParser extends Parser { @override Token ensureCloseParen(Token token, Token openParen) { - doPrint( - 'ensureCloseParen(' - '$token, ' - '$openParen)', - ); + doPrint('ensureCloseParen(' '$token, ' '$openParen)'); indent++; var result = super.ensureCloseParen(token, openParen); indent--; @@ -1619,10 +1201,7 @@ class TestParser extends Parser { @override Token ensureColon(Token token) { - doPrint( - 'ensureColon(' - '$token)', - ); + doPrint('ensureColon(' '$token)'); indent++; var result = super.ensureColon(token); indent--; @@ -1631,10 +1210,7 @@ class TestParser extends Parser { @override Token ensureFunctionArrow(Token token) { - doPrint( - 'ensureFunctionArrow(' - '$token)', - ); + doPrint('ensureFunctionArrow(' '$token)'); indent++; var result = super.ensureFunctionArrow(token); indent--; @@ -1643,10 +1219,7 @@ class TestParser extends Parser { @override Token ensureLiteralString(Token token) { - doPrint( - 'ensureLiteralString(' - '$token)', - ); + doPrint('ensureLiteralString(' '$token)'); indent++; var result = super.ensureLiteralString(token); indent--; @@ -1655,10 +1228,7 @@ class TestParser extends Parser { @override Token ensureSemicolon(Token token) { - doPrint( - 'ensureSemicolon(' - '$token)', - ); + doPrint('ensureSemicolon(' '$token)'); indent++; var result = super.ensureSemicolon(token); indent--; @@ -1667,12 +1237,7 @@ class TestParser extends Parser { @override Token rewriteAndRecover(Token token, codes.Message message, Token newToken) { - doPrint( - 'rewriteAndRecover(' - '$token, ' - '$message, ' - '$newToken)', - ); + doPrint('rewriteAndRecover(' '$token, ' '$message, ' '$newToken)'); indent++; var result = super.rewriteAndRecover(token, message, newToken); indent--; @@ -1681,10 +1246,7 @@ class TestParser extends Parser { @override Token rewriteSquareBrackets(Token token) { - doPrint( - 'rewriteSquareBrackets(' - '$token)', - ); + doPrint('rewriteSquareBrackets(' '$token)'); indent++; var result = super.rewriteSquareBrackets(token); indent--; @@ -1693,11 +1255,7 @@ class TestParser extends Parser { @override Token skipUnexpectedTokenOpt(Token token, List expectedNext) { - doPrint( - 'skipUnexpectedTokenOpt(' - '$token, ' - '$expectedNext)', - ); + doPrint('skipUnexpectedTokenOpt(' '$token, ' '$expectedNext)'); indent++; var result = super.skipUnexpectedTokenOpt(token, expectedNext); indent--; @@ -1706,10 +1264,7 @@ class TestParser extends Parser { @override Token parseNativeClause(Token token) { - doPrint( - 'parseNativeClause(' - '$token)', - ); + doPrint('parseNativeClause(' '$token)'); indent++; var result = super.parseNativeClause(token); indent--; @@ -1718,10 +1273,7 @@ class TestParser extends Parser { @override Token skipClassOrMixinOrExtensionBody(Token token) { - doPrint( - 'skipClassOrMixinOrExtensionBody(' - '$token)', - ); + doPrint('skipClassOrMixinOrExtensionBody(' '$token)'); indent++; var result = super.skipClassOrMixinOrExtensionBody(token); indent--; @@ -1730,32 +1282,21 @@ class TestParser extends Parser { @override Token parseClassOrMixinOrExtensionBody( - Token token, - DeclarationKind kind, - String? enclosingDeclarationName, - ) { - doPrint( - 'parseClassOrMixinOrExtensionBody(' - '$token, ' - '$kind, ' - '$enclosingDeclarationName)', - ); + Token token, DeclarationKind kind, String? enclosingDeclarationName) { + doPrint('parseClassOrMixinOrExtensionBody(' + '$token, ' + '$kind, ' + '$enclosingDeclarationName)'); indent++; var result = super.parseClassOrMixinOrExtensionBody( - token, - kind, - enclosingDeclarationName, - ); + token, kind, enclosingDeclarationName); indent--; return result; } @override bool isUnaryMinus(Token token) { - doPrint( - 'isUnaryMinus(' - '$token)', - ); + doPrint('isUnaryMinus(' '$token)'); indent++; var result = super.isUnaryMinus(token); indent--; @@ -1764,11 +1305,7 @@ class TestParser extends Parser { @override Token parseClassMember(Token token, String? className) { - doPrint( - 'parseClassMember(' - '$token, ' - '$className)', - ); + doPrint('parseClassMember(' '$token, ' '$className)'); indent++; var result = super.parseClassMember(token, className); indent--; @@ -1777,11 +1314,7 @@ class TestParser extends Parser { @override Token parseMixinMember(Token token, String mixinName) { - doPrint( - 'parseMixinMember(' - '$token, ' - '$mixinName)', - ); + doPrint('parseMixinMember(' '$token, ' '$mixinName)'); indent++; var result = super.parseMixinMember(token, mixinName); indent--; @@ -1790,11 +1323,7 @@ class TestParser extends Parser { @override Token parseExtensionMember(Token token, String extensionName) { - doPrint( - 'parseExtensionMember(' - '$token, ' - '$extensionName)', - ); + doPrint('parseExtensionMember(' '$token, ' '$extensionName)'); indent++; var result = super.parseExtensionMember(token, extensionName); indent--; @@ -1803,10 +1332,7 @@ class TestParser extends Parser { @override bool isReservedKeyword(Token token) { - doPrint( - 'isReservedKeyword(' - '$token)', - ); + doPrint('isReservedKeyword(' '$token)'); indent++; var result = super.isReservedKeyword(token); indent--; @@ -1815,10 +1341,7 @@ class TestParser extends Parser { @override bool indicatesMethodOrField(Token token) { - doPrint( - 'indicatesMethodOrField(' - '$token)', - ); + doPrint('indicatesMethodOrField(' '$token)'); indent++; var result = super.indicatesMethodOrField(token); indent--; @@ -1827,121 +1350,92 @@ class TestParser extends Parser { @override Token parseClassOrMixinOrExtensionOrEnumMemberImpl( - Token token, - DeclarationKind kind, - String? enclosingDeclarationName, - ) { - doPrint( - 'parseClassOrMixinOrExtensionOrEnumMemberImpl(' - '$token, ' - '$kind, ' - '$enclosingDeclarationName)', - ); + Token token, DeclarationKind kind, String? enclosingDeclarationName) { + doPrint('parseClassOrMixinOrExtensionOrEnumMemberImpl(' + '$token, ' + '$kind, ' + '$enclosingDeclarationName)'); indent++; var result = super.parseClassOrMixinOrExtensionOrEnumMemberImpl( - token, - kind, - enclosingDeclarationName, - ); + token, kind, enclosingDeclarationName); indent--; return result; } @override Token parseMethod( - Token beforeStart, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token beforeType, - TypeInfo typeInfo, - Token? getOrSet, - Token name, - DeclarationKind kind, - String? enclosingDeclarationName, - bool nameIsRecovered, - ) { - doPrint( - 'parseMethod(' - '$beforeStart, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$beforeType, ' - '$typeInfo, ' - '$getOrSet, ' - '$name, ' - '$kind, ' - '$enclosingDeclarationName, ' - '$nameIsRecovered)', - ); + Token beforeStart, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token beforeType, + TypeInfo typeInfo, + Token? getOrSet, + Token name, + DeclarationKind kind, + String? enclosingDeclarationName, + bool nameIsRecovered) { + doPrint('parseMethod(' + '$beforeStart, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$beforeType, ' + '$typeInfo, ' + '$getOrSet, ' + '$name, ' + '$kind, ' + '$enclosingDeclarationName, ' + '$nameIsRecovered)'); indent++; var result = super.parseMethod( - beforeStart, - abstractToken, - augmentToken, - externalToken, - staticToken, - covariantToken, - lateToken, - varFinalOrConst, - beforeType, - typeInfo, - getOrSet, - name, - kind, - enclosingDeclarationName, - nameIsRecovered, - ); + beforeStart, + abstractToken, + augmentToken, + externalToken, + staticToken, + covariantToken, + lateToken, + varFinalOrConst, + beforeType, + typeInfo, + getOrSet, + name, + kind, + enclosingDeclarationName, + nameIsRecovered); indent--; return result; } @override - Token parseFactoryMethod( - Token token, - DeclarationKind kind, - Token beforeStart, - Token? externalToken, - Token? staticOrCovariant, - Token? varFinalOrConst, - ) { - doPrint( - 'parseFactoryMethod(' - '$token, ' - '$kind, ' - '$beforeStart, ' - '$externalToken, ' - '$staticOrCovariant, ' - '$varFinalOrConst)', - ); + Token parseFactoryMethod(Token token, DeclarationKind kind, Token beforeStart, + Token? externalToken, Token? staticOrCovariant, Token? varFinalOrConst) { + doPrint('parseFactoryMethod(' + '$token, ' + '$kind, ' + '$beforeStart, ' + '$externalToken, ' + '$staticOrCovariant, ' + '$varFinalOrConst)'); indent++; - var result = super.parseFactoryMethod( - token, - kind, - beforeStart, - externalToken, - staticOrCovariant, - varFinalOrConst, - ); + var result = super.parseFactoryMethod(token, kind, beforeStart, + externalToken, staticOrCovariant, varFinalOrConst); indent--; return result; } @override Token parseOperatorName(Token token) { - doPrint( - 'parseOperatorName(' - '$token)', - ); + doPrint('parseOperatorName(' '$token)'); indent++; var result = super.parseOperatorName(token); indent--; @@ -1950,10 +1444,7 @@ class TestParser extends Parser { @override Token parseFunctionExpression(Token token) { - doPrint( - 'parseFunctionExpression(' - '$token)', - ); + doPrint('parseFunctionExpression(' '$token)'); indent++; var result = super.parseFunctionExpression(token); indent--; @@ -1962,110 +1453,73 @@ class TestParser extends Parser { @override Token parseFunctionLiteral( - Token start, - Token beforeName, - Token name, - TypeInfo typeInfo, - TypeParamOrArgInfo typeParam, - IdentifierContext context, - ) { - doPrint( - 'parseFunctionLiteral(' - '$start, ' - '$beforeName, ' - '$name, ' - '$typeInfo, ' - '$typeParam, ' - '$context)', - ); + Token start, + Token beforeName, + Token name, + TypeInfo typeInfo, + TypeParamOrArgInfo typeParam, + IdentifierContext context) { + doPrint('parseFunctionLiteral(' + '$start, ' + '$beforeName, ' + '$name, ' + '$typeInfo, ' + '$typeParam, ' + '$context)'); indent++; var result = super.parseFunctionLiteral( - start, - beforeName, - name, - typeInfo, - typeParam, - context, - ); + start, beforeName, name, typeInfo, typeParam, context); indent--; return result; } @override Token parseNamedFunctionRest( - Token beforeName, - Token begin, - Token formals, - bool isFunctionExpression, - ) { - doPrint( - 'parseNamedFunctionRest(' - '$beforeName, ' - '$begin, ' - '$formals, ' - '$isFunctionExpression)', - ); + Token beforeName, Token begin, Token formals, bool isFunctionExpression) { + doPrint('parseNamedFunctionRest(' + '$beforeName, ' + '$begin, ' + '$formals, ' + '$isFunctionExpression)'); indent++; var result = super.parseNamedFunctionRest( - beforeName, - begin, - formals, - isFunctionExpression, - ); + beforeName, begin, formals, isFunctionExpression); indent--; return result; } @override Token parseAsyncOptBody( - Token token, - bool ofFunctionExpression, - bool allowAbstract, - ) { - doPrint( - 'parseAsyncOptBody(' - '$token, ' - '$ofFunctionExpression, ' - '$allowAbstract)', - ); + Token token, bool ofFunctionExpression, bool allowAbstract) { + doPrint('parseAsyncOptBody(' + '$token, ' + '$ofFunctionExpression, ' + '$allowAbstract)'); indent++; - var result = super.parseAsyncOptBody( - token, - ofFunctionExpression, - allowAbstract, - ); + var result = + super.parseAsyncOptBody(token, ofFunctionExpression, allowAbstract); indent--; return result; } @override Token parseConstructorReference( - Token token, - ConstructorReferenceContext constructorReferenceContext, [ - TypeParamOrArgInfo? typeArg, - ]) { - doPrint( - 'parseConstructorReference(' - '$token, ' - '$constructorReferenceContext, ' - '$typeArg)', - ); + Token token, ConstructorReferenceContext constructorReferenceContext, + [TypeParamOrArgInfo? typeArg]) { + doPrint('parseConstructorReference(' + '$token, ' + '$constructorReferenceContext, ' + '$typeArg)'); indent++; - var result = super.parseConstructorReference( - token, - constructorReferenceContext, - typeArg, - ); + var result = super + .parseConstructorReference(token, constructorReferenceContext, typeArg); indent--; return result; } @override Token parseRedirectingFactoryBody(Token token) { - doPrint( - 'parseRedirectingFactoryBody(' - '$token)', - ); + doPrint('parseRedirectingFactoryBody(' '$token)'); indent++; var result = super.parseRedirectingFactoryBody(token); indent--; @@ -2074,12 +1528,7 @@ class TestParser extends Parser { @override Token skipFunctionBody(Token token, bool isExpression, bool allowAbstract) { - doPrint( - 'skipFunctionBody(' - '$token, ' - '$isExpression, ' - '$allowAbstract)', - ); + doPrint('skipFunctionBody(' '$token, ' '$isExpression, ' '$allowAbstract)'); indent++; var result = super.skipFunctionBody(token, isExpression, allowAbstract); indent--; @@ -2088,33 +1537,21 @@ class TestParser extends Parser { @override Token parseFunctionBody( - Token token, - bool ofFunctionExpression, - bool allowAbstract, - ) { - doPrint( - 'parseFunctionBody(' - '$token, ' - '$ofFunctionExpression, ' - '$allowAbstract)', - ); + Token token, bool ofFunctionExpression, bool allowAbstract) { + doPrint('parseFunctionBody(' + '$token, ' + '$ofFunctionExpression, ' + '$allowAbstract)'); indent++; - var result = super.parseFunctionBody( - token, - ofFunctionExpression, - allowAbstract, - ); + var result = + super.parseFunctionBody(token, ofFunctionExpression, allowAbstract); indent--; return result; } @override Token parseExpressionFunctionBody(Token token, bool ofFunctionExpression) { - doPrint( - 'parseExpressionFunctionBody(' - '$token, ' - '$ofFunctionExpression)', - ); + doPrint('parseExpressionFunctionBody(' '$token, ' '$ofFunctionExpression)'); indent++; var result = super.parseExpressionFunctionBody(token, ofFunctionExpression); indent--; @@ -2123,10 +1560,7 @@ class TestParser extends Parser { @override Token skipAsyncModifier(Token token) { - doPrint( - 'skipAsyncModifier(' - '$token)', - ); + doPrint('skipAsyncModifier(' '$token)'); indent++; var result = super.skipAsyncModifier(token); indent--; @@ -2135,10 +1569,7 @@ class TestParser extends Parser { @override Token parseAsyncModifierOpt(Token token) { - doPrint( - 'parseAsyncModifierOpt(' - '$token)', - ); + doPrint('parseAsyncModifierOpt(' '$token)'); indent++; var result = super.parseAsyncModifierOpt(token); indent--; @@ -2147,10 +1578,7 @@ class TestParser extends Parser { @override Token parseStatement(Token token) { - doPrint( - 'parseStatement(' - '$token)', - ); + doPrint('parseStatement(' '$token)'); indent++; var result = super.parseStatement(token); indent--; @@ -2159,10 +1587,7 @@ class TestParser extends Parser { @override Token parseStatementX(Token token) { - doPrint( - 'parseStatementX(' - '$token)', - ); + doPrint('parseStatementX(' '$token)'); indent++; var result = super.parseStatementX(token); indent--; @@ -2171,10 +1596,7 @@ class TestParser extends Parser { @override Token parseYieldStatement(Token token) { - doPrint( - 'parseYieldStatement(' - '$token)', - ); + doPrint('parseYieldStatement(' '$token)'); indent++; var result = super.parseYieldStatement(token); indent--; @@ -2183,10 +1605,7 @@ class TestParser extends Parser { @override Token parseReturnStatement(Token token) { - doPrint( - 'parseReturnStatement(' - '$token)', - ); + doPrint('parseReturnStatement(' '$token)'); indent++; var result = super.parseReturnStatement(token); indent--; @@ -2195,10 +1614,7 @@ class TestParser extends Parser { @override Token parseLabel(Token token) { - doPrint( - 'parseLabel(' - '$token)', - ); + doPrint('parseLabel(' '$token)'); indent++; var result = super.parseLabel(token); indent--; @@ -2207,10 +1623,7 @@ class TestParser extends Parser { @override Token parseLabeledStatement(Token token) { - doPrint( - 'parseLabeledStatement(' - '$token)', - ); + doPrint('parseLabeledStatement(' '$token)'); indent++; var result = super.parseLabeledStatement(token); indent--; @@ -2219,10 +1632,7 @@ class TestParser extends Parser { @override Token parseExpressionStatement(Token token) { - doPrint( - 'parseExpressionStatement(' - '$token)', - ); + doPrint('parseExpressionStatement(' '$token)'); indent++; var result = super.parseExpressionStatement(token); indent--; @@ -2231,10 +1641,7 @@ class TestParser extends Parser { @override Token parseExpression(Token token) { - doPrint( - 'parseExpression(' - '$token)', - ); + doPrint('parseExpression(' '$token)'); indent++; var result = super.parseExpression(token); indent--; @@ -2243,10 +1650,7 @@ class TestParser extends Parser { @override Token parseExpressionWithoutCascade(Token token) { - doPrint( - 'parseExpressionWithoutCascade(' - '$token)', - ); + doPrint('parseExpressionWithoutCascade(' '$token)'); indent++; var result = super.parseExpressionWithoutCascade(token); indent--; @@ -2255,10 +1659,7 @@ class TestParser extends Parser { @override bool canParseAsConditional(Token question) { - doPrint( - 'canParseAsConditional(' - '$question)', - ); + doPrint('canParseAsConditional(' '$question)'); indent++; var result = super.canParseAsConditional(question); indent--; @@ -2267,10 +1668,7 @@ class TestParser extends Parser { @override Token parseConditionalExpressionRest(Token token) { - doPrint( - 'parseConditionalExpressionRest(' - '$token)', - ); + doPrint('parseConditionalExpressionRest(' '$token)'); indent++; var result = super.parseConditionalExpressionRest(token); indent--; @@ -2278,36 +1676,23 @@ class TestParser extends Parser { } @override - Token parsePrecedenceExpression( - Token token, - int precedence, - bool allowCascades, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parsePrecedenceExpression(' - '$token, ' - '$precedence, ' - '$allowCascades, ' - '$constantPatternContext)', - ); + Token parsePrecedenceExpression(Token token, int precedence, + bool allowCascades, ConstantPatternContext constantPatternContext) { + doPrint('parsePrecedenceExpression(' + '$token, ' + '$precedence, ' + '$allowCascades, ' + '$constantPatternContext)'); indent++; var result = super.parsePrecedenceExpression( - token, - precedence, - allowCascades, - constantPatternContext, - ); + token, precedence, allowCascades, constantPatternContext); indent--; return result; } @override Token parseCascadeExpression(Token token) { - doPrint( - 'parseCascadeExpression(' - '$token)', - ); + doPrint('parseCascadeExpression(' '$token)'); indent++; var result = super.parseCascadeExpression(token); indent--; @@ -2315,61 +1700,37 @@ class TestParser extends Parser { } @override - Token parseUnaryExpression( - Token token, - bool allowCascades, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parseUnaryExpression(' - '$token, ' - '$allowCascades, ' - '$constantPatternContext)', - ); + Token parseUnaryExpression(Token token, bool allowCascades, + ConstantPatternContext constantPatternContext) { + doPrint('parseUnaryExpression(' + '$token, ' + '$allowCascades, ' + '$constantPatternContext)'); indent++; - var result = super.parseUnaryExpression( - token, - allowCascades, - constantPatternContext, - ); + var result = super + .parseUnaryExpression(token, allowCascades, constantPatternContext); indent--; return result; } @override Token parseArgumentOrIndexStar( - Token token, - TypeParamOrArgInfo typeArg, - bool checkedNullAware, - ) { - doPrint( - 'parseArgumentOrIndexStar(' - '$token, ' - '$typeArg, ' - '$checkedNullAware)', - ); + Token token, TypeParamOrArgInfo typeArg, bool checkedNullAware) { + doPrint('parseArgumentOrIndexStar(' + '$token, ' + '$typeArg, ' + '$checkedNullAware)'); indent++; - var result = super.parseArgumentOrIndexStar( - token, - typeArg, - checkedNullAware, - ); + var result = + super.parseArgumentOrIndexStar(token, typeArg, checkedNullAware); indent--; return result; } @override - Token parsePrimary( - Token token, - IdentifierContext context, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parsePrimary(' - '$token, ' - '$context, ' - '$constantPatternContext)', - ); + Token parsePrimary(Token token, IdentifierContext context, + ConstantPatternContext constantPatternContext) { + doPrint('parsePrimary(' '$token, ' '$context, ' '$constantPatternContext)'); indent++; var result = super.parsePrimary(token, context, constantPatternContext); indent--; @@ -2378,20 +1739,14 @@ class TestParser extends Parser { @override Token parseParenthesizedExpressionFunctionLiteralOrRecordLiteral( - Token token, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parseParenthesizedExpressionFunctionLiteralOrRecordLiteral(' - '$token, ' - '$constantPatternContext)', - ); + Token token, ConstantPatternContext constantPatternContext) { + doPrint('parseParenthesizedExpressionFunctionLiteralOrRecordLiteral(' + '$token, ' + '$constantPatternContext)'); indent++; var result = super .parseParenthesizedExpressionFunctionLiteralOrRecordLiteral( - token, - constantPatternContext, - ); + token, constantPatternContext); indent--; return result; } @@ -2399,67 +1754,46 @@ class TestParser extends Parser { @override Token ensureParenthesizedCondition(Token token, {required bool allowCase}) { doPrint( - 'ensureParenthesizedCondition(' - '$token, ' - 'allowCase: $allowCase)', - ); + 'ensureParenthesizedCondition(' '$token, ' 'allowCase: $allowCase)'); indent++; - var result = super.ensureParenthesizedCondition( - token, - allowCase: allowCase, - ); + var result = + super.ensureParenthesizedCondition(token, allowCase: allowCase); indent--; return result; } @override Token parseParenthesizedExpressionOrRecordLiteral( - Token token, - Token? constKeywordForRecord, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parseParenthesizedExpressionOrRecordLiteral(' - '$token, ' - '$constKeywordForRecord, ' - '$constantPatternContext)', - ); + Token token, + Token? constKeywordForRecord, + ConstantPatternContext constantPatternContext) { + doPrint('parseParenthesizedExpressionOrRecordLiteral(' + '$token, ' + '$constKeywordForRecord, ' + '$constantPatternContext)'); indent++; var result = super.parseParenthesizedExpressionOrRecordLiteral( - token, - constKeywordForRecord, - constantPatternContext, - ); + token, constKeywordForRecord, constantPatternContext); indent--; return result; } @override - Token parseExpressionInParenthesisRest( - Token token, { - required bool allowCase, - }) { - doPrint( - 'parseExpressionInParenthesisRest(' - '$token, ' - 'allowCase: $allowCase)', - ); + Token parseExpressionInParenthesisRest(Token token, + {required bool allowCase}) { + doPrint('parseExpressionInParenthesisRest(' + '$token, ' + 'allowCase: $allowCase)'); indent++; - var result = super.parseExpressionInParenthesisRest( - token, - allowCase: allowCase, - ); + var result = + super.parseExpressionInParenthesisRest(token, allowCase: allowCase); indent--; return result; } @override Token parseThisExpression(Token token, IdentifierContext context) { - doPrint( - 'parseThisExpression(' - '$token, ' - '$context)', - ); + doPrint('parseThisExpression(' '$token, ' '$context)'); indent++; var result = super.parseThisExpression(token, context); indent--; @@ -2468,11 +1802,7 @@ class TestParser extends Parser { @override Token parseSuperExpression(Token token, IdentifierContext context) { - doPrint( - 'parseSuperExpression(' - '$token, ' - '$context)', - ); + doPrint('parseSuperExpression(' '$token, ' '$context)'); indent++; var result = super.parseSuperExpression(token, context); indent--; @@ -2481,11 +1811,7 @@ class TestParser extends Parser { @override Token parseAugmentSuperExpression(Token token, IdentifierContext context) { - doPrint( - 'parseAugmentSuperExpression(' - '$token, ' - '$context)', - ); + doPrint('parseAugmentSuperExpression(' '$token, ' '$context)'); indent++; var result = super.parseAugmentSuperExpression(token, context); indent--; @@ -2494,11 +1820,7 @@ class TestParser extends Parser { @override Token parseLiteralListSuffix(Token token, Token? constKeyword) { - doPrint( - 'parseLiteralListSuffix(' - '$token, ' - '$constKeyword)', - ); + doPrint('parseLiteralListSuffix(' '$token, ' '$constKeyword)'); indent++; var result = super.parseLiteralListSuffix(token, constKeyword); indent--; @@ -2507,11 +1829,7 @@ class TestParser extends Parser { @override Token parseLiteralSetOrMapSuffix(Token token, Token? constKeyword) { - doPrint( - 'parseLiteralSetOrMapSuffix(' - '$token, ' - '$constKeyword)', - ); + doPrint('parseLiteralSetOrMapSuffix(' '$token, ' '$constKeyword)'); indent++; var result = super.parseLiteralSetOrMapSuffix(token, constKeyword); indent--; @@ -2520,10 +1838,7 @@ class TestParser extends Parser { @override Token parseLiteralFunctionSuffix(Token token) { - doPrint( - 'parseLiteralFunctionSuffix(' - '$token)', - ); + doPrint('parseLiteralFunctionSuffix(' '$token)'); indent++; var result = super.parseLiteralFunctionSuffix(token); indent--; @@ -2532,14 +1847,8 @@ class TestParser extends Parser { @override Token parseLiteralListSetMapOrFunction( - final Token start, - Token? constKeyword, - ) { - doPrint( - 'parseLiteralListSetMapOrFunction(' - '$start, ' - '$constKeyword)', - ); + final Token start, Token? constKeyword) { + doPrint('parseLiteralListSetMapOrFunction(' '$start, ' '$constKeyword)'); indent++; var result = super.parseLiteralListSetMapOrFunction(start, constKeyword); indent--; @@ -2548,10 +1857,7 @@ class TestParser extends Parser { @override Token parseMapLiteralEntry(Token token) { - doPrint( - 'parseMapLiteralEntry(' - '$token)', - ); + doPrint('parseMapLiteralEntry(' '$token)'); indent++; var result = super.parseMapLiteralEntry(token); indent--; @@ -2559,33 +1865,22 @@ class TestParser extends Parser { } @override - Token parseSendOrFunctionLiteral( - Token token, - IdentifierContext context, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parseSendOrFunctionLiteral(' - '$token, ' - '$context, ' - '$constantPatternContext)', - ); + Token parseSendOrFunctionLiteral(Token token, IdentifierContext context, + ConstantPatternContext constantPatternContext) { + doPrint('parseSendOrFunctionLiteral(' + '$token, ' + '$context, ' + '$constantPatternContext)'); indent++; - var result = super.parseSendOrFunctionLiteral( - token, - context, - constantPatternContext, - ); + var result = super + .parseSendOrFunctionLiteral(token, context, constantPatternContext); indent--; return result; } @override Token ensureArguments(Token token) { - doPrint( - 'ensureArguments(' - '$token)', - ); + doPrint('ensureArguments(' '$token)'); indent++; var result = super.ensureArguments(token); indent--; @@ -2594,10 +1889,7 @@ class TestParser extends Parser { @override Token parseConstructorInvocationArguments(Token token) { - doPrint( - 'parseConstructorInvocationArguments(' - '$token)', - ); + doPrint('parseConstructorInvocationArguments(' '$token)'); indent++; var result = super.parseConstructorInvocationArguments(token); indent--; @@ -2606,10 +1898,7 @@ class TestParser extends Parser { @override Token parseNewExpression(Token token) { - doPrint( - 'parseNewExpression(' - '$token)', - ); + doPrint('parseNewExpression(' '$token)'); indent++; var result = super.parseNewExpression(token); indent--; @@ -2618,32 +1907,21 @@ class TestParser extends Parser { @override Token parseImplicitCreationExpression( - Token token, - Token openAngleBracket, - TypeParamOrArgInfo typeArg, - ) { - doPrint( - 'parseImplicitCreationExpression(' - '$token, ' - '$openAngleBracket, ' - '$typeArg)', - ); + Token token, Token openAngleBracket, TypeParamOrArgInfo typeArg) { + doPrint('parseImplicitCreationExpression(' + '$token, ' + '$openAngleBracket, ' + '$typeArg)'); indent++; - var result = super.parseImplicitCreationExpression( - token, - openAngleBracket, - typeArg, - ); + var result = + super.parseImplicitCreationExpression(token, openAngleBracket, typeArg); indent--; return result; } @override Token parseConstExpression(Token token) { - doPrint( - 'parseConstExpression(' - '$token)', - ); + doPrint('parseConstExpression(' '$token)'); indent++; var result = super.parseConstExpression(token); indent--; @@ -2652,10 +1930,7 @@ class TestParser extends Parser { @override Token parseLiteralInt(Token token) { - doPrint( - 'parseLiteralInt(' - '$token)', - ); + doPrint('parseLiteralInt(' '$token)'); indent++; var result = super.parseLiteralInt(token); indent--; @@ -2664,10 +1939,7 @@ class TestParser extends Parser { @override Token parseLiteralIntWithSeparators(Token token) { - doPrint( - 'parseLiteralIntWithSeparators(' - '$token)', - ); + doPrint('parseLiteralIntWithSeparators(' '$token)'); indent++; var result = super.parseLiteralIntWithSeparators(token); indent--; @@ -2676,10 +1948,7 @@ class TestParser extends Parser { @override Token parseLiteralDouble(Token token) { - doPrint( - 'parseLiteralDouble(' - '$token)', - ); + doPrint('parseLiteralDouble(' '$token)'); indent++; var result = super.parseLiteralDouble(token); indent--; @@ -2688,10 +1957,7 @@ class TestParser extends Parser { @override Token parseLiteralDoubleWithSeparators(Token token) { - doPrint( - 'parseLiteralDoubleWithSeparators(' - '$token)', - ); + doPrint('parseLiteralDoubleWithSeparators(' '$token)'); indent++; var result = super.parseLiteralDoubleWithSeparators(token); indent--; @@ -2700,10 +1966,7 @@ class TestParser extends Parser { @override Token parseLiteralString(Token token) { - doPrint( - 'parseLiteralString(' - '$token)', - ); + doPrint('parseLiteralString(' '$token)'); indent++; var result = super.parseLiteralString(token); indent--; @@ -2712,10 +1975,7 @@ class TestParser extends Parser { @override Token parseLiteralSymbol(Token token) { - doPrint( - 'parseLiteralSymbol(' - '$token)', - ); + doPrint('parseLiteralSymbol(' '$token)'); indent++; var result = super.parseLiteralSymbol(token); indent--; @@ -2724,10 +1984,7 @@ class TestParser extends Parser { @override Token parseSingleLiteralString(Token token) { - doPrint( - 'parseSingleLiteralString(' - '$token)', - ); + doPrint('parseSingleLiteralString(' '$token)'); indent++; var result = super.parseSingleLiteralString(token); indent--; @@ -2736,10 +1993,7 @@ class TestParser extends Parser { @override Token parseIdentifierExpression(Token token) { - doPrint( - 'parseIdentifierExpression(' - '$token)', - ); + doPrint('parseIdentifierExpression(' '$token)'); indent++; var result = super.parseIdentifierExpression(token); indent--; @@ -2748,10 +2002,7 @@ class TestParser extends Parser { @override Token parseLiteralBool(Token token) { - doPrint( - 'parseLiteralBool(' - '$token)', - ); + doPrint('parseLiteralBool(' '$token)'); indent++; var result = super.parseLiteralBool(token); indent--; @@ -2760,10 +2011,7 @@ class TestParser extends Parser { @override Token parseLiteralNull(Token token) { - doPrint( - 'parseLiteralNull(' - '$token)', - ); + doPrint('parseLiteralNull(' '$token)'); indent++; var result = super.parseLiteralNull(token); indent--; @@ -2771,17 +2019,9 @@ class TestParser extends Parser { } @override - Token parseSend( - Token token, - IdentifierContext context, - ConstantPatternContext constantPatternContext, - ) { - doPrint( - 'parseSend(' - '$token, ' - '$context, ' - '$constantPatternContext)', - ); + Token parseSend(Token token, IdentifierContext context, + ConstantPatternContext constantPatternContext) { + doPrint('parseSend(' '$token, ' '$context, ' '$constantPatternContext)'); indent++; var result = super.parseSend(token, context, constantPatternContext); indent--; @@ -2790,10 +2030,7 @@ class TestParser extends Parser { @override Token skipArgumentsOpt(Token token) { - doPrint( - 'skipArgumentsOpt(' - '$token)', - ); + doPrint('skipArgumentsOpt(' '$token)'); indent++; var result = super.skipArgumentsOpt(token); indent--; @@ -2802,11 +2039,7 @@ class TestParser extends Parser { @override Token parseArgumentsOptMetadata(Token token, bool hasTypeArguments) { - doPrint( - 'parseArgumentsOptMetadata(' - '$token, ' - '$hasTypeArguments)', - ); + doPrint('parseArgumentsOptMetadata(' '$token, ' '$hasTypeArguments)'); indent++; var result = super.parseArgumentsOptMetadata(token, hasTypeArguments); indent--; @@ -2815,10 +2048,7 @@ class TestParser extends Parser { @override Token parseArgumentsOpt(Token token) { - doPrint( - 'parseArgumentsOpt(' - '$token)', - ); + doPrint('parseArgumentsOpt(' '$token)'); indent++; var result = super.parseArgumentsOpt(token); indent--; @@ -2827,10 +2057,7 @@ class TestParser extends Parser { @override Token parseArguments(Token token) { - doPrint( - 'parseArguments(' - '$token)', - ); + doPrint('parseArguments(' '$token)'); indent++; var result = super.parseArguments(token); indent--; @@ -2839,10 +2066,7 @@ class TestParser extends Parser { @override Token parseArgumentsRest(Token token) { - doPrint( - 'parseArgumentsRest(' - '$token)', - ); + doPrint('parseArgumentsRest(' '$token)'); indent++; var result = super.parseArgumentsRest(token); indent--; @@ -2851,10 +2075,7 @@ class TestParser extends Parser { @override Token parseIsOperatorRest(Token token) { - doPrint( - 'parseIsOperatorRest(' - '$token)', - ); + doPrint('parseIsOperatorRest(' '$token)'); indent++; var result = super.parseIsOperatorRest(token); indent--; @@ -2863,10 +2084,7 @@ class TestParser extends Parser { @override TypeInfo computeTypeAfterIsOrAs(Token token) { - doPrint( - 'computeTypeAfterIsOrAs(' - '$token)', - ); + doPrint('computeTypeAfterIsOrAs(' '$token)'); indent++; var result = super.computeTypeAfterIsOrAs(token); indent--; @@ -2875,10 +2093,7 @@ class TestParser extends Parser { @override Token parseAsOperatorRest(Token token) { - doPrint( - 'parseAsOperatorRest(' - '$token)', - ); + doPrint('parseAsOperatorRest(' '$token)'); indent++; var result = super.parseAsOperatorRest(token); indent--; @@ -2887,10 +2102,7 @@ class TestParser extends Parser { @override Token skipChainedAsIsOperators(Token token) { - doPrint( - 'skipChainedAsIsOperators(' - '$token)', - ); + doPrint('skipChainedAsIsOperators(' '$token)'); indent++; var result = super.skipChainedAsIsOperators(token); indent--; @@ -2899,10 +2111,7 @@ class TestParser extends Parser { @override bool looksLikeLocalFunction(Token token) { - doPrint( - 'looksLikeLocalFunction(' - '$token)', - ); + doPrint('looksLikeLocalFunction(' '$token)'); indent++; var result = super.looksLikeLocalFunction(token); indent--; @@ -2911,10 +2120,7 @@ class TestParser extends Parser { @override bool looksLikeFunctionBody(Token token) { - doPrint( - 'looksLikeFunctionBody(' - '$token)', - ); + doPrint('looksLikeFunctionBody(' '$token)'); indent++; var result = super.looksLikeFunctionBody(token); indent--; @@ -2923,10 +2129,7 @@ class TestParser extends Parser { @override Token parseExpressionStatementOrConstDeclaration(final Token start) { - doPrint( - 'parseExpressionStatementOrConstDeclaration(' - '$start)', - ); + doPrint('parseExpressionStatementOrConstDeclaration(' '$start)'); indent++; var result = super.parseExpressionStatementOrConstDeclaration(start); indent--; @@ -2934,62 +2137,44 @@ class TestParser extends Parser { } @override - Token parseExpressionStatementOrDeclaration( - final Token start, [ - ForPartsContext? forPartsContext, - ]) { - doPrint( - 'parseExpressionStatementOrDeclaration(' - '$start, ' - '$forPartsContext)', - ); + Token parseExpressionStatementOrDeclaration(final Token start, + [ForPartsContext? forPartsContext]) { + doPrint('parseExpressionStatementOrDeclaration(' + '$start, ' + '$forPartsContext)'); indent++; - var result = super.parseExpressionStatementOrDeclaration( - start, - forPartsContext, - ); + var result = + super.parseExpressionStatementOrDeclaration(start, forPartsContext); indent--; return result; } @override - Token parseExpressionStatementOrDeclarationAfterModifiers( - Token beforeType, - Token start, - Token? lateToken, - Token? varFinalOrConst, - TypeInfo? typeInfo, [ - ForPartsContext? forPartsContext, - ]) { - doPrint( - 'parseExpressionStatementOrDeclarationAfterModifiers(' - '$beforeType, ' - '$start, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$typeInfo, ' - '$forPartsContext)', - ); + Token parseExpressionStatementOrDeclarationAfterModifiers(Token beforeType, + Token start, Token? lateToken, Token? varFinalOrConst, TypeInfo? typeInfo, + [ForPartsContext? forPartsContext]) { + doPrint('parseExpressionStatementOrDeclarationAfterModifiers(' + '$beforeType, ' + '$start, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$typeInfo, ' + '$forPartsContext)'); indent++; var result = super.parseExpressionStatementOrDeclarationAfterModifiers( - beforeType, - start, - lateToken, - varFinalOrConst, - typeInfo, - forPartsContext, - ); + beforeType, + start, + lateToken, + varFinalOrConst, + typeInfo, + forPartsContext); indent--; return result; } @override Token parseVariablesDeclarationRest(Token token, bool endWithSemicolon) { - doPrint( - 'parseVariablesDeclarationRest(' - '$token, ' - '$endWithSemicolon)', - ); + doPrint('parseVariablesDeclarationRest(' '$token, ' '$endWithSemicolon)'); indent++; var result = super.parseVariablesDeclarationRest(token, endWithSemicolon); indent--; @@ -2998,10 +2183,7 @@ class TestParser extends Parser { @override Token parseOptionallyInitializedIdentifier(Token token) { - doPrint( - 'parseOptionallyInitializedIdentifier(' - '$token)', - ); + doPrint('parseOptionallyInitializedIdentifier(' '$token)'); indent++; var result = super.parseOptionallyInitializedIdentifier(token); indent--; @@ -3010,10 +2192,7 @@ class TestParser extends Parser { @override Token parseIfStatement(Token token) { - doPrint( - 'parseIfStatement(' - '$token)', - ); + doPrint('parseIfStatement(' '$token)'); indent++; var result = super.parseIfStatement(token); indent--; @@ -3022,11 +2201,7 @@ class TestParser extends Parser { @override Token parseForStatement(Token token, Token? awaitToken) { - doPrint( - 'parseForStatement(' - '$token, ' - '$awaitToken)', - ); + doPrint('parseForStatement(' '$token, ' '$awaitToken)'); indent++; var result = super.parseForStatement(token, awaitToken); indent--; @@ -3035,34 +2210,21 @@ class TestParser extends Parser { @override Token parseForLoopPartsStart( - Token? awaitToken, - Token forToken, - ForPartsContext forPartsContext, - ) { - doPrint( - 'parseForLoopPartsStart(' - '$awaitToken, ' - '$forToken, ' - '$forPartsContext)', - ); + Token? awaitToken, Token forToken, ForPartsContext forPartsContext) { + doPrint('parseForLoopPartsStart(' + '$awaitToken, ' + '$forToken, ' + '$forPartsContext)'); indent++; - var result = super.parseForLoopPartsStart( - awaitToken, - forToken, - forPartsContext, - ); + var result = + super.parseForLoopPartsStart(awaitToken, forToken, forPartsContext); indent--; return result; } @override Token parseForLoopPartsMid(Token token, Token? awaitToken, Token forToken) { - doPrint( - 'parseForLoopPartsMid(' - '$token, ' - '$awaitToken, ' - '$forToken)', - ); + doPrint('parseForLoopPartsMid(' '$token, ' '$awaitToken, ' '$forToken)'); indent++; var result = super.parseForLoopPartsMid(token, awaitToken, forToken); indent--; @@ -3071,12 +2233,7 @@ class TestParser extends Parser { @override Token parseForRest(Token? awaitToken, Token token, Token forToken) { - doPrint( - 'parseForRest(' - '$awaitToken, ' - '$token, ' - '$forToken)', - ); + doPrint('parseForRest(' '$awaitToken, ' '$token, ' '$forToken)'); indent++; var result = super.parseForRest(awaitToken, token, forToken); indent--; @@ -3085,12 +2242,7 @@ class TestParser extends Parser { @override Token parseForLoopPartsRest(Token token, Token forToken, Token? awaitToken) { - doPrint( - 'parseForLoopPartsRest(' - '$token, ' - '$forToken, ' - '$awaitToken)', - ); + doPrint('parseForLoopPartsRest(' '$token, ' '$forToken, ' '$awaitToken)'); indent++; var result = super.parseForLoopPartsRest(token, forToken, awaitToken); indent--; @@ -3098,67 +2250,40 @@ class TestParser extends Parser { } @override - Token parseForInRest( - Token token, - Token? awaitToken, - Token forToken, - Token? patternKeyword, - Token? identifier, - ) { - doPrint( - 'parseForInRest(' - '$token, ' - '$awaitToken, ' - '$forToken, ' - '$patternKeyword, ' - '$identifier)', - ); + Token parseForInRest(Token token, Token? awaitToken, Token forToken, + Token? patternKeyword, Token? identifier) { + doPrint('parseForInRest(' + '$token, ' + '$awaitToken, ' + '$forToken, ' + '$patternKeyword, ' + '$identifier)'); indent++; var result = super.parseForInRest( - token, - awaitToken, - forToken, - patternKeyword, - identifier, - ); + token, awaitToken, forToken, patternKeyword, identifier); indent--; return result; } @override - Token parseForInLoopPartsRest( - Token token, - Token? awaitToken, - Token forToken, - Token? patternKeyword, - Token? identifier, - ) { - doPrint( - 'parseForInLoopPartsRest(' - '$token, ' - '$awaitToken, ' - '$forToken, ' - '$patternKeyword, ' - '$identifier)', - ); + Token parseForInLoopPartsRest(Token token, Token? awaitToken, Token forToken, + Token? patternKeyword, Token? identifier) { + doPrint('parseForInLoopPartsRest(' + '$token, ' + '$awaitToken, ' + '$forToken, ' + '$patternKeyword, ' + '$identifier)'); indent++; var result = super.parseForInLoopPartsRest( - token, - awaitToken, - forToken, - patternKeyword, - identifier, - ); + token, awaitToken, forToken, patternKeyword, identifier); indent--; return result; } @override Token parseWhileStatement(Token token) { - doPrint( - 'parseWhileStatement(' - '$token)', - ); + doPrint('parseWhileStatement(' '$token)'); indent++; var result = super.parseWhileStatement(token); indent--; @@ -3167,10 +2292,7 @@ class TestParser extends Parser { @override Token parseDoWhileStatement(Token token) { - doPrint( - 'parseDoWhileStatement(' - '$token)', - ); + doPrint('parseDoWhileStatement(' '$token)'); indent++; var result = super.parseDoWhileStatement(token); indent--; @@ -3179,11 +2301,7 @@ class TestParser extends Parser { @override Token parseBlock(Token token, BlockKind blockKind) { - doPrint( - 'parseBlock(' - '$token, ' - '$blockKind)', - ); + doPrint('parseBlock(' '$token, ' '$blockKind)'); indent++; var result = super.parseBlock(token, blockKind); indent--; @@ -3192,10 +2310,7 @@ class TestParser extends Parser { @override Token parseInvalidBlock(Token token) { - doPrint( - 'parseInvalidBlock(' - '$token)', - ); + doPrint('parseInvalidBlock(' '$token)'); indent++; var result = super.parseInvalidBlock(token); indent--; @@ -3204,14 +2319,8 @@ class TestParser extends Parser { @override bool looksLikeExpressionAfterAwaitOrYield( - Token token, - AwaitOrYieldContext context, - ) { - doPrint( - 'looksLikeExpressionAfterAwaitOrYield(' - '$token, ' - '$context)', - ); + Token token, AwaitOrYieldContext context) { + doPrint('looksLikeExpressionAfterAwaitOrYield(' '$token, ' '$context)'); indent++; var result = super.looksLikeExpressionAfterAwaitOrYield(token, context); indent--; @@ -3220,11 +2329,7 @@ class TestParser extends Parser { @override bool looksLikeAwaitExpression(Token token, AwaitOrYieldContext context) { - doPrint( - 'looksLikeAwaitExpression(' - '$token, ' - '$context)', - ); + doPrint('looksLikeAwaitExpression(' '$token, ' '$context)'); indent++; var result = super.looksLikeAwaitExpression(token, context); indent--; @@ -3233,11 +2338,7 @@ class TestParser extends Parser { @override bool looksLikeYieldStatement(Token token, AwaitOrYieldContext context) { - doPrint( - 'looksLikeYieldStatement(' - '$token, ' - '$context)', - ); + doPrint('looksLikeYieldStatement(' '$token, ' '$context)'); indent++; var result = super.looksLikeYieldStatement(token, context); indent--; @@ -3246,11 +2347,7 @@ class TestParser extends Parser { @override Token parseAwaitExpression(Token token, bool allowCascades) { - doPrint( - 'parseAwaitExpression(' - '$token, ' - '$allowCascades)', - ); + doPrint('parseAwaitExpression(' '$token, ' '$allowCascades)'); indent++; var result = super.parseAwaitExpression(token, allowCascades); indent--; @@ -3259,11 +2356,7 @@ class TestParser extends Parser { @override Token parseThrowExpression(Token token, bool allowCascades) { - doPrint( - 'parseThrowExpression(' - '$token, ' - '$allowCascades)', - ); + doPrint('parseThrowExpression(' '$token, ' '$allowCascades)'); indent++; var result = super.parseThrowExpression(token, allowCascades); indent--; @@ -3272,10 +2365,7 @@ class TestParser extends Parser { @override Token parseRethrowStatement(Token token) { - doPrint( - 'parseRethrowStatement(' - '$token)', - ); + doPrint('parseRethrowStatement(' '$token)'); indent++; var result = super.parseRethrowStatement(token); indent--; @@ -3284,10 +2374,7 @@ class TestParser extends Parser { @override Token parseTryStatement(Token token) { - doPrint( - 'parseTryStatement(' - '$token)', - ); + doPrint('parseTryStatement(' '$token)'); indent++; var result = super.parseTryStatement(token); indent--; @@ -3296,10 +2383,7 @@ class TestParser extends Parser { @override Token parseSwitchStatement(Token token) { - doPrint( - 'parseSwitchStatement(' - '$token)', - ); + doPrint('parseSwitchStatement(' '$token)'); indent++; var result = super.parseSwitchStatement(token); indent--; @@ -3308,10 +2392,7 @@ class TestParser extends Parser { @override Token parseSwitchBlock(Token token) { - doPrint( - 'parseSwitchBlock(' - '$token)', - ); + doPrint('parseSwitchBlock(' '$token)'); indent++; var result = super.parseSwitchBlock(token); indent--; @@ -3320,10 +2401,7 @@ class TestParser extends Parser { @override Token peekPastLabels(Token token) { - doPrint( - 'peekPastLabels(' - '$token)', - ); + doPrint('peekPastLabels(' '$token)'); indent++; var result = super.peekPastLabels(token); indent--; @@ -3332,44 +2410,31 @@ class TestParser extends Parser { @override Token parseStatementsInSwitchCase( - Token token, - Token peek, - Token begin, - int labelCount, - int expressionCount, - Token? defaultKeyword, - Token? colonAfterDefault, - ) { - doPrint( - 'parseStatementsInSwitchCase(' - '$token, ' - '$peek, ' - '$begin, ' - '$labelCount, ' - '$expressionCount, ' - '$defaultKeyword, ' - '$colonAfterDefault)', - ); + Token token, + Token peek, + Token begin, + int labelCount, + int expressionCount, + Token? defaultKeyword, + Token? colonAfterDefault) { + doPrint('parseStatementsInSwitchCase(' + '$token, ' + '$peek, ' + '$begin, ' + '$labelCount, ' + '$expressionCount, ' + '$defaultKeyword, ' + '$colonAfterDefault)'); indent++; - var result = super.parseStatementsInSwitchCase( - token, - peek, - begin, - labelCount, - expressionCount, - defaultKeyword, - colonAfterDefault, - ); + var result = super.parseStatementsInSwitchCase(token, peek, begin, + labelCount, expressionCount, defaultKeyword, colonAfterDefault); indent--; return result; } @override Token parseBreakStatement(Token token) { - doPrint( - 'parseBreakStatement(' - '$token)', - ); + doPrint('parseBreakStatement(' '$token)'); indent++; var result = super.parseBreakStatement(token); indent--; @@ -3378,11 +2443,7 @@ class TestParser extends Parser { @override Token parseAssert(Token token, Assert kind) { - doPrint( - 'parseAssert(' - '$token, ' - '$kind)', - ); + doPrint('parseAssert(' '$token, ' '$kind)'); indent++; var result = super.parseAssert(token, kind); indent--; @@ -3391,10 +2452,7 @@ class TestParser extends Parser { @override Token parseAssertStatement(Token token) { - doPrint( - 'parseAssertStatement(' - '$token)', - ); + doPrint('parseAssertStatement(' '$token)'); indent++; var result = super.parseAssertStatement(token); indent--; @@ -3403,10 +2461,7 @@ class TestParser extends Parser { @override Token parseContinueStatement(Token token) { - doPrint( - 'parseContinueStatement(' - '$token)', - ); + doPrint('parseContinueStatement(' '$token)'); indent++; var result = super.parseContinueStatement(token); indent--; @@ -3415,10 +2470,7 @@ class TestParser extends Parser { @override Token parseEmptyStatement(Token token) { - doPrint( - 'parseEmptyStatement(' - '$token)', - ); + doPrint('parseEmptyStatement(' '$token)'); indent++; var result = super.parseEmptyStatement(token); indent--; @@ -3427,11 +2479,7 @@ class TestParser extends Parser { @override Token previousToken(Token beforeToken, Token token) { - doPrint( - 'previousToken(' - '$beforeToken, ' - '$token)', - ); + doPrint('previousToken(' '$beforeToken, ' '$token)'); indent++; var result = super.previousToken(beforeToken, token); indent--; @@ -3440,111 +2488,100 @@ class TestParser extends Parser { @override Token parseInvalidOperatorDeclaration( - Token beforeStart, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token beforeType, - DeclarationKind kind, - String? enclosingDeclarationName, - ) { - doPrint( - 'parseInvalidOperatorDeclaration(' - '$beforeStart, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$beforeType, ' - '$kind, ' - '$enclosingDeclarationName)', - ); + Token beforeStart, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token beforeType, + DeclarationKind kind, + String? enclosingDeclarationName) { + doPrint('parseInvalidOperatorDeclaration(' + '$beforeStart, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$beforeType, ' + '$kind, ' + '$enclosingDeclarationName)'); indent++; var result = super.parseInvalidOperatorDeclaration( - beforeStart, - abstractToken, - augmentToken, - externalToken, - staticToken, - covariantToken, - lateToken, - varFinalOrConst, - beforeType, - kind, - enclosingDeclarationName, - ); + beforeStart, + abstractToken, + augmentToken, + externalToken, + staticToken, + covariantToken, + lateToken, + varFinalOrConst, + beforeType, + kind, + enclosingDeclarationName); indent--; return result; } @override Token recoverFromInvalidMember( - Token token, - Token beforeStart, - Token? abstractToken, - Token? augmentToken, - Token? externalToken, - Token? staticToken, - Token? covariantToken, - Token? lateToken, - Token? varFinalOrConst, - Token beforeType, - TypeInfo typeInfo, - Token? getOrSet, - DeclarationKind kind, - String? enclosingDeclarationName, - ) { - doPrint( - 'recoverFromInvalidMember(' - '$token, ' - '$beforeStart, ' - '$abstractToken, ' - '$augmentToken, ' - '$externalToken, ' - '$staticToken, ' - '$covariantToken, ' - '$lateToken, ' - '$varFinalOrConst, ' - '$beforeType, ' - '$typeInfo, ' - '$getOrSet, ' - '$kind, ' - '$enclosingDeclarationName)', - ); + Token token, + Token beforeStart, + Token? abstractToken, + Token? augmentToken, + Token? externalToken, + Token? staticToken, + Token? covariantToken, + Token? lateToken, + Token? varFinalOrConst, + Token beforeType, + TypeInfo typeInfo, + Token? getOrSet, + DeclarationKind kind, + String? enclosingDeclarationName) { + doPrint('recoverFromInvalidMember(' + '$token, ' + '$beforeStart, ' + '$abstractToken, ' + '$augmentToken, ' + '$externalToken, ' + '$staticToken, ' + '$covariantToken, ' + '$lateToken, ' + '$varFinalOrConst, ' + '$beforeType, ' + '$typeInfo, ' + '$getOrSet, ' + '$kind, ' + '$enclosingDeclarationName)'); indent++; var result = super.recoverFromInvalidMember( - token, - beforeStart, - abstractToken, - augmentToken, - externalToken, - staticToken, - covariantToken, - lateToken, - varFinalOrConst, - beforeType, - typeInfo, - getOrSet, - kind, - enclosingDeclarationName, - ); + token, + beforeStart, + abstractToken, + augmentToken, + externalToken, + staticToken, + covariantToken, + lateToken, + varFinalOrConst, + beforeType, + typeInfo, + getOrSet, + kind, + enclosingDeclarationName); indent--; return result; } @override Token recoverFromStackOverflow(Token token) { - doPrint( - 'recoverFromStackOverflow(' - '$token)', - ); + doPrint('recoverFromStackOverflow(' '$token)'); indent++; var result = super.recoverFromStackOverflow(token); indent--; @@ -3553,11 +2590,7 @@ class TestParser extends Parser { @override void reportRecoverableError(Token token, codes.Message message) { - doPrint( - 'reportRecoverableError(' - '$token, ' - '$message)', - ); + doPrint('reportRecoverableError(' '$token, ' '$message)'); indent++; var result = super.reportRecoverableError(token, message); indent--; @@ -3566,55 +2599,35 @@ class TestParser extends Parser { @override void reportRecoverableErrorWithEnd( - Token startToken, - Token endToken, - codes.Message message, - ) { - doPrint( - 'reportRecoverableErrorWithEnd(' - '$startToken, ' - '$endToken, ' - '$message)', - ); + Token startToken, Token endToken, codes.Message message) { + doPrint('reportRecoverableErrorWithEnd(' + '$startToken, ' + '$endToken, ' + '$message)'); indent++; - var result = super.reportRecoverableErrorWithEnd( - startToken, - endToken, - message, - ); + var result = + super.reportRecoverableErrorWithEnd(startToken, endToken, message); indent--; return result; } @override void reportExperimentNotEnabled( - ExperimentalFlag experimentalFlag, - Token startToken, - Token endToken, - ) { - doPrint( - 'reportExperimentNotEnabled(' - '$experimentalFlag, ' - '$startToken, ' - '$endToken)', - ); + ExperimentalFlag experimentalFlag, Token startToken, Token endToken) { + doPrint('reportExperimentNotEnabled(' + '$experimentalFlag, ' + '$startToken, ' + '$endToken)'); indent++; - var result = super.reportExperimentNotEnabled( - experimentalFlag, - startToken, - endToken, - ); + var result = super + .reportExperimentNotEnabled(experimentalFlag, startToken, endToken); indent--; return result; } @override void reportRecoverableErrorWithToken(Token token, dynamic template) { - doPrint( - 'reportRecoverableErrorWithToken(' - '$token, ' - '$template)', - ); + doPrint('reportRecoverableErrorWithToken(' '$token, ' '$template)'); indent++; var result = super.reportRecoverableErrorWithToken(token, template); indent--; @@ -3623,10 +2636,7 @@ class TestParser extends Parser { @override Token reportAllErrorTokens(Token token) { - doPrint( - 'reportAllErrorTokens(' - '$token)', - ); + doPrint('reportAllErrorTokens(' '$token)'); indent++; var result = super.reportAllErrorTokens(token); indent--; @@ -3635,10 +2645,7 @@ class TestParser extends Parser { @override Token skipErrorTokens(Token token) { - doPrint( - 'skipErrorTokens(' - '$token)', - ); + doPrint('skipErrorTokens(' '$token)'); indent++; var result = super.skipErrorTokens(token); indent--; @@ -3647,10 +2654,7 @@ class TestParser extends Parser { @override Token parseInvalidTopLevelDeclaration(Token token) { - doPrint( - 'parseInvalidTopLevelDeclaration(' - '$token)', - ); + doPrint('parseInvalidTopLevelDeclaration(' '$token)'); indent++; var result = super.parseInvalidTopLevelDeclaration(token); indent--; @@ -3659,10 +2663,7 @@ class TestParser extends Parser { @override Token reportAndSkipClassInClass(Token token) { - doPrint( - 'reportAndSkipClassInClass(' - '$token)', - ); + doPrint('reportAndSkipClassInClass(' '$token)'); indent++; var result = super.reportAndSkipClassInClass(token); indent--; @@ -3671,10 +2672,7 @@ class TestParser extends Parser { @override Token reportAndSkipEnumInClass(Token token) { - doPrint( - 'reportAndSkipEnumInClass(' - '$token)', - ); + doPrint('reportAndSkipEnumInClass(' '$token)'); indent++; var result = super.reportAndSkipEnumInClass(token); indent--; @@ -3683,10 +2681,7 @@ class TestParser extends Parser { @override Token reportAndSkipTypedefInClass(Token token) { - doPrint( - 'reportAndSkipTypedefInClass(' - '$token)', - ); + doPrint('reportAndSkipTypedefInClass(' '$token)'); indent++; var result = super.reportAndSkipTypedefInClass(token); indent--; @@ -3695,11 +2690,7 @@ class TestParser extends Parser { @override Token link(BeginToken beginToken, Token endToken) { - doPrint( - 'link(' - '$beginToken, ' - '$endToken)', - ); + doPrint('link(' '$beginToken, ' '$endToken)'); indent++; var result = super.link(beginToken, endToken); indent--; @@ -3708,10 +2699,7 @@ class TestParser extends Parser { @override Token syntheticPreviousToken(Token token) { - doPrint( - 'syntheticPreviousToken(' - '$token)', - ); + doPrint('syntheticPreviousToken(' '$token)'); indent++; var result = super.syntheticPreviousToken(token); indent--; @@ -3720,10 +2708,7 @@ class TestParser extends Parser { @override Token? findDartDoc(Token token) { - doPrint( - 'findDartDoc(' - '$token)', - ); + doPrint('findDartDoc(' '$token)'); indent++; var result = super.findDartDoc(token); indent--; @@ -3731,34 +2716,22 @@ class TestParser extends Parser { } @override - Token parsePattern( - Token token, - PatternContext patternContext, { - int precedence = 1, - }) { - doPrint( - 'parsePattern(' - '$token, ' - '$patternContext, ' - 'precedence: $precedence)', - ); + Token parsePattern(Token token, PatternContext patternContext, + {int precedence = 1}) { + doPrint('parsePattern(' + '$token, ' + '$patternContext, ' + 'precedence: $precedence)'); indent++; - var result = super.parsePattern( - token, - patternContext, - precedence: precedence, - ); + var result = + super.parsePattern(token, patternContext, precedence: precedence); indent--; return result; } @override Token parsePrimaryPattern(Token token, PatternContext patternContext) { - doPrint( - 'parsePrimaryPattern(' - '$token, ' - '$patternContext)', - ); + doPrint('parsePrimaryPattern(' '$token, ' '$patternContext)'); indent++; var result = super.parsePrimaryPattern(token, patternContext); indent--; @@ -3766,34 +2739,22 @@ class TestParser extends Parser { } @override - Token parseVariablePattern( - Token token, - PatternContext patternContext, { - TypeInfo typeInfo = noType, - }) { - doPrint( - 'parseVariablePattern(' - '$token, ' - '$patternContext, ' - 'typeInfo: $typeInfo)', - ); + Token parseVariablePattern(Token token, PatternContext patternContext, + {TypeInfo typeInfo = noType}) { + doPrint('parseVariablePattern(' + '$token, ' + '$patternContext, ' + 'typeInfo: $typeInfo)'); indent++; - var result = super.parseVariablePattern( - token, - patternContext, - typeInfo: typeInfo, - ); + var result = + super.parseVariablePattern(token, patternContext, typeInfo: typeInfo); indent--; return result; } @override Token parseListPatternSuffix(Token token, PatternContext patternContext) { - doPrint( - 'parseListPatternSuffix(' - '$token, ' - '$patternContext)', - ); + doPrint('parseListPatternSuffix(' '$token, ' '$patternContext)'); indent++; var result = super.parseListPatternSuffix(token, patternContext); indent--; @@ -3802,11 +2763,7 @@ class TestParser extends Parser { @override Token parseMapPatternSuffix(Token token, PatternContext patternContext) { - doPrint( - 'parseMapPatternSuffix(' - '$token, ' - '$patternContext)', - ); + doPrint('parseMapPatternSuffix(' '$token, ' '$patternContext)'); indent++; var result = super.parseMapPatternSuffix(token, patternContext); indent--; @@ -3815,30 +2772,20 @@ class TestParser extends Parser { @override Token parseParenthesizedPatternOrRecordPattern( - Token token, - PatternContext patternContext, - ) { - doPrint( - 'parseParenthesizedPatternOrRecordPattern(' - '$token, ' - '$patternContext)', - ); + Token token, PatternContext patternContext) { + doPrint('parseParenthesizedPatternOrRecordPattern(' + '$token, ' + '$patternContext)'); indent++; - var result = super.parseParenthesizedPatternOrRecordPattern( - token, - patternContext, - ); + var result = + super.parseParenthesizedPatternOrRecordPattern(token, patternContext); indent--; return result; } @override Token parseObjectPatternRest(Token token, PatternContext patternContext) { - doPrint( - 'parseObjectPatternRest(' - '$token, ' - '$patternContext)', - ); + doPrint('parseObjectPatternRest(' '$token, ' '$patternContext)'); indent++; var result = super.parseObjectPatternRest(token, patternContext); indent--; @@ -3847,10 +2794,7 @@ class TestParser extends Parser { @override bool looksLikeOuterPatternEquals(Token token) { - doPrint( - 'looksLikeOuterPatternEquals(' - '$token)', - ); + doPrint('looksLikeOuterPatternEquals(' '$token)'); indent++; var result = super.looksLikeOuterPatternEquals(token); indent--; @@ -3859,10 +2803,7 @@ class TestParser extends Parser { @override Token? skipOuterPattern(Token token) { - doPrint( - 'skipOuterPattern(' - '$token)', - ); + doPrint('skipOuterPattern(' '$token)'); indent++; var result = super.skipOuterPattern(token); indent--; @@ -3871,10 +2812,7 @@ class TestParser extends Parser { @override Token? skipObjectPatternRest(Token token) { - doPrint( - 'skipObjectPatternRest(' - '$token)', - ); + doPrint('skipObjectPatternRest(' '$token)'); indent++; var result = super.skipObjectPatternRest(token); indent--; @@ -3883,32 +2821,21 @@ class TestParser extends Parser { @override Token parsePatternVariableDeclarationStatement( - Token keyword, - Token start, - Token varOrFinal, - ) { - doPrint( - 'parsePatternVariableDeclarationStatement(' - '$keyword, ' - '$start, ' - '$varOrFinal)', - ); + Token keyword, Token start, Token varOrFinal) { + doPrint('parsePatternVariableDeclarationStatement(' + '$keyword, ' + '$start, ' + '$varOrFinal)'); indent++; - var result = super.parsePatternVariableDeclarationStatement( - keyword, - start, - varOrFinal, - ); + var result = super + .parsePatternVariableDeclarationStatement(keyword, start, varOrFinal); indent--; return result; } @override Token parsePatternAssignment(Token token) { - doPrint( - 'parsePatternAssignment(' - '$token)', - ); + doPrint('parsePatternAssignment(' '$token)'); indent++; var result = super.parsePatternAssignment(token); indent--; @@ -3917,10 +2844,7 @@ class TestParser extends Parser { @override Token parseSwitchExpression(Token token) { - doPrint( - 'parseSwitchExpression(' - '$token)', - ); + doPrint('parseSwitchExpression(' '$token)'); indent++; var result = super.parseSwitchExpression(token); indent--; @@ -3929,11 +2853,7 @@ class TestParser extends Parser { @override Token? findNextCommaOrSemicolon(Token token, Token limit) { - doPrint( - 'findNextCommaOrSemicolon(' - '$token, ' - '$limit)', - ); + doPrint('findNextCommaOrSemicolon(' '$token, ' '$limit)'); indent++; var result = super.findNextCommaOrSemicolon(token, limit); indent--; diff --git a/pkg/front_end/test/parser_test_parser_creator.dart b/pkg/front_end/test/parser_test_parser_creator.dart index a181c22d406..ed8b6ff2b44 100644 --- a/pkg/front_end/test/parser_test_parser_creator.dart +++ b/pkg/front_end/test/parser_test_parser_creator.dart @@ -112,7 +112,8 @@ class TestParser extends Parser { out.writeln("}"); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$out"); } diff --git a/pkg/front_end/test/textual_outline_suite.dart b/pkg/front_end/test/textual_outline_suite.dart index e23cd271e61..e0e2ad358d9 100644 --- a/pkg/front_end/test/textual_outline_suite.dart +++ b/pkg/front_end/test/textual_outline_suite.dart @@ -162,7 +162,8 @@ class TextualOutline extends Step { // an older language version, it will contain a `// @dart=x.y` // comment, which takes precedence over this argument. result = new DartFormatter( - languageVersion: DartFormatter.latestLanguageVersion, + languageVersion: + DartFormatter.latestShortStyleLanguageVersion, experimentFlags: experimentFlags) .format(result); } catch (e, st) { diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline.expect index 328c07cc33d..38670aed0e2 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline.expect @@ -3,21 +3,20 @@ import 'dart:async'; method(Class c, int i, T t, S s) {} test( - Class? c1, - GetterCall c2, - int? i, - T t1, - T? t2, - S? s, - void Function()? f1, - Never n, - dynamic d, - String a, - double b, - bool c, - FutureOr f2, - Function f3, -) {} + Class? c1, + GetterCall c2, + int? i, + T t1, + T? t2, + S? s, + void Function()? f1, + Never n, + dynamic d, + String a, + double b, + bool c, + FutureOr f2, + Function f3) {} Class c1 = Class(); diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline_modelled.expect index c92095bce07..93ad673e3c9 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.textual_outline_modelled.expect @@ -57,21 +57,20 @@ main() {} method(Class c, int i, T t, S s) {} test( - Class? c1, - GetterCall c2, - int? i, - T t1, - T? t2, - S? s, - void Function()? f1, - Never n, - dynamic d, - String a, - double b, - bool c, - FutureOr f2, - Function f3, -) {} + Class? c1, + GetterCall c2, + int? i, + T t1, + T? t2, + S? s, + void Function()? f1, + Never n, + dynamic d, + String a, + double b, + bool c, + FutureOr f2, + Function f3) {} var topLevel1 = c1; diff --git a/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline.expect b/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline.expect index ac132c4d9f5..4601a8edad5 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline.expect @@ -1,11 +1,17 @@ class Class { final List constants; - Class({ - this.constants = const [Const.impl(), Alias.impl(), ImplAlias()], - }); - const Class.named({ - this.constants = const [Const.impl(), Alias.impl(), ImplAlias()], - }); + Class( + {this.constants = const [ + Const.impl(), + Alias.impl(), + ImplAlias() + ]}); + const Class.named( + {this.constants = const [ + Const.impl(), + Alias.impl(), + ImplAlias() + ]}); } typedef Alias = Const; diff --git a/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline_modelled.expect index 8fe2db3b3c6..0053f190388 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/lowering/const_redirect.dart.textual_outline_modelled.expect @@ -3,12 +3,18 @@ abstract class Const { } class Class { - Class({ - this.constants = const [Const.impl(), Alias.impl(), ImplAlias()], - }); - const Class.named({ - this.constants = const [Const.impl(), Alias.impl(), ImplAlias()], - }); + Class( + {this.constants = const [ + Const.impl(), + Alias.impl(), + ImplAlias() + ]}); + const Class.named( + {this.constants = const [ + Const.impl(), + Alias.impl(), + ImplAlias() + ]}); final List constants; } diff --git a/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline.expect b/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline.expect index 6c7d5407a0a..10c10e7cf59 100644 --- a/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline.expect +++ b/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline.expect @@ -2,7 +2,9 @@ class C {} mixin M {} -enum E { e1 } +enum E { + e1; +} void foo() {} diff --git a/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline_modelled.expect index 79980d271cc..2adfd945dbd 100644 --- a/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/coverage/from_co19/built_in_identifier_A02_t02.dart.textual_outline_modelled.expect @@ -2,7 +2,9 @@ class C {} const void Function()? c = null; -enum E { e1 } +enum E { + e1; +} extension Ext on List {} diff --git a/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline.expect b/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline.expect index 7632870ef39..c4ff40ad43e 100644 --- a/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline.expect +++ b/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline.expect @@ -1,6 +1,9 @@ class VariableDeclaration { String? _name; int flags = 0; - VariableDeclaration(this._name, {int flags = -1}) {} + VariableDeclaration( + this._name, { + int flags = -1, + }) {} String? get name => _name; } diff --git a/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline_modelled.expect index c95b5bce82e..f9e2e78c6d3 100644 --- a/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/coverage/handcrafted/dart2js/cloning.dart.textual_outline_modelled.expect @@ -1,6 +1,9 @@ class VariableDeclaration { String? _name; String? get name => _name; - VariableDeclaration(this._name, {int flags = -1}) {} + VariableDeclaration( + this._name, { + int flags = -1, + }) {} int flags = 0; } diff --git a/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline.expect index d481d9b72e8..ea168a6cb15 100644 --- a/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; diff --git a/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline_modelled.expect index 880180c2025..10e34fe9458 100644 --- a/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dart2js/conditional_import.dart.textual_outline_modelled.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; class HttpRequest {} diff --git a/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline.expect index 58dd3442bda..df801bad488 100644 --- a/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline.expect @@ -1,6 +1,7 @@ enum A { a(B.a), - b(B.b); + b(B.b), + ; final B value; const A(this.value); diff --git a/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline_modelled.expect index e99b0435707..5c4743f5f8b 100644 --- a/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dart2js/enum_from_environment.dart.textual_outline_modelled.expect @@ -9,7 +9,8 @@ class B { enum A { a(B.a), - b(B.b); + b(B.b), + ; final B value; const A(this.value); diff --git a/pkg/front_end/testcases/dart2js/extension_types/external.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/extension_types/external.dart.textual_outline.expect index 305f6397fbe..e673504d4ec 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/external.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/external.dart.textual_outline.expect @@ -1,4 +1,5 @@ @JS() + library static_interop; import 'dart:js_interop'; diff --git a/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline.expect index fbe07d18571..c43f36cd3d0 100644 --- a/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline.expect @@ -1,7 +1,9 @@ const String? maybe = bool.fromEnvironment("not there") ? "string" : null; extension type const Ext._(String _) implements String { - const Ext() : assert(maybe != null, "Must not be null"), _ = "OK"; + const Ext() + : assert(maybe != null, "Must not be null"), + _ = "OK"; } void main() {} diff --git a/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline_modelled.expect index fbe07d18571..c43f36cd3d0 100644 --- a/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dart2js/issue56803.dart.textual_outline_modelled.expect @@ -1,7 +1,9 @@ const String? maybe = bool.fromEnvironment("not there") ? "string" : null; extension type const Ext._(String _) implements String { - const Ext() : assert(maybe != null, "Must not be null"), _ = "OK"; + const Ext() + : assert(maybe != null, "Must not be null"), + _ = "OK"; } void main() {} diff --git a/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline.expect index e0f94025f36..e7ad3cce97d 100644 --- a/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline.expect @@ -2,7 +2,9 @@ const String? maybe = bool.fromEnvironment("not there") ? "string" : null; class Ext { final String _; - const Ext() : assert(maybe != null, "Must not be null"), _ = "OK"; + const Ext() + : assert(maybe != null, "Must not be null"), + _ = "OK"; } void main() {} diff --git a/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline_modelled.expect index ce2676854f2..d0b3fb7134f 100644 --- a/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dart2js/issue56803b.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ class Ext { - const Ext() : assert(maybe != null, "Must not be null"), _ = "OK"; + const Ext() + : assert(maybe != null, "Must not be null"), + _ = "OK"; final String _; } diff --git a/pkg/front_end/testcases/dart2js/js_interop_transforms/isa.dart.textual_outline.expect b/pkg/front_end/testcases/dart2js/js_interop_transforms/isa.dart.textual_outline.expect index f39cabd4dbc..a233327699d 100644 --- a/pkg/front_end/testcases/dart2js/js_interop_transforms/isa.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2js/js_interop_transforms/isa.dart.textual_outline.expect @@ -1,4 +1,5 @@ @JS('library1') + library; import 'dart:js_interop'; diff --git a/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline.expect b/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline.expect index 5c2e5c49177..6b027634a0f 100644 --- a/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline.expect @@ -2,7 +2,10 @@ class C { final int? _f2; final int? _f3; final int? _f4; - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; } class A { @@ -13,7 +16,9 @@ mixin M3 {} abstract class D extends A with M3 { final int? _f4; - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); } mixin M1 { diff --git a/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline_modelled.expect index 7c325afc806..ae2a266b985 100644 --- a/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dart2wasm/inference_update_2/issue52452.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ abstract class D extends A with M3 { - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); final int? _f4; } @@ -12,7 +14,10 @@ class B { } class C { - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; final int? _f2; final int? _f3; final int? _f4; diff --git a/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline.expect b/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline.expect index d481d9b72e8..ea168a6cb15 100644 --- a/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; diff --git a/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline_modelled.expect index 880180c2025..10e34fe9458 100644 --- a/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dartdevc/conditional_import.dart.textual_outline_modelled.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; class HttpRequest {} diff --git a/pkg/front_end/testcases/dartdevc/extension_types/external.dart.textual_outline.expect b/pkg/front_end/testcases/dartdevc/extension_types/external.dart.textual_outline.expect index 305f6397fbe..e673504d4ec 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/external.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/external.dart.textual_outline.expect @@ -1,4 +1,5 @@ @JS() + library static_interop; import 'dart:js_interop'; diff --git a/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline.expect b/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline.expect index 5c2e5c49177..6b027634a0f 100644 --- a/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline.expect @@ -2,7 +2,10 @@ class C { final int? _f2; final int? _f3; final int? _f4; - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; } class A { @@ -13,7 +16,9 @@ mixin M3 {} abstract class D extends A with M3 { final int? _f4; - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); } mixin M1 { diff --git a/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline_modelled.expect index 7c325afc806..ae2a266b985 100644 --- a/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/dartdevc/inference_update_2/issue52452.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ abstract class D extends A with M3 { - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); final int? _f4; } @@ -12,7 +14,10 @@ class B { } class C { - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; final int? _f2; final int? _f3; final int? _f4; diff --git a/pkg/front_end/testcases/dartdevc/js_interop_transforms/isa.dart.textual_outline.expect b/pkg/front_end/testcases/dartdevc/js_interop_transforms/isa.dart.textual_outline.expect index f39cabd4dbc..a233327699d 100644 --- a/pkg/front_end/testcases/dartdevc/js_interop_transforms/isa.dart.textual_outline.expect +++ b/pkg/front_end/testcases/dartdevc/js_interop_transforms/isa.dart.textual_outline.expect @@ -1,4 +1,5 @@ @JS('library1') + library; import 'dart:js_interop'; diff --git a/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline.expect index 3e763fcfb21..867bed93d21 100644 --- a/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline.expect @@ -4,7 +4,10 @@ enum E1 { final int element = 42; } -enum E2 { element, element } +enum E2 { + element, + element; +} enum E3 { element; diff --git a/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline_modelled.expect index b21b7f39cf1..2e77ceaef54 100644 --- a/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/conflicting_elements.dart.textual_outline_modelled.expect @@ -6,7 +6,10 @@ enum E1 { enum E10 with A10 { element } -enum E2 { element, element } +enum E2 { + element, + element; +} enum E3 { element; diff --git a/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline.expect index 691ea05f527..3e3482ee05d 100644 --- a/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline.expect @@ -9,4 +9,6 @@ enum SomeEnum with HasSomeField { String get someField => 'field'; } -enum NormalEnum { value } +enum NormalEnum { + value; +} diff --git a/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline_modelled.expect index 5d937a05a00..694f0b5e083 100644 --- a/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/enum_with_mixin.dart.textual_outline_modelled.expect @@ -1,4 +1,6 @@ -enum NormalEnum { value } +enum NormalEnum { + value; +} enum SomeEnum with HasSomeField { value; diff --git a/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline.expect index 00df9268833..f08e22a3405 100644 --- a/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline.expect @@ -2,7 +2,11 @@ mixin M1 on Enum { int mixedInMethod1(int v) => v; } -enum E with M1 { e1, e2, e3 } +enum E with M1 { + e1, + e2, + e3; +} expectEquals(x, y) {} diff --git a/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline_modelled.expect index 8bb174a499c..b42854a70de 100644 --- a/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/issue48303.dart.textual_outline_modelled.expect @@ -1,4 +1,8 @@ -enum E with M1 { e1, e2, e3 } +enum E with M1 { + e1, + e2, + e3; +} expectEquals(x, y) {} diff --git a/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline.expect index c825db740f1..83c5d0307b8 100644 --- a/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline.expect @@ -1,6 +1,8 @@ class A {} -enum E { element } +enum E { + element, +} main() {} diff --git a/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline_modelled.expect index de7cf2bc092..99546f059ac 100644 --- a/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/issue51189.dart.textual_outline_modelled.expect @@ -1,6 +1,8 @@ class A {} -enum E { element } +enum E { + element, +} expectEquals(x, y) {} diff --git a/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline.expect index aa1573c114d..52393ad8849 100644 --- a/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline.expect @@ -1,10 +1,18 @@ -enum E1 { element.new() } +enum E1 { + element.new(); +} -enum E2 { element } +enum E2 { + element; +} -enum E3 { element } +enum E3 { + element; +} -enum values { element } +enum values { + element; +} abstract class SuperclassWithEquals { bool operator ==(Object other) => true; diff --git a/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline_modelled.expect index 2fae48e3118..9b8e184dce8 100644 --- a/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/missed_checks.dart.textual_outline_modelled.expect @@ -16,12 +16,20 @@ abstract class SuperclassWithValues { Never get values => throw 0; } -enum E1 { element.new() } +enum E1 { + element.new(); +} -enum E2 { element } +enum E2 { + element; +} -enum E3 { element } +enum E3 { + element; +} -enum values { element } +enum values { + element; +} main() {} diff --git a/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline.expect index e2b63b083db..fd8caaaae0b 100644 --- a/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline.expect @@ -4,7 +4,8 @@ enum C { c(1, z: 3, 2), d.named1(1, 2, 3), e.named2(1, 2, 3), - f.named3(1, 2, 3); + f.named3(1, 2, 3), + ; final String log; const C(int x, int y, {int z = 42}) : this.log = "x=$x, y=$y, z=$z"; diff --git a/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline_modelled.expect index a6321618128..97180246ab2 100644 --- a/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/named_arguments_anywhere/redirecting_constructor.dart.textual_outline_modelled.expect @@ -4,7 +4,8 @@ enum C { c(1, z: 3, 2), d.named1(1, 2, 3), e.named2(1, 2, 3), - f.named3(1, 2, 3); + f.named3(1, 2, 3), + ; final String log; const C(int x, int y, {int z = 42}) : this.log = "x=$x, y=$y, z=$z"; diff --git a/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline.expect index 241ac1ff925..449dba24a19 100644 --- a/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline.expect @@ -7,7 +7,7 @@ abstract class I {} abstract class GI {} enum E with GM, M implements I, GI { - element, + element } main() {} diff --git a/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline_modelled.expect index f676fe2933a..420e66ce398 100644 --- a/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/supertype_resolved_before_checking.dart.textual_outline_modelled.expect @@ -3,7 +3,7 @@ abstract class GI {} abstract class I {} enum E with GM, M implements I, GI { - element, + element } main() {} diff --git a/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline.expect b/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline.expect index fba6c2e6ff2..7006c08ab82 100644 --- a/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline.expect +++ b/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline.expect @@ -2,14 +2,23 @@ mixin M on Object { void mixinMethod() {} } -enum E with M { e1, e2, e3 } +enum E with M { + e1, + e2, + e3; +} -enum F { f1, f2, f3 } +enum F { + f1, + f2, + f3, +} enum G { g1, g2, - g3; + g3, + ; const G(); } diff --git a/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline_modelled.expect index e4bae0d29e5..06a3740ad76 100644 --- a/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/enhanced_enums/synthetic_enum_constructor.dart.textual_outline_modelled.expect @@ -1,11 +1,20 @@ -enum E with M { e1, e2, e3 } +enum E with M { + e1, + e2, + e3; +} -enum F { f1, f2, f3 } +enum F { + f1, + f2, + f3, +} enum G { g1, g2, - g3; + g3, + ; const G(); } diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline.expect index cd89c066f09..47b4e89ac97 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline.expect @@ -16,16 +16,5 @@ extension type G(T o) {} extension type G2(T o) implements Object {} -test( - Object o, - A a, - B b, - C c, - D d, - D2 d2, - E e, - F f, - G g1, - G g2, - G2 g3, -) {} +test(Object o, A a, B b, C c, D d, D2 d2, + E e, F f, G g1, G g2, G2 g3) {} diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline_modelled.expect index cd89c066f09..47b4e89ac97 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.textual_outline_modelled.expect @@ -16,16 +16,5 @@ extension type G(T o) {} extension type G2(T o) implements Object {} -test( - Object o, - A a, - B b, - C c, - D d, - D2 d2, - E e, - F f, - G g1, - G g2, - G2 g3, -) {} +test(Object o, A a, B b, C c, D d, D2 d2, + E e, F f, G g1, G g2, G2 g3) {} diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline.expect index 9c268a8f07c..f521ff5f4bb 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline.expect @@ -19,14 +19,13 @@ extension type F3>(X foo) implements Future {} extension type F4>(X foo) implements F3 {} test( - E1 e1, - E2> e2, - E3 e3, - E4> e4, - E5 e5object, - E5> e5future, - F1 f1, - F2> f2, - F3> f3, - F4> f4, -) async {} + E1 e1, + E2> e2, + E3 e3, + E4> e4, + E5 e5object, + E5> e5future, + F1 f1, + F2> f2, + F3> f3, + F4> f4) async {} diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline_modelled.expect index 9c268a8f07c..f521ff5f4bb 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.textual_outline_modelled.expect @@ -19,14 +19,13 @@ extension type F3>(X foo) implements Future {} extension type F4>(X foo) implements F3 {} test( - E1 e1, - E2> e2, - E3 e3, - E4> e4, - E5 e5object, - E5> e5future, - F1 f1, - F2> f2, - F3> f3, - F4> f4, -) async {} + E1 e1, + E2> e2, + E3 e3, + E4> e4, + E5 e5object, + E5> e5future, + F1 f1, + F2> f2, + F3> f3, + F4> f4) async {} diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline.expect index bb1af857952..e18e8426caa 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline.expect @@ -2,8 +2,6 @@ extension type E(({T t}) it) { T get t => it.t; } -T run(E e) => switch (e) { - E(:var t) => t, -}; +T run(E e) => switch (e) { E(:var t) => t }; void main() {} diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline_modelled.expect index 3b5339d3462..79f8d1f71b2 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.textual_outline_modelled.expect @@ -1,6 +1,4 @@ -T run(E e) => switch (e) { - E(:var t) => t, -}; +T run(E e) => switch (e) { E(:var t) => t }; extension type E(({T t}) it) { T get t => it.t; diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline.expect index d702b4cb709..672d042589a 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline.expect @@ -2,9 +2,9 @@ void main() {} class AssertIdentical { const AssertIdentical(Object? v1, Object? v2) - : assert(identical(v1, v2), "${(v1, v2)}"); + : assert(identical(v1, v2), "${(v1, v2)}"); const AssertIdentical.not(Object? v1, Object? v2) - : assert(!identical(v1, v2), "${(v1, v2)}"); + : assert(!identical(v1, v2), "${(v1, v2)}"); } class C { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline_modelled.expect index 0b03ba03bf0..38ea2eea136 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.textual_outline_modelled.expect @@ -1,8 +1,8 @@ class AssertIdentical { const AssertIdentical(Object? v1, Object? v2) - : assert(identical(v1, v2), "${(v1, v2)}"); + : assert(identical(v1, v2), "${(v1, v2)}"); const AssertIdentical.not(Object? v1, Object? v2) - : assert(!identical(v1, v2), "${(v1, v2)}"); + : assert(!identical(v1, v2), "${(v1, v2)}"); } class C { diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline.expect index 4fb0931307d..1aaf746f1cb 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline.expect @@ -10,7 +10,9 @@ typedef void H1>(); extension Ext1> on List {} -enum Enum1> { element() } +enum Enum1> { + element(); +} foo1>() {} @@ -30,7 +32,9 @@ typedef void H2, Y extends X>(); extension Ext2, Y extends X> on List {} -enum Enum2, Y extends X> { element() } +enum Enum2, Y extends X> { + element(); +} foo2, Y extends X>() {} diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline_modelled.expect index 1af239bd81d..e043ef05c77 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.textual_outline_modelled.expect @@ -6,9 +6,13 @@ class A1> {} class A2, Y extends X> {} -enum Enum1> { element() } +enum Enum1> { + element(); +} -enum Enum2, Y extends X> { element() } +enum Enum2, Y extends X> { + element(); +} extension Ext1> on List {} diff --git a/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline.expect index ea0ef9fd60b..4860e3b0667 100644 --- a/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline.expect @@ -3,13 +3,4 @@ extension type N(Future _) {} extension type F(Future _) implements Future {} void test( - N n, - F f, - X x, - XN xn, - XF xf, - N? nq, - F? fq, - XN? xnq, - XF? xfq, -) async {} + N n, F f, X x, XN xn, XF xf, N? nq, F? fq, XN? xnq, XF? xfq) async {} diff --git a/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline_modelled.expect index 9dbd08adb8f..e08eb87495a 100644 --- a/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/issue54649.dart.textual_outline_modelled.expect @@ -3,13 +3,4 @@ extension type F(Future _) implements Future {} extension type N(Future _) {} void test( - N n, - F f, - X x, - XN xn, - XF xf, - N? nq, - F? fq, - XN? xnq, - XF? xfq, -) async {} + N n, F f, X x, XN xn, XF xf, N? nq, F? fq, XN? xnq, XF? xfq) async {} diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline.expect index 58a61fde55a..86050a1c243 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline.expect @@ -15,13 +15,12 @@ extension type E7(num it) implements num {} test1(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5, E6 e6, E7 e7) {} test2< - X1 extends E1, - X2 extends E2, - X3 extends E3, - X4 extends E4, - X5 extends E5, - X6 extends E6, - X7 extends E7 ->(X1 x1, X2 x2, X3 x3, X4 x4, X5 x5, X6 x6, X7 x7) {} + X1 extends E1, + X2 extends E2, + X3 extends E3, + X4 extends E4, + X5 extends E5, + X6 extends E6, + X7 extends E7>(X1 x1, X2 x2, X3 x3, X4 x4, X5 x5, X6 x6, X7 x7) {} test3(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5, E6 e6, E7 e7, String s, bool b) {} diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline_modelled.expect index 58a61fde55a..86050a1c243 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.textual_outline_modelled.expect @@ -15,13 +15,12 @@ extension type E7(num it) implements num {} test1(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5, E6 e6, E7 e7) {} test2< - X1 extends E1, - X2 extends E2, - X3 extends E3, - X4 extends E4, - X5 extends E5, - X6 extends E6, - X7 extends E7 ->(X1 x1, X2 x2, X3 x3, X4 x4, X5 x5, X6 x6, X7 x7) {} + X1 extends E1, + X2 extends E2, + X3 extends E3, + X4 extends E4, + X5 extends E5, + X6 extends E6, + X7 extends E7>(X1 x1, X2 x2, X3 x3, X4 x4, X5 x5, X6 x6, X7 x7) {} test3(E1 e1, E2 e2, E3 e3, E4 e4, E5 e5, E6 e6, E7 e7, String s, bool b) {} diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline.expect index 12e9a129dcd..6c61676ffba 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline.expect @@ -8,14 +8,8 @@ extension type E4(E1 foo) {} extension type E5(E2 foo) {} -testNotNonNullable( - E1 e1numNullableNNN, - E1 e1doubleNNN, - E2 e2NNN, - E3 e3NNN, - E4 e4NNN, - E5 e5NNN, -) {} +testNotNonNullable(E1 e1numNullableNNN, E1 e1doubleNNN, E2 e2NNN, + E3 e3NNN, E4 e4NNN, E5 e5NNN) {} testNotNullable( E1 e1numNullableNN, @@ -47,32 +41,30 @@ class A { E5? e5ANullable; } -testOptionalPositional([ - E1 e1numNullableOP, - E1 e1doubleOP, - E2 e2OP, - E3 e3OP, - E4 e4OP, - E5 e5OP, - E1? e1numNullableOPNullable, - E1? e1doubleOPNullable, - E2? e2OPNullable, - E3? e3OPNullable, - E4? e4OPNullable, - E5? e5OPNullable, -]) {} +testOptionalPositional( + [E1 e1numNullableOP, + E1 e1doubleOP, + E2 e2OP, + E3 e3OP, + E4 e4OP, + E5 e5OP, + E1? e1numNullableOPNullable, + E1? e1doubleOPNullable, + E2? e2OPNullable, + E3? e3OPNullable, + E4? e4OPNullable, + E5? e5OPNullable]) {} -testNamedNotRequired({ - E1 e1numNullableNNR, - E1 e1doubleNNR, - E2 e2NNR, - E3 e3NNR, - E4 e4NNR, - E5 e5NNR, - E1? e1numNullableNNRNullable, - E1? e1doubleNNRNullable, - E2? e2NNRNullable, - E3? e3NNRNullable, - E4? e4NNRNullable, - E5? e5NNRNullable, -}) {} +testNamedNotRequired( + {E1 e1numNullableNNR, + E1 e1doubleNNR, + E2 e2NNR, + E3 e3NNR, + E4 e4NNR, + E5 e5NNR, + E1? e1numNullableNNRNullable, + E1? e1doubleNNRNullable, + E2? e2NNRNullable, + E3? e3NNRNullable, + E4? e4NNRNullable, + E5? e5NNRNullable}) {} diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline_modelled.expect index 60d07cffdbd..8575991588f 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.textual_outline_modelled.expect @@ -23,29 +23,22 @@ extension type E4(E1 foo) {} extension type E5(E2 foo) {} -testNamedNotRequired({ - E1 e1numNullableNNR, - E1 e1doubleNNR, - E2 e2NNR, - E3 e3NNR, - E4 e4NNR, - E5 e5NNR, - E1? e1numNullableNNRNullable, - E1? e1doubleNNRNullable, - E2? e2NNRNullable, - E3? e3NNRNullable, - E4? e4NNRNullable, - E5? e5NNRNullable, -}) {} +testNamedNotRequired( + {E1 e1numNullableNNR, + E1 e1doubleNNR, + E2 e2NNR, + E3 e3NNR, + E4 e4NNR, + E5 e5NNR, + E1? e1numNullableNNRNullable, + E1? e1doubleNNRNullable, + E2? e2NNRNullable, + E3? e3NNRNullable, + E4? e4NNRNullable, + E5? e5NNRNullable}) {} -testNotNonNullable( - E1 e1numNullableNNN, - E1 e1doubleNNN, - E2 e2NNN, - E3 e3NNN, - E4 e4NNN, - E5 e5NNN, -) {} +testNotNonNullable(E1 e1numNullableNNN, E1 e1doubleNNN, E2 e2NNN, + E3 e3NNN, E4 e4NNN, E5 e5NNN) {} testNotNullable( E1 e1numNullableNN, @@ -62,17 +55,16 @@ testNotNullable( E5? e5NNNullable, ) {} -testOptionalPositional([ - E1 e1numNullableOP, - E1 e1doubleOP, - E2 e2OP, - E3 e3OP, - E4 e4OP, - E5 e5OP, - E1? e1numNullableOPNullable, - E1? e1doubleOPNullable, - E2? e2OPNullable, - E3? e3OPNullable, - E4? e4OPNullable, - E5? e5OPNullable, -]) {} +testOptionalPositional( + [E1 e1numNullableOP, + E1 e1doubleOP, + E2 e2OP, + E3 e3OP, + E4 e4OP, + E5 e5OP, + E1? e1numNullableOPNullable, + E1? e1doubleOPNullable, + E2? e2OPNullable, + E3? e3OPNullable, + E4? e4OPNullable, + E5? e5OPNullable]) {} diff --git a/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline.expect index 327c496c8d4..1ce32da6a95 100644 --- a/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline.expect @@ -7,10 +7,4 @@ extension type ET(int? i) { } method( - ET et1, - ET? et2, - X x1, - X? x2, - Y y1, - Y? y2, -) {} + ET et1, ET? et2, X x1, X? x2, Y y1, Y? y2) {} diff --git a/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline_modelled.expect index 327c496c8d4..1ce32da6a95 100644 --- a/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/extension_types/nullable_access.dart.textual_outline_modelled.expect @@ -7,10 +7,4 @@ extension type ET(int? i) { } method( - ET et1, - ET? et2, - X x1, - X? x2, - Y y1, - Y? y2, -) {} + ET et1, ET? et2, X x1, X? x2, Y y1, Y? y2) {} diff --git a/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline.expect b/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline.expect index 996a836ac2f..f6247902b18 100644 --- a/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline.expect @@ -8,14 +8,13 @@ class Strength { final int value; final String name; const Strength(this.value, this.name); - Strength nextWeaker() => - const [ + Strength nextWeaker() => const [ STRONG_PREFERRED, PREFERRED, STRONG_DEFAULT, NORMAL, WEAK_DEFAULT, - WEAKEST, + WEAKEST ][value]; static bool stronger(Strength s1, Strength s2) {} static bool weaker(Strength s1, Strength s2) {} @@ -109,12 +108,8 @@ class ScaleConstraint extends BinaryConstraint { final Variable scale; final Variable offset; ScaleConstraint( - Variable src, - this.scale, - this.offset, - Variable dest, - Strength strength, - ) : super(src, dest, strength); + Variable src, this.scale, this.offset, Variable dest, Strength strength) + : super(src, dest, strength); void addToGraph() {} void removeFromGraph() {} void markInputs(int mark) {} @@ -124,7 +119,7 @@ class ScaleConstraint extends BinaryConstraint { class EqualityConstraint extends BinaryConstraint { EqualityConstraint(Variable v1, Variable v2, Strength strength) - : super(v1, v2, strength); + : super(v1, v2, strength); void execute() {} } diff --git a/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline_modelled.expect index b684400c823..c0d24fff822 100644 --- a/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/DeltaBlue.dart.textual_outline_modelled.expect @@ -61,7 +61,7 @@ class EditConstraint extends UnaryConstraint { class EqualityConstraint extends BinaryConstraint { EqualityConstraint(Variable v1, Variable v2, Strength strength) - : super(v1, v2, strength); + : super(v1, v2, strength); void execute() {} } @@ -86,12 +86,8 @@ class Planner { class ScaleConstraint extends BinaryConstraint { ScaleConstraint( - Variable src, - this.scale, - this.offset, - Variable dest, - Strength strength, - ) : super(src, dest, strength); + Variable src, this.scale, this.offset, Variable dest, Strength strength) + : super(src, dest, strength); final Variable offset; final Variable scale; void addToGraph() {} @@ -107,14 +103,13 @@ class StayConstraint extends UnaryConstraint { } class Strength { - Strength nextWeaker() => - const [ + Strength nextWeaker() => const [ STRONG_PREFERRED, PREFERRED, STRONG_DEFAULT, NORMAL, WEAK_DEFAULT, - WEAKEST, + WEAKEST ][value]; const Strength(this.value, this.name); final String name; diff --git a/pkg/front_end/testcases/general/annotation_top.dart.textual_outline.expect b/pkg/front_end/testcases/general/annotation_top.dart.textual_outline.expect index 43fbc7233ad..46794133261 100644 --- a/pkg/front_end/testcases/general/annotation_top.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/annotation_top.dart.textual_outline.expect @@ -1,5 +1,6 @@ @a @A(1) + library test; const Object a = const Object(); diff --git a/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline.expect b/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline.expect index dd5453d093f..13cc648c0f4 100644 --- a/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline.expect @@ -8,13 +8,9 @@ class Bar { class Baz { Baz(@foo constructorFormal); factory Baz.bazFactory(@foo factoryFormal) => throw ''; - fisk( - @foo formal1, - @Bar() formal2, - @Bar.named(foo) formal3, - @foo @Bar.named(foo) formal4, [ - @foo optional, - ]) {} + fisk(@foo formal1, @Bar() formal2, @Bar.named(foo) formal3, + @foo @Bar.named(foo) formal4, + [@foo optional]) {} hest({@foo named}) => null; } diff --git a/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline_modelled.expect index ed1634661d1..e6066bbff2b 100644 --- a/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/annotation_variable_declaration.dart.textual_outline_modelled.expect @@ -6,13 +6,9 @@ class Bar { class Baz { Baz(@foo constructorFormal); factory Baz.bazFactory(@foo factoryFormal) => throw ''; - fisk( - @foo formal1, - @Bar() formal2, - @Bar.named(foo) formal3, - @foo @Bar.named(foo) formal4, [ - @foo optional, - ]) {} + fisk(@foo formal1, @Bar() formal2, @Bar.named(foo) formal3, + @foo @Bar.named(foo) formal4, + [@foo optional]) {} hest({@foo named}) => null; } diff --git a/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline.expect b/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline.expect index e988b43c374..0ee755e2fcf 100644 --- a/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline.expect @@ -3,9 +3,9 @@ import "package:expect/expect.dart"; class A { var x, y; A(this.x) - : y = (() { - x = 3; - }); + : y = (() { + x = 3; + }); } main() {} diff --git a/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline_modelled.expect index 1f19610a70c..4d7dc1297d3 100644 --- a/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/assign_to_initializing_formal.dart.textual_outline_modelled.expect @@ -2,9 +2,9 @@ import "package:expect/expect.dart"; class A { A(this.x) - : y = (() { - x = 3; - }); + : y = (() { + x = 3; + }); var x, y; } diff --git a/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline.expect b/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline.expect index 1785a99796f..7f5b59d2f5c 100644 --- a/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline.expect @@ -38,24 +38,22 @@ typedef S7 = G; typedef S8 = G; -typedef Typedef1 = - void Function< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G - >(); +typedef Typedef1 = void Function< + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G>(); main() {} diff --git a/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline_modelled.expect index c91fb35e10d..ceda491d824 100644 --- a/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/bounds_type_aliases.dart.textual_outline_modelled.expect @@ -40,22 +40,20 @@ typedef T7 = F; typedef T8 = F; -typedef Typedef1 = - void Function< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G - >(); +typedef Typedef1 = void Function< + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G>(); diff --git a/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline.expect b/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline.expect index c2e03525a58..085bfb63310 100644 --- a/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline.expect @@ -8,24 +8,8 @@ class G> {} typedef H = Class2; -void staticMethod< - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - S1, - S2, - S3, - S4, - S5, - S6, - S7, - S8 ->() {} +void staticMethod() {} class Class1 { Class1(); @@ -34,24 +18,8 @@ class Class1 { } class Class2 { - void instanceMethod< - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - S1, - S2, - S3, - S4, - S5, - S6, - S7, - S8 - >() {} + void instanceMethod() {} } test() {} diff --git a/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline_modelled.expect index 6c973a7376b..6206ab48987 100644 --- a/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/bounds_type_arguments.dart.textual_outline_modelled.expect @@ -7,24 +7,8 @@ class Class1 { } class Class2 { - void instanceMethod< - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - S1, - S2, - S3, - S4, - S5, - S6, - S7, - S8 - >() {} + void instanceMethod() {} } class ConcreteClass implements Class {} @@ -39,21 +23,5 @@ typedef F> = X; typedef H = Class2; -void staticMethod< - T1, - T2, - T3, - T4, - T5, - T6, - T7, - T8, - S1, - S2, - S3, - S4, - S5, - S6, - S7, - S8 ->() {} +void staticMethod() {} diff --git a/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline.expect b/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline.expect index 6dbef20cbb0..966938f7474 100644 --- a/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline.expect @@ -9,437 +9,425 @@ class G> {} class H, int)> {} typedef Typedef1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> = void Function(); + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> + = void Function(); -typedef Typedef2 = - void Function< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> - >(); +typedef Typedef2 = void Function< + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>(); typedef void Typedef3< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> ->(); + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>(); class Class1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> {} class Class2< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> = Object - with Class; + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> = Object with Class; mixin Mixin1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> {} enum Enum1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> { + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> { a< - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - G, - G, - G, - G, - G, - G, - G, - G, - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int) - >(), + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + G, + G, + G, + G, + G, + G, + G, + G, + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int)>() } extension Extension< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> - on Class {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> on Class {} void method1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> ->() {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>() {} test() {} diff --git a/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline_modelled.expect index 12d4535f74d..88ef45e2493 100644 --- a/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/bounds_type_parameters.dart.textual_outline_modelled.expect @@ -1,89 +1,86 @@ class Class1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> {} class Class2< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> = Object - with Class; + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> = Object with Class; class ConcreteClass implements Class {} @@ -92,355 +89,346 @@ class G> {} class H, int)> {} enum Enum1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> { + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> { a< - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - ConcreteClass, - G, - G, - G, - G, - G, - G, - G, - G, - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - ({ConcreteClass a, int b}), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int), - (ConcreteClass, int) - >(), + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + ConcreteClass, + G, + G, + G, + G, + G, + G, + G, + G, + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + ({ConcreteClass a, int b}), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int), + (ConcreteClass, int)>() } extension Extension< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> - on Class {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> on Class {} main() {} mixin Class {} mixin Mixin1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> {} test() {} typedef F> = X; typedef Typedef1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> -> = void Function(); + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>> + = void Function(); -typedef Typedef2 = - void Function< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> - >(); +typedef Typedef2 = void Function< + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>(); typedef void Typedef3< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> ->(); + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>(); void method1< - T1 extends F, - T2 extends F, - T3 extends F, - T4 extends F>, - T5 extends F, - T6 extends F>, - T7 extends F, - T8 extends F, - S1 extends G, - S2 extends G, - S3 extends G, - S4 extends G>, - S5 extends G, - S6 extends G>, - S7 extends G, - S8 extends G, - U1 extends (F, int), - U2 extends (F, int), - U3 extends (F, int), - U4 extends (F>, int), - U5 extends (F, int), - U6 extends (F>, int), - U7 extends (F, int), - U8 extends (F, int), - V1 extends ({G a, int b}), - V2 extends ({G a, int b}), - V3 extends ({G a, int b}), - V4 extends ({G> a, int b}), - V5 extends ({G a, int b}), - V6 extends ({G> a, int b}), - V7 extends ({G a, int b}), - V8 extends ({G a, int b}), - W1 extends H, - W2 extends H, - W3 extends H<(Class, int)>, - W4 extends H<(Class, int)>, - W5 extends H<(ConcreteClass, int)>, - W6 extends H<(Class, int)>, - W7 extends H<(Object, int)>, - W8 extends H<(int, int)> ->() {} + T1 extends F, + T2 extends F, + T3 extends F, + T4 extends F>, + T5 extends F, + T6 extends F>, + T7 extends F, + T8 extends F, + S1 extends G, + S2 extends G, + S3 extends G, + S4 extends G>, + S5 extends G, + S6 extends G>, + S7 extends G, + S8 extends G, + U1 extends (F, int), + U2 extends (F, int), + U3 extends (F, int), + U4 extends (F>, int), + U5 extends (F, int), + U6 extends (F>, int), + U7 extends (F, int), + U8 extends (F, int), + V1 extends ({G a, int b}), + V2 extends ({G a, int b}), + V3 extends ({G a, int b}), + V4 extends ({G> a, int b}), + V5 extends ({G a, int b}), + V6 extends ({G> a, int b}), + V7 extends ({G a, int b}), + V8 extends ({G a, int b}), + W1 extends H, + W2 extends H, + W3 extends H<(Class, int)>, + W4 extends H<(Class, int)>, + W5 extends H<(ConcreteClass, int)>, + W6 extends H<(Class, int)>, + W7 extends H<(Object, int)>, + W8 extends H<(int, int)>>() {} diff --git a/pkg/front_end/testcases/general/conditional_import.dart.textual_outline.expect b/pkg/front_end/testcases/general/conditional_import.dart.textual_outline.expect index d481d9b72e8..ea168a6cb15 100644 --- a/pkg/front_end/testcases/general/conditional_import.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/conditional_import.dart.textual_outline.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; diff --git a/pkg/front_end/testcases/general/conditional_import.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/conditional_import.dart.textual_outline_modelled.expect index 880180c2025..10e34fe9458 100644 --- a/pkg/front_end/testcases/general/conditional_import.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/conditional_import.dart.textual_outline_modelled.expect @@ -1,12 +1,10 @@ import "conditional_import.dart" if (dart.library.foo) "dart:foo" as c; import "conditional_import.dart" if (dart.library.html) "dart:html" - if (dart.library.io) "dart:io" - as b; + if (dart.library.io) "dart:io" as b; import "conditional_import.dart" if (dart.library.io) "dart:io" - if (dart.library.html) "dart:html" - as a; + if (dart.library.html) "dart:html" as a; class HttpRequest {} diff --git a/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline.expect index 020fdbf8202..ec6a590486d 100644 --- a/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline.expect @@ -1,16 +1,14 @@ class Foo { final int x; const Foo(this.x) - : assert(x > 0, "x is not positive"), - assert(x > 0), - assert(x > 0, ""), - assert( - const bool.fromEnvironment("foo") == false, - "foo was ${const bool.fromEnvironment("foo")}", - ), - assert(const bool.fromEnvironment("foo") == false); + : assert(x > 0, "x is not positive"), + assert(x > 0), + assert(x > 0, ""), + assert(const bool.fromEnvironment("foo") == false, + "foo was ${const bool.fromEnvironment("foo")}"), + assert(const bool.fromEnvironment("foo") == false); const Foo.withMessage(this.x) - : assert(x < 0, "btw foo was ${const bool.fromEnvironment("foo")}"); + : assert(x < 0, "btw foo was ${const bool.fromEnvironment("foo")}"); const Foo.withInvalidMessage(this.x) : assert(x < 0, x); const Foo.withInvalidCondition(this.x) : assert(x); } diff --git a/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline_modelled.expect index 193757a17fa..f9ff61a8600 100644 --- a/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/const_asserts.dart.textual_outline_modelled.expect @@ -7,18 +7,16 @@ class Bar { class Foo { const Foo(this.x) - : assert(x > 0, "x is not positive"), - assert(x > 0), - assert(x > 0, ""), - assert( - const bool.fromEnvironment("foo") == false, - "foo was ${const bool.fromEnvironment("foo")}", - ), - assert(const bool.fromEnvironment("foo") == false); + : assert(x > 0, "x is not positive"), + assert(x > 0), + assert(x > 0, ""), + assert(const bool.fromEnvironment("foo") == false, + "foo was ${const bool.fromEnvironment("foo")}"), + assert(const bool.fromEnvironment("foo") == false); const Foo.withInvalidCondition(this.x) : assert(x); const Foo.withInvalidMessage(this.x) : assert(x < 0, x); const Foo.withMessage(this.x) - : assert(x < 0, "btw foo was ${const bool.fromEnvironment("foo")}"); + : assert(x < 0, "btw foo was ${const bool.fromEnvironment("foo")}"); final int x; } diff --git a/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline.expect index df847a29339..3bdb87b9215 100644 --- a/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline.expect @@ -31,7 +31,7 @@ const List barWithMapSpread = [...foo, ...quux]; const List barWithCustomIterableSpread1 = [ ...bar, - ...const CustomIterable(), + ...const CustomIterable() ]; const List barWithCustomIterableSpread2 = [...bar, ...CustomIterable()]; @@ -60,7 +60,7 @@ const Set quxWithMapSpread = {...baz, ...quux}; const Set quxWithCustomIterableSpread1 = { ...baz, - ...const CustomIterable(), + ...const CustomIterable() }; const Set quxWithCustomIterableSpread2 = {...baz, ...CustomIterable()}; @@ -98,7 +98,7 @@ const Map customMap = const CustomMap(); const Map mapWithCustomMap3 = {...customMap}; const Map mapWithNonPrimitiveEqualsKey = { - const WithEquals(42): 42, + const WithEquals(42): 42 }; const Map mapWithDuplicates = {42: 42, 42: 42}; @@ -159,11 +159,9 @@ class CustomMap implements Map { @override void removeWhere(bool predicate(String key, String value)) => throw new UnimplementedError(); - String update( - String key, - String update(String value), { - String ifAbsent()?, - }) => throw new UnimplementedError(); + String update(String key, String update(String value), + {String ifAbsent()?}) => + throw new UnimplementedError(); Map map(MapEntry f(String key, String value)) => throw new UnimplementedError(); } diff --git a/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline_modelled.expect index 7897b837c27..f5df469fab7 100644 --- a/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/const_collections.dart.textual_outline_modelled.expect @@ -40,11 +40,9 @@ class CustomMap implements Map { throw new UnimplementedError(); @override String remove(Object? key) => throw new UnimplementedError(); - String update( - String key, - String update(String value), { - String ifAbsent()?, - }) => throw new UnimplementedError(); + String update(String key, String update(String value), + {String ifAbsent()?}) => + throw new UnimplementedError(); @override bool containsKey(Object? key) => throw new UnimplementedError(); @override @@ -88,7 +86,7 @@ const List bar = [...foo, "!"]; const List barWithCustomIterableSpread1 = [ ...bar, - ...const CustomIterable(), + ...const CustomIterable() ]; const List barWithCustomIterableSpread2 = [...bar, ...CustomIterable()]; @@ -130,7 +128,7 @@ const Map quuzWithNullSpread = {...quux, ...?nullMap}; const Map quuzWithSetSpread = {...quux, ...baz}; const Map mapWithNonPrimitiveEqualsKey = { - const WithEquals(42): 42, + const WithEquals(42): 42 }; const Map mapWithDuplicates = {42: 42, 42: 42}; @@ -143,7 +141,7 @@ const Set qux = {...baz, "!"}; const Set quxWithCustomIterableSpread1 = { ...baz, - ...const CustomIterable(), + ...const CustomIterable() }; const Set quxWithCustomIterableSpread2 = {...baz, ...CustomIterable()}; diff --git a/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline.expect index 3ce4c79a23b..e52cbddb601 100644 --- a/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline.expect @@ -1,37 +1,11 @@ class Class { final Class? next1; final Class? next2; - const Class([Class? next]) : next1 = next, next2 = next; + const Class([Class? next]) + : next1 = next, + next2 = next; } -const Class test = const Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class(Class(Class(Class(Class(Class(Class())))))), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), -); +const Class test = const Class(Class(Class(Class(Class(Class(Class(Class(Class( + Class(Class(Class(Class(Class( + Class(Class(Class(Class(Class(Class(Class(Class()))))))))))))))))))))); diff --git a/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline_modelled.expect index 7b830bf6922..5a897d5077a 100644 --- a/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/const_exponential_compare.dart.textual_outline_modelled.expect @@ -1,37 +1,11 @@ class Class { - const Class([Class? next]) : next1 = next, next2 = next; + const Class([Class? next]) + : next1 = next, + next2 = next; final Class? next1; final Class? next2; } -const Class test = const Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class( - Class(Class(Class(Class(Class(Class(Class())))))), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), -); +const Class test = const Class(Class(Class(Class(Class(Class(Class(Class(Class( + Class(Class(Class(Class(Class( + Class(Class(Class(Class(Class(Class(Class(Class()))))))))))))))))))))); diff --git a/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline.expect index 1f295eed428..e39d5b2c399 100644 --- a/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline.expect @@ -1,9 +1,17 @@ import 'main_lib.dart' as a; -const map = {...a.map}; +const map = { + ...a.map, +}; -const set = {...a.set, ...a.list}; +const set = { + ...a.set, + ...a.list, +}; -const list = [...a.list, ...a.set]; +const list = [ + ...a.list, + ...a.set, +]; main() {} diff --git a/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline_modelled.expect index 0edfc0114b1..efe2dd82c78 100644 --- a/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/from_lib/main.dart.textual_outline_modelled.expect @@ -1,9 +1,17 @@ import 'main_lib.dart' as a; -const list = [...a.list, ...a.set]; +const list = [ + ...a.list, + ...a.set, +]; -const map = {...a.map}; +const map = { + ...a.map, +}; -const set = {...a.set, ...a.list}; +const set = { + ...a.set, + ...a.list, +}; main() {} diff --git a/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline.expect index 05e7392b29a..5280f124311 100644 --- a/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline.expect @@ -1,7 +1,9 @@ class MyClass { final int a; final int b; - const MyClass(i1, i2) : a = (i1 >>> i2), b = (i1 >>> i2); + const MyClass(i1, i2) + : a = (i1 >>> i2), + b = (i1 >>> i2); } test() {} diff --git a/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline_modelled.expect index 505ccbe4dbe..7918dbbabf3 100644 --- a/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/js_semantics/issue45376.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ class MyClass { - const MyClass(i1, i2) : a = (i1 >>> i2), b = (i1 >>> i2); + const MyClass(i1, i2) + : a = (i1 >>> i2), + b = (i1 >>> i2); final int a; final int b; } diff --git a/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline.expect index d5bb5efae99..c5fe77158ba 100644 --- a/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline.expect @@ -64,6 +64,4 @@ const string2Equal = "hello" == "world"; const int intFortyTwo = 42; -const String intStringConcat = - "hello" - "${intFortyTwo * intFortyTwo}"; +const String intStringConcat = "hello" "${intFortyTwo * intFortyTwo}"; diff --git a/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline_modelled.expect index 3509e81bc11..81b7b377cd9 100644 --- a/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/js_semantics/various.dart.textual_outline_modelled.expect @@ -1,6 +1,4 @@ -const String intStringConcat = - "hello" - "${intFortyTwo * intFortyTwo}"; +const String intStringConcat = "hello" "${intFortyTwo * intFortyTwo}"; const bool isItDouble = maybeInt is double ? true : false; diff --git a/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline.expect index 355a371912c..54bf473835b 100644 --- a/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline.expect @@ -24,22 +24,22 @@ class Class { final field15; final field16; const Class(o) - : field1 = T, - field2 = Class, - field3 = id, - field4 = (id), - field5 = [], - field6 = {}, - field7 = {}, - field8 = o is T, - field9 = o is Class, - field10 = o as T, - field11 = o as Class, - field12 = Class.new, - field13 = F.new, - field14 = id>, - field15 = >[], - field16 = G.new; + : field1 = T, + field2 = Class, + field3 = id, + field4 = (id), + field5 = [], + field6 = {}, + field7 = {}, + field8 = o is T, + field9 = o is Class, + field10 = o as T, + field11 = o as Class, + field12 = Class.new, + field13 = F.new, + field14 = id>, + field15 = >[], + field16 = G.new; void method() {} } diff --git a/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline_modelled.expect index 87aa550d368..b52051787b0 100644 --- a/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/potentially_constant_type.dart.textual_outline_modelled.expect @@ -4,22 +4,22 @@ T id(T t) => t; class Class { const Class(o) - : field1 = T, - field2 = Class, - field3 = id, - field4 = (id), - field5 = [], - field6 = {}, - field7 = {}, - field8 = o is T, - field9 = o is Class, - field10 = o as T, - field11 = o as Class, - field12 = Class.new, - field13 = F.new, - field14 = id>, - field15 = >[], - field16 = G.new; + : field1 = T, + field2 = Class, + field3 = id, + field4 = (id), + field5 = [], + field6 = {}, + field7 = {}, + field8 = o is T, + field9 = o is Class, + field10 = o as T, + field11 = o as Class, + field12 = Class.new, + field13 = F.new, + field14 = id>, + field15 = >[], + field16 = G.new; final field1; final field10; final field11; diff --git a/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline.expect b/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline.expect index 1530e8b7df5..cd321d253c0 100644 --- a/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline.expect @@ -1,15 +1,9 @@ const int foo = 42 * 42; const String bar = - "hello" - " " - "${String.fromEnvironment("baz", defaultValue: "world")}" - "!"; + "hello" " " "${String.fromEnvironment("baz", defaultValue: "world")}" "!"; -const String bar2 = - "hello2" - " 2" + - bar; +const String bar2 = "hello2" " 2" + bar; const bool baz = true && true && (false || true) && (42 == 21 * 4 / 2); diff --git a/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline_modelled.expect index 24356ef65a4..b6c89d1e188 100644 --- a/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/constants/rudimentary_test_01.dart.textual_outline_modelled.expect @@ -1,13 +1,7 @@ const String bar = - "hello" - " " - "${String.fromEnvironment("baz", defaultValue: "world")}" - "!"; + "hello" " " "${String.fromEnvironment("baz", defaultValue: "world")}" "!"; -const String bar2 = - "hello2" - " 2" + - bar; +const String bar2 = "hello2" " 2" + bar; const blaSymbol = #_x; diff --git a/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline.expect b/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline.expect index fcc803dff95..ffa4a3b1e47 100644 --- a/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline.expect @@ -1,23 +1,17 @@ oracle([T? t]) => true; -testIfElement( - dynamic dynVar, - List listInt, - List listDouble, - Map mapToInt, - Map mapToDouble, -) {} +testIfElement(dynamic dynVar, List listInt, List listDouble, + Map mapToInt, Map mapToDouble) {} testIfElementErrors(Map map) {} testForElement( - dynamic dynVar, - List listInt, - List listDouble, - int index, - Map mapStringInt, - Map mapStringDouble, -) {} + dynamic dynVar, + List listInt, + List listDouble, + int index, + Map mapStringInt, + Map mapStringDouble) {} testForElementErrors(Map map, List list) async {} diff --git a/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline_modelled.expect index 16010b9c06a..941a3a027fb 100644 --- a/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/control_flow_collection_inference.dart.textual_outline_modelled.expect @@ -9,25 +9,19 @@ main() {} oracle([T? t]) => true; testForElement( - dynamic dynVar, - List listInt, - List listDouble, - int index, - Map mapStringInt, - Map mapStringDouble, -) {} + dynamic dynVar, + List listInt, + List listDouble, + int index, + Map mapStringInt, + Map mapStringDouble) {} testForElementErrors(Map map, List list) async {} testForElementErrorsNotAsync(Stream stream) {} -testIfElement( - dynamic dynVar, - List listInt, - List listDouble, - Map mapToInt, - Map mapToDouble, -) {} +testIfElement(dynamic dynVar, List listInt, List listDouble, + Map mapToInt, Map mapToDouble) {} testIfElementErrors(Map map) {} diff --git a/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline.expect b/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline.expect index 930d82f97e2..8ced9549a87 100644 --- a/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline.expect @@ -8,6 +8,12 @@ class _Enum {} class List {} -enum E { int, Object, String, _Enum, List } +enum E { + int, + Object, + String, + _Enum, + List, +} main() {} diff --git a/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline_modelled.expect index 1fbeae1ccf0..63ae580d8bb 100644 --- a/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/enum_names_from_core.dart.textual_outline_modelled.expect @@ -8,6 +8,12 @@ class _Enum {} class int {} -enum E { int, Object, String, _Enum, List } +enum E { + int, + Object, + String, + _Enum, + List, +} main() {} diff --git a/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline.expect b/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline.expect index eb3483ee995..7cc788cf3c8 100644 --- a/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline.expect @@ -20,8 +20,12 @@ abstract class Key { s(int x, int y) {} int foo; int bar; - Key(int x, int y) : foo = x ^ y, bar = x ^ y {} - Key.NotDuplicate(int x, int y) : foo = x ^ y, bar = x ^ y {} + Key(int x, int y) + : foo = x ^ y, + bar = x ^ y {} + Key.NotDuplicate(int x, int y) + : foo = x ^ y, + bar = x ^ y {} } main() {} diff --git a/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline_modelled.expect index ab4bc4f56e3..25de27c7baf 100644 --- a/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/error_recovery/issue_26810.dart.textual_outline_modelled.expect @@ -1,6 +1,10 @@ abstract class Key { - Key(int x, int y) : foo = x ^ y, bar = x ^ y {} - Key.NotDuplicate(int x, int y) : foo = x ^ y, bar = x ^ y {} + Key(int x, int y) + : foo = x ^ y, + bar = x ^ y {} + Key.NotDuplicate(int x, int y) + : foo = x ^ y, + bar = x ^ y {} int bar; int foo; int get a => runtimeType.hashCode ^ null.hashCode; diff --git a/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline.expect b/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline.expect index 7a33dc75fe1..c9413d2a57c 100644 --- a/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline.expect @@ -9,11 +9,7 @@ class Coordinate extends Struct { external double y; Pointer next; factory Coordinate.allocate( - Allocator allocator, - double x, - double y, - Pointer next, - ) {} + Allocator allocator, double x, double y, Pointer next) {} } main() {} diff --git a/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline_modelled.expect index e74bd375522..5599e80249c 100644 --- a/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/ffi_sample.dart.textual_outline_modelled.expect @@ -8,11 +8,7 @@ class Coordinate extends Struct { @Double() external double y; factory Coordinate.allocate( - Allocator allocator, - double x, - double y, - Pointer next, - ) {} + Allocator allocator, double x, double y, Pointer next) {} } main() {} diff --git a/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline.expect b/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline.expect index a90c19c0bcb..55cbdddf82f 100644 --- a/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline.expect @@ -1,8 +1,5 @@ import 'dart:async'; -Future bar< - T extends Future, - S, - U extends num, - V extends FutureOr ->(T t, S s, U u, V v) async {} +Future + bar, S, U extends num, V extends FutureOr>( + T t, S s, U u, V v) async {} diff --git a/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline_modelled.expect index a90c19c0bcb..55cbdddf82f 100644 --- a/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/flatten_type_variable_bound.dart.textual_outline_modelled.expect @@ -1,8 +1,5 @@ import 'dart:async'; -Future bar< - T extends Future, - S, - U extends num, - V extends FutureOr ->(T t, S s, U u, V v) async {} +Future + bar, S, U extends num, V extends FutureOr>( + T t, S s, U u, V v) async {} diff --git a/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline.expect b/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline.expect index dbd1ce37cb7..455bc69bd80 100644 --- a/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline.expect @@ -28,8 +28,8 @@ typedef G2 = void Function(); typedef G3 = void Function(); -typedef G4 = - void Function(); +typedef G4 = void + Function(); typedef G5 = void Function(); diff --git a/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline_modelled.expect index b0a79157263..519b2e224b0 100644 --- a/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/generic_function_typedef.dart.textual_outline_modelled.expect @@ -30,8 +30,8 @@ typedef G2 = void Function(); typedef G3 = void Function(); -typedef G4 = - void Function(); +typedef G4 = void + Function(); typedef G5 = void Function(); diff --git a/pkg/front_end/testcases/general/having_part_with_part_and_annotation.dart.textual_outline.expect b/pkg/front_end/testcases/general/having_part_with_part_and_annotation.dart.textual_outline.expect index 603f88f8b1c..66f9aa67f8a 100644 --- a/pkg/front_end/testcases/general/having_part_with_part_and_annotation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/having_part_with_part_and_annotation.dart.textual_outline.expect @@ -1,4 +1,5 @@ @Foo + part 'having_part_with_part_and_annotation_lib1.dart'; const int Foo = 42; diff --git a/pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart.textual_outline.expect b/pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart.textual_outline.expect index 4af2617e677..014559d20fc 100644 --- a/pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/having_part_with_parts_and_annotation.dart.textual_outline.expect @@ -1,4 +1,5 @@ @Foo + part 'having_part_with_parts_and_annotation_lib1.dart'; const int Foo = 42; diff --git a/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline.expect b/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline.expect index 47ac9045b2a..1261d68f7e7 100644 --- a/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline.expect @@ -10,18 +10,10 @@ class C extends Object with M1, M2 {} class Direct { void positional(covariant int a, int b, covariant int c, int d, int e) {} - void optional([ - covariant int a = 0, - int b = 0, - covariant int c = 0, - int d = 0, - ]) {} - void named({ - covariant int a = 0, - int b = 0, - covariant int c = 0, - int d = 0, - }) {} + void optional( + [covariant int a = 0, int b = 0, covariant int c = 0, int d = 0]) {} + void named( + {covariant int a = 0, int b = 0, covariant int c = 0, int d = 0}) {} } class Inherited extends Direct {} diff --git a/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline_modelled.expect index b709de9be3d..50993b51cf7 100644 --- a/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/hierarchy/covariance.dart.textual_outline_modelled.expect @@ -5,18 +5,10 @@ abstract class Implement1 { class C extends Object with M1, M2 {} class Direct { - void named({ - covariant int a = 0, - int b = 0, - covariant int c = 0, - int d = 0, - }) {} - void optional([ - covariant int a = 0, - int b = 0, - covariant int c = 0, - int d = 0, - ]) {} + void named( + {covariant int a = 0, int b = 0, covariant int c = 0, int d = 0}) {} + void optional( + [covariant int a = 0, int b = 0, covariant int c = 0, int d = 0]) {} void positional(covariant int a, int b, covariant int c, int d, int e) {} } diff --git a/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline.expect b/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline.expect index a44b4944f33..d64f84c285f 100644 --- a/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline.expect @@ -62,25 +62,24 @@ class C implements A, B { var field17; var field18; C( - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - this.field6, - this.field7, - this.field8, - this.field9, - this.field10, - this.field11, - this.field12, - this.field13, - this.field14, - this.field15, - this.field16, - this.field17, - this.field18, - ); + this.field1, + this.field2, + this.field3, + this.field4, + this.field5, + this.field6, + this.field7, + this.field8, + this.field9, + this.field10, + this.field11, + this.field12, + this.field13, + this.field14, + this.field15, + this.field16, + this.field17, + this.field18); } class D implements A, B { @@ -103,23 +102,22 @@ class D implements A, B { var field17; var field18; D( - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - this.field6, - this.field7, - this.field8, - this.field9, - this.field10, - this.field11, - this.field12, - this.field13, - this.field14, - this.field15, - this.field16, - this.field17, - this.field18, - ); + this.field1, + this.field2, + this.field3, + this.field4, + this.field5, + this.field6, + this.field7, + this.field8, + this.field9, + this.field10, + this.field11, + this.field12, + this.field13, + this.field14, + this.field15, + this.field16, + this.field17, + this.field18); } diff --git a/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline_modelled.expect index 564678c5922..4e0b59f1871 100644 --- a/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/infer_field_from_multiple.dart.textual_outline_modelled.expect @@ -44,25 +44,24 @@ class B { class C implements A, B { C( - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - this.field6, - this.field7, - this.field8, - this.field9, - this.field10, - this.field11, - this.field12, - this.field13, - this.field14, - this.field15, - this.field16, - this.field17, - this.field18, - ); + this.field1, + this.field2, + this.field3, + this.field4, + this.field5, + this.field6, + this.field7, + this.field8, + this.field9, + this.field10, + this.field11, + this.field12, + this.field13, + this.field14, + this.field15, + this.field16, + this.field17, + this.field18); int? field12; int? field14; var field1; @@ -85,25 +84,24 @@ class C implements A, B { class D implements A, B { D( - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - this.field6, - this.field7, - this.field8, - this.field9, - this.field10, - this.field11, - this.field12, - this.field13, - this.field14, - this.field15, - this.field16, - this.field17, - this.field18, - ); + this.field1, + this.field2, + this.field3, + this.field4, + this.field5, + this.field6, + this.field7, + this.field8, + this.field9, + this.field10, + this.field11, + this.field12, + this.field13, + this.field14, + this.field15, + this.field16, + this.field17, + this.field18); T field12; T field14; var field1; diff --git a/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline.expect b/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline.expect index 0772fdd24b3..e1d5d9a570e 100644 --- a/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline.expect @@ -2,7 +2,7 @@ class Class { var map = { 'foo': (String a) { int c = a.length; - }, + } }; } diff --git a/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline_modelled.expect index 0772fdd24b3..e1d5d9a570e 100644 --- a/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/infer_map_literal_with_closure.dart.textual_outline_modelled.expect @@ -2,7 +2,7 @@ class Class { var map = { 'foo': (String a) { int c = a.length; - }, + } }; } diff --git a/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline.expect b/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline.expect index c3036814284..f1eb7f221a9 100644 --- a/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline.expect @@ -1,59 +1,100 @@ class A { int x; - A() : this.x = 41, this.x = 42 {} + A() + : this.x = 41, + this.x = 42 {} } class B { final int x; - B() : this.x = 41, this.x = 42 {} + B() + : this.x = 41, + this.x = 42 {} } class C { final int x = 2; - C() : this.x = 41, this.x = 42 {} + C() + : this.x = 41, + this.x = 42 {} } class D { final int x; final int y; - D() : this.x = 41, this.named(), this.y = 42 {} - D.named() : this.x = 41, this.y = 42 {} + D() + : this.x = 41, + this.named(), + this.y = 42 {} + D.named() + : this.x = 41, + this.y = 42 {} } class E { final int x; final int y; - E() : this.named(), this.x = 1, this.y = 2 {} - E.named() : this.x = 41, this.y = 42 {} - E.named2() : this.x = 1, this.named(), this.y = 2; - E.named3() : super(), this.named(), this.x = 1, this.y = 2; - E.named4() : this.x = 1, this.y = 2, this.named(); - E.named5() : assert(true), this.named(); - E.named6() : this.named(), assert(true); + E() + : this.named(), + this.x = 1, + this.y = 2 {} + E.named() + : this.x = 41, + this.y = 42 {} + E.named2() + : this.x = 1, + this.named(), + this.y = 2; + E.named3() + : super(), + this.named(), + this.x = 1, + this.y = 2; + E.named4() + : this.x = 1, + this.y = 2, + this.named(); + E.named5() + : assert(true), + this.named(); + E.named6() + : this.named(), + assert(true); } class F { - F() : this.named(), super() {} + F() + : this.named(), + super() {} F.named() {} } class G { - G() : super(), this.named(), super() {} + G() + : super(), + this.named(), + super() {} G.named() {} } class H { - H() : this.named(), this.named(); + H() + : this.named(), + this.named(); H.named() {} } class I { - I() : super(), super() {} + I() + : super(), + super() {} } class J { int x; - J() : super(), this.x = 42 {} + J() + : super(), + this.x = 42 {} } main() {} diff --git a/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline_modelled.expect index 6e4744b2be0..f09d803ada7 100644 --- a/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/initialization_errors.dart.textual_outline_modelled.expect @@ -1,58 +1,99 @@ class A { - A() : this.x = 41, this.x = 42 {} + A() + : this.x = 41, + this.x = 42 {} int x; } class B { - B() : this.x = 41, this.x = 42 {} + B() + : this.x = 41, + this.x = 42 {} final int x; } class C { - C() : this.x = 41, this.x = 42 {} + C() + : this.x = 41, + this.x = 42 {} final int x = 2; } class D { - D() : this.x = 41, this.named(), this.y = 42 {} - D.named() : this.x = 41, this.y = 42 {} + D() + : this.x = 41, + this.named(), + this.y = 42 {} + D.named() + : this.x = 41, + this.y = 42 {} final int x; final int y; } class E { - E() : this.named(), this.x = 1, this.y = 2 {} - E.named() : this.x = 41, this.y = 42 {} - E.named2() : this.x = 1, this.named(), this.y = 2; - E.named3() : super(), this.named(), this.x = 1, this.y = 2; - E.named4() : this.x = 1, this.y = 2, this.named(); - E.named5() : assert(true), this.named(); - E.named6() : this.named(), assert(true); + E() + : this.named(), + this.x = 1, + this.y = 2 {} + E.named() + : this.x = 41, + this.y = 42 {} + E.named2() + : this.x = 1, + this.named(), + this.y = 2; + E.named3() + : super(), + this.named(), + this.x = 1, + this.y = 2; + E.named4() + : this.x = 1, + this.y = 2, + this.named(); + E.named5() + : assert(true), + this.named(); + E.named6() + : this.named(), + assert(true); final int x; final int y; } class F { - F() : this.named(), super() {} + F() + : this.named(), + super() {} F.named() {} } class G { - G() : super(), this.named(), super() {} + G() + : super(), + this.named(), + super() {} G.named() {} } class H { - H() : this.named(), this.named(); + H() + : this.named(), + this.named(); H.named() {} } class I { - I() : super(), super() {} + I() + : super(), + super() {} } class J { - J() : super(), this.x = 42 {} + J() + : super(), + this.x = 42 {} int x; } diff --git a/pkg/front_end/testcases/general/issue37027.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue37027.dart.textual_outline.expect index 165aa1135a6..40abec700b9 100644 --- a/pkg/front_end/testcases/general/issue37027.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue37027.dart.textual_outline.expect @@ -1,10 +1,10 @@ class C { final Set s; C(List ell) - : s = { - for (var e in ell) - if (e.isOdd) 2 * e, - }; + : s = { + for (var e in ell) + if (e.isOdd) 2 * e + }; } main() {} diff --git a/pkg/front_end/testcases/general/issue37027.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue37027.dart.textual_outline_modelled.expect index 4521c5ecfa8..4a6b9aa909b 100644 --- a/pkg/front_end/testcases/general/issue37027.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue37027.dart.textual_outline_modelled.expect @@ -1,9 +1,9 @@ class C { C(List ell) - : s = { - for (var e in ell) - if (e.isOdd) 2 * e, - }; + : s = { + for (var e in ell) + if (e.isOdd) 2 * e + }; final Set s; } diff --git a/pkg/front_end/testcases/general/issue47036.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue47036.dart.textual_outline.expect index 821c6c02ac1..7f1cc2aaa19 100644 --- a/pkg/front_end/testcases/general/issue47036.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue47036.dart.textual_outline.expect @@ -4,7 +4,9 @@ class Default { } class Settings { - const factory Settings({@Default(Sidebar()) Sidebar sidebar}) = _SSettings; + const factory Settings({ + @Default(Sidebar()) Sidebar sidebar, + }) = _SSettings; } class Sidebar { diff --git a/pkg/front_end/testcases/general/issue47036.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue47036.dart.textual_outline_modelled.expect index 3f707d3916a..0554393a5d4 100644 --- a/pkg/front_end/testcases/general/issue47036.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue47036.dart.textual_outline_modelled.expect @@ -12,7 +12,9 @@ class Default { } class Settings { - const factory Settings({@Default(Sidebar()) Sidebar sidebar}) = _SSettings; + const factory Settings({ + @Default(Sidebar()) Sidebar sidebar, + }) = _SSettings; } class Sidebar { diff --git a/pkg/front_end/testcases/general/issue47994a.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue47994a.dart.textual_outline.expect index c40fc7c3002..fce1ccfe204 100644 --- a/pkg/front_end/testcases/general/issue47994a.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue47994a.dart.textual_outline.expect @@ -4,7 +4,7 @@ class Const { class BuildAssert { const BuildAssert(bool condition, [Object? message]) - : assert(condition, message); + : assert(condition, message); } const _assert1 = BuildAssert(false); diff --git a/pkg/front_end/testcases/general/issue47994a.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue47994a.dart.textual_outline_modelled.expect index eff8bd165c3..5fb196e05fd 100644 --- a/pkg/front_end/testcases/general/issue47994a.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue47994a.dart.textual_outline_modelled.expect @@ -1,6 +1,6 @@ class BuildAssert { const BuildAssert(bool condition, [Object? message]) - : assert(condition, message); + : assert(condition, message); } class Const { diff --git a/pkg/front_end/testcases/general/issue48148.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue48148.dart.textual_outline.expect index 564d3e56e52..292a66ec7d8 100644 --- a/pkg/front_end/testcases/general/issue48148.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue48148.dart.textual_outline.expect @@ -1,13 +1,17 @@ -const HInvalid invalidExample = HInvalidComposite([ - HInvalidLeaf(0), - HInvalidChild(HInvalidLeaf(0)), - HInvalidError("error message"), -]); +const HInvalid invalidExample = HInvalidComposite( + [ + HInvalidLeaf(0), + HInvalidChild( + HInvalidLeaf(0), + ), + HInvalidError("error message"), + ], +); typedef HInvalid = HBase; -typedef HInvalidComposite = - HBaseComposite; +typedef HInvalidComposite + = HBaseComposite; typedef HInvalidChild = HBaseChild; @@ -20,23 +24,31 @@ abstract class HBase implements Kind {} class HBaseComposite> implements HBase { final List children; - const HBaseComposite(final this.children); + const HBaseComposite( + final this.children, + ); } class HBaseChild> implements HBase { final CHILD child; - const HBaseChild(final this.child); + const HBaseChild( + final this.child, + ); } class HBaseLeaf implements HBase { final int data; - const HBaseLeaf(final this.data); + const HBaseLeaf( + final this.data, + ); } class HBaseError implements HBase { final String errorMessage; - const HBaseError(final this.errorMessage); + const HBaseError( + final this.errorMessage, + ); } abstract class Kind {} diff --git a/pkg/front_end/testcases/general/issue48148.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue48148.dart.textual_outline_modelled.expect index 5a81819983e..c31f3034779 100644 --- a/pkg/front_end/testcases/general/issue48148.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue48148.dart.textual_outline_modelled.expect @@ -10,31 +10,43 @@ abstract class Kind {} class HBaseChild> implements HBase { - const HBaseChild(final this.child); + const HBaseChild( + final this.child, + ); final CHILD child; } class HBaseComposite> implements HBase { - const HBaseComposite(final this.children); + const HBaseComposite( + final this.children, + ); final List children; } class HBaseError implements HBase { - const HBaseError(final this.errorMessage); + const HBaseError( + final this.errorMessage, + ); final String errorMessage; } class HBaseLeaf implements HBase { - const HBaseLeaf(final this.data); + const HBaseLeaf( + final this.data, + ); final int data; } -const HInvalid invalidExample = HInvalidComposite([ - HInvalidLeaf(0), - HInvalidChild(HInvalidLeaf(0)), - HInvalidError("error message"), -]); +const HInvalid invalidExample = HInvalidComposite( + [ + HInvalidLeaf(0), + HInvalidChild( + HInvalidLeaf(0), + ), + HInvalidError("error message"), + ], +); main() {} @@ -42,8 +54,8 @@ typedef HInvalid = HBase; typedef HInvalidChild = HBaseChild; -typedef HInvalidComposite = - HBaseComposite; +typedef HInvalidComposite + = HBaseComposite; typedef HInvalidError = HBaseError; diff --git a/pkg/front_end/testcases/general/issue54267b.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue54267b.dart.textual_outline.expect index 6b0a59622e4..ccf8fdc6818 100644 --- a/pkg/front_end/testcases/general/issue54267b.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue54267b.dart.textual_outline.expect @@ -7,6 +7,6 @@ enum A { } int fn(A a) => switch (a) { - A.a => 0, - A.b => 1, -}; + A.a => 0, + A.b => 1, + }; diff --git a/pkg/front_end/testcases/general/issue54267b.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue54267b.dart.textual_outline_modelled.expect index 6b0a59622e4..ccf8fdc6818 100644 --- a/pkg/front_end/testcases/general/issue54267b.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue54267b.dart.textual_outline_modelled.expect @@ -7,6 +7,6 @@ enum A { } int fn(A a) => switch (a) { - A.a => 0, - A.b => 1, -}; + A.a => 0, + A.b => 1, + }; diff --git a/pkg/front_end/testcases/general/issue54489.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue54489.dart.textual_outline.expect index bc52fbdcaf9..5666bf11ec1 100644 --- a/pkg/front_end/testcases/general/issue54489.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue54489.dart.textual_outline.expect @@ -2,5 +2,5 @@ void main() {} class Chk { const Chk(Object? v, {required Object? id}) - : assert(identical(v, id), "Not identical${(v, id: id)}"); + : assert(identical(v, id), "Not identical${(v, id: id)}"); } diff --git a/pkg/front_end/testcases/general/issue54489.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue54489.dart.textual_outline_modelled.expect index 7691a051d8d..fa15c19b0b4 100644 --- a/pkg/front_end/testcases/general/issue54489.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue54489.dart.textual_outline_modelled.expect @@ -1,6 +1,6 @@ class Chk { const Chk(Object? v, {required Object? id}) - : assert(identical(v, id), "Not identical${(v, id: id)}"); + : assert(identical(v, id), "Not identical${(v, id: id)}"); } void main() {} diff --git a/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline.expect index ac70ca369e1..3f01a68602d 100644 --- a/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline.expect @@ -14,18 +14,10 @@ class B extends A { typedef TA = A; -test( - @TA.redir() int x, - @TA.named() int x2, - @A.redir() int x3, - @A.selfRedir() int x4, -) {} +test(@TA.redir() int x, @TA.named() int x2, @A.redir() int x3, + @A.selfRedir() int x4) {} class Test { - test( - @TA.redir() int x, - @TA.named() int x2, - @A.redir() int x3, - @A.selfRedir() int x4, - ) {} + test(@TA.redir() int x, @TA.named() int x2, @A.redir() int x3, + @A.selfRedir() int x4) {} } diff --git a/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline_modelled.expect index 6346a041563..66ad8eeee01 100644 --- a/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue55152_2.dart.textual_outline_modelled.expect @@ -13,19 +13,11 @@ class B extends A { } class Test { - test( - @TA.redir() int x, - @TA.named() int x2, - @A.redir() int x3, - @A.selfRedir() int x4, - ) {} + test(@TA.redir() int x, @TA.named() int x2, @A.redir() int x3, + @A.selfRedir() int x4) {} } -test( - @TA.redir() int x, - @TA.named() int x2, - @A.redir() int x3, - @A.selfRedir() int x4, -) {} +test(@TA.redir() int x, @TA.named() int x2, @A.redir() int x3, + @A.selfRedir() int x4) {} typedef TA = A; diff --git a/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline.expect index b9e9124093d..dd26a8a3168 100644 --- a/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline.expect @@ -1,7 +1,7 @@ class Class { - const Class.named({ - dynamic x = (({dynamic y = const [Alias2.impl()]}) => const [Alias.impl()]), - }); + const Class.named( + {dynamic x = (({dynamic y = const [Alias2.impl()]}) => + const [Alias.impl()])}); } typedef Alias = Const; diff --git a/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline_modelled.expect index 26592f4c362..ae8738786f2 100644 --- a/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue55152_3.dart.textual_outline_modelled.expect @@ -3,9 +3,9 @@ abstract class Const { } class Class { - const Class.named({ - dynamic x = (({dynamic y = const [Alias2.impl()]}) => const [Alias.impl()]), - }); + const Class.named( + {dynamic x = (({dynamic y = const [Alias2.impl()]}) => + const [Alias.impl()])}); } class _ConstImpl implements Const { diff --git a/pkg/front_end/testcases/general/issue_49132.dart.textual_outline.expect b/pkg/front_end/testcases/general/issue_49132.dart.textual_outline.expect index 43d98c64e63..b068215cc4b 100644 --- a/pkg/front_end/testcases/general/issue_49132.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/issue_49132.dart.textual_outline.expect @@ -1,12 +1,28 @@ class Foo { dynamic x; dynamic y; - Foo.foo1(dynamic a, dynamic b) : x = a as int, y = b as int?; - Foo.foo2(dynamic a, dynamic b) : x = a is int, y = b is int?; - Foo.foo3(dynamic a, dynamic b) : x = a as int?, y = b as int; - Foo.foo4(dynamic a, dynamic b) : x = a is int?, y = b is int; - Foo.bar1(dynamic a, dynamic b) : x = a as int, y = b as int? {} - Foo.bar2(dynamic a, dynamic b) : x = a is int, y = b is int? {} - Foo.bar3(dynamic a, dynamic b) : x = a as int?, y = b as int {} - Foo.bar4(dynamic a, dynamic b) : x = a is int?, y = b is int {} + Foo.foo1(dynamic a, dynamic b) + : x = a as int, + y = b as int?; + Foo.foo2(dynamic a, dynamic b) + : x = a is int, + y = b is int?; + Foo.foo3(dynamic a, dynamic b) + : x = a as int?, + y = b as int; + Foo.foo4(dynamic a, dynamic b) + : x = a is int?, + y = b is int; + Foo.bar1(dynamic a, dynamic b) + : x = a as int, + y = b as int? {} + Foo.bar2(dynamic a, dynamic b) + : x = a is int, + y = b is int? {} + Foo.bar3(dynamic a, dynamic b) + : x = a as int?, + y = b as int {} + Foo.bar4(dynamic a, dynamic b) + : x = a is int?, + y = b is int {} } diff --git a/pkg/front_end/testcases/general/issue_49132.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/issue_49132.dart.textual_outline_modelled.expect index ecf07c8265e..428fba91879 100644 --- a/pkg/front_end/testcases/general/issue_49132.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/issue_49132.dart.textual_outline_modelled.expect @@ -1,12 +1,28 @@ class Foo { - Foo.bar1(dynamic a, dynamic b) : x = a as int, y = b as int? {} - Foo.bar2(dynamic a, dynamic b) : x = a is int, y = b is int? {} - Foo.bar3(dynamic a, dynamic b) : x = a as int?, y = b as int {} - Foo.bar4(dynamic a, dynamic b) : x = a is int?, y = b is int {} - Foo.foo1(dynamic a, dynamic b) : x = a as int, y = b as int?; - Foo.foo2(dynamic a, dynamic b) : x = a is int, y = b is int?; - Foo.foo3(dynamic a, dynamic b) : x = a as int?, y = b as int; - Foo.foo4(dynamic a, dynamic b) : x = a is int?, y = b is int; + Foo.bar1(dynamic a, dynamic b) + : x = a as int, + y = b as int? {} + Foo.bar2(dynamic a, dynamic b) + : x = a is int, + y = b is int? {} + Foo.bar3(dynamic a, dynamic b) + : x = a as int?, + y = b as int {} + Foo.bar4(dynamic a, dynamic b) + : x = a is int?, + y = b is int {} + Foo.foo1(dynamic a, dynamic b) + : x = a as int, + y = b as int?; + Foo.foo2(dynamic a, dynamic b) + : x = a is int, + y = b is int?; + Foo.foo3(dynamic a, dynamic b) + : x = a as int?, + y = b as int; + Foo.foo4(dynamic a, dynamic b) + : x = a is int?, + y = b is int; dynamic x; dynamic y; } diff --git a/pkg/front_end/testcases/general/nested_variance.dart.textual_outline.expect b/pkg/front_end/testcases/general/nested_variance.dart.textual_outline.expect index 09f34dce920..db6064c9ba3 100644 --- a/pkg/front_end/testcases/general/nested_variance.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/nested_variance.dart.textual_outline.expect @@ -46,20 +46,14 @@ typedef FconCyclicCoBound = Function(X); typedef FinvCyclicCoBound = X Function(X); -class AcovCyclicCoBound< - X extends FcovCyclicCoBound, - Y extends Function(Y) -> {} +class AcovCyclicCoBound, + Y extends Function(Y)> {} -class AconCyclicCoBound< - X extends FconCyclicCoBound, - Y extends Function(Y) -> {} +class AconCyclicCoBound, + Y extends Function(Y)> {} -class AinvCyclicCoBound< - X extends FinvCyclicCoBound, - Y extends Function(Y) -> {} +class AinvCyclicCoBound, + Y extends Function(Y)> {} class B {} diff --git a/pkg/front_end/testcases/general/nested_variance.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/nested_variance.dart.textual_outline_modelled.expect index c4473e9cb8b..7aba9119779 100644 --- a/pkg/front_end/testcases/general/nested_variance.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/nested_variance.dart.textual_outline_modelled.expect @@ -8,10 +8,8 @@ class AconBound, Y extends num> {} class AconCyclicBound, Y extends A> {} -class AconCyclicCoBound< - X extends FconCyclicCoBound, - Y extends Function(Y) -> {} +class AconCyclicCoBound, + Y extends Function(Y)> {} class Acov, Y> {} @@ -19,10 +17,8 @@ class AcovBound, Y extends num> {} class AcovCyclicBound, Y extends A> {} -class AcovCyclicCoBound< - X extends FcovCyclicCoBound, - Y extends Function(Y) -> {} +class AcovCyclicCoBound, + Y extends Function(Y)> {} class Ainv, Y> {} @@ -30,10 +26,8 @@ class AinvBound, Y extends num> {} class AinvCyclicBound, Y extends A> {} -class AinvCyclicCoBound< - X extends FinvCyclicCoBound, - Y extends Function(Y) -> {} +class AinvCyclicCoBound, + Y extends Function(Y)> {} class B {} diff --git a/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline.expect b/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline.expect index 92793e51d73..9c7f737c56f 100644 --- a/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline.expect @@ -1,19 +1,19 @@ class C { C(this.field1) - : field2 = (() => field1), - field3 = ((T t) {}), - field4 = ((T t) => t), - field5 = (() => () => field1), - field6 = ((T Function() f) {}), - field7 = ((T Function() f) => field1), - field8 = ((void Function(T) f) {}), - field9 = ((void Function(T) f) => field1), - field10 = ((T Function(T) f) {}), - field11 = ((T Function(T) f) => field1), - field12 = () => throw '', - field13 = (S s) {}, - field14 = (S s) => s, - field15 = ((S Function() f) {}); + : field2 = (() => field1), + field3 = ((T t) {}), + field4 = ((T t) => t), + field5 = (() => () => field1), + field6 = ((T Function() f) {}), + field7 = ((T Function() f) => field1), + field8 = ((void Function(T) f) {}), + field9 = ((void Function(T) f) => field1), + field10 = ((T Function(T) f) {}), + field11 = ((T Function(T) f) => field1), + field12 = () => throw '', + field13 = (S s) {}, + field14 = (S s) => s, + field15 = ((S Function() f) {}); T field1; T Function() field2; void Function(T) field3; diff --git a/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline_modelled.expect index f7cb63a6622..f9b68a1b600 100644 --- a/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/non_covariant_checks.dart.textual_outline_modelled.expect @@ -1,19 +1,19 @@ class C { C(this.field1) - : field2 = (() => field1), - field3 = ((T t) {}), - field4 = ((T t) => t), - field5 = (() => () => field1), - field6 = ((T Function() f) {}), - field7 = ((T Function() f) => field1), - field8 = ((void Function(T) f) {}), - field9 = ((void Function(T) f) => field1), - field10 = ((T Function(T) f) {}), - field11 = ((T Function(T) f) => field1), - field12 = () => throw '', - field13 = (S s) {}, - field14 = (S s) => s, - field15 = ((S Function() f) {}); + : field2 = (() => field1), + field3 = ((T t) {}), + field4 = ((T t) => t), + field5 = (() => () => field1), + field6 = ((T Function() f) {}), + field7 = ((T Function() f) => field1), + field8 = ((void Function(T) f) {}), + field9 = ((void Function(T) f) => field1), + field10 = ((T Function(T) f) {}), + field11 = ((T Function(T) f) => field1), + field12 = () => throw '', + field13 = (S s) {}, + field14 = (S s) => s, + field15 = ((S Function() f) {}); S Function() field12; S Function() get getter12 => field12; S Function(S) field14; diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline.expect index 2151ebbc0ad..e119d57e1e9 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline.expect @@ -1,4 +1,5 @@ @Const() + library name; @Const() @@ -47,12 +48,12 @@ class Class<@Const() T> { } @Const() -typedef Typedef1<@Const() T> = - Function<@Const() T>(@Const() Class, [@Const() Class]); +typedef Typedef1<@Const() T> = Function<@Const() T>(@Const() Class, + [@Const() Class]); @Const() -typedef Typedef2<@Const() T> = - Function<@Const() T>(@Const() Class, {@Const() Class o2}); +typedef Typedef2<@Const() T> = Function<@Const() T>(@Const() Class, + {@Const() Class o2}); @Const() typedef void Typedef3<@Const() T>(@Const() var o1, [@Const() var o2]); diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline_modelled.expect index 3c5ae23dea2..e9c60cae3db 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.textual_outline_modelled.expect @@ -56,12 +56,12 @@ method1<@Const() T>(@Const() var o1, [@Const() var o2]) {} method2<@Const() T>(@Const() var o1, {@Const() var o2}) {} @Const() -typedef Typedef1<@Const() T> = - Function<@Const() T>(@Const() Class, [@Const() Class]); +typedef Typedef1<@Const() T> = Function<@Const() T>(@Const() Class, + [@Const() Class]); @Const() -typedef Typedef2<@Const() T> = - Function<@Const() T>(@Const() Class, {@Const() Class o2}); +typedef Typedef2<@Const() T> = Function<@Const() T>(@Const() Class, + {@Const() Class o2}); @Const() typedef void Typedef3<@Const() T>(@Const() var o1, [@Const() var o2]); diff --git a/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline.expect b/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline.expect index 188efcec852..5548e992563 100644 --- a/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline.expect @@ -5,7 +5,10 @@ class Super { class Class extends Super { bool field; - Class(bool value) : assert(property), this.field = property, super(property); + Class(bool value) + : assert(property), + this.field = property, + super(property); Class.redirect() : this(property); } diff --git a/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline_modelled.expect index ecf5b5e9963..b009d58b30c 100644 --- a/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/super_access_in_initializer.dart.textual_outline_modelled.expect @@ -1,5 +1,8 @@ class Class extends Super { - Class(bool value) : assert(property), this.field = property, super(property); + Class(bool value) + : assert(property), + this.field = property, + super(property); Class.redirect() : this(property); bool field; } diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline.expect index a0f2294a037..46cd37ddbb8 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline.expect @@ -18,9 +18,8 @@ class Class4 { class Class5 { late final field2 = Class4(); - late final field3 = getter1.method1( - (o) => o != null ? field2[o.field1] : null, - ); + late final field3 = + getter1.method1((o) => o != null ? field2[o.field1] : null); method2() {} Class2 get getter1 => throw ''; } diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline_modelled.expect index 1c202794186..a488bf6acfc 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.textual_outline_modelled.expect @@ -13,9 +13,8 @@ class Class4 { class Class5 { Class2 get getter1 => throw ''; late final field2 = Class4(); - late final field3 = getter1.method1( - (o) => o != null ? field2[o.field1] : null, - ); + late final field3 = + getter1.method1((o) => o != null ? field2[o.field1] : null); method2() {} } diff --git a/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline.expect b/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline.expect index 052fb056fcf..938fa74f2a3 100644 --- a/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline.expect @@ -31,31 +31,29 @@ typedef FinvCyclicCoBound = X Function(X); class B {} void testTopLevel( - Fcov source1, - Fcon source2, - Finv source3, - FcovBound source4, - FconBound source5, - FinvBound source6, - FcovCyclicBound source7, - FconCyclicBound source8, - FcovCyclicCoBound source10, - FconCyclicCoBound source11, - FinvCyclicCoBound source12, -) {} + Fcov source1, + Fcon source2, + Finv source3, + FcovBound source4, + FconBound source5, + FinvBound source6, + FcovCyclicBound source7, + FconCyclicBound source8, + FcovCyclicCoBound source10, + FconCyclicCoBound source11, + FinvCyclicCoBound source12) {} void testNested( - B source1, - B source2, - B source3, - B source4, - B source5, - B source6, - B source7, - B source8, - B source10, - B source11, - B source12, -) {} + B source1, + B source2, + B source3, + B source4, + B source5, + B source6, + B source7, + B source8, + B source10, + B source11, + B source12) {} main() {} diff --git a/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline_modelled.expect index 0811144872f..e12177cb58b 100644 --- a/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/top_level_variance.dart.textual_outline_modelled.expect @@ -33,29 +33,27 @@ typedef FinvCyclicBound> = X Function(X); typedef FinvCyclicCoBound = X Function(X); void testNested( - B source1, - B source2, - B source3, - B source4, - B source5, - B source6, - B source7, - B source8, - B source10, - B source11, - B source12, -) {} + B source1, + B source2, + B source3, + B source4, + B source5, + B source6, + B source7, + B source8, + B source10, + B source11, + B source12) {} void testTopLevel( - Fcov source1, - Fcon source2, - Finv source3, - FcovBound source4, - FconBound source5, - FinvBound source6, - FcovCyclicBound source7, - FconCyclicBound source8, - FcovCyclicCoBound source10, - FconCyclicCoBound source11, - FinvCyclicCoBound source12, -) {} + Fcov source1, + Fcon source2, + Finv source3, + FcovBound source4, + FconBound source5, + FinvBound source6, + FcovCyclicBound source7, + FconCyclicBound source8, + FcovCyclicCoBound source10, + FconCyclicCoBound source11, + FinvCyclicCoBound source12) {} diff --git a/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline.expect b/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline.expect index b13e2f1a01e..bacfb0ebe3b 100644 --- a/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline.expect @@ -5,7 +5,10 @@ var x = 42; var y = 42; class C { - operator []=(x, y) {} + operator []=( + x, + y, + ) {} } main() {} diff --git a/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline_modelled.expect index ca10f324cce..4debe48ec96 100644 --- a/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/trailing_comma2.dart.textual_outline_modelled.expect @@ -3,7 +3,10 @@ class Bad { } class C { - operator []=(x, y) {} + operator []=( + x, + y, + ) {} } main() {} diff --git a/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline.expect b/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline.expect index bdf65cb2ad8..35263ba1a2c 100644 --- a/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline.expect @@ -13,28 +13,16 @@ class NumClass { num method2() => field1 + field2.length; } -class Class< - X5 extends X4, - X4 extends X3, - X3 extends X2, - X2 extends X1, - X1 extends X0, - X0 extends int -> { +class Class { X0 field0; X1 field1; X2 field2; X3 field3; X4 field4; X5 field5; - Class( - this.field0, - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - ); + Class(this.field0, this.field1, this.field2, this.field3, this.field4, + this.field5); method() {} } diff --git a/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline_modelled.expect index 591abb19bff..4c4a9d8b057 100644 --- a/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/general/type_variable_bound_access.dart.textual_outline_modelled.expect @@ -1,19 +1,7 @@ -class Class< - X5 extends X4, - X4 extends X3, - X3 extends X2, - X2 extends X1, - X1 extends X0, - X0 extends int -> { - Class( - this.field0, - this.field1, - this.field2, - this.field3, - this.field4, - this.field5, - ); +class Class { + Class(this.field0, this.field1, this.field2, this.field3, this.field4, + this.field5); X0 field0; X1 field1; X2 field2; diff --git a/pkg/front_end/testcases/inference/async_await.dart.textual_outline.expect b/pkg/front_end/testcases/inference/async_await.dart.textual_outline.expect index e4849705e82..e95fbab191e 100644 --- a/pkg/front_end/testcases/inference/async_await.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/async_await.dart.textual_outline.expect @@ -5,16 +5,15 @@ import 'dart:async'; abstract class MyFuture implements Future {} void test( - int x0, - Future x1, - Future> x2, - Future> x3, - Future x4, - FutureOr x5, - FutureOr> x6, - FutureOr> x7, - FutureOr x8, - MyFuture x9, -) async {} + int x0, + Future x1, + Future> x2, + Future> x3, + Future x4, + FutureOr x5, + FutureOr> x6, + FutureOr> x7, + FutureOr x8, + MyFuture x9) async {} main() {} diff --git a/pkg/front_end/testcases/inference/async_await.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/async_await.dart.textual_outline_modelled.expect index 41291fa17df..afdb40ea6d7 100644 --- a/pkg/front_end/testcases/inference/async_await.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/async_await.dart.textual_outline_modelled.expect @@ -7,14 +7,13 @@ abstract class MyFuture implements Future {} main() {} void test( - int x0, - Future x1, - Future> x2, - Future> x3, - Future x4, - FutureOr x5, - FutureOr> x6, - FutureOr> x7, - FutureOr x8, - MyFuture x9, -) async {} + int x0, + Future x1, + Future> x2, + Future> x3, + Future x4, + FutureOr x5, + FutureOr> x6, + FutureOr> x7, + FutureOr x8, + MyFuture x9) async {} diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline.expect b/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline.expect index 5b7460c8b19..194b357de07 100644 --- a/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline.expect @@ -1,9 +1,8 @@ library test; -void foo([ - Map m1 = const {1: "hello"}, - Map m2 = const {"hello": "world"}, -]) {} +void foo( + [Map m1 = const {1: "hello"}, + Map m2 = const {"hello": "world"}]) {} void test() {} diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline_modelled.expect index 1ee93437899..ae8b71aa700 100644 --- a/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.textual_outline_modelled.expect @@ -2,9 +2,8 @@ library test; main() {} -void foo([ - Map m1 = const {1: "hello"}, - Map m2 = const {"hello": "world"}, -]) {} +void foo( + [Map m1 = const {1: "hello"}, + Map m2 = const {"hello": "world"}]) {} void test() {} diff --git a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline.expect b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline.expect index 7c609f75247..ab2bd611e81 100644 --- a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline.expect @@ -4,7 +4,7 @@ class C { static var x = 'x'; var y = { 'a': {'b': 'c'}, - 'd': {'e': x}, + 'd': {'e': x} }; } diff --git a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline_modelled.expect index 7c609f75247..ab2bd611e81 100644 --- a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_static_field_complex.dart.textual_outline_modelled.expect @@ -4,7 +4,7 @@ class C { static var x = 'x'; var y = { 'a': {'b': 'c'}, - 'd': {'e': x}, + 'd': {'e': x} }; } diff --git a/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline.expect b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline.expect index 9d2a82e085e..6f05cf3c553 100644 --- a/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline.expect @@ -6,10 +6,9 @@ class A { void m() {} } -var v = - new A() - ..a = 1 - ..b.add(2) - ..m(); +var v = new A() + ..a = 1 + ..b.add(2) + ..m(); main() {} diff --git a/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline_modelled.expect index d4184a4a33d..c2171410517 100644 --- a/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/inferred_type_cascade.dart.textual_outline_modelled.expect @@ -8,8 +8,7 @@ class A { main() {} -var v = - new A() - ..a = 1 - ..b.add(2) - ..m(); +var v = new A() + ..a = 1 + ..b.add(2) + ..m(); diff --git a/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline.expect b/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline.expect index 93eecda87de..925119fcc0b 100644 --- a/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline.expect @@ -1,9 +1,6 @@ library test; void _mergeSort( - T Function(T) list, - int compare(T a, T b), - T Function(T) target, -) {} + T Function(T) list, int compare(T a, T b), T Function(T) target) {} main() {} diff --git a/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline_modelled.expect index d4bd28bb949..785369df007 100644 --- a/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/recursive_generic_function.dart.textual_outline_modelled.expect @@ -3,7 +3,4 @@ library test; main() {} void _mergeSort( - T Function(T) list, - int compare(T a, T b), - T Function(T) target, -) {} + T Function(T) list, int compare(T a, T b), T Function(T) target) {} diff --git a/pkg/front_end/testcases/inference/string_literal.dart.textual_outline.expect b/pkg/front_end/testcases/inference/string_literal.dart.textual_outline.expect index 501e90343e4..c2dc78ebfe5 100644 --- a/pkg/front_end/testcases/inference/string_literal.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference/string_literal.dart.textual_outline.expect @@ -6,8 +6,6 @@ var a = 'aaa'; var b = 'b ${x} bb'; -var c = - 'c ${x} cc' - 'ccc'; +var c = 'c ${x} cc' 'ccc'; main() {} diff --git a/pkg/front_end/testcases/inference/string_literal.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference/string_literal.dart.textual_outline_modelled.expect index 9658aecc70b..1eff75a93b4 100644 --- a/pkg/front_end/testcases/inference/string_literal.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference/string_literal.dart.textual_outline_modelled.expect @@ -6,8 +6,6 @@ var a = 'aaa'; var b = 'b ${x} bb'; -var c = - 'c ${x} cc' - 'ccc'; +var c = 'c ${x} cc' 'ccc'; var x = 1; diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline.expect index 104f26fe1dc..20ecda59351 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline.expect @@ -1,22 +1,18 @@ testLaterUnnamedParameter(void Function(T, void Function(T)) f) {} testLaterUnnamedParameterDependsOnNamedParameter( - void Function(void Function(T), {required T a}) f, -) {} + void Function(void Function(T), {required T a}) f) {} testEarlierUnnamedParameter(void Function(void Function(T), T) f) {} testLaterNamedParameter( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} testEarlierNamedParameter( - void Function({required void Function(T) a, required T b}) f, -) {} + void Function({required void Function(T) a, required T b}) f) {} testEarlierNamedParameterDependsOnUnnamedParameter( - void Function(T b, {required void Function(T) a}) f, -) {} + void Function(T b, {required void Function(T) a}) f) {} testPropagateToReturnType(U Function(T, U Function(T)) f) {} @@ -25,50 +21,43 @@ testFold(List list) {} testClosureAsParameterType(U Function(T, U Function(T)) f) {} testPropagateToEarlierClosure( - U Function(U Function(T), T Function()) f, -) {} + U Function(U Function(T), T Function()) f) {} testPropagateToLaterClosure(U Function(T Function(), U Function(T)) f) {} testLongDependencyChain( - V Function(T Function(), U Function(T), V Function(U)) f, -) {} + V Function(T Function(), U Function(T), V Function(U)) f) {} testDependencyCycle(Map Function(T Function(U), U Function(T)) f) {} testNecessaryDueToWrongExplicitParameterType(List list) {} testPropagateFromContravariantReturnType( - U Function(void Function(T) Function(), U Function(T)) f, -) {} + U Function(void Function(T) Function(), U Function(T)) f) {} testPropagateToContravariantParameterType( - U Function(T Function(), U Function(void Function(T))) f, -) {} + U Function(T Function(), U Function(void Function(T))) f) {} testReturnTypeRefersToMultipleTypeVars( - void Function(Map Function(), void Function(T), void Function(U)) - f, -) {} + void Function( + Map Function(), void Function(T), void Function(U)) + f) {} testUnnecessaryDueToNoDependency(T Function(T Function(), T) f) {} testUnnecessaryDueToExplicitParameterType(List list) {} testUnnecessaryDueToExplicitParameterTypeNamed( - T Function(T, T Function({required T x, required int y})) f, -) {} + T Function(T, T Function({required T x, required int y})) f) {} testParenthesized(void Function(T, void Function(T)) f) {} testParenthesizedNamed( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} testParenthesizedTwice(void Function(T, void Function(T)) f) {} testParenthesizedTwiceNamed( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} main() {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline_modelled.expect index 79307291b12..3afead07561 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference.dart.textual_outline_modelled.expect @@ -5,70 +5,59 @@ testClosureAsParameterType(U Function(T, U Function(T)) f) {} testDependencyCycle(Map Function(T Function(U), U Function(T)) f) {} testEarlierNamedParameter( - void Function({required void Function(T) a, required T b}) f, -) {} + void Function({required void Function(T) a, required T b}) f) {} testEarlierNamedParameterDependsOnUnnamedParameter( - void Function(T b, {required void Function(T) a}) f, -) {} + void Function(T b, {required void Function(T) a}) f) {} testEarlierUnnamedParameter(void Function(void Function(T), T) f) {} testFold(List list) {} testLaterNamedParameter( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} testLaterUnnamedParameter(void Function(T, void Function(T)) f) {} testLaterUnnamedParameterDependsOnNamedParameter( - void Function(void Function(T), {required T a}) f, -) {} + void Function(void Function(T), {required T a}) f) {} testLongDependencyChain( - V Function(T Function(), U Function(T), V Function(U)) f, -) {} + V Function(T Function(), U Function(T), V Function(U)) f) {} testNecessaryDueToWrongExplicitParameterType(List list) {} testParenthesized(void Function(T, void Function(T)) f) {} testParenthesizedNamed( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} testParenthesizedTwice(void Function(T, void Function(T)) f) {} testParenthesizedTwiceNamed( - void Function({required T a, required void Function(T) b}) f, -) {} + void Function({required T a, required void Function(T) b}) f) {} testPropagateFromContravariantReturnType( - U Function(void Function(T) Function(), U Function(T)) f, -) {} + U Function(void Function(T) Function(), U Function(T)) f) {} testPropagateToContravariantParameterType( - U Function(T Function(), U Function(void Function(T))) f, -) {} + U Function(T Function(), U Function(void Function(T))) f) {} testPropagateToEarlierClosure( - U Function(U Function(T), T Function()) f, -) {} + U Function(U Function(T), T Function()) f) {} testPropagateToLaterClosure(U Function(T Function(), U Function(T)) f) {} testPropagateToReturnType(U Function(T, U Function(T)) f) {} testReturnTypeRefersToMultipleTypeVars( - void Function(Map Function(), void Function(T), void Function(U)) - f, -) {} + void Function( + Map Function(), void Function(T), void Function(U)) + f) {} testUnnecessaryDueToExplicitParameterType(List list) {} testUnnecessaryDueToExplicitParameterTypeNamed( - T Function(T, T Function({required T x, required int y})) f, -) {} + T Function(T, T Function({required T x, required int y})) f) {} testUnnecessaryDueToNoDependency(T Function(T Function(), T) f) {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline.expect index b4850bece07..8b8dc421241 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline.expect @@ -42,57 +42,47 @@ testParenthesizedTwiceNamed(int i) {} extension on int { T _laterUnnamedParameter(T x, void Function(T) y) => throw ''; - void _laterUnnamedParameterDependsOnNamedParameter( - void Function(T) x, { - required T a, - }) => throw ''; + void _laterUnnamedParameterDependsOnNamedParameter(void Function(T) x, + {required T a}) => + throw ''; void _earlierUnnamedParameter(void Function(T) x, T y) => throw ''; void _laterNamedParameter({required T a, required void Function(T) b}) => throw ''; void _earlierNamedParameter({required void Function(T) a, required T b}) => throw ''; - void _earlierNamedParameterDependsOnUnnamedParameter( - T b, { - required void Function(T) a, - }) => throw ''; + void _earlierNamedParameterDependsOnUnnamedParameter(T b, + {required void Function(T) a}) => + throw ''; U _propagateToReturnType(T x, U Function(T) y) => throw ''; U _closureAsParameterType(T x, U Function(T) y) => throw ''; U _propagateToEarlierClosure(U Function(T) x, T Function() y) => throw ''; U _propagateToLaterClosure(T Function() x, U Function(T) y) => throw ''; V _longDependencyChain( - T Function() x, - U Function(T) y, - V Function(U) z, - ) => throw ''; + T Function() x, U Function(T) y, V Function(U) z) => + throw ''; Map _dependencyCycle(T Function(U) x, U Function(T) y) => throw ''; U _propagateFromContravariantReturnType( - void Function(T) Function() x, - U Function(T) y, - ) => throw ''; + void Function(T) Function() x, U Function(T) y) => + throw ''; U _propagateToContravariantParameterType( - T Function() x, - U Function(void Function(T)) y, - ) => throw ''; + T Function() x, U Function(void Function(T)) y) => + throw ''; void _returnTypeRefersToMultipleTypeVars( - Map Function() x, - void Function(T) y, - void Function(U) z, - ) => throw ''; + Map Function() x, void Function(T) y, void Function(U) z) => + throw ''; T _unnecessaryDueToNoDependency(T Function() x, T y) => throw ''; T _unnecessaryDueToExplicitParameterTypeNamed( - T x, - T Function({required T x, required int y}) y, - ) => throw ''; + T x, T Function({required T x, required int y}) y) => + throw ''; void _parenthesized(T x, void Function(T) y) => throw ''; void _parenthesizedNamed({required T a, required void Function(T) b}) => throw ''; void _parenthesizedTwice(T x, void Function(T) y) => throw ''; - void _parenthesizedTwiceNamed({ - required T a, - required void Function(T) b, - }) => throw ''; + void _parenthesizedTwiceNamed( + {required T a, required void Function(T) b}) => + throw ''; } main() {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline_modelled.expect index 2fee39f8a40..03d2cb8c917 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.textual_outline_modelled.expect @@ -3,54 +3,44 @@ extension on int { throw ''; T _laterUnnamedParameter(T x, void Function(T) y) => throw ''; T _unnecessaryDueToExplicitParameterTypeNamed( - T x, - T Function({required T x, required int y}) y, - ) => throw ''; + T x, T Function({required T x, required int y}) y) => + throw ''; T _unnecessaryDueToNoDependency(T Function() x, T y) => throw ''; U _closureAsParameterType(T x, U Function(T) y) => throw ''; U _propagateFromContravariantReturnType( - void Function(T) Function() x, - U Function(T) y, - ) => throw ''; + void Function(T) Function() x, U Function(T) y) => + throw ''; U _propagateToContravariantParameterType( - T Function() x, - U Function(void Function(T)) y, - ) => throw ''; + T Function() x, U Function(void Function(T)) y) => + throw ''; U _propagateToEarlierClosure(U Function(T) x, T Function() y) => throw ''; U _propagateToLaterClosure(T Function() x, U Function(T) y) => throw ''; U _propagateToReturnType(T x, U Function(T) y) => throw ''; V _longDependencyChain( - T Function() x, - U Function(T) y, - V Function(U) z, - ) => throw ''; + T Function() x, U Function(T) y, V Function(U) z) => + throw ''; void _earlierNamedParameter({required void Function(T) a, required T b}) => throw ''; - void _earlierNamedParameterDependsOnUnnamedParameter( - T b, { - required void Function(T) a, - }) => throw ''; + void _earlierNamedParameterDependsOnUnnamedParameter(T b, + {required void Function(T) a}) => + throw ''; void _earlierUnnamedParameter(void Function(T) x, T y) => throw ''; void _laterNamedParameter({required T a, required void Function(T) b}) => throw ''; - void _laterUnnamedParameterDependsOnNamedParameter( - void Function(T) x, { - required T a, - }) => throw ''; + void _laterUnnamedParameterDependsOnNamedParameter(void Function(T) x, + {required T a}) => + throw ''; void _parenthesized(T x, void Function(T) y) => throw ''; void _parenthesizedNamed({required T a, required void Function(T) b}) => throw ''; void _parenthesizedTwice(T x, void Function(T) y) => throw ''; - void _parenthesizedTwiceNamed({ - required T a, - required void Function(T) b, - }) => throw ''; + void _parenthesizedTwiceNamed( + {required T a, required void Function(T) b}) => + throw ''; void _returnTypeRefersToMultipleTypeVars( - Map Function() x, - void Function(T) y, - void Function(U) z, - ) => throw ''; + Map Function() x, void Function(T) y, void Function(U) z) => + throw ''; } main() {} diff --git a/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline.expect index 38252e69ee2..0ad0917a585 100644 --- a/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline.expect @@ -1,29 +1,19 @@ withUnnamedArguments(int? i, void Function(void Function(), Object?) f) {} withUnnamedArgumentsParenthesized( - int? i, - void Function(void Function(), Object?) f, -) {} + int? i, void Function(void Function(), Object?) f) {} withUnnamedArgumentsParenthesizedTwice( - int? i, - void Function(void Function(), Object?) f, -) {} + int? i, void Function(void Function(), Object?) f) {} withNamedArguments( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withNamedArgumentsParenthesized( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withNamedArgumentsParenthesizedTwice( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withIdentical_lhs(int? i) {} @@ -32,16 +22,16 @@ withIdentical_rhs(int? i) {} class B { B(Object? x, void Function() g, Object? y); B.redirectingConstructorInvocation(int? i) - : this(i!, () { - i = null; - }, i); + : this(i!, () { + i = null; + }, i); } class C extends B { C.superConstructorInvocation(int? i) - : super(i!, () { - i = null; - }, i); + : super(i!, () { + i = null; + }, i); } main() {} diff --git a/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline_modelled.expect index 8c83436126c..2c69c4f4d73 100644 --- a/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_1/write_capture_deferral.dart.textual_outline_modelled.expect @@ -1,16 +1,16 @@ class B { B(Object? x, void Function() g, Object? y); B.redirectingConstructorInvocation(int? i) - : this(i!, () { - i = null; - }, i); + : this(i!, () { + i = null; + }, i); } class C extends B { C.superConstructorInvocation(int? i) - : super(i!, () { - i = null; - }, i); + : super(i!, () { + i = null; + }, i); } main() {} @@ -20,28 +20,18 @@ withIdentical_lhs(int? i) {} withIdentical_rhs(int? i) {} withNamedArguments( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withNamedArgumentsParenthesized( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withNamedArgumentsParenthesizedTwice( - int? i, - void Function({required void Function() g, Object? x}) f, -) {} + int? i, void Function({required void Function() g, Object? x}) f) {} withUnnamedArguments(int? i, void Function(void Function(), Object?) f) {} withUnnamedArgumentsParenthesized( - int? i, - void Function(void Function(), Object?) f, -) {} + int? i, void Function(void Function(), Object?) f) {} withUnnamedArgumentsParenthesizedTwice( - int? i, - void Function(void Function(), Object?) f, -) {} + int? i, void Function(void Function(), Object?) f) {} diff --git a/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline.expect index 6ee700594de..0daff1fa3e8 100644 --- a/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline.expect @@ -6,7 +6,9 @@ abstract class C { class D { final int? _f1; final int? _f2; - D(int i) : _f1 = i, _f2 = i; + D(int i) + : _f1 = i, + _f2 = i; } void acceptsInt(int x) {} diff --git a/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline_modelled.expect index 231f8963e4b..8d4aaeb58ab 100644 --- a/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_2/abstract_field.dart.textual_outline_modelled.expect @@ -4,7 +4,9 @@ abstract class C { } class D { - D(int i) : _f1 = i, _f2 = i; + D(int i) + : _f1 = i, + _f2 = i; final int? _f1; final int? _f2; } diff --git a/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline.expect index bb2f1c226a0..b9c78e82842 100644 --- a/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline.expect @@ -7,7 +7,9 @@ abstract class C { int? get publicAbstractGetter; int? get _privateConcreteGetter => 0; int? get publicConcreteGetter => 0; - C(int? i) : _privateFinalField = i, publicFinalField = i; + C(int? i) + : _privateFinalField = i, + publicFinalField = i; } void acceptsInt(int x) {} diff --git a/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline_modelled.expect index a1c5bbbca68..e83b4c099c9 100644 --- a/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_2/basic_field_promotion.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ abstract class C { - C(int? i) : _privateFinalField = i, publicFinalField = i; + C(int? i) + : _privateFinalField = i, + publicFinalField = i; final int? _privateFinalField; final int? publicFinalField; int? _privateField; diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline.expect index a7ede7b3361..5a4926d3762 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline.expect @@ -3,7 +3,9 @@ import 'field_promotion_and_no_such_method_lib.dart' as otherLib; abstract class C { final int? _f1; final int? _f2; - C(int? i) : _f1 = i, _f2 = i; + C(int? i) + : _f1 = i, + _f2 = i; } abstract class D { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline_modelled.expect index a25f22625b1..089ebddfde2 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_and_no_such_method.dart.textual_outline_modelled.expect @@ -1,7 +1,9 @@ import 'field_promotion_and_no_such_method_lib.dart' as otherLib; abstract class C { - C(int? i) : _f1 = i, _f2 = i; + C(int? i) + : _f1 = i, + _f2 = i; final int? _f1; final int? _f2; } diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline.expect index 12ddccc9e48..682360b3aa0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline.expect @@ -15,19 +15,19 @@ abstract class C { final int? _f12; final int? _f13; C(int? i) - : _f1 = i, - _f2 = i, - _f3 = i, - _f4 = i, - _f5 = i, - _f6 = i, - _f7 = i, - _f8 = i, - _f9 = i, - _f10 = i, - _f11 = i, - _f12 = i, - _f13 = i; + : _f1 = i, + _f2 = i, + _f3 = i, + _f4 = i, + _f5 = i, + _f6 = i, + _f7 = i, + _f8 = i, + _f9 = i, + _f10 = i, + _f11 = i, + _f12 = i, + _f13 = i; } abstract class D { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline_modelled.expect index 66a6b373c87..ff3180c983b 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.textual_outline_modelled.expect @@ -2,19 +2,19 @@ part 'field_promotion_name_conflicts_part.dart'; abstract class C { C(int? i) - : _f1 = i, - _f2 = i, - _f3 = i, - _f4 = i, - _f5 = i, - _f6 = i, - _f7 = i, - _f8 = i, - _f9 = i, - _f10 = i, - _f11 = i, - _f12 = i, - _f13 = i; + : _f1 = i, + _f2 = i, + _f3 = i, + _f4 = i, + _f5 = i, + _f6 = i, + _f7 = i, + _f8 = i, + _f9 = i, + _f10 = i, + _f11 = i, + _f12 = i, + _f13 = i; final int? _f1; final int? _f10; final int? _f11; diff --git a/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline.expect index 5c2e5c49177..6b027634a0f 100644 --- a/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline.expect @@ -2,7 +2,10 @@ class C { final int? _f2; final int? _f3; final int? _f4; - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; } class A { @@ -13,7 +16,9 @@ mixin M3 {} abstract class D extends A with M3 { final int? _f4; - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); } mixin M1 { diff --git a/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline_modelled.expect index 7c325afc806..ae2a266b985 100644 --- a/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_2/issue52452.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ abstract class D extends A with M3 { - D(int? i) : _f4 = i, super(i); + D(int? i) + : _f4 = i, + super(i); final int? _f4; } @@ -12,7 +14,10 @@ class B { } class C { - C(int? i) : _f2 = i, _f3 = i, _f4 = i; + C(int? i) + : _f2 = i, + _f3 = i, + _f4 = i; final int? _f2; final int? _f3; final int? _f4; diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline.expect index 849009f9a06..1595626cc51 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline.expect @@ -23,7 +23,7 @@ extension Extension on Indexable { } Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); main() {} diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect index 5f459078f91..245cae40455 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_explicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect @@ -1,8 +1,8 @@ B1? contextB1Question(B1? x) => x; Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); Iterable? contextIterableQuestion(Iterable? x) => x; diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline.expect index 0b6b987b906..10d7a463530 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline.expect @@ -23,7 +23,7 @@ extension on Indexable { } Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); main() {} diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect index 80cf35c9301..3cb5486b9d4 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_implicit_extension_null_aware_index_expression_test.dart.textual_outline_modelled.expect @@ -1,8 +1,8 @@ B1? contextB1Question(B1? x) => x; Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); Iterable? contextIterableQuestion(Iterable? x) => x; diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline.expect index 5c1a0fadd8c..6abf5266138 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline.expect @@ -20,7 +20,7 @@ class Indexable { } Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); main() {} diff --git a/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline_modelled.expect index b86ddfb191a..4228d44507d 100644 --- a/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/inference_update_3/if_null_assignment_null_aware_index_expression_test.dart.textual_outline_modelled.expect @@ -1,8 +1,8 @@ B1? contextB1Question(B1? x) => x; Indexable? maybeIndexable( - ReadType value, -) => Indexable(value); + ReadType value) => + Indexable(value); Iterable? contextIterableQuestion(Iterable? x) => x; diff --git a/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline.expect b/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline.expect index e80adff3f32..c794045df52 100644 --- a/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline.expect +++ b/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline.expect @@ -2,18 +2,10 @@ class B {} class C {} -class D< - X extends B, - Y extends C, - Z extends X Function(Y), - W extends num -> {} +class D, Y extends C, Z extends X Function(Y), + W extends num> {} -class E< - X extends (B, int), - Y extends ({C c, int d}), - Z extends (int, X Function(Y)), - W extends ({num a}) -> {} +class E, int), Y extends ({C c, int d}), + Z extends (int, X Function(Y)), W extends ({num a})> {} main() {} diff --git a/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline_modelled.expect index e80adff3f32..c794045df52 100644 --- a/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/instantiate_to_bound/all_steps.dart.textual_outline_modelled.expect @@ -2,18 +2,10 @@ class B {} class C {} -class D< - X extends B, - Y extends C, - Z extends X Function(Y), - W extends num -> {} +class D, Y extends C, Z extends X Function(Y), + W extends num> {} -class E< - X extends (B, int), - Y extends ({C c, int d}), - Z extends (int, X Function(Y)), - W extends ({num a}) -> {} +class E, int), Y extends ({C c, int d}), + Z extends (int, X Function(Y)), W extends ({num a})> {} main() {} diff --git a/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline.expect b/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline.expect index 6892190beca..8b471299e33 100644 --- a/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline.expect +++ b/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline.expect @@ -8,70 +8,40 @@ class D, Y extends A> {} D d = throw ''; -class E< - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class E, X extends C, Y extends B, + Z extends C> {} E e = throw ''; -class F< - V extends num, - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class F, X extends C, Y extends B, + Z extends C> {} F f = throw ''; -class G< - V extends num, - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class G, X extends C, Y extends B, + Z extends C> {} G g = throw ''; -class H< - S extends A, - T extends B, - U extends C, - V extends A, - W extends S, - X extends T, - Y extends U, - Z extends V -> {} +class H, T extends B, U extends C, V extends A, + W extends S, X extends T, Y extends U, Z extends V> {} H h = throw ''; -class I< - T extends U, - U extends Y, - V extends Function(W), - W extends Function(X), - X extends Function(V), - Y extends Z, - Z extends T -> {} +class I {} I i = throw ''; class J< - S extends T Function(U), - T extends U Function(S), - U extends S Function(T), - V extends W, - W extends X, - X extends Y Function(V), - Y extends Z, - Z extends X -> {} + S extends T Function(U), + T extends U Function(S), + U extends S Function(T), + V extends W, + W extends X, + X extends Y Function(V), + Y extends Z, + Z extends X> {} J j = throw ''; diff --git a/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline_modelled.expect index 0e08d2ecaa8..f39d3da5687 100644 --- a/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/instantiate_to_bound/multiple_strongly_connected.dart.textual_outline_modelled.expect @@ -20,59 +20,29 @@ class C {} class D, Y extends A> {} -class E< - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class E, X extends C, Y extends B, + Z extends C> {} -class F< - V extends num, - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class F, X extends C, Y extends B, + Z extends C> {} -class G< - V extends num, - W extends B, - X extends C, - Y extends B, - Z extends C -> {} +class G, X extends C, Y extends B, + Z extends C> {} -class H< - S extends A, - T extends B, - U extends C, - V extends A, - W extends S, - X extends T, - Y extends U, - Z extends V -> {} +class H, T extends B, U extends C, V extends A, + W extends S, X extends T, Y extends U, Z extends V> {} -class I< - T extends U, - U extends Y, - V extends Function(W), - W extends Function(X), - X extends Function(V), - Y extends Z, - Z extends T -> {} +class I {} class J< - S extends T Function(U), - T extends U Function(S), - U extends S Function(T), - V extends W, - W extends X, - X extends Y Function(V), - Y extends Z, - Z extends X -> {} + S extends T Function(U), + T extends U Function(S), + U extends S Function(T), + V extends W, + W extends X, + X extends Y Function(V), + Y extends Z, + Z extends X> {} main() {} diff --git a/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline.expect b/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline.expect index b13e2f1a01e..bacfb0ebe3b 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline.expect @@ -5,7 +5,10 @@ var x = 42; var y = 42; class C { - operator []=(x, y) {} + operator []=( + x, + y, + ) {} } main() {} diff --git a/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline_modelled.expect index ca10f324cce..4debe48ec96 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/trailing_comma2.dart.textual_outline_modelled.expect @@ -3,7 +3,10 @@ class Bad { } class C { - operator []=(x, y) {} + operator []=( + x, + y, + ) {} } main() {} diff --git a/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline.expect index 470b9607807..dc79bde5164 100644 --- a/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline.expect @@ -3,53 +3,49 @@ class Tearoffable { } ok< - XnonNull extends Object, - YnonNull extends XnonNull, - XpotentiallyNull extends Object?, - YpotentiallyNull extends XpotentiallyNull ->( - dynamic dynamicArg, - Object objectArg, - num numArg, - int intArg, - double doubleArg, - Function functionArg, - void Function() toVoidArg, - Tearoffable tearoffableArg, - XnonNull xNonNullArg, - XpotentiallyNull xPotentiallyNullArg, - YnonNull yNonNullArg, - YpotentiallyNull yPotentiallyNullArg, -) {} + XnonNull extends Object, + YnonNull extends XnonNull, + XpotentiallyNull extends Object?, + YpotentiallyNull extends XpotentiallyNull>( + dynamic dynamicArg, + Object objectArg, + num numArg, + int intArg, + double doubleArg, + Function functionArg, + void Function() toVoidArg, + Tearoffable tearoffableArg, + XnonNull xNonNullArg, + XpotentiallyNull xPotentiallyNullArg, + YnonNull yNonNullArg, + YpotentiallyNull yPotentiallyNullArg) {} error< - XnonNull extends Object, - YnonNull extends XnonNull, - XpotentiallyNull extends Object?, - YpotentiallyNull extends XpotentiallyNull ->( - Object objectArg, - Object? objectNullableArg, - num numArg, - num? numNullableArg, - int intArg, - int? intNullableArg, - double doubleArg, - double? doubleNullableArg, - Function functionArg, - Function? functionNullableArg, - void Function() toVoidArg, - void Function()? toVoidNullableArg, - Tearoffable tearoffableArg, - Tearoffable? tearoffableNullableArg, - XnonNull xNonNullArg, - XnonNull? xNonNullNullableArg, - XpotentiallyNull xPotentiallyNullArg, - XpotentiallyNull? xPotentiallyNullNullableArg, - YnonNull yNonNullArg, - YnonNull? yNonNullNullableArg, - YpotentiallyNull yPotentiallyNullArg, - YpotentiallyNull? yPotentiallyNullNullableArg, -) {} + XnonNull extends Object, + YnonNull extends XnonNull, + XpotentiallyNull extends Object?, + YpotentiallyNull extends XpotentiallyNull>( + Object objectArg, + Object? objectNullableArg, + num numArg, + num? numNullableArg, + int intArg, + int? intNullableArg, + double doubleArg, + double? doubleNullableArg, + Function functionArg, + Function? functionNullableArg, + void Function() toVoidArg, + void Function()? toVoidNullableArg, + Tearoffable tearoffableArg, + Tearoffable? tearoffableNullableArg, + XnonNull xNonNullArg, + XnonNull? xNonNullNullableArg, + XpotentiallyNull xPotentiallyNullArg, + XpotentiallyNull? xPotentiallyNullNullableArg, + YnonNull yNonNullArg, + YnonNull? yNonNullNullableArg, + YpotentiallyNull yPotentiallyNullArg, + YpotentiallyNull? yPotentiallyNullNullableArg) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline_modelled.expect index 4467953ceef..90b71427e55 100644 --- a/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/assignability.dart.textual_outline_modelled.expect @@ -3,53 +3,49 @@ class Tearoffable { } error< - XnonNull extends Object, - YnonNull extends XnonNull, - XpotentiallyNull extends Object?, - YpotentiallyNull extends XpotentiallyNull ->( - Object objectArg, - Object? objectNullableArg, - num numArg, - num? numNullableArg, - int intArg, - int? intNullableArg, - double doubleArg, - double? doubleNullableArg, - Function functionArg, - Function? functionNullableArg, - void Function() toVoidArg, - void Function()? toVoidNullableArg, - Tearoffable tearoffableArg, - Tearoffable? tearoffableNullableArg, - XnonNull xNonNullArg, - XnonNull? xNonNullNullableArg, - XpotentiallyNull xPotentiallyNullArg, - XpotentiallyNull? xPotentiallyNullNullableArg, - YnonNull yNonNullArg, - YnonNull? yNonNullNullableArg, - YpotentiallyNull yPotentiallyNullArg, - YpotentiallyNull? yPotentiallyNullNullableArg, -) {} + XnonNull extends Object, + YnonNull extends XnonNull, + XpotentiallyNull extends Object?, + YpotentiallyNull extends XpotentiallyNull>( + Object objectArg, + Object? objectNullableArg, + num numArg, + num? numNullableArg, + int intArg, + int? intNullableArg, + double doubleArg, + double? doubleNullableArg, + Function functionArg, + Function? functionNullableArg, + void Function() toVoidArg, + void Function()? toVoidNullableArg, + Tearoffable tearoffableArg, + Tearoffable? tearoffableNullableArg, + XnonNull xNonNullArg, + XnonNull? xNonNullNullableArg, + XpotentiallyNull xPotentiallyNullArg, + XpotentiallyNull? xPotentiallyNullNullableArg, + YnonNull yNonNullArg, + YnonNull? yNonNullNullableArg, + YpotentiallyNull yPotentiallyNullArg, + YpotentiallyNull? yPotentiallyNullNullableArg) {} main() {} ok< - XnonNull extends Object, - YnonNull extends XnonNull, - XpotentiallyNull extends Object?, - YpotentiallyNull extends XpotentiallyNull ->( - dynamic dynamicArg, - Object objectArg, - num numArg, - int intArg, - double doubleArg, - Function functionArg, - void Function() toVoidArg, - Tearoffable tearoffableArg, - XnonNull xNonNullArg, - XpotentiallyNull xPotentiallyNullArg, - YnonNull yNonNullArg, - YpotentiallyNull yPotentiallyNullArg, -) {} + XnonNull extends Object, + YnonNull extends XnonNull, + XpotentiallyNull extends Object?, + YpotentiallyNull extends XpotentiallyNull>( + dynamic dynamicArg, + Object objectArg, + num numArg, + int intArg, + double doubleArg, + Function functionArg, + void Function() toVoidArg, + Tearoffable tearoffableArg, + XnonNull xNonNullArg, + XpotentiallyNull xPotentiallyNullArg, + YnonNull yNonNullArg, + YpotentiallyNull yPotentiallyNullArg) {} diff --git a/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline.expect index 7b5064dc5a6..6ac80dec584 100644 --- a/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline.expect @@ -3,8 +3,8 @@ import 'dart:async'; class Check { final _ignored; const Check(x, y) - : assert(identical(x, y)), - _ignored = identical(x, y) ? 42 : 1 ~/ 0; + : assert(identical(x, y)), + _ignored = identical(x, y) ? 42 : 1 ~/ 0; } void expectEqual(x, y) {} diff --git a/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline_modelled.expect index d9b5a6ea2d2..0be962adace 100644 --- a/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/const_canonical_type.dart.textual_outline_modelled.expect @@ -6,8 +6,8 @@ class A { class Check { const Check(x, y) - : assert(identical(x, y)), - _ignored = identical(x, y) ? 42 : 1 ~/ 0; + : assert(identical(x, y)), + _ignored = identical(x, y) ? 42 : 1 ~/ 0; final _ignored; } diff --git a/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline.expect index 3aa22f8028f..7d342044518 100644 --- a/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline.expect @@ -8,78 +8,77 @@ typedef int fType({required int i}); typedef int gType({int i}); -typedef int bigType({ - required int i1, - required int i2, - required int i3, - required int i4, - required int i5, - required int i6, - required int i7, - required int i8, - required int i9, - required int i10, - required int i11, - required int i12, - required int i13, - required int i14, - required int i15, - required int i16, - required int i17, - required int i18, - required int i19, - required int i20, - required int i21, - required int i22, - required int i23, - required int i24, - required int i25, - required int i26, - required int i27, - required int i28, - required int i29, - required int i30, - required int i31, - required int i32, - required int i33, - required int i34, - required int i35, - required int i36, - required int i37, - required int i38, - required int i39, - required int i40, - required int i41, - required int i42, - required int i43, - required int i44, - required int i45, - required int i46, - required int i47, - required int i48, - required int i49, - required int i50, - required int i51, - required int i52, - required int i53, - required int i54, - required int i55, - required int i56, - required int i57, - required int i58, - required int i59, - required int i60, - required int i61, - required int i62, - required int i63, - required int i64, - required int i65, - required int i66, - required int i67, - required int i68, - required int i69, - required int i70, -}); +typedef int bigType( + {required int i1, + required int i2, + required int i3, + required int i4, + required int i5, + required int i6, + required int i7, + required int i8, + required int i9, + required int i10, + required int i11, + required int i12, + required int i13, + required int i14, + required int i15, + required int i16, + required int i17, + required int i18, + required int i19, + required int i20, + required int i21, + required int i22, + required int i23, + required int i24, + required int i25, + required int i26, + required int i27, + required int i28, + required int i29, + required int i30, + required int i31, + required int i32, + required int i33, + required int i34, + required int i35, + required int i36, + required int i37, + required int i38, + required int i39, + required int i40, + required int i41, + required int i42, + required int i43, + required int i44, + required int i45, + required int i46, + required int i47, + required int i48, + required int i49, + required int i50, + required int i51, + required int i52, + required int i53, + required int i54, + required int i55, + required int i56, + required int i57, + required int i58, + required int i59, + required int i60, + required int i61, + required int i62, + required int i63, + required int i64, + required int i65, + required int i66, + required int i67, + required int i68, + required int i69, + required int i70}); class A {} @@ -95,75 +94,47 @@ class D implements C {} typedef B func(Object o); -typedef B t1( - int i, - B b, - Map m, - var x, { - required var ox, - required B ob, - required List ol, - required bool obool, -}); +typedef B t1(int i, B b, Map m, var x, + {required var ox, + required B ob, + required List ol, + required bool obool}); -B f1( - int i, - B b, - Map m, - var x, { - required extraParam, - required bool obool, - required var ox, - required D ob, - required List? ol, -}) => new B(); +B f1(int i, B b, Map m, var x, + {required extraParam, + required bool obool, + required var ox, + required D ob, + required List? ol}) => + new B(); -D f2( - int i, - D b, - Map m, - func x, { - required func ox, - required D ob, - required List ol, - required bool obool, -}) => new D(); +D f2(int i, D b, Map m, func x, + {required func ox, + required D ob, + required List ol, + required bool obool}) => + new D(); -C f3( - num i, - A b, - Map m, - var x, { - required var ox, - required extraParam, - required A2 ob, - required List ol, - required Object obool, -}) => new C(); +C f3(num i, A b, Map m, var x, + {required var ox, + required extraParam, + required A2 ob, + required List ol, + required Object obool}) => + new C(); -C f4( - num i, - A b, - Map m, - var x, { - required var ox, - required A2 ob, - required List ol, - required bool obool, - required A xx, - required B yy, -}) => new C(); +C f4(num i, A b, Map m, var x, + {required var ox, + required A2 ob, + required List ol, + required bool obool, + required A xx, + required B yy}) => + new C(); -C f5( - int i, - A b, - Map m, - var x, { - required ox, - required B ob, - required List ol, - required obool, -}) => new C(); +C f5(int i, A b, Map m, var x, + {required ox, required B ob, required List ol, required obool}) => + new C(); const f_is_fType = f is fType; diff --git a/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline_modelled.expect index e7a35c8706f..a2fb67604dc 100644 --- a/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/const_is.dart.textual_outline_modelled.expect @@ -1,61 +1,38 @@ -B f1( - int i, - B b, - Map m, - var x, { - required extraParam, - required bool obool, - required var ox, - required D ob, - required List? ol, -}) => new B(); +B f1(int i, B b, Map m, var x, + {required extraParam, + required bool obool, + required var ox, + required D ob, + required List? ol}) => + new B(); -C f3( - num i, - A b, - Map m, - var x, { - required var ox, - required extraParam, - required A2 ob, - required List ol, - required Object obool, -}) => new C(); +C f3(num i, A b, Map m, var x, + {required var ox, + required extraParam, + required A2 ob, + required List ol, + required Object obool}) => + new C(); -C f4( - num i, - A b, - Map m, - var x, { - required var ox, - required A2 ob, - required List ol, - required bool obool, - required A xx, - required B yy, -}) => new C(); +C f4(num i, A b, Map m, var x, + {required var ox, + required A2 ob, + required List ol, + required bool obool, + required A xx, + required B yy}) => + new C(); -C f5( - int i, - A b, - Map m, - var x, { - required ox, - required B ob, - required List ol, - required obool, -}) => new C(); +C f5(int i, A b, Map m, var x, + {required ox, required B ob, required List ol, required obool}) => + new C(); -D f2( - int i, - D b, - Map m, - func x, { - required func ox, - required D ob, - required List ol, - required bool obool, -}) => new D(); +D f2(int i, D b, Map m, func x, + {required func ox, + required D ob, + required List ol, + required bool obool}) => + new D(); bool inStrongMode = [] is! List; @@ -101,89 +78,83 @@ main() {} typedef B func(Object o); -typedef B t1( - int i, - B b, - Map m, - var x, { - required var ox, - required B ob, - required List ol, - required bool obool, -}); +typedef B t1(int i, B b, Map m, var x, + {required var ox, + required B ob, + required List ol, + required bool obool}); -typedef int bigType({ - required int i1, - required int i2, - required int i3, - required int i4, - required int i5, - required int i6, - required int i7, - required int i8, - required int i9, - required int i10, - required int i11, - required int i12, - required int i13, - required int i14, - required int i15, - required int i16, - required int i17, - required int i18, - required int i19, - required int i20, - required int i21, - required int i22, - required int i23, - required int i24, - required int i25, - required int i26, - required int i27, - required int i28, - required int i29, - required int i30, - required int i31, - required int i32, - required int i33, - required int i34, - required int i35, - required int i36, - required int i37, - required int i38, - required int i39, - required int i40, - required int i41, - required int i42, - required int i43, - required int i44, - required int i45, - required int i46, - required int i47, - required int i48, - required int i49, - required int i50, - required int i51, - required int i52, - required int i53, - required int i54, - required int i55, - required int i56, - required int i57, - required int i58, - required int i59, - required int i60, - required int i61, - required int i62, - required int i63, - required int i64, - required int i65, - required int i66, - required int i67, - required int i68, - required int i69, - required int i70, -}); +typedef int bigType( + {required int i1, + required int i2, + required int i3, + required int i4, + required int i5, + required int i6, + required int i7, + required int i8, + required int i9, + required int i10, + required int i11, + required int i12, + required int i13, + required int i14, + required int i15, + required int i16, + required int i17, + required int i18, + required int i19, + required int i20, + required int i21, + required int i22, + required int i23, + required int i24, + required int i25, + required int i26, + required int i27, + required int i28, + required int i29, + required int i30, + required int i31, + required int i32, + required int i33, + required int i34, + required int i35, + required int i36, + required int i37, + required int i38, + required int i39, + required int i40, + required int i41, + required int i42, + required int i43, + required int i44, + required int i45, + required int i46, + required int i47, + required int i48, + required int i49, + required int i50, + required int i51, + required int i52, + required int i53, + required int i54, + required int i55, + required int i56, + required int i57, + required int i58, + required int i59, + required int i60, + required int i61, + required int i62, + required int i63, + required int i64, + required int i65, + required int i66, + required int i67, + required int i68, + required int i69, + required int i70}); typedef int fType({required int i}); diff --git a/pkg/front_end/testcases/nnbd/constants.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/constants.dart.textual_outline.expect index 94e63ef3354..ab606a91c96 100644 --- a/pkg/front_end/testcases/nnbd/constants.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/constants.dart.textual_outline.expect @@ -26,27 +26,19 @@ const setConcatenation = {...setLiteral}; const mapConcatenation = {...mapLiteral}; -const objectTypeLiteralIdentical = identical( - objectTypeLiteral, - lib.objectTypeLiteral, -); +const objectTypeLiteralIdentical = + identical(objectTypeLiteral, lib.objectTypeLiteral); -const partialInstantiationIdentical = identical( - partialInstantiation, - lib.partialInstantiation, -); +const partialInstantiationIdentical = + identical(partialInstantiation, lib.partialInstantiation); const instanceIdentical = identical(instance, lib.instance); -const functionTypeLiteralIdentical = identical( - functionTypeLiteral, - lib.functionTypeLiteral, -); +const functionTypeLiteralIdentical = + identical(functionTypeLiteral, lib.functionTypeLiteral); -const genericFunctionTypeLiteralIdentical = identical( - genericFunctionTypeLiteral, - lib.genericFunctionTypeLiteral, -); +const genericFunctionTypeLiteralIdentical = + identical(genericFunctionTypeLiteral, lib.genericFunctionTypeLiteral); const listLiteralIdentical = identical(listLiteral, lib.listLiteral); @@ -54,20 +46,14 @@ const setLiteralIdentical = identical(setLiteral, lib.setLiteral); const mapLiteralIdentical = identical(mapLiteral, lib.mapLiteral); -const listConcatenationIdentical = identical( - listConcatenation, - lib.listConcatenation, -); +const listConcatenationIdentical = + identical(listConcatenation, lib.listConcatenation); -const setConcatenationIdentical = identical( - setConcatenation, - lib.setConcatenation, -); +const setConcatenationIdentical = + identical(setConcatenation, lib.setConcatenation); -const mapConcatenationIdentical = identical( - mapConcatenation, - lib.mapConcatenation, -); +const mapConcatenationIdentical = + identical(mapConcatenation, lib.mapConcatenation); main() {} diff --git a/pkg/front_end/testcases/nnbd/constants.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/constants.dart.textual_outline_modelled.expect index 77ad9027859..60a4a78e6fd 100644 --- a/pkg/front_end/testcases/nnbd/constants.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/constants.dart.textual_outline_modelled.expect @@ -2,17 +2,13 @@ import 'constants_lib.dart' as lib; const functionTypeLiteral = F1; -const functionTypeLiteralIdentical = identical( - functionTypeLiteral, - lib.functionTypeLiteral, -); +const functionTypeLiteralIdentical = + identical(functionTypeLiteral, lib.functionTypeLiteral); const genericFunctionTypeLiteral = F2; -const genericFunctionTypeLiteralIdentical = identical( - genericFunctionTypeLiteral, - lib.genericFunctionTypeLiteral, -); +const genericFunctionTypeLiteralIdentical = + identical(genericFunctionTypeLiteral, lib.genericFunctionTypeLiteral); const instance = const lib.Class(0); @@ -22,10 +18,8 @@ const int Function(int) partialInstantiation = lib.id; const listConcatenation = [...listLiteral]; -const listConcatenationIdentical = identical( - listConcatenation, - lib.listConcatenation, -); +const listConcatenationIdentical = + identical(listConcatenation, lib.listConcatenation); const listLiteral = [0]; @@ -33,10 +27,8 @@ const listLiteralIdentical = identical(listLiteral, lib.listLiteral); const mapConcatenation = {...mapLiteral}; -const mapConcatenationIdentical = identical( - mapConcatenation, - lib.mapConcatenation, -); +const mapConcatenationIdentical = + identical(mapConcatenation, lib.mapConcatenation); const mapLiteral = {0: 'foo'}; @@ -44,22 +36,16 @@ const mapLiteralIdentical = identical(mapLiteral, lib.mapLiteral); const objectTypeLiteral = Object; -const objectTypeLiteralIdentical = identical( - objectTypeLiteral, - lib.objectTypeLiteral, -); +const objectTypeLiteralIdentical = + identical(objectTypeLiteral, lib.objectTypeLiteral); -const partialInstantiationIdentical = identical( - partialInstantiation, - lib.partialInstantiation, -); +const partialInstantiationIdentical = + identical(partialInstantiation, lib.partialInstantiation); const setConcatenation = {...setLiteral}; -const setConcatenationIdentical = identical( - setConcatenation, - lib.setConcatenation, -); +const setConcatenationIdentical = + identical(setConcatenation, lib.setConcatenation); const setLiteral = {0}; diff --git a/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline.expect index b1624717bca..8378177b5bf 100644 --- a/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline.expect @@ -17,10 +17,4 @@ main() {} testNonNullable(A a, B b, C c_dynamic, C c_int, C c_string, D d) {} testNullable( - A? a, - B? b, - C? c_dynamic, - C? c_int, - C? c_string, - D? d, -) {} + A? a, B? b, C? c_dynamic, C? c_int, C? c_string, D? d) {} diff --git a/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline_modelled.expect index b1624717bca..8378177b5bf 100644 --- a/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/covariant_equals.dart.textual_outline_modelled.expect @@ -17,10 +17,4 @@ main() {} testNonNullable(A a, B b, C c_dynamic, C c_int, C c_string, D d) {} testNullable( - A? a, - B? b, - C? c_dynamic, - C? c_int, - C? c_string, - D? d, -) {} + A? a, B? b, C? c_dynamic, C? c_int, C? c_string, D? d) {} diff --git a/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline.expect index 4660f2d93ba..dae20659415 100644 --- a/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline.expect @@ -9,11 +9,7 @@ final class Coordinate extends Struct { external double y; external Pointer next; factory Coordinate.allocate( - Allocator allocator, - double x, - double y, - Pointer next, - ) {} + Allocator allocator, double x, double y, Pointer next) {} } main() {} diff --git a/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline_modelled.expect index b000c2b4084..7dca6005a7e 100644 --- a/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/ffi_sample.dart.textual_outline_modelled.expect @@ -8,11 +8,7 @@ final class Coordinate extends Struct { @Double() external double y; factory Coordinate.allocate( - Allocator allocator, - double x, - double y, - Pointer next, - ) {} + Allocator allocator, double x, double y, Pointer next) {} } main() {} diff --git a/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline.expect index 457e731171d..0220c4b6da2 100644 --- a/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline.expect @@ -6,17 +6,15 @@ FutureOr topLevelField2; FutureOr topLevelField3; -void toplevelMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, -]) {} +void toplevelMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} -void toplevelMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, -}) {} +void toplevelMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} class Class1 { FutureOr instanceField1; @@ -25,26 +23,22 @@ class Class1 { static FutureOr staticField1; static FutureOr staticField2; static FutureOr staticField3; - void instanceMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - ]) {} - void instanceMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - }) {} - static void staticMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - ]) {} - static void staticMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - }) {} + void instanceMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} + void instanceMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} + static void staticMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} + static void staticMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} } class Class2 { @@ -52,10 +46,7 @@ class Class2 { FutureOr instanceField2; FutureOr instanceField3; Class2.constructor1( - this.instanceField1, - this.instanceField2, - this.instanceField3, - ); + this.instanceField1, this.instanceField2, this.instanceField3); Class2.constructor2(); } diff --git a/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline_modelled.expect index b2e8eebc00a..7a4af1e412c 100644 --- a/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/future_or_variables.dart.textual_outline_modelled.expect @@ -13,34 +13,27 @@ class Class1 { static FutureOr staticField3; static FutureOr staticField2; static FutureOr staticField1; - static void staticMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - ]) {} - static void staticMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - }) {} - void instanceMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - ]) {} - void instanceMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, - }) {} + static void staticMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} + static void staticMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} + void instanceMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} + void instanceMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} } class Class2 { Class2.constructor1( - this.instanceField1, - this.instanceField2, - this.instanceField3, - ); + this.instanceField1, this.instanceField2, this.instanceField3); Class2.constructor2(); FutureOr instanceField3; FutureOr instanceField2; @@ -49,14 +42,12 @@ class Class2 { main() {} -void toplevelMethod1([ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, -]) {} +void toplevelMethod1( + [FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3]) {} -void toplevelMethod2({ - FutureOr parameter1, - FutureOr parameter2, - FutureOr parameter3, -}) {} +void toplevelMethod2( + {FutureOr parameter1, + FutureOr parameter2, + FutureOr parameter3}) {} diff --git a/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline.expect index 7cb9dc55889..050df31452f 100644 --- a/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline.expect @@ -3,6 +3,5 @@ import 'dart:async'; void main() {} final t = StreamTransformer.fromHandlers( - handleData: (data, sink) => Future.microtask(() => sink.add(data)), - handleDone: (sink) => Future.microtask(() => sink.close()), -); + handleData: (data, sink) => Future.microtask(() => sink.add(data)), + handleDone: (sink) => Future.microtask(() => sink.close())); diff --git a/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline_modelled.expect index 05233c408c3..40aa1dc23c8 100644 --- a/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue41103.dart.textual_outline_modelled.expect @@ -1,8 +1,7 @@ import 'dart:async'; final t = StreamTransformer.fromHandlers( - handleData: (data, sink) => Future.microtask(() => sink.add(data)), - handleDone: (sink) => Future.microtask(() => sink.close()), -); + handleData: (data, sink) => Future.microtask(() => sink.add(data)), + handleDone: (sink) => Future.microtask(() => sink.close())); void main() {} diff --git a/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline.expect index 1724e76fd5f..505bd0b29c3 100644 --- a/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline.expect @@ -9,9 +9,7 @@ class _LiveImage { abstract class Foo { dynamic get _pendingImages; ImageStreamCompleter? putIfAbsent( - Object key, - ImageStreamCompleter loader(), - ) {} + Object key, ImageStreamCompleter loader()) {} } main() {} diff --git a/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline_modelled.expect index 6a6d877b9aa..50c90ff5c84 100644 --- a/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue42504.dart.textual_outline_modelled.expect @@ -1,8 +1,6 @@ abstract class Foo { ImageStreamCompleter? putIfAbsent( - Object key, - ImageStreamCompleter loader(), - ) {} + Object key, ImageStreamCompleter loader()) {} dynamic get _pendingImages; } diff --git a/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline.expect index fa6d2d27c84..ea356f6eb63 100644 --- a/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline.expect @@ -1,9 +1,6 @@ test1(Never n1, Never? n2, Null n3) {} test2( - N1 n1, - N2 n2, - N3 n3, -) {} + N1 n1, N2 n2, N3 n3) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline_modelled.expect index 31a5bfc5a46..b51b95a153d 100644 --- a/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue42758.dart.textual_outline_modelled.expect @@ -3,7 +3,4 @@ main() {} test1(Never n1, Never? n2, Null n3) {} test2( - N1 n1, - N2 n2, - N3 n3, -) {} + N1 n1, N2 n2, N3 n3) {} diff --git a/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline.expect index d927192d783..16e9d22146b 100644 --- a/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline.expect @@ -18,7 +18,7 @@ var set1 = { 0, if (i > 0) ...nullableList, if (i > 0) ...dynamicList, - if (i > 0) ...nullableList!, + if (i > 0) ...nullableList! }; var list1 = [ @@ -27,16 +27,10 @@ var list1 = [ if (i > 0) ...nullableList!, ]; -testMap< - X extends dynamic, - Y extends Map?, - Z extends Map ->(X x, Y y, Z z) {} +testMap?, + Z extends Map>(X x, Y y, Z z) {} testIterables?, Z extends List>( - X x, - Y y, - Z z, -) {} + X x, Y y, Z z) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline_modelled.expect index a79ac0ec7d8..f7d4bf37a1c 100644 --- a/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue43256.dart.textual_outline_modelled.expect @@ -9,16 +9,10 @@ dynamic dynamicMap = {1: "Let", 2: "it", 3: "be"}; main() {} testIterables?, Z extends List>( - X x, - Y y, - Z z, -) {} + X x, Y y, Z z) {} -testMap< - X extends dynamic, - Y extends Map?, - Z extends Map ->(X x, Y y, Z z) {} +testMap?, + Z extends Map>(X x, Y y, Z z) {} var i = 1; @@ -38,5 +32,5 @@ var set1 = { 0, if (i > 0) ...nullableList, if (i > 0) ...dynamicList, - if (i > 0) ...nullableList!, + if (i > 0) ...nullableList! }; diff --git a/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline.expect index 4b0b563d0ed..312a6e7a7af 100644 --- a/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline.expect @@ -1,17 +1,8 @@ -foo( - bool condition, - Iterable iterable, - List? a, - Set? b, - Iterable? c, - Map? d, -) {} +foo(bool condition, Iterable iterable, List? a, Set? b, + Iterable? c, Map? d) {} -bar< - X extends List?, - Y extends Set?, - Z extends Iterable?, - W extends Map? ->(bool condition, Iterable iterable, X x, Y y, Z z, W w) {} +bar?, Y extends Set?, Z extends Iterable?, + W extends Map?>( + bool condition, Iterable iterable, X x, Y y, Z z, W w) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline_modelled.expect index 1748a728864..a9a173a4a21 100644 --- a/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue43495.dart.textual_outline_modelled.expect @@ -1,17 +1,8 @@ -bar< - X extends List?, - Y extends Set?, - Z extends Iterable?, - W extends Map? ->(bool condition, Iterable iterable, X x, Y y, Z z, W w) {} +bar?, Y extends Set?, Z extends Iterable?, + W extends Map?>( + bool condition, Iterable iterable, X x, Y y, Z z, W w) {} -foo( - bool condition, - Iterable iterable, - List? a, - Set? b, - Iterable? c, - Map? d, -) {} +foo(bool condition, Iterable iterable, List? a, Set? b, + Iterable? c, Map? d) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline.expect index 75202f909dc..07a20eab764 100644 --- a/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline.expect @@ -36,16 +36,12 @@ class Bar4 implements Foo4 { class Foo5 { void method, S extends FutureOr>( - Baz x, - Baz y, - ) {} + Baz x, Baz y) {} } class Bar5 implements Foo5 { void method, T extends FutureOr>( - Baz x, - Baz y, - ) {} + Baz x, Baz y) {} } void main() {} diff --git a/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline_modelled.expect index bd67bab1a81..630e6c880ed 100644 --- a/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/issue47311.dart.textual_outline_modelled.expect @@ -18,9 +18,7 @@ class Bar4 implements Foo4 { class Bar5 implements Foo5 { void method, T extends FutureOr>( - Baz x, - Baz y, - ) {} + Baz x, Baz y) {} } class Foo1 { @@ -41,9 +39,7 @@ class Foo4 { class Foo5 { void method, S extends FutureOr>( - Baz x, - Baz y, - ) {} + Baz x, Baz y) {} } typedef Baz = T Function(T); diff --git a/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline.expect index 263ba974984..ee607296d15 100644 --- a/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline.expect @@ -15,10 +15,5 @@ class NullableIndexClass { main() {} -errors( - Class? nullableClass, - Class nonNullableClass, - int? nullableInt, - int nonNullableInt, - NullableIndexClass? nullableNullableIndexClass, -) {} +errors(Class? nullableClass, Class nonNullableClass, int? nullableInt, + int nonNullableInt, NullableIndexClass? nullableNullableIndexClass) {} diff --git a/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline_modelled.expect index da1ebbb2268..c445f0bd1ef 100644 --- a/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/null_access.dart.textual_outline_modelled.expect @@ -13,12 +13,7 @@ class NullableIndexClass { void operator []=(int key, int value) {} } -errors( - Class? nullableClass, - Class nonNullableClass, - int? nullableInt, - int nonNullableInt, - NullableIndexClass? nullableNullableIndexClass, -) {} +errors(Class? nullableClass, Class nonNullableClass, int? nullableInt, + int nonNullableInt, NullableIndexClass? nullableNullableIndexClass) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline.expect index b55b3b74b33..1d01d6f0a20 100644 --- a/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline.expect @@ -13,9 +13,5 @@ abstract class Class { main() {} -void test( - Class c1, - Class? c2, - Invocation invocation, - CustomInvocation customInvocation, -) {} +void test(Class c1, Class? c2, Invocation invocation, + CustomInvocation customInvocation) {} diff --git a/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline_modelled.expect index a020bae29b9..9d78bdf1a74 100644 --- a/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/nullable_object_access.dart.textual_outline_modelled.expect @@ -13,9 +13,5 @@ abstract class CustomType implements Type { main() {} -void test( - Class c1, - Class? c2, - Invocation invocation, - CustomInvocation customInvocation, -) {} +void test(Class c1, Class? c2, Invocation invocation, + CustomInvocation customInvocation) {} diff --git a/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline.expect index 3a79fe6c0c8..c3d477b0fb8 100644 --- a/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline.expect @@ -1,55 +1,19 @@ add( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} sub( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mul( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mod( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} remainder( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} clamp( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline_modelled.expect index 5dced7ca70d..9a1655c2d26 100644 --- a/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/numbers.dart.textual_outline_modelled.expect @@ -1,55 +1,19 @@ add( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} clamp( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} main() {} mod( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mul( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} remainder( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} sub( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} diff --git a/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline.expect index b2c6d4c3837..ae9c17afe8d 100644 --- a/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline.expect @@ -1,57 +1,21 @@ T f() => throw 'Unsupported'; add( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} sub( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mul( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mod( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} remainder( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} clamp( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} main() {} diff --git a/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline_modelled.expect index 10b6d09bb71..38ee3d2d947 100644 --- a/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/numbers_inferred.dart.textual_outline_modelled.expect @@ -1,57 +1,21 @@ T f() => throw 'Unsupported'; add( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} clamp( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} main() {} mod( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} mul( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} remainder( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} sub( - num n, - int i, - double d, - X x, - Y y, - Z z, -) {} + num n, int i, double d, X x, Y y, Z z) {} diff --git a/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline.expect index d80511c4a6c..03d81d4bff9 100644 --- a/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline.expect @@ -3,11 +3,8 @@ import 'dart:async'; class A { foo, S1 extends FutureOr>(T1 t, S1 s) {} bar, S2 extends FutureOr>(T2 t, S2 s) {} - baz< - U3 extends FutureOr, - T3 extends FutureOr, - S3 extends FutureOr - >(U3 u, T3 t, S3 s) {} + baz, T3 extends FutureOr, + S3 extends FutureOr>(U3 u, T3 t, S3 s) {} } main() {} diff --git a/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline_modelled.expect index 77c02b774a1..1a2e67d92af 100644 --- a/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/pending_nullabilities.dart.textual_outline_modelled.expect @@ -2,11 +2,8 @@ import 'dart:async'; class A { bar, S2 extends FutureOr>(T2 t, S2 s) {} - baz< - U3 extends FutureOr, - T3 extends FutureOr, - S3 extends FutureOr - >(U3 u, T3 t, S3 s) {} + baz, T3 extends FutureOr, + S3 extends FutureOr>(U3 u, T3 t, S3 s) {} foo, S1 extends FutureOr>(T1 t, S1 s) {} } diff --git a/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline.expect index f3c617e6156..0ded00e71a8 100644 --- a/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline.expect @@ -18,7 +18,9 @@ class A { late T lr; T lp; T lq; - A(this.lv, this.lp, T t) : this.lu = 42, this.lq = t; + A(this.lv, this.lp, T t) + : this.lu = 42, + this.lq = t; } main() {} diff --git a/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline_modelled.expect index 6246a480e47..87eab034d1a 100644 --- a/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/potentially_non_nullable_field.dart.textual_outline_modelled.expect @@ -1,5 +1,7 @@ class A { - A(this.lv, this.lp, T t) : this.lu = 42, this.lq = t; + A(this.lv, this.lp, T t) + : this.lu = 42, + this.lq = t; T? ls; T lp; T lq; diff --git a/pkg/front_end/testcases/nnbd/required.dart.textual_outline.expect b/pkg/front_end/testcases/nnbd/required.dart.textual_outline.expect index 17b3bc9dfd7..7eff871547d 100644 --- a/pkg/front_end/testcases/nnbd/required.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nnbd/required.dart.textual_outline.expect @@ -1,12 +1,11 @@ method({int a = 42, required int b, required final int c}) {} class Class { - method({ - int a = 42, - required int b, - required final int c, - required covariant final int d, - }) {} + method( + {int a = 42, + required int b, + required final int c, + required covariant final int d}) {} } typedef Typedef1 = Function({int a, required int b}); diff --git a/pkg/front_end/testcases/nnbd/required.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nnbd/required.dart.textual_outline_modelled.expect index 3ab71d4d985..85f95b9a26b 100644 --- a/pkg/front_end/testcases/nnbd/required.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nnbd/required.dart.textual_outline_modelled.expect @@ -13,12 +13,11 @@ class C extends A { } class Class { - method({ - int a = 42, - required int b, - required final int c, - required covariant final int d, - }) {} + method( + {int a = 42, + required int b, + required final int c, + required covariant final int d}) {} } error() {} diff --git a/pkg/front_end/testcases/none/equals.dart.textual_outline.expect b/pkg/front_end/testcases/none/equals.dart.textual_outline.expect index 39e14636771..7545bbf6478 100644 --- a/pkg/front_end/testcases/none/equals.dart.textual_outline.expect +++ b/pkg/front_end/testcases/none/equals.dart.textual_outline.expect @@ -6,24 +6,23 @@ class Class { } test( - Object o, - Object nonNullableObject, - Object? nullableObject, - Class nonNullableClass, - Class? nullableClass, - dynamic dyn, - Never never, - Never? nullableNever, - Null nullTypedValue, - Function nonNullableFunction, - Function? nullableFunction, - int Function(int) nonNullableFunctionType, - int Function(int)? nullableFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, -) {} + Object o, + Object nonNullableObject, + Object? nullableObject, + Class nonNullableClass, + Class? nullableClass, + dynamic dyn, + Never never, + Never? nullableNever, + Null nullTypedValue, + Function nonNullableFunction, + Function? nullableFunction, + int Function(int) nonNullableFunctionType, + int Function(int)? nullableFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2) {} nullEqualsIndexGet(Map map) {} diff --git a/pkg/front_end/testcases/none/equals.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/none/equals.dart.textual_outline_modelled.expect index 5c97d1907ba..675af5d48f6 100644 --- a/pkg/front_end/testcases/none/equals.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/none/equals.dart.textual_outline_modelled.expect @@ -10,21 +10,20 @@ main() {} nullEqualsIndexGet(Map map) {} test( - Object o, - Object nonNullableObject, - Object? nullableObject, - Class nonNullableClass, - Class? nullableClass, - dynamic dyn, - Never never, - Never? nullableNever, - Null nullTypedValue, - Function nonNullableFunction, - Function? nullableFunction, - int Function(int) nonNullableFunctionType, - int Function(int)? nullableFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, -) {} + Object o, + Object nonNullableObject, + Object? nullableObject, + Class nonNullableClass, + Class? nullableClass, + dynamic dyn, + Never never, + Never? nullableNever, + Null nullTypedValue, + Function nonNullableFunction, + Function? nullableFunction, + int Function(int) nonNullableFunctionType, + int Function(int)? nullableFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2) {} diff --git a/pkg/front_end/testcases/none/method_invocation.dart.textual_outline.expect b/pkg/front_end/testcases/none/method_invocation.dart.textual_outline.expect index 7f8213e2e6d..db6c145f763 100644 --- a/pkg/front_end/testcases/none/method_invocation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/none/method_invocation.dart.textual_outline.expect @@ -4,11 +4,8 @@ class Class1 { class Class2 { T field; - Class2( - this.field, - this.nonNullableFunctionField, - this.nonNullableFunctionTypedField, - ); + Class2(this.field, this.nonNullableFunctionField, + this.nonNullableFunctionTypedField); T call() => field; T method(int o) => field; Function nonNullableFunctionField; @@ -30,22 +27,21 @@ const int j = 24; const int k = i * j; test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, - Class2 nonNullableClass2, - Class2? nullableClass2, - Function nonNullableFunction, - Function? nullableFunction, - int Function(int) nonNullableFunctionType, - int Function(int)? nullableFunctionType, - T Function(T) genericFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, - T3 undeterminedTypeVariable, -) {} + Class1 nonNullableClass1, + Class1? nullableClass1, + dynamic dyn, + Never never, + Class2 nonNullableClass2, + Class2? nullableClass2, + Function nonNullableFunction, + Function? nullableFunction, + int Function(int) nonNullableFunctionType, + int Function(int)? nullableFunctionType, + T Function(T) genericFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2, + T3 undeterminedTypeVariable) {} main() {} diff --git a/pkg/front_end/testcases/none/method_invocation.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/none/method_invocation.dart.textual_outline_modelled.expect index d1f92423147..93ec08be30a 100644 --- a/pkg/front_end/testcases/none/method_invocation.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/none/method_invocation.dart.textual_outline_modelled.expect @@ -3,11 +3,8 @@ class Class1 { } class Class2 { - Class2( - this.field, - this.nonNullableFunctionField, - this.nonNullableFunctionTypedField, - ); + Class2(this.field, this.nonNullableFunctionField, + this.nonNullableFunctionTypedField); Function? get nullableFunctionGetter => nonNullableFunctionTypedField; Function? nullableFunctionField; Function get nonNullableFunctionGetter => nonNullableFunctionTypedField; @@ -32,20 +29,19 @@ const int k = i * j; main() {} test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, - Class2 nonNullableClass2, - Class2? nullableClass2, - Function nonNullableFunction, - Function? nullableFunction, - int Function(int) nonNullableFunctionType, - int Function(int)? nullableFunctionType, - T Function(T) genericFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, - T3 undeterminedTypeVariable, -) {} + Class1 nonNullableClass1, + Class1? nullableClass1, + dynamic dyn, + Never never, + Class2 nonNullableClass2, + Class2? nullableClass2, + Function nonNullableFunction, + Function? nullableFunction, + int Function(int) nonNullableFunctionType, + int Function(int)? nullableFunctionType, + T Function(T) genericFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2, + T3 undeterminedTypeVariable) {} diff --git a/pkg/front_end/testcases/none/operator.dart.textual_outline.expect b/pkg/front_end/testcases/none/operator.dart.textual_outline.expect index b4d3f61b640..2d31cae4d71 100644 --- a/pkg/front_end/testcases/none/operator.dart.textual_outline.expect +++ b/pkg/front_end/testcases/none/operator.dart.textual_outline.expect @@ -6,49 +6,19 @@ class Class { int method(double o) => 42; } -add( - num n, - int i, - double d, - Class c, - dynamic dyn, - Never never, - String string, -) {} +add(num n, int i, double d, Class c, dynamic dyn, Never never, + String string) {} -unaryMinus( - num n, - int i, - double d, - Class c, - dynamic dyn, - Never never, - String string, -) {} +unaryMinus(num n, int i, double d, Class c, dynamic dyn, Never never, + String string) {} -indexGet( - List list, - Map map, - Class c, - dynamic dyn, - Never never, - String string, -) {} +indexGet(List list, Map map, Class c, dynamic dyn, + Never never, String string) {} -indexSet( - List list, - Map map, - Class c, - dynamic dyn, - Never never, -) {} +indexSet(List list, Map map, Class c, dynamic dyn, + Never never) {} -compound( - List list, - Map map, - Class c, - dynamic dyn, - Never never, -) {} +compound(List list, Map map, Class c, dynamic dyn, + Never never) {} main() {} diff --git a/pkg/front_end/testcases/none/operator.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/none/operator.dart.textual_outline_modelled.expect index 73a357c82d9..186e6361067 100644 --- a/pkg/front_end/testcases/none/operator.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/none/operator.dart.textual_outline_modelled.expect @@ -1,12 +1,5 @@ -add( - num n, - int i, - double d, - Class c, - dynamic dyn, - Never never, - String string, -) {} +add(num n, int i, double d, Class c, dynamic dyn, Never never, + String string) {} class Class { Class operator +(Class other) => other; @@ -16,39 +9,16 @@ class Class { operator []=(int index, Class value) {} } -compound( - List list, - Map map, - Class c, - dynamic dyn, - Never never, -) {} +compound(List list, Map map, Class c, dynamic dyn, + Never never) {} -indexGet( - List list, - Map map, - Class c, - dynamic dyn, - Never never, - String string, -) {} +indexGet(List list, Map map, Class c, dynamic dyn, + Never never, String string) {} -indexSet( - List list, - Map map, - Class c, - dynamic dyn, - Never never, -) {} +indexSet(List list, Map map, Class c, dynamic dyn, + Never never) {} main() {} -unaryMinus( - num n, - int i, - double d, - Class c, - dynamic dyn, - Never never, - String string, -) {} +unaryMinus(num n, int i, double d, Class c, dynamic dyn, Never never, + String string) {} diff --git a/pkg/front_end/testcases/none/property_get.dart.textual_outline.expect b/pkg/front_end/testcases/none/property_get.dart.textual_outline.expect index 51c66c1d0c9..429950a4eb9 100644 --- a/pkg/front_end/testcases/none/property_get.dart.textual_outline.expect +++ b/pkg/front_end/testcases/none/property_get.dart.textual_outline.expect @@ -25,20 +25,19 @@ const dynamic dynamicString = 'foo'; const int dynamicStringLength = dynamicString.length; test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, - Class2 nonNullableClass2, - Class2? nullableClass2, - Function nonNullableFunction, - Function? nullableFunction, - int Function() nonNullableFunctionType, - int Function()? nullableFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, -) {} + Class1 nonNullableClass1, + Class1? nullableClass1, + dynamic dyn, + Never never, + Class2 nonNullableClass2, + Class2? nullableClass2, + Function nonNullableFunction, + Function? nullableFunction, + int Function() nonNullableFunctionType, + int Function()? nullableFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2) {} main() {} diff --git a/pkg/front_end/testcases/none/property_get.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/none/property_get.dart.textual_outline_modelled.expect index 2ae4d64a0ce..0a61e141381 100644 --- a/pkg/front_end/testcases/none/property_get.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/none/property_get.dart.textual_outline_modelled.expect @@ -27,18 +27,17 @@ int topLevelMethod(double o) => 0; main() {} test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, - Class2 nonNullableClass2, - Class2? nullableClass2, - Function nonNullableFunction, - Function? nullableFunction, - int Function() nonNullableFunctionType, - int Function()? nullableFunctionType, - T1 nonNullableTypeVariable1, - T1? nullableTypeVariable1, - T2 nonNullableTypeVariable2, - T2? nullableTypeVariable2, -) {} + Class1 nonNullableClass1, + Class1? nullableClass1, + dynamic dyn, + Never never, + Class2 nonNullableClass2, + Class2? nullableClass2, + Function nonNullableFunction, + Function? nullableFunction, + int Function() nonNullableFunctionType, + int Function()? nullableFunctionType, + T1 nonNullableTypeVariable1, + T1? nullableTypeVariable1, + T2 nonNullableTypeVariable2, + T2? nullableTypeVariable2) {} diff --git a/pkg/front_end/testcases/none/property_set.dart.textual_outline.expect b/pkg/front_end/testcases/none/property_set.dart.textual_outline.expect index ab3825007cb..44581e131fb 100644 --- a/pkg/front_end/testcases/none/property_set.dart.textual_outline.expect +++ b/pkg/front_end/testcases/none/property_set.dart.textual_outline.expect @@ -4,11 +4,7 @@ class Class1 { method(o) {} } -test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, -) {} +test(Class1 nonNullableClass1, Class1? nullableClass1, dynamic dyn, + Never never) {} main() {} diff --git a/pkg/front_end/testcases/none/property_set.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/none/property_set.dart.textual_outline_modelled.expect index 12b4c4da688..a5bcb1a1c50 100644 --- a/pkg/front_end/testcases/none/property_set.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/none/property_set.dart.textual_outline_modelled.expect @@ -6,9 +6,5 @@ class Class1 { main() {} -test( - Class1 nonNullableClass1, - Class1? nullableClass1, - dynamic dyn, - Never never, -) {} +test(Class1 nonNullableClass1, Class1? nullableClass1, dynamic dyn, + Never never) {} diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline.expect b/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline.expect index c961b1767b9..9a1af61b272 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline.expect @@ -2,8 +2,12 @@ class Either2 { final int _which; final T1? _t1; final T2? _t2; - const Either2.t1(T1 this._t1) : _t2 = null, _which = 1; - const Either2.t2(T2 this._t2) : _t1 = null, _which = 2; + const Either2.t1(T1 this._t1) + : _t2 = null, + _which = 1; + const Either2.t2(T2 this._t2) + : _t1 = null, + _which = 2; } typedef ProgressToken = Either2; diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline_modelled.expect index 9cef7ac4a0c..7488aca2c93 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/constructor_invocation.dart.textual_outline_modelled.expect @@ -1,6 +1,10 @@ class Either2 { - const Either2.t1(T1 this._t1) : _t2 = null, _which = 1; - const Either2.t2(T2 this._t2) : _t1 = null, _which = 2; + const Either2.t1(T1 this._t1) + : _t2 = null, + _which = 1; + const Either2.t2(T2 this._t2) + : _t1 = null, + _which = 2; final T1? _t1; final T2? _t2; final int _which; diff --git a/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline.expect b/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline.expect index fd11e8e47ab..bb75ee5d21f 100644 --- a/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline.expect +++ b/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline.expect @@ -13,11 +13,11 @@ class Circle implements Shape { } double calculateArea(Shape shape) => switch (shape) { - Square(length: var l) when l >= 0 => l * l, - Circle(radius: var r) when r >= 0 => pi * r * r, - Square(length: var l) when l < 0 => -1, - Circle(radius: var r) when r < 0 => -1, - Shape() => 0, -}; + Square(length: var l) when l >= 0 => l * l, + Circle(radius: var r) when r >= 0 => pi * r * r, + Square(length: var l) when l < 0 => -1, + Circle(radius: var r) when r < 0 => -1, + Shape() => 0 + }; testMain() {} diff --git a/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline_modelled.expect index d52c65ef8c0..4beddc4af86 100644 --- a/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/offsets/step_through_patterns.dart.textual_outline_modelled.expect @@ -13,11 +13,11 @@ class Square implements Shape { } double calculateArea(Shape shape) => switch (shape) { - Square(length: var l) when l >= 0 => l * l, - Circle(radius: var r) when r >= 0 => pi * r * r, - Square(length: var l) when l < 0 => -1, - Circle(radius: var r) when r < 0 => -1, - Shape() => 0, -}; + Square(length: var l) when l >= 0 => l * l, + Circle(radius: var r) when r >= 0 => pi * r * r, + Square(length: var l) when l < 0 => -1, + Circle(radius: var r) when r < 0 => -1, + Shape() => 0 + }; testMain() {} diff --git a/pkg/front_end/testcases/patterns/access_order.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/access_order.dart.textual_outline.expect index efd097f4b90..f9b02e45339 100644 --- a/pkg/front_end/testcases/patterns/access_order.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/access_order.dart.textual_outline.expect @@ -12,21 +12,17 @@ class MyList with ListMixin { void clearLog() {} } -String test1(Object o) => switch (o) { - [var x, 2, var y] => "match-1", - _ => "no match", -}; +String test1(Object o) => + switch (o) { [var x, 2, var y] => "match-1", _ => "no match" }; -String test2(Object o) => switch (o) { - [1, var x, var y] => "match-1", - _ => "no match", -}; +String test2(Object o) => + switch (o) { [1, var x, var y] => "match-1", _ => "no match" }; String test3(Object o) => switch (o) { - [var x!, 1] => "match-1", - [1, var x!] => "match-2", - _ => "no match", -}; + [var x!, 1] => "match-1", + [1, var x!] => "match-2", + _ => "no match" + }; main() {} diff --git a/pkg/front_end/testcases/patterns/access_order.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/access_order.dart.textual_outline_modelled.expect index 2e4f5a1fca0..cd99cacd137 100644 --- a/pkg/front_end/testcases/patterns/access_order.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/access_order.dart.textual_outline_modelled.expect @@ -1,20 +1,16 @@ import 'dart:collection'; -String test1(Object o) => switch (o) { - [var x, 2, var y] => "match-1", - _ => "no match", -}; +String test1(Object o) => + switch (o) { [var x, 2, var y] => "match-1", _ => "no match" }; -String test2(Object o) => switch (o) { - [1, var x, var y] => "match-1", - _ => "no match", -}; +String test2(Object o) => + switch (o) { [1, var x, var y] => "match-1", _ => "no match" }; String test3(Object o) => switch (o) { - [var x!, 1] => "match-1", - [1, var x!] => "match-2", - _ => "no match", -}; + [var x!, 1] => "match-1", + [1, var x!] => "match-2", + _ => "no match" + }; class MyList with ListMixin { E operator [](int index) {} diff --git a/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline.expect index 0fb5adffb2d..17a7c092937 100644 --- a/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline.expect @@ -17,12 +17,10 @@ class MyMap with MapMixin { int method(Map m) {} -test( - Map map, { - required int expectedValue, - required int expectedContainsKeyCount, - required int expectedIndexGetCount, -}) {} +test(Map map, + {required int expectedValue, + required int expectedContainsKeyCount, + required int expectedIndexGetCount}) {} main() {} diff --git a/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline_modelled.expect index 1cd7b8a87ca..d385931ca2f 100644 --- a/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/caching_constants.dart.textual_outline_modelled.expect @@ -21,9 +21,7 @@ int method(Map m) {} main() {} -test( - Map map, { - required int expectedValue, - required int expectedContainsKeyCount, - required int expectedIndexGetCount, -}) {} +test(Map map, + {required int expectedValue, + required int expectedContainsKeyCount, + required int expectedIndexGetCount}) {} diff --git a/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline.expect index 9ee4e1de49b..41648e7e7dc 100644 --- a/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline.expect @@ -1,4 +1,4 @@ method(Map m) => switch (m) { - {} => 0, - _ => 1, -}; + {} => 0, + _ => 1, + }; diff --git a/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline_modelled.expect index 9ee4e1de49b..41648e7e7dc 100644 --- a/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/empty_map_pattern.dart.textual_outline_modelled.expect @@ -1,4 +1,4 @@ method(Map m) => switch (m) { - {} => 0, - _ => 1, -}; + {} => 0, + _ => 1, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline.expect index 1d794722572..603d107d2dc 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline.expect @@ -1,32 +1,32 @@ exhaustiveDynamicAsStringOrInt(o) => switch (o) { - final String value => value, - final value as int => '$value', -}; + final String value => value, + final value as int => '$value', + }; exhaustiveDynamicAsStringOrIntAnd(o) => switch (o) { - final String value => value, - (final value && final value2) as int => '$value$value2', -}; + final String value => value, + (final value && final value2) as int => '$value$value2', + }; exhaustiveDynamicAsStringOrNum(o) => switch (o) { - final String value => value, - final num value as int => '$value', -}; + final String value => value, + final num value as int => '$value', + }; nonExhaustiveDynamicAsStringOrDouble(o) => switch (o) { - final String value => value, - final double value as num => '$value', -}; + final String value => value, + final double value as num => '$value', + }; exhaustiveDynamicAsStringOrIntUnrestricted(o) => switch (o) { - final String value => value, - int(:bool isEven) as int => '$isEven', -}; + final String value => value, + int(:bool isEven) as int => '$isEven', + }; nonExhaustiveDynamicAsStringOrIntRestricted(o) => switch (o) { - final String value => value, - int(isEven: true) as int => '', -}; + final String value => value, + int(isEven: true) as int => '', + }; sealed class M {} @@ -37,30 +37,30 @@ class B extends M {} class C extends M {} exhaustiveMAsM(M m) => switch (m) { - (A() || B() || C()) as M => 0, -}; + (A() || B() || C()) as M => 0, + }; exhaustiveDynamicAsM(dynamic m) => switch (m) { - (A() || B() || C()) as M => 0, -}; + (A() || B() || C()) as M => 0, + }; exhaustiveDynamicAsMUnrestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: int())) as M => 0, -}; + (A() || B() || C(hashCode: int())) as M => 0, + }; nonExhaustiveDynamicAsMRestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: 5)) as M => 0, -}; + (A() || B() || C(hashCode: 5)) as M => 0, + }; exhaustiveDynamicAsMSeeminglyRestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: 5)) as A => 0, -}; + (A() || B() || C(hashCode: 5)) as A => 0, + }; exhaustiveList(o) => switch (o) { - [_] => 1, - [...] as List => 0, -}; + [_] => 1, + [...] as List => 0, + }; nonExhaustiveList(o) => switch (o) { - [] as List => 0, -}; + [] as List => 0, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline_modelled.expect index 2ff202d0b81..5ce6767a074 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/casts.dart.textual_outline_modelled.expect @@ -5,62 +5,62 @@ class B extends M {} class C extends M {} exhaustiveDynamicAsM(dynamic m) => switch (m) { - (A() || B() || C()) as M => 0, -}; + (A() || B() || C()) as M => 0, + }; exhaustiveDynamicAsMSeeminglyRestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: 5)) as A => 0, -}; + (A() || B() || C(hashCode: 5)) as A => 0, + }; exhaustiveDynamicAsMUnrestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: int())) as M => 0, -}; + (A() || B() || C(hashCode: int())) as M => 0, + }; exhaustiveDynamicAsStringOrInt(o) => switch (o) { - final String value => value, - final value as int => '$value', -}; + final String value => value, + final value as int => '$value', + }; exhaustiveDynamicAsStringOrIntAnd(o) => switch (o) { - final String value => value, - (final value && final value2) as int => '$value$value2', -}; + final String value => value, + (final value && final value2) as int => '$value$value2', + }; exhaustiveDynamicAsStringOrIntUnrestricted(o) => switch (o) { - final String value => value, - int(:bool isEven) as int => '$isEven', -}; + final String value => value, + int(:bool isEven) as int => '$isEven', + }; exhaustiveDynamicAsStringOrNum(o) => switch (o) { - final String value => value, - final num value as int => '$value', -}; + final String value => value, + final num value as int => '$value', + }; exhaustiveList(o) => switch (o) { - [_] => 1, - [...] as List => 0, -}; + [_] => 1, + [...] as List => 0, + }; exhaustiveMAsM(M m) => switch (m) { - (A() || B() || C()) as M => 0, -}; + (A() || B() || C()) as M => 0, + }; nonExhaustiveDynamicAsMRestricted(dynamic m) => switch (m) { - (A() || B() || C(hashCode: 5)) as M => 0, -}; + (A() || B() || C(hashCode: 5)) as M => 0, + }; nonExhaustiveDynamicAsStringOrDouble(o) => switch (o) { - final String value => value, - final double value as num => '$value', -}; + final String value => value, + final double value as num => '$value', + }; nonExhaustiveDynamicAsStringOrIntRestricted(o) => switch (o) { - final String value => value, - int(isEven: true) as int => '', -}; + final String value => value, + int(isEven: true) as int => '', + }; nonExhaustiveList(o) => switch (o) { - [] as List => 0, -}; + [] as List => 0, + }; sealed class M {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline.expect index ec14e9cb172..7272907d988 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline.expect @@ -26,7 +26,11 @@ void unreachableCase3(Enum e) {} void unreachableCase4(Enum? e) {} -enum GenericEnum { a(), b(), c() } +enum GenericEnum { + a(), + b(), + c(), +} void exhaustiveGenericSwitch(GenericEnum e) {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline_modelled.expect index 32f19c7f941..1cf46ba1e04 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/enum_switch.dart.textual_outline_modelled.expect @@ -1,6 +1,10 @@ enum Enum { a, b, c } -enum GenericEnum { a(), b(), c() } +enum GenericEnum { + a(), + b(), + c(), +} void exhaustiveGenericSwitch(GenericEnum e) {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline.expect index 5535b5e053e..b6298a20147 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline.expect @@ -13,56 +13,56 @@ class B extends S {} extension type ExtensionTypeSealed(S s) {} methodNull1(ExtensionTypeNullable o) => switch (o) { - null => 0, - String s => 1, -}; + null => 0, + String s => 1, + }; methodNull2(ExtensionTypeNullable o) => switch (o) { - ExtensionTypeNullable() => 2, -}; + ExtensionTypeNullable() => 2, + }; methodNull3(String? o) => switch (o) { - ExtensionTypeNullable s => 3, -}; + ExtensionTypeNullable s => 3, + }; methodNum1(ExtensionTypeNum o) => switch (o) { - int() => 0, - double() => 1, -}; + int() => 0, + double() => 1, + }; methodNum2(ExtensionTypeNum o) => switch (o) { - ExtensionTypeNum() => 2, -}; + ExtensionTypeNum() => 2, + }; methodNum3(num o) => switch (o) { - ExtensionTypeNum() => 3, -}; + ExtensionTypeNum() => 3, + }; methodBool1(ExtensionTypeBool o) => switch (o) { - true => 0, - false => 1, -}; + true => 0, + false => 1, + }; methodBool2(ExtensionTypeBool o) => switch (o) { - ExtensionTypeBool() => 2, -}; + ExtensionTypeBool() => 2, + }; methodBool3(bool o) => switch (o) { - ExtensionTypeBool() => 3, -}; + ExtensionTypeBool() => 3, + }; methodSealed1(ExtensionTypeSealed o) => switch (o) { - A() => 0, - B() => 1, -}; + A() => 0, + B() => 1, + }; methodSealed2(ExtensionTypeSealed o) => switch (o) { - ExtensionTypeSealed() => 2, -}; + ExtensionTypeSealed() => 2, + }; methodSealed3(S o) => switch (o) { - ExtensionTypeSealed() => 3, -}; + ExtensionTypeSealed() => 3, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline_modelled.expect index e6d2f044141..ddc9f320837 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/extension_types.dart.textual_outline_modelled.expect @@ -15,55 +15,55 @@ extension type ExtensionTypeSealed(S s) {} main() {} methodBool1(ExtensionTypeBool o) => switch (o) { - true => 0, - false => 1, -}; + true => 0, + false => 1, + }; methodBool2(ExtensionTypeBool o) => switch (o) { - ExtensionTypeBool() => 2, -}; + ExtensionTypeBool() => 2, + }; methodBool3(bool o) => switch (o) { - ExtensionTypeBool() => 3, -}; + ExtensionTypeBool() => 3, + }; methodNull1(ExtensionTypeNullable o) => switch (o) { - null => 0, - String s => 1, -}; + null => 0, + String s => 1, + }; methodNull2(ExtensionTypeNullable o) => switch (o) { - ExtensionTypeNullable() => 2, -}; + ExtensionTypeNullable() => 2, + }; methodNull3(String? o) => switch (o) { - ExtensionTypeNullable s => 3, -}; + ExtensionTypeNullable s => 3, + }; methodNum1(ExtensionTypeNum o) => switch (o) { - int() => 0, - double() => 1, -}; + int() => 0, + double() => 1, + }; methodNum2(ExtensionTypeNum o) => switch (o) { - ExtensionTypeNum() => 2, -}; + ExtensionTypeNum() => 2, + }; methodNum3(num o) => switch (o) { - ExtensionTypeNum() => 3, -}; + ExtensionTypeNum() => 3, + }; methodSealed1(ExtensionTypeSealed o) => switch (o) { - A() => 0, - B() => 1, -}; + A() => 0, + B() => 1, + }; methodSealed2(ExtensionTypeSealed o) => switch (o) { - ExtensionTypeSealed() => 2, -}; + ExtensionTypeSealed() => 2, + }; methodSealed3(S o) => switch (o) { - ExtensionTypeSealed() => 3, -}; + ExtensionTypeSealed() => 3, + }; sealed class S {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline.expect index df84aa92378..3459734d753 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline.expect @@ -13,28 +13,28 @@ extension on A { } exhaustiveInferred(A a) => switch (a) { - A(:var member) => 0, - A(:var member) => 1, -}; + A(:var member) => 0, + A(:var member) => 1, + }; exhaustiveTyped(A a) => switch (a) { - A(:void Function(int) member) => 0, - A(:void Function(num) member) => 1, -}; + A(:void Function(int) member) => 0, + A(:void Function(num) member) => 1, + }; unreachable(A a) => switch (a) { - A(:var member) => 1, - A(:var member) => 0, -}; + A(:var member) => 1, + A(:var member) => 0, + }; nonExhaustiveRestricted(A a) => switch (a) { - A(:void Function(num) member) => 1, - A(:var member) => 0, -}; + A(:void Function(num) member) => 1, + A(:var member) => 0, + }; intersection(o) {} num exhaustiveMixed(I i) => switch (i) { - I(:int member) => member, - J(:double member) => member, -}; + I(:int member) => member, + J(:double member) => member, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline_modelled.expect index dfd87914596..2cc8580bd66 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/generic_extension_members.dart.textual_outline_modelled.expect @@ -5,14 +5,14 @@ class I {} class J extends I {} exhaustiveInferred(A a) => switch (a) { - A(:var member) => 0, - A(:var member) => 1, -}; + A(:var member) => 0, + A(:var member) => 1, + }; exhaustiveTyped(A a) => switch (a) { - A(:void Function(int) member) => 0, - A(:void Function(num) member) => 1, -}; + A(:void Function(int) member) => 0, + A(:void Function(num) member) => 1, + }; extension on A { void member(T t) {} @@ -25,16 +25,16 @@ extension on I { intersection(o) {} nonExhaustiveRestricted(A a) => switch (a) { - A(:void Function(num) member) => 1, - A(:var member) => 0, -}; + A(:void Function(num) member) => 1, + A(:var member) => 0, + }; num exhaustiveMixed(I i) => switch (i) { - I(:int member) => member, - J(:double member) => member, -}; + I(:int member) => member, + J(:double member) => member, + }; unreachable(A a) => switch (a) { - A(:var member) => 1, - A(:var member) => 0, -}; + A(:var member) => 1, + A(:var member) => 0, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline.expect index b2cedb5c44b..36c74c6cc78 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline.expect @@ -7,9 +7,7 @@ nonExhaustiveBoundedTypeVariable(T x1, T x2) {} exhaustiveBoundedTypeVariableByBound(T x1, T x2) {} nonExhaustiveBoundedTypeVariableByOtherType( - T x1, - T x2, -) {} + T x1, T x2) {} exhaustivePromotedTypeVariableByValue(T x1, T x2) {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline_modelled.expect index bd77f34fcb6..8aa1d38bb6a 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/intersect.dart.textual_outline_modelled.expect @@ -13,9 +13,7 @@ exhaustivePromotedTypeVariableByValue(T x1, T x2) {} nonExhaustiveBoundedTypeVariable(T x1, T x2) {} nonExhaustiveBoundedTypeVariableByOtherType( - T x1, - T x2, -) {} + T x1, T x2) {} nonExhaustivePromotedTypeVariable(T x1, T x2) {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline.expect index 6c510265a25..7452a4fb696 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline.expect @@ -1,27 +1,27 @@ void main() {} List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline_modelled.expect index 238b28349c1..ac77d52bdec 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example1.dart.textual_outline_modelled.expect @@ -1,27 +1,27 @@ List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline.expect index 240a3568a3a..5b63b3f6337 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline.expect @@ -1,32 +1,32 @@ void main() {} List f(List list) => switch (list) { - [] => [], - [...] => [], -}; + [] => [], + [...] => [], + }; List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline_modelled.expect index b74bc9e12b5..925ce09e2e5 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example2.dart.textual_outline_modelled.expect @@ -1,32 +1,32 @@ List f(List list) => switch (list) { - [] => [], - [...] => [], -}; + [] => [], + [...] => [], + }; List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline.expect index 01fdac67ee0..063747b2f24 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline.expect @@ -1,12 +1,12 @@ void main() {} List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline_modelled.expect index 525fbf721fc..1c5562cbcf7 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example3.dart.textual_outline_modelled.expect @@ -1,12 +1,12 @@ List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline.expect index 93091d90bec..2934f9f58de 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline.expect @@ -1,27 +1,28 @@ void main() {} List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => + l == r && equals(ls, rs), + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline_modelled.expect index 60168b1f581..ff8ea2ca90d 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/issue2878_example4.dart.textual_outline_modelled.expect @@ -1,27 +1,28 @@ List> perms(List list) => switch (list) { - [] || [_] => [list], - [var x, ...var xs] => [ - for (var i = 0; i < list.length; i++) - for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)], - ], -}; + [] || [_] => [list], + [var x, ...var xs] => [ + for (var i = 0; i < list.length; i++) + for (var perm in perms(xs)) [...perm.take(i), x, ...perm.skip(i)] + ], + }; List> subs(List list) => switch (list) { - [] => [], - [var x, ...var xs] => [ - for (var ys in subs(xs)) ...[ - [x] + ys, - ys, - ], - [x], - ], -}; + [] => [], + [var x, ...var xs] => [ + for (var ys in subs(xs)) ...[ + [x] + ys, + ys + ], + [x] + ], + }; bool equals(List a, List b) => switch ((a, b)) { - ([], []) => true, - ([_, ...], []) => false, - ([], [_, ...]) => false, - ([var l, ...var ls], [var r, ...var rs]) => l == r && equals(ls, rs), -}; + ([], []) => true, + ([_, ...], []) => false, + ([], [_, ...]) => false, + ([var l, ...var ls], [var r, ...var rs]) => + l == r && equals(ls, rs), + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline.expect index 59a98327181..a094ddf99e3 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline.expect @@ -1,114 +1,114 @@ exhaustive(List list) => switch (list) { - [...] => 0, -}; + [...] => 0, + }; exhaustive1a(List list) => switch (list) { - [] => 0, - [_, ...] => 1, -}; + [] => 0, + [_, ...] => 1, + }; exhaustive1b(List list) => switch (list) { - [] => 0, - [..., _] => 1, -}; + [] => 0, + [..., _] => 1, + }; exhaustive2a(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, _, ...] => 2, -}; + [] => 0, + [_] => 1, + [_, _, ...] => 2, + }; exhaustive2b(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, ..., _] => 2, -}; + [] => 0, + [_] => 1, + [_, ..., _] => 2, + }; exhaustive2c(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., _, _] => 2, -}; + [] => 0, + [_] => 1, + [..., _, _] => 2, + }; nonExhaustive1aMissing(List list) => switch (list) { - [_, ...] => 1, -}; + [_, ...] => 1, + }; nonExhaustive1bMissing(List list) => switch (list) { - [..., _] => 1, -}; + [..., _] => 1, + }; nonExhaustive2aMissing(List list) => switch (list) { - [] => 0, - [_, _, ...] => 2, -}; + [] => 0, + [_, _, ...] => 2, + }; nonExhaustive2bMissing(List list) => switch (list) { - [] => 0, - [_, ..., _] => 2, -}; + [] => 0, + [_, ..., _] => 2, + }; nonExhaustive2cMissing(List list) => switch (list) { - [] => 0, - [..., _, _] => 2, -}; + [] => 0, + [..., _, _] => 2, + }; nonExhaustiveRestrictedType(List list) => switch (list) { - [...List _] => 0, -}; + [...List _] => 0, + }; nonExhaustive1aRestrictedValue(List list) => switch (list) { - [] => 0, - [1, ...] => 1, -}; + [] => 0, + [1, ...] => 1, + }; nonExhaustive1aRestrictedType(List list) => switch (list) { - [] => 0, - [_, ...] => 1, -}; + [] => 0, + [_, ...] => 1, + }; nonExhaustive1bRestrictedValue(List list) => switch (list) { - [] => 0, - [..., 1] => 1, -}; + [] => 0, + [..., 1] => 1, + }; nonExhaustive1bRestrictedType(List list) => switch (list) { - [] => 0, - [...List _, _] => 1, -}; + [] => 0, + [...List _, _] => 1, + }; nonExhaustive2aRestrictedValue(List list) => switch (list) { - [] => 0, - [1] => 1, - [_, _, ...] => 2, -}; + [] => 0, + [1] => 1, + [_, _, ...] => 2, + }; nonExhaustive2bRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [1, _, ...] => 2, -}; + [] => 0, + [_] => 1, + [1, _, ...] => 2, + }; nonExhaustive2cRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, 1, ...] => 2, -}; + [] => 0, + [_] => 1, + [_, 1, ...] => 2, + }; nonExhaustive2dRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, ..., 1] => 2, -}; + [] => 0, + [_] => 1, + [_, ..., 1] => 2, + }; nonExhaustive2eRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., 1, _] => 2, -}; + [] => 0, + [_] => 1, + [..., 1, _] => 2, + }; nonExhaustive2fRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., _, 1] => 2, -}; + [] => 0, + [_] => 1, + [..., _, 1] => 2, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline_modelled.expect index 9682ac2fc12..19a8f5c05fe 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/list.dart.textual_outline_modelled.expect @@ -1,114 +1,114 @@ exhaustive(List list) => switch (list) { - [...] => 0, -}; + [...] => 0, + }; exhaustive1a(List list) => switch (list) { - [] => 0, - [_, ...] => 1, -}; + [] => 0, + [_, ...] => 1, + }; exhaustive1b(List list) => switch (list) { - [] => 0, - [..., _] => 1, -}; + [] => 0, + [..., _] => 1, + }; exhaustive2a(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, _, ...] => 2, -}; + [] => 0, + [_] => 1, + [_, _, ...] => 2, + }; exhaustive2b(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, ..., _] => 2, -}; + [] => 0, + [_] => 1, + [_, ..., _] => 2, + }; exhaustive2c(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., _, _] => 2, -}; + [] => 0, + [_] => 1, + [..., _, _] => 2, + }; nonExhaustive1aMissing(List list) => switch (list) { - [_, ...] => 1, -}; + [_, ...] => 1, + }; nonExhaustive1aRestrictedType(List list) => switch (list) { - [] => 0, - [_, ...] => 1, -}; + [] => 0, + [_, ...] => 1, + }; nonExhaustive1aRestrictedValue(List list) => switch (list) { - [] => 0, - [1, ...] => 1, -}; + [] => 0, + [1, ...] => 1, + }; nonExhaustive1bMissing(List list) => switch (list) { - [..., _] => 1, -}; + [..., _] => 1, + }; nonExhaustive1bRestrictedType(List list) => switch (list) { - [] => 0, - [...List _, _] => 1, -}; + [] => 0, + [...List _, _] => 1, + }; nonExhaustive1bRestrictedValue(List list) => switch (list) { - [] => 0, - [..., 1] => 1, -}; + [] => 0, + [..., 1] => 1, + }; nonExhaustive2aMissing(List list) => switch (list) { - [] => 0, - [_, _, ...] => 2, -}; + [] => 0, + [_, _, ...] => 2, + }; nonExhaustive2aRestrictedValue(List list) => switch (list) { - [] => 0, - [1] => 1, - [_, _, ...] => 2, -}; + [] => 0, + [1] => 1, + [_, _, ...] => 2, + }; nonExhaustive2bMissing(List list) => switch (list) { - [] => 0, - [_, ..., _] => 2, -}; + [] => 0, + [_, ..., _] => 2, + }; nonExhaustive2bRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [1, _, ...] => 2, -}; + [] => 0, + [_] => 1, + [1, _, ...] => 2, + }; nonExhaustive2cMissing(List list) => switch (list) { - [] => 0, - [..., _, _] => 2, -}; + [] => 0, + [..., _, _] => 2, + }; nonExhaustive2cRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, 1, ...] => 2, -}; + [] => 0, + [_] => 1, + [_, 1, ...] => 2, + }; nonExhaustive2dRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [_, ..., 1] => 2, -}; + [] => 0, + [_] => 1, + [_, ..., 1] => 2, + }; nonExhaustive2eRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., 1, _] => 2, -}; + [] => 0, + [_] => 1, + [..., 1, _] => 2, + }; nonExhaustive2fRestrictedValue(List list) => switch (list) { - [] => 0, - [_] => 1, - [..., _, 1] => 2, -}; + [] => 0, + [_] => 1, + [..., _, 1] => 2, + }; nonExhaustiveRestrictedType(List list) => switch (list) { - [...List _] => 0, -}; + [...List _] => 0, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline.expect index 406d8b203c9..b2c5afb38d1 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline.expect @@ -1,30 +1,30 @@ typedef Nullable = Object?; exhaustiveByValue(Null n) => switch (n) { - null => 0, -}; + null => 0, + }; exhaustiveByType(Null n) => switch (n) { - Null() => 0, -}; + Null() => 0, + }; exhaustiveWithField(Null n) => switch (n) { - Null(:var hashCode) => hashCode, -}; + Null(:var hashCode) => hashCode, + }; nonExhaustiveRestrictedField(Null n) => switch (n) { - Null(hashCode: 5) => 0, -}; + Null(hashCode: 5) => 0, + }; exhaustiveNullable(Object? o) => switch (o) { - Object() => 0, - Null() => 1, -}; + Object() => 0, + Null() => 1, + }; nonExhaustiveNullable(Object? o) => switch (o) { - Object() => 1, -}; + Object() => 1, + }; nonExhaustiveNullableRestricted(Object? o) => switch (o) { - Nullable(hashCode: 5) => 1, -}; + Nullable(hashCode: 5) => 1, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline_modelled.expect index f425904de63..1f8535de235 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/null.dart.textual_outline_modelled.expect @@ -1,30 +1,30 @@ exhaustiveByType(Null n) => switch (n) { - Null() => 0, -}; + Null() => 0, + }; exhaustiveByValue(Null n) => switch (n) { - null => 0, -}; + null => 0, + }; exhaustiveNullable(Object? o) => switch (o) { - Object() => 0, - Null() => 1, -}; + Object() => 0, + Null() => 1, + }; exhaustiveWithField(Null n) => switch (n) { - Null(:var hashCode) => hashCode, -}; + Null(:var hashCode) => hashCode, + }; nonExhaustiveNullable(Object? o) => switch (o) { - Object() => 1, -}; + Object() => 1, + }; nonExhaustiveNullableRestricted(Object? o) => switch (o) { - Nullable(hashCode: 5) => 1, -}; + Nullable(hashCode: 5) => 1, + }; nonExhaustiveRestrictedField(Null n) => switch (n) { - Null(hashCode: 5) => 0, -}; + Null(hashCode: 5) => 0, + }; typedef Nullable = Object?; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline.expect index 03685139229..ba89bc131b0 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline.expect @@ -1,24 +1,24 @@ import 'dart:async'; exhaustiveNonNullableTypeVariable(int? o) => switch (o) { - int() as T => 0, -}; + int() as T => 0, + }; exhaustiveNonNullableType(int? o) => switch (o) { - int() as int => 0, -}; + int() as int => 0, + }; exhaustiveNonNullableSuperType(int? o) => switch (o) { - int() as num => 0, -}; + int() as num => 0, + }; exhaustiveNonNullableFutureOr1(FutureOr? o) => switch (o) { - FutureOr() as FutureOr => 0, -}; + FutureOr() as FutureOr => 0, + }; exhaustiveNonNullableFutureOr2(FutureOr o) => switch (o) { - FutureOr() as FutureOr => 0, -}; + FutureOr() as FutureOr => 0, + }; exhaustiveNonNullableFutureOrTypeVariable1(FutureOr? o) => switch (o) { diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline_modelled.expect index 8bae13410ba..23d225f6e68 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/nullable_cast.dart.textual_outline_modelled.expect @@ -1,12 +1,12 @@ import 'dart:async'; exhaustiveNonNullableFutureOr1(FutureOr? o) => switch (o) { - FutureOr() as FutureOr => 0, -}; + FutureOr() as FutureOr => 0, + }; exhaustiveNonNullableFutureOr2(FutureOr o) => switch (o) { - FutureOr() as FutureOr => 0, -}; + FutureOr() as FutureOr => 0, + }; exhaustiveNonNullableFutureOrTypeVariable1(FutureOr? o) => switch (o) { @@ -19,16 +19,16 @@ exhaustiveNonNullableFutureOrTypeVariable2(FutureOr o) => }; exhaustiveNonNullableSuperType(int? o) => switch (o) { - int() as num => 0, -}; + int() as num => 0, + }; exhaustiveNonNullableType(int? o) => switch (o) { - int() as int => 0, -}; + int() as int => 0, + }; exhaustiveNonNullableTypeVariable(int? o) => switch (o) { - int() as T => 0, -}; + int() as T => 0, + }; expect(expected, actual) {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline.expect index 153490bdb28..98208d5a825 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline.expect @@ -5,25 +5,25 @@ class A { } exhaustiveDirect(A a) => switch (a) { - A() => 0, -}; + A() => 0, + }; exhaustiveWithWildcards(A a) => switch (a) { - A(field1: _, field2: _) => 0, -}; + A(field1: _, field2: _) => 0, + }; exhaustiveWithFields(A a) => switch (a) { - A(:var field1, :var field2) => 0, -}; + A(:var field1, :var field2) => 0, + }; exhaustiveWithTypedFields(A a) => switch (a) { - A(:int field1, :num field2) => 0, -}; + A(:int field1, :num field2) => 0, + }; nonExhaustiveFixedField(A a) => switch (a) { - A(field1: 5) => 0, -}; + A(field1: 5) => 0, + }; nonExhaustiveTypedField(A a) => switch (a) { - A(:int field2) => 0, -}; + A(:int field2) => 0, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline_modelled.expect index 33b379f8761..666c5692e47 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/object_pattern.dart.textual_outline_modelled.expect @@ -5,25 +5,25 @@ class A { } exhaustiveDirect(A a) => switch (a) { - A() => 0, -}; + A() => 0, + }; exhaustiveWithFields(A a) => switch (a) { - A(:var field1, :var field2) => 0, -}; + A(:var field1, :var field2) => 0, + }; exhaustiveWithTypedFields(A a) => switch (a) { - A(:int field1, :num field2) => 0, -}; + A(:int field1, :num field2) => 0, + }; exhaustiveWithWildcards(A a) => switch (a) { - A(field1: _, field2: _) => 0, -}; + A(field1: _, field2: _) => 0, + }; nonExhaustiveFixedField(A a) => switch (a) { - A(field1: 5) => 0, -}; + A(field1: 5) => 0, + }; nonExhaustiveTypedField(A a) => switch (a) { - A(:int field2) => 0, -}; + A(:int field2) => 0, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline.expect index 0ef4257f884..0bc3a1d4ae7 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline.expect @@ -1,24 +1,24 @@ exhaustiveWildcard((int, String, {bool named}) r) => switch (r) { - (_, _, named: _) => 0, -}; + (_, _, named: _) => 0, + }; exhaustiveTyped((int, String, {bool named}) r) => switch (r) { - (int(), String(), named: bool()) => 0, -}; + (int(), String(), named: bool()) => 0, + }; exhaustiveValue((int, String, {bool named}) r) => switch (r) { - (_, _, named: true) => 0, - (_, _, named: false) => 1, -}; + (_, _, named: true) => 0, + (_, _, named: false) => 1, + }; nonExhaustiveRestrictedValue1((int, String, {bool named}) r) => switch (r) { - (5, _, named: _) => 1, -}; + (5, _, named: _) => 1, + }; nonExhaustiveRestrictedValue2((int, String, {bool named}) r) => switch (r) { - (_, 'foo', named: _) => 1, -}; + (_, 'foo', named: _) => 1, + }; nonExhaustiveRestrictedValue3((int, String, {bool named}) r) => switch (r) { - (_, _, named: true) => 1, -}; + (_, _, named: true) => 1, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline_modelled.expect index 95021b503b9..cfc9a0d169b 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/record.dart.textual_outline_modelled.expect @@ -1,24 +1,24 @@ exhaustiveTyped((int, String, {bool named}) r) => switch (r) { - (int(), String(), named: bool()) => 0, -}; + (int(), String(), named: bool()) => 0, + }; exhaustiveValue((int, String, {bool named}) r) => switch (r) { - (_, _, named: true) => 0, - (_, _, named: false) => 1, -}; + (_, _, named: true) => 0, + (_, _, named: false) => 1, + }; exhaustiveWildcard((int, String, {bool named}) r) => switch (r) { - (_, _, named: _) => 0, -}; + (_, _, named: _) => 0, + }; nonExhaustiveRestrictedValue1((int, String, {bool named}) r) => switch (r) { - (5, _, named: _) => 1, -}; + (5, _, named: _) => 1, + }; nonExhaustiveRestrictedValue2((int, String, {bool named}) r) => switch (r) { - (_, 'foo', named: _) => 1, -}; + (_, 'foo', named: _) => 1, + }; nonExhaustiveRestrictedValue3((int, String, {bool named}) r) => switch (r) { - (_, _, named: true) => 1, -}; + (_, _, named: true) => 1, + }; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline.expect index 657925d955b..86618696888 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline.expect @@ -19,8 +19,8 @@ class C implements A, B { int? value = 1; int? method(S s) => switch (s) { - A(b: true) as A => 0, - B(b: true) as B => value, -}; + A(b: true) as A => 0, + B(b: true) as B => value, + }; test() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline_modelled.expect index 853c1a578bf..51c5e44c5ec 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/restrictive_cast.dart.textual_outline_modelled.expect @@ -13,9 +13,9 @@ class C implements A, B { } int? method(S s) => switch (s) { - A(b: true) as A => 0, - B(b: true) as B => value, -}; + A(b: true) as A => 0, + B(b: true) as B => value, + }; int? value = 1; diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline.expect index 7c21d65508a..e70a062808e 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline.expect @@ -9,8 +9,8 @@ class C extends M {} class D implements A, B {} method(M m) => switch (m) { - A() as B => 0, - B() => 1, -}; + A() as B => 0, + B() => 1, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline_modelled.expect index a9c86886afe..1c9c793fa09 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/sealed_cast.dart.textual_outline_modelled.expect @@ -9,8 +9,8 @@ class D implements A, B {} main() {} method(M m) => switch (m) { - A() as B => 0, - B() => 1, -}; + A() as B => 0, + B() => 1, + }; sealed class M {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline.expect index f22386d3c85..69b75f3252b 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline.expect @@ -13,8 +13,8 @@ class Y extends B {} class Z implements A, B {} method(S s) => switch (s) { - X() as A => 0, - Y() as B => 1, -}; + X() as A => 0, + Y() as B => 1, + }; test() {} diff --git a/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline_modelled.expect index beeb1b791da..a89195e34f1 100644 --- a/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/exhaustiveness/unsound_cast.dart.textual_outline_modelled.expect @@ -11,9 +11,9 @@ class Y extends B {} class Z implements A, B {} method(S s) => switch (s) { - X() as A => 0, - Y() as B => 1, -}; + X() as A => 0, + Y() as B => 1, + }; sealed class S {} diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline.expect index e6965845067..3ccf79a60ad 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline.expect @@ -11,8 +11,8 @@ extension on I { } method(A a) => switch (a) { - I(:var member) => member, -}; + I(:var member) => member, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline_modelled.expect index 01629f306bd..db76643d9c1 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.textual_outline_modelled.expect @@ -15,5 +15,5 @@ extension on I { main() {} method(A a) => switch (a) { - I(:var member) => member, -}; + I(:var member) => member, + }; diff --git a/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline.expect index 869c66c6984..e93ab39f648 100644 --- a/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline.expect @@ -3,9 +3,9 @@ extension Extension on int { } method1(int i) => switch (i) { - int(:num getter) => 0, -}; + int(:num getter) => 0, + }; method2(int i) => switch (i) { - int(:int getter) => 0, -}; + int(:int getter) => 0, + }; diff --git a/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline_modelled.expect index 869c66c6984..e93ab39f648 100644 --- a/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/extension_object_pattern.dart.textual_outline_modelled.expect @@ -3,9 +3,9 @@ extension Extension on int { } method1(int i) => switch (i) { - int(:num getter) => 0, -}; + int(:num getter) => 0, + }; method2(int i) => switch (i) { - int(:int getter) => 0, -}; + int(:int getter) => 0, + }; diff --git a/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline.expect index 9d9a7ec2fb5..13ddc7e2a5c 100644 --- a/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline.expect @@ -3,9 +3,9 @@ extension _ on int { } method(dynamic d) => switch (d) { - int(:var method) => method(d), - _ => 0, -}; + int(:var method) => method(d), + _ => 0, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline_modelled.expect index 5a8f364c64c..cd47ce04d82 100644 --- a/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/extension_tear_off.dart.textual_outline_modelled.expect @@ -7,6 +7,6 @@ extension _ on int { main() {} method(dynamic d) => switch (d) { - int(:var method) => method(d), - _ => 0, -}; + int(:var method) => method(d), + _ => 0, + }; diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline.expect index 1c5764458d8..86e6013dd49 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline.expect @@ -11,15 +11,15 @@ extension on I { } num method1(I i) => switch (i) { - I(:var member) when member < 0 => member, - I(:var member) when member < 0 => member, - I(:var member) => -member, -}; + I(:var member) when member < 0 => member, + I(:var member) when member < 0 => member, + I(:var member) => -member, + }; num method2(A i) => switch (i) { - I(:int member) => member, - J(:double member) => member, -}; + I(:int member) => member, + J(:double member) => member, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline_modelled.expect index 6646a777fe8..dc4cf9cb09f 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.textual_outline_modelled.expect @@ -15,12 +15,12 @@ int counter = 0; main() {} num method1(I i) => switch (i) { - I(:var member) when member < 0 => member, - I(:var member) when member < 0 => member, - I(:var member) => -member, -}; + I(:var member) when member < 0 => member, + I(:var member) when member < 0 => member, + I(:var member) => -member, + }; num method2(A i) => switch (i) { - I(:int member) => member, - J(:double member) => member, -}; + I(:int member) => member, + J(:double member) => member, + }; diff --git a/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline.expect index 084d2909874..84d25d48103 100644 --- a/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline.expect @@ -15,15 +15,15 @@ abstract class C { ifCase(o) {} switchExpression(o) => switch (o) { - A a => a, - A(:var b) => b, - A(b: B(:var c)) => c, - A(b: B(c: C(:var i))) => i, - A(:var b, :var i) => '$b$i', - A(i: 5, :var b) => b, - A(:var b, i: 5) => b, - A(:var b, i: 5) && A(b: B(:var c, i: 7)) => '$b$c', - _ => null, -}; + A a => a, + A(:var b) => b, + A(b: B(:var c)) => c, + A(b: B(c: C(:var i))) => i, + A(:var b, :var i) => '$b$i', + A(i: 5, :var b) => b, + A(:var b, i: 5) => b, + A(:var b, i: 5) && A(b: B(:var c, i: 7)) => '$b$c', + _ => null, + }; switchStatement(o) {} diff --git a/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline_modelled.expect index 084d2909874..84d25d48103 100644 --- a/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/irrefutable_tail.dart.textual_outline_modelled.expect @@ -15,15 +15,15 @@ abstract class C { ifCase(o) {} switchExpression(o) => switch (o) { - A a => a, - A(:var b) => b, - A(b: B(:var c)) => c, - A(b: B(c: C(:var i))) => i, - A(:var b, :var i) => '$b$i', - A(i: 5, :var b) => b, - A(:var b, i: 5) => b, - A(:var b, i: 5) && A(b: B(:var c, i: 7)) => '$b$c', - _ => null, -}; + A a => a, + A(:var b) => b, + A(b: B(:var c)) => c, + A(b: B(c: C(:var i))) => i, + A(:var b, :var i) => '$b$i', + A(i: 5, :var b) => b, + A(:var b, i: 5) => b, + A(:var b, i: 5) && A(b: B(:var c, i: 7)) => '$b$c', + _ => null, + }; switchStatement(o) {} diff --git a/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline.expect index 8b52621fcf4..8aab2591464 100644 --- a/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline.expect @@ -1,10 +1,10 @@ test1() => {for (var [i] in []) i: i}; test2(dynamic x, dynamic another) => { - 1: 1, - for (var [i] in x) - for (var [j] in x) ...another, -}; + 1: 1, + for (var [i] in x) + for (var [j] in x) ...another, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline_modelled.expect index ea838707a89..46655b1dfd5 100644 --- a/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/issue51489.dart.textual_outline_modelled.expect @@ -7,7 +7,7 @@ mapToString(Map map) {} test1() => {for (var [i] in []) i: i}; test2(dynamic x, dynamic another) => { - 1: 1, - for (var [i] in x) - for (var [j] in x) ...another, -}; + 1: 1, + for (var [i] in x) + for (var [j] in x) ...another, + }; diff --git a/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline.expect index 117d5e9c32f..feb771df4bd 100644 --- a/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline.expect @@ -1,6 +1,6 @@ int f() => switch (unknownName) { - [] => 1, - [var x, ...var xs] => 2, -}; + [] => 1, + [var x, ...var xs] => 2, + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline_modelled.expect index 117d5e9c32f..feb771df4bd 100644 --- a/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/issue51636.dart.textual_outline_modelled.expect @@ -1,6 +1,6 @@ int f() => switch (unknownName) { - [] => 1, - [var x, ...var xs] => 2, -}; + [] => 1, + [var x, ...var xs] => 2, + }; void main() {} diff --git a/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline.expect index 47f1fd8cf73..ddc5ee03bcf 100644 --- a/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline.expect @@ -4,10 +4,16 @@ import 'main_lib2.dart'; method1(Main1 main1, Main2 main2, Lib1a lib1a, Lib1b lib1b, Lib2 lib2) {} -enum Main1 { a, b } +enum Main1 { + a, + b, +} method2(Main1 main1, Main2 main2, Lib1a lib1a, Lib1b lib1b, Lib2 lib2) {} -enum Main2 { a, b } +enum Main2 { + a, + b, +} method3(Main1 main1, Main2 main2, Lib1a lib1a, Lib1b lib1b, Lib2 lib2) {} diff --git a/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline_modelled.expect index 7d555bd30fc..2f53cb593f7 100644 --- a/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/issue51716/main.dart.textual_outline_modelled.expect @@ -1,9 +1,15 @@ import 'main_lib1.dart'; import 'main_lib2.dart'; -enum Main1 { a, b } +enum Main1 { + a, + b, +} -enum Main2 { a, b } +enum Main2 { + a, + b, +} method1(Main1 main1, Main2 main2, Lib1a lib1a, Lib1b lib1b, Lib2 lib2) {} diff --git a/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline.expect index 6c0b6b52beb..3110a0d8fdc 100644 --- a/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline.expect @@ -1,9 +1,16 @@ class ExpansionTile { - const ExpansionTile({this.expandedCrossAxisAlignment}) - : assert(expandedCrossAxisAlignment != CrossAxisAlignment.baseline); + const ExpansionTile({ + this.expandedCrossAxisAlignment, + }) : assert(expandedCrossAxisAlignment != CrossAxisAlignment.baseline); final CrossAxisAlignment? expandedCrossAxisAlignment; } -enum CrossAxisAlignment { start, end, center, stretch, baseline } +enum CrossAxisAlignment { + start, + end, + center, + stretch, + baseline, +} void main() {} diff --git a/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline_modelled.expect index 6c0b6b52beb..3110a0d8fdc 100644 --- a/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/issue51800.dart.textual_outline_modelled.expect @@ -1,9 +1,16 @@ class ExpansionTile { - const ExpansionTile({this.expandedCrossAxisAlignment}) - : assert(expandedCrossAxisAlignment != CrossAxisAlignment.baseline); + const ExpansionTile({ + this.expandedCrossAxisAlignment, + }) : assert(expandedCrossAxisAlignment != CrossAxisAlignment.baseline); final CrossAxisAlignment? expandedCrossAxisAlignment; } -enum CrossAxisAlignment { start, end, center, stretch, baseline } +enum CrossAxisAlignment { + start, + end, + center, + stretch, + baseline, +} void main() {} diff --git a/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline.expect index c43da53fe1c..fea39434f4d 100644 --- a/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline.expect @@ -1,13 +1,12 @@ void printBugsSwitch(int n) => switch (n) { - 0 => print('no bugs'), - 1 => print('one bug'), - _ => print('$n bugs'), -}; + 0 => print('no bugs'), + 1 => print('one bug'), + _ => print('$n bugs'), + }; -void printBugsConditional(int n) => - n == 0 - ? print('no bugs') - : n == 1 +void printBugsConditional(int n) => n == 0 + ? print('no bugs') + : n == 1 ? print('one bug') : print('$n bugs'); diff --git a/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline_modelled.expect index 7623c39212d..675a6d4cb50 100644 --- a/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/issue52191.dart.textual_outline_modelled.expect @@ -1,14 +1,13 @@ main() {} -void printBugsConditional(int n) => - n == 0 - ? print('no bugs') - : n == 1 +void printBugsConditional(int n) => n == 0 + ? print('no bugs') + : n == 1 ? print('one bug') : print('$n bugs'); void printBugsSwitch(int n) => switch (n) { - 0 => print('no bugs'), - 1 => print('one bug'), - _ => print('$n bugs'), -}; + 0 => print('no bugs'), + 1 => print('one bug'), + _ => print('$n bugs'), + }; diff --git a/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline.expect index c1a337153ec..12ae2b8db83 100644 --- a/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline.expect @@ -3,14 +3,9 @@ import "dart:collection"; bool get hasUnsoundNullSafety => const [] is List; String unsoundResult = - "containsKey(key1);" - "[key1];" - "containsKey(key2);" - "[key2];"; + "containsKey(key1);" "[key1];" "containsKey(key2);" "[key2];"; -String soundResult = - "[key1];" - "[key2];"; +String soundResult = "[key1];" "[key2];"; class MyMap extends MapBase { Map _inner; @@ -36,10 +31,10 @@ class MyMap extends MapBase { String test1(Object o) {} String test2(Object o) => switch (o) { - {"key1": 1, "key2": 3} => "match-2", - {"key1": 1, "key2": 2} => "match-3", - _ => "no match", -}; + {"key1": 1, "key2": 3} => "match-2", + {"key1": 1, "key2": 2} => "match-3", + _ => "no match" + }; main() {} diff --git a/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline_modelled.expect index 6edcc4179fb..a2668782cc4 100644 --- a/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/map_lookup.dart.textual_outline_modelled.expect @@ -1,22 +1,17 @@ import "dart:collection"; -String soundResult = - "[key1];" - "[key2];"; +String soundResult = "[key1];" "[key2];"; String test1(Object o) {} String test2(Object o) => switch (o) { - {"key1": 1, "key2": 3} => "match-2", - {"key1": 1, "key2": 2} => "match-3", - _ => "no match", -}; + {"key1": 1, "key2": 3} => "match-2", + {"key1": 1, "key2": 2} => "match-3", + _ => "no match" + }; String unsoundResult = - "containsKey(key1);" - "[key1];" - "containsKey(key2);" - "[key2];"; + "containsKey(key1);" "[key1];" "containsKey(key2);" "[key2];"; bool get hasUnsoundNullSafety => const [] is List; diff --git a/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline.expect index 50c602f1b63..ce6d6a2efcb 100644 --- a/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline.expect @@ -10,10 +10,10 @@ class NegativeLengthList with ListMixin { } int switchList(List list) => switch (list) { - [_, _, ...] => 2, - [_] => 1, - [] => 0, -}; + [_, _, ...] => 2, + [_] => 1, + [] => 0, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline_modelled.expect index b3f96cbad6d..3ae1caddded 100644 --- a/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/negative_length.dart.textual_outline_modelled.expect @@ -12,9 +12,9 @@ class NegativeLengthList with ListMixin { expect(expected, actual) {} int switchList(List list) => switch (list) { - [_, _, ...] => 2, - [_] => 1, - [] => 0, -}; + [_, _, ...] => 2, + [_] => 1, + [] => 0, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline.expect index cba3dfbe08d..6938017b713 100644 --- a/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline.expect @@ -2,7 +2,5 @@ String test1(List v) {} String test2(List v) {} -String test3(List v) => switch (v) { - [var a, _] when a - 1 => "match", - _ => "no match", -}; +String test3(List v) => + switch (v) { [var a, _] when a - 1 => "match", _ => "no match" }; diff --git a/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline_modelled.expect index cba3dfbe08d..6938017b713 100644 --- a/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/non_bool_guard.dart.textual_outline_modelled.expect @@ -2,7 +2,5 @@ String test1(List v) {} String test2(List v) {} -String test3(List v) => switch (v) { - [var a, _] when a - 1 => "match", - _ => "no match", -}; +String test3(List v) => + switch (v) { [var a, _] when a - 1 => "match", _ => "no match" }; diff --git a/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline.expect index 62473489af6..f54a17369b4 100644 --- a/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline.expect @@ -1,5 +1,5 @@ -void f(x) => [for (var (a, b) = x; ;) a]; +void f(x) => [for (var (a, b) = x;;) a]; -void g(x) => {for (var (a, b) = x; ;) b}; +void g(x) => {for (var (a, b) = x;;) b}; -void h(x) => {for (var (a, b) = x; ;) a: b}; +void h(x) => {for (var (a, b) = x;;) a: b}; diff --git a/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline_modelled.expect index 62473489af6..f54a17369b4 100644 --- a/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/pattern_inForInitializer_element.dart.textual_outline_modelled.expect @@ -1,5 +1,5 @@ -void f(x) => [for (var (a, b) = x; ;) a]; +void f(x) => [for (var (a, b) = x;;) a]; -void g(x) => {for (var (a, b) = x; ;) b}; +void g(x) => {for (var (a, b) = x;;) b}; -void h(x) => {for (var (a, b) = x; ;) a: b}; +void h(x) => {for (var (a, b) = x;;) a: b}; diff --git a/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline.expect index 5c639552539..102a08773f2 100644 --- a/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline.expect @@ -17,9 +17,9 @@ class Circle implements Shape { } double calculateArea(Shape shape) => switch (shape) { - Square(length: var l) => l * l, - Circle(radius: var r) => math.pi * r * r, -}; + Square(length: var l) => l * l, + Circle(radius: var r) => math.pi * r * r + }; main() {} diff --git a/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline_modelled.expect index c7c9e3f2e90..906d4f8f1ab 100644 --- a/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/pattern_matching.dart.textual_outline_modelled.expect @@ -13,9 +13,9 @@ class Square implements Shape { } double calculateArea(Shape shape) => switch (shape) { - Square(length: var l) => l * l, - Circle(radius: var r) => math.pi * r * r, -}; + Square(length: var l) => l * l, + Circle(radius: var r) => math.pi * r * r + }; expect(expected, actual) {} diff --git a/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline.expect index ef5796ac1fb..236bd8817ba 100644 --- a/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline.expect @@ -171,13 +171,21 @@ const set1 = { topLevel, }; -const set2 = {A()}; +const set2 = { + A(), +}; -const set3 = {B()}; +const set3 = { + B(), +}; -const set4 = {C()}; +const set4 = { + C(), +}; -const set5 = {0.5}; +const set5 = { + 0.5, +}; const map1 = { null: 0, @@ -194,10 +202,18 @@ const map1 = { topLevel: 0, }; -const map2 = {A(): 0}; +const map2 = { + A(): 0, +}; -const map3 = {B(): 0}; +const map3 = { + B(): 0, +}; -const map4 = {C(): 0}; +const map4 = { + C(): 0, +}; -const map5 = {0.5: 0}; +const map5 = { + 0.5: 0, +}; diff --git a/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline_modelled.expect index 21e47ea1e27..e05d2fc7e5d 100644 --- a/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/primitive_equality.dart.textual_outline_modelled.expect @@ -153,13 +153,21 @@ const map1 = { topLevel: 0, }; -const map2 = {A(): 0}; +const map2 = { + A(): 0, +}; -const map3 = {B(): 0}; +const map3 = { + B(): 0, +}; -const map4 = {C(): 0}; +const map4 = { + C(): 0, +}; -const map5 = {0.5: 0}; +const map5 = { + 0.5: 0, +}; const n1 = topLevel == Const(); @@ -192,12 +200,20 @@ const set1 = { topLevel, }; -const set2 = {A()}; +const set2 = { + A(), +}; -const set3 = {B()}; +const set3 = { + B(), +}; -const set4 = {C()}; +const set4 = { + C(), +}; -const set5 = {0.5}; +const set5 = { + 0.5, +}; void topLevel() {} diff --git a/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline.expect index d4d706d2991..283802cf065 100644 --- a/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline.expect @@ -1,17 +1,17 @@ test1(dynamic x) => [for (var [int i, int n] = x; i < n; i++) i]; test2(dynamic x) => { - -1: -1, - for (var [int i, int n] = x; i < n; i++) i: i, - -2: -2, -}; + -1: -1, + for (var [int i, int n] = x; i < n; i++) i: i, + -2: -2, + }; test3(dynamic x, dynamic another) => { - -1: -1, - for (var [int i1, n1, ...] = x; i1 < n1; i1++) - for (var [_, _, int i2, n2, ...] = x; i2 < n2; i2++) ...another, - -2: -2, -}; + -1: -1, + for (var [int i1, n1, ...] = x; i1 < n1; i1++) + for (var [_, _, int i2, n2, ...] = x; i2 < n2; i2++) ...another, + -2: -2, + }; main() {} diff --git a/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline_modelled.expect index 74a6f48500e..2e05b0d3fcb 100644 --- a/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/simple_c_style_pattern_for_in_collections.dart.textual_outline_modelled.expect @@ -11,14 +11,14 @@ mapToString(Map map) {} test1(dynamic x) => [for (var [int i, int n] = x; i < n; i++) i]; test2(dynamic x) => { - -1: -1, - for (var [int i, int n] = x; i < n; i++) i: i, - -2: -2, -}; + -1: -1, + for (var [int i, int n] = x; i < n; i++) i: i, + -2: -2, + }; test3(dynamic x, dynamic another) => { - -1: -1, - for (var [int i1, n1, ...] = x; i1 < n1; i1++) - for (var [_, _, int i2, n2, ...] = x; i2 < n2; i2++) ...another, - -2: -2, -}; + -1: -1, + for (var [int i1, n1, ...] = x; i1 < n1; i1++) + for (var [_, _, int i2, n2, ...] = x; i2 < n2; i2++) ...another, + -2: -2, + }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline.expect index 3195d8ee802..6ee29129ba1 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline.expect @@ -1,3 +1 @@ -f(x) => switch (x) { - _ when true => 0, -}; +f(x) => switch (x) { _ when true => 0 }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline_modelled.expect index 3195d8ee802..6ee29129ba1 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_guarded.dart.textual_outline_modelled.expect @@ -1,3 +1 @@ -f(x) => switch (x) { - _ when true => 0, -}; +f(x) => switch (x) { _ when true => 0 }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline.expect index e3a5bd1166c..d0b798d2079 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline.expect @@ -1,3 +1 @@ -f(x) => switch (x) { - _ => 0, -}; +f(x) => switch (x) { _ => 0 }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline_modelled.expect index e3a5bd1166c..d0b798d2079 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_noTrailingComma.dart.textual_outline_modelled.expect @@ -1,3 +1 @@ -f(x) => switch (x) { - _ => 0, -}; +f(x) => switch (x) { _ => 0 }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline.expect index e3a5bd1166c..200263f5083 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline.expect @@ -1,3 +1,3 @@ f(x) => switch (x) { - _ => 0, -}; + _ => 0, + }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline_modelled.expect index e3a5bd1166c..200263f5083 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_onePattern_trailingComma.dart.textual_outline_modelled.expect @@ -1,3 +1,3 @@ f(x) => switch (x) { - _ => 0, -}; + _ => 0, + }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline.expect index bb38dad6382..66d5995a736 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline.expect @@ -1,4 +1 @@ -f(x) => switch (x) { - int _ => 0, - _ => 1, -}; +f(x) => switch (x) { int _ => 0, _ => 1 }; diff --git a/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline_modelled.expect index bb38dad6382..66d5995a736 100644 --- a/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/switchExpression_twoPatterns.dart.textual_outline_modelled.expect @@ -1,4 +1 @@ -f(x) => switch (x) { - int _ => 0, - _ => 1, -}; +f(x) => switch (x) { int _ => 0, _ => 1 }; diff --git a/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline.expect b/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline.expect index 9bacbdc9224..1beb621dbd1 100644 --- a/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline.expect +++ b/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline.expect @@ -6,27 +6,25 @@ class Circle { } test1(dynamic x) => switch (x) { - Circle(radius: var r) when r > 0 => r * r * math.pi, - _ => null, -}; + Circle(radius: var r) when r > 0 => r * r * math.pi, + _ => null + }; dynamic Function(dynamic)? captured; test2(dynamic x) => switch (x) { - [int a, int b] - when (captured = (x) { + [int a, int b] + when (captured = (x) { return a + b; - }) - is dynamic => - captured!(a = b), - [String a, String b] - when (captured = (x) { + }) is dynamic => + captured!(a = b), + [String a, String b] + when (captured = (x) { return a + b; - }) - is dynamic => - captured!(a = b), - _ => null, -}; + }) is dynamic => + captured!(a = b), + _ => null + }; test3(dynamic x) {} diff --git a/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline_modelled.expect index 19eda39d0d2..13a9ff73572 100644 --- a/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/patterns/switch_expressions_variable_capture.dart.textual_outline_modelled.expect @@ -12,24 +12,22 @@ expectEquals(x, y) {} main() {} test1(dynamic x) => switch (x) { - Circle(radius: var r) when r > 0 => r * r * math.pi, - _ => null, -}; + Circle(radius: var r) when r > 0 => r * r * math.pi, + _ => null + }; test2(dynamic x) => switch (x) { - [int a, int b] - when (captured = (x) { + [int a, int b] + when (captured = (x) { return a + b; - }) - is dynamic => - captured!(a = b), - [String a, String b] - when (captured = (x) { + }) is dynamic => + captured!(a = b), + [String a, String b] + when (captured = (x) { return a + b; - }) - is dynamic => - captured!(a = b), - _ => null, -}; + }) is dynamic => + captured!(a = b), + _ => null + }; test3(dynamic x) {} diff --git a/pkg/front_end/testcases/rasta/enum.dart.textual_outline.expect b/pkg/front_end/testcases/rasta/enum.dart.textual_outline.expect index 6f1bdb0eb3d..c0c63c52ea1 100644 --- a/pkg/front_end/testcases/rasta/enum.dart.textual_outline.expect +++ b/pkg/front_end/testcases/rasta/enum.dart.textual_outline.expect @@ -1,3 +1,6 @@ -enum Foo { ec1, ec2 } +enum Foo { + ec1, + ec2, +} main() {} diff --git a/pkg/front_end/testcases/rasta/enum.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/rasta/enum.dart.textual_outline_modelled.expect index 6f1bdb0eb3d..c0c63c52ea1 100644 --- a/pkg/front_end/testcases/rasta/enum.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/rasta/enum.dart.textual_outline_modelled.expect @@ -1,3 +1,6 @@ -enum Foo { ec1, ec2 } +enum Foo { + ec1, + ec2, +} main() {} diff --git a/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline.expect b/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline.expect index 68f252dee70..c058c68837d 100644 --- a/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline.expect +++ b/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline.expect @@ -6,7 +6,13 @@ class Super { class Sub extends Super { var field; - Sub.arg0() : super.arg0(), field = 42; - Sub.arg1(a) : super.arg1(a), field = 42; - Sub.arg2(a, b) : super.arg2(a, b), field = 42; + Sub.arg0() + : super.arg0(), + field = 42; + Sub.arg1(a) + : super.arg1(a), + field = 42; + Sub.arg2(a, b) + : super.arg2(a, b), + field = 42; } diff --git a/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline_modelled.expect index 23927f0b02f..65f2d209a12 100644 --- a/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/rasta/super_initializer.dart.textual_outline_modelled.expect @@ -1,7 +1,13 @@ class Sub extends Super { - Sub.arg0() : super.arg0(), field = 42; - Sub.arg1(a) : super.arg1(a), field = 42; - Sub.arg2(a, b) : super.arg2(a, b), field = 42; + Sub.arg0() + : super.arg0(), + field = 42; + Sub.arg1(a) + : super.arg1(a), + field = 42; + Sub.arg2(a, b) + : super.arg2(a, b), + field = 42; var field; } diff --git a/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline.expect b/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline.expect index 4cff80e3adf..361c54ee58c 100644 --- a/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline.expect @@ -1,9 +1,11 @@ void main() {} Iterable<(Iterable, Iterable)> split(Iterable it) => switch (it) { - Iterable(isEmpty: true) => [(Iterable.empty(), Iterable.empty())], - Iterable(first: var x) => () sync* { - yield (Iterable.empty(), it); - for (var (ls, rs) in split(it.skip(1))) yield ([x, ...ls], rs); - }(), -}; + Iterable(isEmpty: true) => [ + (Iterable.empty(), Iterable.empty()) + ], + Iterable(first: var x) => () sync* { + yield (Iterable.empty(), it); + for (var (ls, rs) in split(it.skip(1))) yield ([x, ...ls], rs); + }(), + }; diff --git a/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline_modelled.expect index b874d997b55..7f7320b31c3 100644 --- a/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/block_combine_statements.dart.textual_outline_modelled.expect @@ -1,9 +1,11 @@ Iterable<(Iterable, Iterable)> split(Iterable it) => switch (it) { - Iterable(isEmpty: true) => [(Iterable.empty(), Iterable.empty())], - Iterable(first: var x) => () sync* { - yield (Iterable.empty(), it); - for (var (ls, rs) in split(it.skip(1))) yield ([x, ...ls], rs); - }(), -}; + Iterable(isEmpty: true) => [ + (Iterable.empty(), Iterable.empty()) + ], + Iterable(first: var x) => () sync* { + yield (Iterable.empty(), it); + for (var (ls, rs) in split(it.skip(1))) yield ([x, ...ls], rs); + }(), + }; void main() {} diff --git a/pkg/front_end/testcases/records/issue54491.dart.textual_outline.expect b/pkg/front_end/testcases/records/issue54491.dart.textual_outline.expect index 48c531b7c42..3cebb709264 100644 --- a/pkg/front_end/testcases/records/issue54491.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/issue54491.dart.textual_outline.expect @@ -2,7 +2,7 @@ void main() {} class Chk { const Chk(Object? v, {required Object? eq}) - : assert(v == eq, "Not equal ${(v, eq: eq)}"); + : assert(v == eq, "Not equal ${(v, eq: eq)}"); } extension type const Ex(Object? value) {} diff --git a/pkg/front_end/testcases/records/issue54491.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/issue54491.dart.textual_outline_modelled.expect index 4cb1bf86189..35c17211399 100644 --- a/pkg/front_end/testcases/records/issue54491.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/issue54491.dart.textual_outline_modelled.expect @@ -1,6 +1,6 @@ class Chk { const Chk(Object? v, {required Object? eq}) - : assert(v == eq, "Not equal ${(v, eq: eq)}"); + : assert(v == eq, "Not equal ${(v, eq: eq)}"); } extension type const Ex(Object? value) {} diff --git a/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline.expect b/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline.expect index 505f122361d..af151bf89e7 100644 --- a/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline.expect @@ -7,21 +7,19 @@ extension EIntIntCallInt on (int, int, {dynamic Function(dynamic) call}) { } test< - X1 extends (int,), - X2 extends (int, {dynamic Function(dynamic) call}), - X3 extends (int, int, {dynamic Function(dynamic) call}), - X4 extends (String,) ->( - (int,) r1, - (int, {dynamic Function(dynamic) call}) r2, - (int, int, {dynamic Function(dynamic) call}) r3, - (String,) r4, - X1 x1, - X2 x2, - X3 x3, - X4 x4, - X1? x1n, - X2? x2n, - X3? x3n, - X4? x4n, -) {} + X1 extends (int,), + X2 extends (int, {dynamic Function(dynamic) call}), + X3 extends (int, int, {dynamic Function(dynamic) call}), + X4 extends (String,)>( + (int,) r1, + (int, {dynamic Function(dynamic) call}) r2, + (int, int, {dynamic Function(dynamic) call}) r3, + (String,) r4, + X1 x1, + X2 x2, + X3 x3, + X4 x4, + X1? x1n, + X2? x2n, + X3? x3n, + X4? x4n) {} diff --git a/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline_modelled.expect index 505f122361d..af151bf89e7 100644 --- a/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/issue54616_2.dart.textual_outline_modelled.expect @@ -7,21 +7,19 @@ extension EIntIntCallInt on (int, int, {dynamic Function(dynamic) call}) { } test< - X1 extends (int,), - X2 extends (int, {dynamic Function(dynamic) call}), - X3 extends (int, int, {dynamic Function(dynamic) call}), - X4 extends (String,) ->( - (int,) r1, - (int, {dynamic Function(dynamic) call}) r2, - (int, int, {dynamic Function(dynamic) call}) r3, - (String,) r4, - X1 x1, - X2 x2, - X3 x3, - X4 x4, - X1? x1n, - X2? x2n, - X3? x3n, - X4? x4n, -) {} + X1 extends (int,), + X2 extends (int, {dynamic Function(dynamic) call}), + X3 extends (int, int, {dynamic Function(dynamic) call}), + X4 extends (String,)>( + (int,) r1, + (int, {dynamic Function(dynamic) call}) r2, + (int, int, {dynamic Function(dynamic) call}) r3, + (String,) r4, + X1 x1, + X2 x2, + X3 x3, + X4 x4, + X1? x1n, + X2? x2n, + X3? x3n, + X4? x4n) {} diff --git a/pkg/front_end/testcases/records/null_shorting.dart.textual_outline.expect b/pkg/front_end/testcases/records/null_shorting.dart.textual_outline.expect index 663b6b280d4..18a10202396 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.textual_outline.expect @@ -1,7 +1,5 @@ -test( - (int, String, {double d, void Function() f, Class c})? record, - List<(int, String, {double d, void Function() f, Class c})>? list, -) {} +test((int, String, {double d, void Function() f, Class c})? record, + List<(int, String, {double d, void Function() f, Class c})>? list) {} extension on int { void call() {} diff --git a/pkg/front_end/testcases/records/null_shorting.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/null_shorting.dart.textual_outline_modelled.expect index 5601c4269b2..dd6e260ea39 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.textual_outline_modelled.expect @@ -14,7 +14,5 @@ extension on int { void call() {} } -test( - (int, String, {double d, void Function() f, Class c})? record, - List<(int, String, {double d, void Function() f, Class c})>? list, -) {} +test((int, String, {double d, void Function() f, Class c})? record, + List<(int, String, {double d, void Function() f, Class c})>? list) {} diff --git a/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline.expect b/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline.expect index 48c531b7c42..3cebb709264 100644 --- a/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline.expect @@ -2,7 +2,7 @@ void main() {} class Chk { const Chk(Object? v, {required Object? eq}) - : assert(v == eq, "Not equal ${(v, eq: eq)}"); + : assert(v == eq, "Not equal ${(v, eq: eq)}"); } extension type const Ex(Object? value) {} diff --git a/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline_modelled.expect index 4cb1bf86189..35c17211399 100644 --- a/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/record_named_constant_evaluation.dart.textual_outline_modelled.expect @@ -1,6 +1,6 @@ class Chk { const Chk(Object? v, {required Object? eq}) - : assert(v == eq, "Not equal ${(v, eq: eq)}"); + : assert(v == eq, "Not equal ${(v, eq: eq)}"); } extension type const Ex(Object? value) {} diff --git a/pkg/front_end/testcases/records/simple_inference.dart.textual_outline.expect b/pkg/front_end/testcases/records/simple_inference.dart.textual_outline.expect index 50f272b4d2b..9144a3ed706 100644 --- a/pkg/front_end/testcases/records/simple_inference.dart.textual_outline.expect +++ b/pkg/front_end/testcases/records/simple_inference.dart.textual_outline.expect @@ -11,11 +11,7 @@ foo5((int, String?) r, (int, X) Function() f) {} foo6((X, Y) Function(X x, Y y) f, int x, String y) {} foo7( - (X, (Y, Z)) Function(X x, Y y, Z z) f, - int x, - String y, - bool? z, -) {} + (X, (Y, Z)) Function(X x, Y y, Z z) f, int x, String y, bool? z) {} class A8 {} diff --git a/pkg/front_end/testcases/records/simple_inference.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/records/simple_inference.dart.textual_outline_modelled.expect index af841a68ac6..6fa9bbea448 100644 --- a/pkg/front_end/testcases/records/simple_inference.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/records/simple_inference.dart.textual_outline_modelled.expect @@ -21,11 +21,7 @@ foo5((int, String?) r, (int, X) Function() f) {} foo6((X, Y) Function(X x, Y y) f, int x, String y) {} foo7( - (X, (Y, Z)) Function(X x, Y y, Z z) f, - int x, - String y, - bool? z, -) {} + (X, (Y, Z)) Function(X x, Y y, Z z) f, int x, String y, bool? z) {} foo8(A8 a) {} diff --git a/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline.expect b/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline.expect index 393e271203a..7a16932e992 100644 --- a/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline.expect +++ b/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline.expect @@ -1,4 +1,6 @@ extension type Foo(int _x) { int y; - Foo.secondConstructor() : _x = 42, y = 42; + Foo.secondConstructor() + : _x = 42, + y = 42; } diff --git a/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline_modelled.expect index bc4d694de99..5ec7ff90f7a 100644 --- a/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/regress/extension_type_declared_instance_field_01.dart.textual_outline_modelled.expect @@ -1,4 +1,6 @@ extension type Foo(int _x) { - Foo.secondConstructor() : _x = 42, y = 42; + Foo.secondConstructor() + : _x = 42, + y = 42; int y; } diff --git a/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline.expect b/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline.expect index 04013ce8cc2..2af26791bf5 100644 --- a/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline.expect +++ b/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline.expect @@ -1,3 +1,6 @@ -enum A { a, b } +enum A { + a, + b, +} main() {} diff --git a/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline_modelled.expect index 04013ce8cc2..2af26791bf5 100644 --- a/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/static_field_lowering/enum.dart.textual_outline_modelled.expect @@ -1,3 +1,6 @@ -enum A { a, b } +enum A { + a, + b, +} main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline.expect b/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline.expect index a93e1551c4d..a2030731fdd 100644 --- a/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline.expect +++ b/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline.expect @@ -3,8 +3,12 @@ class A { } class B extends A { - B.sub1(double super.bar1(int a1)); - B.sub2(double super.bar2(int a2)); + B.sub1( + double super.bar1(int a1), + ); + B.sub2( + double super.bar2(int a2), + ); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline_modelled.expect index a93e1551c4d..a2030731fdd 100644 --- a/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/super_parameters/issue47741.dart.textual_outline_modelled.expect @@ -3,8 +3,12 @@ class A { } class B extends A { - B.sub1(double super.bar1(int a1)); - B.sub2(double super.bar2(int a2)); + B.sub1( + double super.bar1(int a1), + ); + B.sub2( + double super.bar2(int a2), + ); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline.expect b/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline.expect index f63b8ebe78c..5a6498ff3b1 100644 --- a/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline.expect +++ b/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline.expect @@ -11,48 +11,44 @@ class C1 extends S1 { } class S2 { - S2({ - String one = "1", - bool two = false, - int three = 3, - double four = 4, - num five = 3.14, - List six = const ["six"], - }); + S2( + {String one = "1", + bool two = false, + int three = 3, + double four = 4, + num five = 3.14, + List six = const ["six"]}); } class C21 extends S2 { - C21({ - dynamic foo, - super.one, - dynamic bar, - dynamic baz, - super.three, - super.five, - }); + C21( + {dynamic foo, + super.one, + dynamic bar, + dynamic baz, + super.three, + super.five}); } class C22 extends S2 { - C22({ - dynamic foo, - super.six, - dynamic bar, - dynamic baz, - super.four, - super.two, - }); + C22( + {dynamic foo, + super.six, + dynamic bar, + dynamic baz, + super.four, + super.two}); } class C23 extends S2 { - C23({ - super.three, - dynamic foo, - super.one, - super.four, - dynamic bar, - super.two, - dynamic baz, - }); + C23( + {super.three, + dynamic foo, + super.one, + super.four, + dynamic bar, + super.two, + dynamic baz}); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline_modelled.expect index 5de8048a070..d4a92de5b37 100644 --- a/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/super_parameters/issue48142.dart.textual_outline_modelled.expect @@ -5,37 +5,34 @@ class C1 extends S1 { } class C21 extends S2 { - C21({ - dynamic foo, - super.one, - dynamic bar, - dynamic baz, - super.three, - super.five, - }); + C21( + {dynamic foo, + super.one, + dynamic bar, + dynamic baz, + super.three, + super.five}); } class C22 extends S2 { - C22({ - dynamic foo, - super.six, - dynamic bar, - dynamic baz, - super.four, - super.two, - }); + C22( + {dynamic foo, + super.six, + dynamic bar, + dynamic baz, + super.four, + super.two}); } class C23 extends S2 { - C23({ - super.three, - dynamic foo, - super.one, - super.four, - dynamic bar, - super.two, - dynamic baz, - }); + C23( + {super.three, + dynamic foo, + super.one, + super.four, + dynamic bar, + super.two, + dynamic baz}); } class S1 { @@ -45,14 +42,13 @@ class S1 { } class S2 { - S2({ - String one = "1", - bool two = false, - int three = 3, - double four = 4, - num five = 3.14, - List six = const ["six"], - }); + S2( + {String one = "1", + bool two = false, + int three = 3, + double four = 4, + num five = 3.14, + List six = const ["six"]}); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline.expect b/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline.expect index ca94f9ff5a6..bc8fdc001f3 100644 --- a/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline.expect +++ b/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline.expect @@ -3,12 +3,16 @@ class A {} mixin Mixin {} abstract class B { - B({required this.field}); + B({ + required this.field, + }); final D field; } class C extends B with Mixin { - C({required super.field}); + C({ + required super.field, + }); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline_modelled.expect index f641a3d0293..d6d001559b6 100644 --- a/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/super_parameters/issue48708.dart.textual_outline_modelled.expect @@ -1,12 +1,16 @@ abstract class B { - B({required this.field}); + B({ + required this.field, + }); final D field; } class A {} class C extends B with Mixin { - C({required super.field}); + C({ + required super.field, + }); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline.expect b/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline.expect index 69bb0aefa4f..3392cd27a0f 100644 --- a/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline.expect +++ b/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline.expect @@ -1,15 +1,25 @@ class NumProperty extends DiagnosticsProperty { - NumProperty({super.showName}); - NumProperty.lazy({super.showName}) : super.lazy(); + NumProperty({ + super.showName, + }); + NumProperty.lazy({ + super.showName, + }) : super.lazy(); } class DiagnosticsProperty extends DiagnosticsNode { - DiagnosticsProperty({super.showName}); - DiagnosticsProperty.lazy({super.showName}); + DiagnosticsProperty({ + super.showName, + }); + DiagnosticsProperty.lazy({ + super.showName, + }); } abstract class DiagnosticsNode { - DiagnosticsNode({this.showName = true}); + DiagnosticsNode({ + this.showName = true, + }); final bool showName; } diff --git a/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline_modelled.expect index 095e6683aeb..0b4d826881c 100644 --- a/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/super_parameters/issue48769.dart.textual_outline_modelled.expect @@ -1,16 +1,26 @@ abstract class DiagnosticsNode { - DiagnosticsNode({this.showName = true}); + DiagnosticsNode({ + this.showName = true, + }); final bool showName; } class DiagnosticsProperty extends DiagnosticsNode { - DiagnosticsProperty({super.showName}); - DiagnosticsProperty.lazy({super.showName}); + DiagnosticsProperty({ + super.showName, + }); + DiagnosticsProperty.lazy({ + super.showName, + }); } class NumProperty extends DiagnosticsProperty { - NumProperty({super.showName}); - NumProperty.lazy({super.showName}) : super.lazy(); + NumProperty({ + super.showName, + }); + NumProperty.lazy({ + super.showName, + }) : super.lazy(); } void main() {} diff --git a/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline.expect b/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline.expect index 983e66b2dbd..80093ec695f 100644 --- a/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline.expect +++ b/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline.expect @@ -57,25 +57,24 @@ class B6 extends A6 { } class A7 { - A7({ - required int x1, - required int x2, - required bool Function(Object) f1, - required bool Function(Object) f2, - required void Function(dynamic) g1, - required void Function(dynamic) g2, - }); + A7( + {required int x1, + required int x2, + required bool Function(Object) f1, + required bool Function(Object) f2, + required void Function(dynamic) g1, + required void Function(dynamic) g2}); } class B7 extends A7 { - B7({ - required dynamic super.x1, - required dynamic x2, - required X Function(Object) super.f1, - required X Function(Object) f2, - required void Function(X) super.g1, - required void Function(X) g2, - }) : super(x2: x2, f2: f2, g2: g2); + B7( + {required dynamic super.x1, + required dynamic x2, + required X Function(Object) super.f1, + required X Function(Object) f2, + required void Function(X) super.g1, + required void Function(X) g2}) + : super(x2: x2, f2: f2, g2: g2); } main() {} diff --git a/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline_modelled.expect index 6dca09ef215..d6b43c6e0d4 100644 --- a/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/super_parameters/no_coercions.dart.textual_outline_modelled.expect @@ -27,14 +27,13 @@ class A6 { } class A7 { - A7({ - required int x1, - required int x2, - required bool Function(Object) f1, - required bool Function(Object) f2, - required void Function(dynamic) g1, - required void Function(dynamic) g2, - }); + A7( + {required int x1, + required int x2, + required bool Function(Object) f1, + required bool Function(Object) f2, + required void Function(dynamic) g1, + required void Function(dynamic) g2}); } class B1 extends A1 { @@ -68,14 +67,14 @@ class B6 extends A6 { } class B7 extends A7 { - B7({ - required dynamic super.x1, - required dynamic x2, - required X Function(Object) super.f1, - required X Function(Object) f2, - required void Function(X) super.g1, - required void Function(X) g2, - }) : super(x2: x2, f2: f2, g2: g2); + B7( + {required dynamic super.x1, + required dynamic x2, + required X Function(Object) super.f1, + required X Function(Object) f2, + required void Function(X) super.g1, + required void Function(X) g2}) + : super(x2: x2, f2: f2, g2: g2); } main() {} diff --git a/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline.expect b/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline.expect index 2a89e87d4a1..eb83b57f92c 100644 --- a/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline.expect +++ b/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline.expect @@ -10,92 +10,124 @@ var map2 = {if (b) ...map0 else 0: 1}; var map3 = {if (b) ...map0 else ...map0}; -var map4 = {if (b) 0: 1 else for (var a in list) a: 1}; +var map4 = { + if (b) + 0: 1 + else + for (var a in list) a: 1 +}; var map5 = { if (b) for (var a in list) a: 1 else - 0: 1, + 0: 1 }; var map6 = { - if (b) 0: 1 else for (var a in list) ...{a: 1}, + if (b) + 0: 1 + else + for (var a in list) ...{a: 1} }; var map7 = { if (b) for (var a in list) ...{a: 1} else - 0: 1, + 0: 1 }; -var map8 = {if (b) 0: 1 else for (var i = 0; i < list.length; i++) list[i]: 1}; +var map8 = { + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) list[i]: 1 +}; var map9 = { if (b) for (var i = 0; i < list.length; i++) list[i]: 1 else - 0: 1, + 0: 1 }; var map10 = { - if (b) 0: 1 else for (var i = 0; i < list.length; i++) ...{list[i]: 1}, + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) ...{list[i]: 1} }; var map11 = { if (b) for (var i = 0; i < list.length; i++) ...{list[i]: 1} else - 0: 1, + 0: 1 }; var map12 = { - if (b) 0: 1 else if (b) ...{0: 1}, + if (b) 0: 1 else if (b) ...{0: 1} }; -var error4 = {if (b) 0: 1 else for (var a in list) a}; +var error4 = { + if (b) + 0: 1 + else + for (var a in list) a +}; var error5 = { if (b) for (var a in list) a else - 0: 1, + 0: 1 }; var error6 = { - if (b) 0: 1 else for (var a in list) ...{a}, + if (b) + 0: 1 + else + for (var a in list) ...{a} }; var error7 = { if (b) for (var a in list) ...{a} else - 0: 1, + 0: 1 }; -var error8 = {if (b) 0: 1 else for (var i = 0; i < list.length; i++) list[i]}; +var error8 = { + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) list[i] +}; var error9 = { if (b) for (var i = 0; i < list.length; i++) list[i] else - 0: 1, + 0: 1 }; var error10 = { - if (b) 0: 1 else for (var i = 0; i < list.length; i++) ...{list[i]}, + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) ...{list[i]} }; var error11 = { if (b) for (var i = 0; i < list.length; i++) ...{list[i]} else - 0: 1, + 0: 1 }; var error12 = { - if (b) 0: 1 else if (b) ...{0}, + if (b) 0: 1 else if (b) ...{0} }; main() {} diff --git a/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline_modelled.expect index 07ac0d33ce4..7de549815b0 100644 --- a/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/unified_collections/mixed_entries.dart.textual_outline_modelled.expect @@ -3,47 +3,63 @@ bool b = false; main() {} var error10 = { - if (b) 0: 1 else for (var i = 0; i < list.length; i++) ...{list[i]}, + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) ...{list[i]} }; var error11 = { if (b) for (var i = 0; i < list.length; i++) ...{list[i]} else - 0: 1, + 0: 1 }; var error12 = { - if (b) 0: 1 else if (b) ...{0}, + if (b) 0: 1 else if (b) ...{0} }; -var error4 = {if (b) 0: 1 else for (var a in list) a}; +var error4 = { + if (b) + 0: 1 + else + for (var a in list) a +}; var error5 = { if (b) for (var a in list) a else - 0: 1, + 0: 1 }; var error6 = { - if (b) 0: 1 else for (var a in list) ...{a}, + if (b) + 0: 1 + else + for (var a in list) ...{a} }; var error7 = { if (b) for (var a in list) ...{a} else - 0: 1, + 0: 1 }; -var error8 = {if (b) 0: 1 else for (var i = 0; i < list.length; i++) list[i]}; +var error8 = { + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) list[i] +}; var error9 = { if (b) for (var i = 0; i < list.length; i++) list[i] else - 0: 1, + 0: 1 }; var list = []; @@ -53,49 +69,65 @@ var map0 = {}; var map1 = {if (b) 0: 1 else ...map0}; var map10 = { - if (b) 0: 1 else for (var i = 0; i < list.length; i++) ...{list[i]: 1}, + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) ...{list[i]: 1} }; var map11 = { if (b) for (var i = 0; i < list.length; i++) ...{list[i]: 1} else - 0: 1, + 0: 1 }; var map12 = { - if (b) 0: 1 else if (b) ...{0: 1}, + if (b) 0: 1 else if (b) ...{0: 1} }; var map2 = {if (b) ...map0 else 0: 1}; var map3 = {if (b) ...map0 else ...map0}; -var map4 = {if (b) 0: 1 else for (var a in list) a: 1}; +var map4 = { + if (b) + 0: 1 + else + for (var a in list) a: 1 +}; var map5 = { if (b) for (var a in list) a: 1 else - 0: 1, + 0: 1 }; var map6 = { - if (b) 0: 1 else for (var a in list) ...{a: 1}, + if (b) + 0: 1 + else + for (var a in list) ...{a: 1} }; var map7 = { if (b) for (var a in list) ...{a: 1} else - 0: 1, + 0: 1 }; -var map8 = {if (b) 0: 1 else for (var i = 0; i < list.length; i++) list[i]: 1}; +var map8 = { + if (b) + 0: 1 + else + for (var i = 0; i < list.length; i++) list[i]: 1 +}; var map9 = { if (b) for (var i = 0; i < list.length; i++) list[i]: 1 else - 0: 1, + 0: 1 }; diff --git a/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline.expect b/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline.expect index b6afbe5b108..3c1ec30d976 100644 --- a/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline.expect +++ b/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline.expect @@ -21,7 +21,9 @@ class B { class C extends B { final int z; - C(super.x, super._, super._, this.z) : assert(x > 0), assert(_ >= 0) {} + C(super.x, super._, super._, this.z) + : assert(x > 0), + assert(_ >= 0) {} } main() {} diff --git a/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline_modelled.expect index b0d4de8fa8a..e5b5bb85591 100644 --- a/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline_modelled.expect +++ b/pkg/front_end/testcases/wildcard_variables/initializing_formals.dart.textual_outline_modelled.expect @@ -9,7 +9,9 @@ class B { } class C extends B { - C(super.x, super._, super._, this.z) : assert(x > 0), assert(_ >= 0) {} + C(super.x, super._, super._, this.z) + : assert(x > 0), + assert(_ >= 0) {} final int z; } diff --git a/pkg/front_end/tool/generate_experimental_flags.dart b/pkg/front_end/tool/generate_experimental_flags.dart index 308845acccc..5f9a9b3704c 100644 --- a/pkg/front_end/tool/generate_experimental_flags.dart +++ b/pkg/front_end/tool/generate_experimental_flags.dart @@ -179,7 +179,8 @@ class Version { } '''); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$sb"); } @@ -214,7 +215,8 @@ import "ast.dart"; const Version defaultLanguageVersion = const Version($currentVersionMajor, $currentVersionMinor); '''); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$sb"); } @@ -527,7 +529,8 @@ const AllowedExperimentalFlags defaultAllowedExperimentalFlags = }; '''); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$sb"); } diff --git a/pkg/front_end/tool/generate_messages.dart b/pkg/front_end/tool/generate_messages.dart index 2df40748c8f..7fe82797ad8 100644 --- a/pkg/front_end/tool/generate_messages.dart +++ b/pkg/front_end/tool/generate_messages.dart @@ -30,6 +30,6 @@ Messages generateMessagesFiles(Uri repoDir) { return generateMessagesFilesRaw( repoDir, (s) => new DartFormatter( - languageVersion: DartFormatter.latestLanguageVersion) + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format(s)); } diff --git a/pkg/front_end/tool/parser_ast_helper_creator.dart b/pkg/front_end/tool/parser_ast_helper_creator.dart index a688331f426..f34871efe3f 100644 --- a/pkg/front_end/tool/parser_ast_helper_creator.dart +++ b/pkg/front_end/tool/parser_ast_helper_creator.dart @@ -116,7 +116,8 @@ abstract class AbstractParserAstListener implements Listener { } out.write(r"}"); - return new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) + return new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) .format("$out"); } diff --git a/pkg/front_end/tool/visitor_generator.dart b/pkg/front_end/tool/visitor_generator.dart index a5e9fca40ae..d376fe9cf16 100644 --- a/pkg/front_end/tool/visitor_generator.dart +++ b/pkg/front_end/tool/visitor_generator.dart @@ -71,9 +71,9 @@ String generateVisitor(AstModel astModel, VisitorStrategy strategy, String result = sb.toString(); if (format) { - result = - new DartFormatter(languageVersion: DartFormatter.latestLanguageVersion) - .format(result); + result = new DartFormatter( + languageVersion: DartFormatter.latestShortStyleLanguageVersion) + .format(result); } return result; } diff --git a/pkg/kernel/lib/src/coverage.dart b/pkg/kernel/lib/src/coverage.dart index c171dbfd5bb..54ebba12bcb 100644 --- a/pkg/kernel/lib/src/coverage.dart +++ b/pkg/kernel/lib/src/coverage.dart @@ -16,8 +16,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryConstant(AuxiliaryConstant node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -106,8 +105,7 @@ class CoverageVisitor implements Visitor { @override void visitRedirectingFactoryTearOffConstant( - RedirectingFactoryTearOffConstant node, - ) { + RedirectingFactoryTearOffConstant node) { visited.add(ConstantKind.RedirectingFactoryTearOffConstant); node.visitChildren(this); } @@ -187,8 +185,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryExpression(AuxiliaryExpression node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -626,8 +623,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryInitializer(AuxiliaryInitializer node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -843,8 +839,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryStatement(AuxiliaryStatement node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -1012,8 +1007,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryType(AuxiliaryType node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -1111,8 +1105,7 @@ class CoverageVisitor implements Visitor { @override void visitAuxiliaryConstantReference(AuxiliaryConstant node) { throw new UnsupportedError( - "Unsupported auxiliary node $node (${node.runtimeType}).", - ); + "Unsupported auxiliary node $node (${node.runtimeType})."); } @override @@ -1195,16 +1188,14 @@ class CoverageVisitor implements Visitor { @override void visitConstructorTearOffConstantReference( - ConstructorTearOffConstant node, - ) { + ConstructorTearOffConstant node) { visited.add(ConstantKind.ConstructorTearOffConstant); node.visitChildren(this); } @override void visitRedirectingFactoryTearOffConstantReference( - RedirectingFactoryTearOffConstant node, - ) { + RedirectingFactoryTearOffConstant node) { visited.add(ConstantKind.RedirectingFactoryTearOffConstant); node.visitChildren(this); } @@ -1277,7 +1268,11 @@ enum NodeKind { Typedef, } -enum MemberKind { Constructor, Field, Procedure } +enum MemberKind { + Constructor, + Field, + Procedure, +} enum ExpressionKind { AbstractSuperMethodInvocation, @@ -1461,9 +1456,8 @@ Set missingExpressions(CoverageVisitor visitor) { /// Returns the set of [InitializerKind]s that were not visited by [visitor]. Set missingInitializers(CoverageVisitor visitor) { - Set all = new Set.of( - InitializerKind.values, - ); + Set all = + new Set.of(InitializerKind.values); all.removeAll(visitor.visited); return all; } diff --git a/pkg/kernel/lib/src/equivalence.dart b/pkg/kernel/lib/src/equivalence.dart index cb036e019f4..fc463b90554 100644 --- a/pkg/kernel/lib/src/equivalence.dart +++ b/pkg/kernel/lib/src/equivalence.dart @@ -97,17 +97,13 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitConstructorTearOffConstant( - ConstructorTearOffConstant node, - Node other, - ) { + ConstructorTearOffConstant node, Node other) { return strategy.checkConstructorTearOffConstant(this, node, other); } @override bool visitRedirectingFactoryTearOffConstant( - RedirectingFactoryTearOffConstant node, - Node other, - ) { + RedirectingFactoryTearOffConstant node, Node other) { return strategy.checkRedirectingFactoryTearOffConstant(this, node, other); } @@ -143,9 +139,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitExtensionTypeDeclaration( - ExtensionTypeDeclaration node, - Node other, - ) { + ExtensionTypeDeclaration node, Node other) { return strategy.checkExtensionTypeDeclaration(this, node, other); } @@ -236,9 +230,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitAbstractSuperPropertyGet( - AbstractSuperPropertyGet node, - Node other, - ) { + AbstractSuperPropertyGet node, Node other) { return strategy.checkAbstractSuperPropertyGet(this, node, other); } @@ -249,9 +241,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitAbstractSuperPropertySet( - AbstractSuperPropertySet node, - Node other, - ) { + AbstractSuperPropertySet node, Node other) { return strategy.checkAbstractSuperPropertySet(this, node, other); } @@ -287,9 +277,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitInstanceGetterInvocation( - InstanceGetterInvocation node, - Node other, - ) { + InstanceGetterInvocation node, Node other) { return strategy.checkInstanceGetterInvocation(this, node, other); } @@ -305,9 +293,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitAbstractSuperMethodInvocation( - AbstractSuperMethodInvocation node, - Node other, - ) { + AbstractSuperMethodInvocation node, Node other) { return strategy.checkAbstractSuperMethodInvocation(this, node, other); } @@ -513,9 +499,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitRedirectingFactoryTearOff( - RedirectingFactoryTearOff node, - Node other, - ) { + RedirectingFactoryTearOff node, Node other) { return strategy.checkRedirectingFactoryTearOff(this, node, other); } @@ -726,9 +710,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitPatternVariableDeclaration( - PatternVariableDeclaration node, - Node other, - ) { + PatternVariableDeclaration node, Node other) { return strategy.checkPatternVariableDeclaration(this, node, other); } @@ -959,9 +941,7 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitExtensionTypeDeclarationReference( - ExtensionTypeDeclaration node, - Node other, - ) { + ExtensionTypeDeclaration node, Node other) { return false; } @@ -1047,41 +1027,31 @@ class EquivalenceVisitor implements Visitor1 { @override bool visitInstantiationConstantReference( - InstantiationConstant node, - Node other, - ) { + InstantiationConstant node, Node other) { return false; } @override bool visitStaticTearOffConstantReference( - StaticTearOffConstant node, - Node other, - ) { + StaticTearOffConstant node, Node other) { return false; } @override bool visitConstructorTearOffConstantReference( - ConstructorTearOffConstant node, - Node other, - ) { + ConstructorTearOffConstant node, Node other) { return false; } @override bool visitRedirectingFactoryTearOffConstantReference( - RedirectingFactoryTearOffConstant node, - Node other, - ) { + RedirectingFactoryTearOffConstant node, Node other) { return false; } @override bool visitTypedefTearOffConstantReference( - TypedefTearOffConstant node, - Node other, - ) { + TypedefTearOffConstant node, Node other) { return false; } @@ -1106,9 +1076,7 @@ class EquivalenceVisitor implements Visitor1 { bool result = _checkValues(a, b); if (!result) { registerInequivalence( - propertyName, - 'Values ${a} and ${b} are not equivalent', - ); + propertyName, 'Values ${a} and ${b} are not equivalent'); } return result; } @@ -1151,9 +1119,7 @@ class EquivalenceVisitor implements Visitor1 { _checkingState.popState(); if (!result) { registerInequivalence( - propertyName, - 'Inequivalent nodes\n1: ${a}\n2: ${b}', - ); + propertyName, 'Inequivalent nodes\n1: ${a}\n2: ${b}'); } return result; } @@ -1216,9 +1182,7 @@ class EquivalenceVisitor implements Visitor1 { bool result = _checkReferences(a, b); if (!result) { registerInequivalence( - propertyName, - 'Inequivalent references:\n1: ${a}\n2: ${b}', - ); + propertyName, 'Inequivalent references:\n1: ${a}\n2: ${b}'); } return result; } @@ -1278,9 +1242,7 @@ class EquivalenceVisitor implements Visitor1 { } if (!result) { registerInequivalence( - propertyName, - 'Declarations ${a} and ${b} are not equivalent', - ); + propertyName, 'Declarations ${a} and ${b} are not equivalent'); } return result; } @@ -1291,18 +1253,13 @@ class EquivalenceVisitor implements Visitor1 { /// If run in a checking state, the [propertyName] is used for registering /// inequivalences. bool checkLists( - List? a, - List? b, - bool Function(E?, E?, String) equivalentValues, [ - String propertyName = '', - ]) { + List? a, List? b, bool Function(E?, E?, String) equivalentValues, + [String propertyName = '']) { if (identical(a, b)) return true; if (a == null || b == null) return false; if (a.length != b.length) { registerInequivalence( - '${propertyName}.length', - 'Lists ${a} and ${b} are not equivalent', - ); + '${propertyName}.length', 'Lists ${a} and ${b} are not equivalent'); return false; } for (int i = 0; i < a.length; i++) { @@ -1319,20 +1276,14 @@ class EquivalenceVisitor implements Visitor1 { /// /// If run in a checking state, the [propertyName] is used for registering /// inequivalences. - bool checkSets( - Set? a, - Set? b, - bool Function(E?, E?) matchingValues, - bool Function(E?, E?, String) equivalentValues, [ - String propertyName = '', - ]) { + bool checkSets(Set? a, Set? b, bool Function(E?, E?) matchingValues, + bool Function(E?, E?, String) equivalentValues, + [String propertyName = '']) { if (identical(a, b)) return true; if (a == null || b == null) return false; if (a.length != b.length) { registerInequivalence( - '${propertyName}.length', - 'Sets ${a} and ${b} are not equivalent', - ); + '${propertyName}.length', 'Sets ${a} and ${b} are not equivalent'); return false; } b = b.toSet(); @@ -1344,10 +1295,8 @@ class EquivalenceVisitor implements Visitor1 { foundValue = bValue; hasFoundValue = true; if (!equivalentValues(aValue, bValue, '${propertyName}[${aValue}]')) { - registerInequivalence( - '${propertyName}[${aValue}]', - 'Elements ${aValue} and ${bValue} are not equivalent', - ); + registerInequivalence('${propertyName}[${aValue}]', + 'Elements ${aValue} and ${bValue} are not equivalent'); return false; } break; @@ -1357,10 +1306,9 @@ class EquivalenceVisitor implements Visitor1 { b.remove(foundValue); } else { registerInequivalence( - '${propertyName}[${aValue}]', - 'Sets ${a} and ${b} are not equivalent, no equivalent value ' - 'found for $aValue', - ); + '${propertyName}[${aValue}]', + 'Sets ${a} and ${b} are not equivalent, no equivalent value ' + 'found for $aValue'); return false; } } @@ -1375,20 +1323,17 @@ class EquivalenceVisitor implements Visitor1 { /// If run in a checking state, the [propertyName] is used for registering /// inequivalences. bool checkMaps( - Map? a, - Map? b, - bool Function(K?, K?) matchingKeys, - bool Function(K?, K?, String) equivalentKeys, - bool Function(V?, V?, String) equivalentValues, [ - String propertyName = '', - ]) { + Map? a, + Map? b, + bool Function(K?, K?) matchingKeys, + bool Function(K?, K?, String) equivalentKeys, + bool Function(V?, V?, String) equivalentValues, + [String propertyName = '']) { if (identical(a, b)) return true; if (a == null || b == null) return false; if (a.length != b.length) { registerInequivalence( - '${propertyName}.length', - 'Maps ${a} and ${b} are not equivalent', - ); + '${propertyName}.length', 'Maps ${a} and ${b} are not equivalent'); return false; } Set bKeys = b.keys.toSet(); @@ -1400,10 +1345,8 @@ class EquivalenceVisitor implements Visitor1 { foundKey = bKey; hasFoundKey = true; if (!equivalentKeys(aKey, bKey, '${propertyName}[${aKey}]')) { - registerInequivalence( - '${propertyName}[${aKey}]', - 'Keys ${aKey} and ${bKey} are not equivalent', - ); + registerInequivalence('${propertyName}[${aKey}]', + 'Keys ${aKey} and ${bKey} are not equivalent'); return false; } break; @@ -1412,18 +1355,14 @@ class EquivalenceVisitor implements Visitor1 { if (hasFoundKey) { bKeys.remove(foundKey); if (!equivalentValues( - a[aKey], - b[foundKey], - '${propertyName}[${aKey}]', - )) { + a[aKey], b[foundKey], '${propertyName}[${aKey}]')) { return false; } } else { registerInequivalence( - '${propertyName}[${aKey}]', - 'Maps ${a} and ${b} are not equivalent, no equivalent key ' - 'found for $aKey', - ); + '${propertyName}[${aKey}]', + 'Maps ${a} and ${b} are not equivalent, no equivalent key ' + 'found for $aKey'); return false; } } @@ -1478,11 +1417,8 @@ class EquivalenceVisitor implements Visitor1 { /// Checks [a] and [b] be for equivalence using [strategy]. /// /// Returns an [EquivalenceResult] containing the found inequivalences. -EquivalenceResult checkEquivalence( - Node a, - Node b, { - EquivalenceStrategy strategy = const EquivalenceStrategy(), -}) { +EquivalenceResult checkEquivalence(Node a, Node b, + {EquivalenceStrategy strategy = const EquivalenceStrategy()}) { EquivalenceVisitor visitor = new EquivalenceVisitor(strategy: strategy); visitor.checkNodes(a, b, 'root'); return visitor.toResult(); @@ -1502,10 +1438,7 @@ class EquivalenceStrategy { const EquivalenceStrategy(); bool checkAuxiliaryConstant( - EquivalenceVisitor visitor, - AuxiliaryConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, AuxiliaryConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! AuxiliaryConstant) return false; if (other is! AuxiliaryConstant) return false; @@ -1516,10 +1449,7 @@ class EquivalenceStrategy { } bool checkNullConstant( - EquivalenceVisitor visitor, - NullConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! NullConstant) return false; if (other is! NullConstant) return false; @@ -1533,10 +1463,7 @@ class EquivalenceStrategy { } bool checkBoolConstant( - EquivalenceVisitor visitor, - BoolConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, BoolConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! BoolConstant) return false; if (other is! BoolConstant) return false; @@ -1550,10 +1477,7 @@ class EquivalenceStrategy { } bool checkIntConstant( - EquivalenceVisitor visitor, - IntConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, IntConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! IntConstant) return false; if (other is! IntConstant) return false; @@ -1567,10 +1491,7 @@ class EquivalenceStrategy { } bool checkDoubleConstant( - EquivalenceVisitor visitor, - DoubleConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, DoubleConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! DoubleConstant) return false; if (other is! DoubleConstant) return false; @@ -1584,10 +1505,7 @@ class EquivalenceStrategy { } bool checkStringConstant( - EquivalenceVisitor visitor, - StringConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, StringConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! StringConstant) return false; if (other is! StringConstant) return false; @@ -1601,10 +1519,7 @@ class EquivalenceStrategy { } bool checkSymbolConstant( - EquivalenceVisitor visitor, - SymbolConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, SymbolConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! SymbolConstant) return false; if (other is! SymbolConstant) return false; @@ -1621,10 +1536,7 @@ class EquivalenceStrategy { } bool checkConstantMapEntry( - EquivalenceVisitor visitor, - ConstantMapEntry? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConstantMapEntry? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstantMapEntry) return false; if (other is! ConstantMapEntry) return false; @@ -1639,10 +1551,7 @@ class EquivalenceStrategy { } bool checkMapConstant( - EquivalenceVisitor visitor, - MapConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! MapConstant) return false; if (other is! MapConstant) return false; @@ -1662,10 +1571,7 @@ class EquivalenceStrategy { } bool checkListConstant( - EquivalenceVisitor visitor, - ListConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, ListConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! ListConstant) return false; if (other is! ListConstant) return false; @@ -1682,10 +1588,7 @@ class EquivalenceStrategy { } bool checkSetConstant( - EquivalenceVisitor visitor, - SetConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, SetConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! SetConstant) return false; if (other is! SetConstant) return false; @@ -1702,10 +1605,7 @@ class EquivalenceStrategy { } bool checkRecordConstant( - EquivalenceVisitor visitor, - RecordConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordConstant) return false; if (other is! RecordConstant) return false; @@ -1725,10 +1625,7 @@ class EquivalenceStrategy { } bool checkInstanceConstant( - EquivalenceVisitor visitor, - InstanceConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceConstant) return false; if (other is! InstanceConstant) return false; @@ -1748,10 +1645,7 @@ class EquivalenceStrategy { } bool checkInstantiationConstant( - EquivalenceVisitor visitor, - InstantiationConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstantiationConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! InstantiationConstant) return false; if (other is! InstantiationConstant) return false; @@ -1768,10 +1662,7 @@ class EquivalenceStrategy { } bool checkStaticTearOffConstant( - EquivalenceVisitor visitor, - StaticTearOffConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, StaticTearOffConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! StaticTearOffConstant) return false; if (other is! StaticTearOffConstant) return false; @@ -1784,42 +1675,30 @@ class EquivalenceStrategy { return result; } - bool checkConstructorTearOffConstant( - EquivalenceVisitor visitor, - ConstructorTearOffConstant? node, - Object? other, - ) { + bool checkConstructorTearOffConstant(EquivalenceVisitor visitor, + ConstructorTearOffConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstructorTearOffConstant) return false; if (other is! ConstructorTearOffConstant) return false; visitor.pushNodeState(node, other); bool result = true; if (!checkConstructorTearOffConstant_targetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } visitor.popState(); return result; } - bool checkRedirectingFactoryTearOffConstant( - EquivalenceVisitor visitor, - RedirectingFactoryTearOffConstant? node, - Object? other, - ) { + bool checkRedirectingFactoryTearOffConstant(EquivalenceVisitor visitor, + RedirectingFactoryTearOffConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! RedirectingFactoryTearOffConstant) return false; if (other is! RedirectingFactoryTearOffConstant) return false; visitor.pushNodeState(node, other); bool result = true; if (!checkRedirectingFactoryTearOffConstant_targetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } visitor.popState(); @@ -1827,10 +1706,7 @@ class EquivalenceStrategy { } bool checkTypedefTearOffConstant( - EquivalenceVisitor visitor, - TypedefTearOffConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypedefTearOffConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! TypedefTearOffConstant) return false; if (other is! TypedefTearOffConstant) return false; @@ -1850,10 +1726,7 @@ class EquivalenceStrategy { } bool checkTypeLiteralConstant( - EquivalenceVisitor visitor, - TypeLiteralConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypeLiteralConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! TypeLiteralConstant) return false; if (other is! TypeLiteralConstant) return false; @@ -1867,10 +1740,7 @@ class EquivalenceStrategy { } bool checkUnevaluatedConstant( - EquivalenceVisitor visitor, - UnevaluatedConstant? node, - Object? other, - ) { + EquivalenceVisitor visitor, UnevaluatedConstant? node, Object? other) { if (identical(node, other)) return true; if (node is! UnevaluatedConstant) return false; if (other is! UnevaluatedConstant) return false; @@ -1910,10 +1780,7 @@ class EquivalenceStrategy { } bool checkMetadataRepository( - EquivalenceVisitor visitor, - MetadataRepository? node, - Object? other, - ) { + EquivalenceVisitor visitor, MetadataRepository? node, Object? other) { if (identical(node, other)) return true; if (node is! MetadataRepository) return false; if (other is! MetadataRepository) return false; @@ -1922,10 +1789,7 @@ class EquivalenceStrategy { } bool checkComponent( - EquivalenceVisitor visitor, - Component? node, - Object? other, - ) { + EquivalenceVisitor visitor, Component? node, Object? other) { if (identical(node, other)) return true; if (node is! Component) return false; if (other is! Component) return false; @@ -2014,11 +1878,8 @@ class EquivalenceStrategy { return result; } - bool checkExtensionMemberDescriptor( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor? node, - Object? other, - ) { + bool checkExtensionMemberDescriptor(EquivalenceVisitor visitor, + ExtensionMemberDescriptor? node, Object? other) { if (identical(node, other)) return true; if (node is! ExtensionMemberDescriptor) return false; if (other is! ExtensionMemberDescriptor) return false; @@ -2036,20 +1897,14 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkExtensionMemberDescriptor_tearOffReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } return result; } bool checkExtension( - EquivalenceVisitor visitor, - Extension? node, - Object? other, - ) { + EquivalenceVisitor visitor, Extension? node, Object? other) { if (identical(node, other)) return true; if (node is! Extension) return false; if (other is! Extension) return false; @@ -2089,11 +1944,8 @@ class EquivalenceStrategy { return result; } - bool checkExtensionTypeMemberDescriptor( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor? node, - Object? other, - ) { + bool checkExtensionTypeMemberDescriptor(EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor? node, Object? other) { if (identical(node, other)) return true; if (node is! ExtensionTypeMemberDescriptor) return false; if (other is! ExtensionTypeMemberDescriptor) return false; @@ -2108,27 +1960,18 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeMemberDescriptor_memberReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeMemberDescriptor_tearOffReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } return result; } - bool checkExtensionTypeDeclaration( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration? node, - Object? other, - ) { + bool checkExtensionTypeDeclaration(EquivalenceVisitor visitor, + ExtensionTypeDeclaration? node, Object? other) { if (identical(node, other)) return true; if (node is! ExtensionTypeDeclaration) return false; if (other is! ExtensionTypeDeclaration) return false; @@ -2147,27 +1990,18 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeDeclaration_declaredRepresentationType( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeDeclaration_representationName( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeDeclaration_procedures(visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeDeclaration_memberDescriptors( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionTypeDeclaration_annotations(visitor, node, other)) { @@ -2306,10 +2140,7 @@ class EquivalenceStrategy { } bool checkConstructor( - EquivalenceVisitor visitor, - Constructor? node, - Object? other, - ) { + EquivalenceVisitor visitor, Constructor? node, Object? other) { if (identical(node, other)) return true; if (node is! Constructor) return false; if (other is! Constructor) return false; @@ -2356,10 +2187,7 @@ class EquivalenceStrategy { } bool checkProcedure( - EquivalenceVisitor visitor, - Procedure? node, - Object? other, - ) { + EquivalenceVisitor visitor, Procedure? node, Object? other) { if (identical(node, other)) return true; if (node is! Procedure) return false; if (other is! Procedure) return false; @@ -2449,10 +2277,7 @@ class EquivalenceStrategy { } bool checkAuxiliaryExpression( - EquivalenceVisitor visitor, - AuxiliaryExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, AuxiliaryExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! AuxiliaryExpression) return false; if (other is! AuxiliaryExpression) return false; @@ -2466,10 +2291,7 @@ class EquivalenceStrategy { } bool checkInvalidExpression( - EquivalenceVisitor visitor, - InvalidExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, InvalidExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! InvalidExpression) return false; if (other is! InvalidExpression) return false; @@ -2489,10 +2311,7 @@ class EquivalenceStrategy { } bool checkVariableGet( - EquivalenceVisitor visitor, - VariableGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, VariableGet? node, Object? other) { if (identical(node, other)) return true; if (node is! VariableGet) return false; if (other is! VariableGet) return false; @@ -2512,10 +2331,7 @@ class EquivalenceStrategy { } bool checkVariableSet( - EquivalenceVisitor visitor, - VariableSet? node, - Object? other, - ) { + EquivalenceVisitor visitor, VariableSet? node, Object? other) { if (identical(node, other)) return true; if (node is! VariableSet) return false; if (other is! VariableSet) return false; @@ -2535,10 +2351,7 @@ class EquivalenceStrategy { } bool checkRecordIndexGet( - EquivalenceVisitor visitor, - RecordIndexGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordIndexGet? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordIndexGet) return false; if (other is! RecordIndexGet) return false; @@ -2561,10 +2374,7 @@ class EquivalenceStrategy { } bool checkRecordNameGet( - EquivalenceVisitor visitor, - RecordNameGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordNameGet? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordNameGet) return false; if (other is! RecordNameGet) return false; @@ -2587,10 +2397,7 @@ class EquivalenceStrategy { } bool checkDynamicGet( - EquivalenceVisitor visitor, - DynamicGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, DynamicGet? node, Object? other) { if (identical(node, other)) return true; if (node is! DynamicGet) return false; if (other is! DynamicGet) return false; @@ -2613,10 +2420,7 @@ class EquivalenceStrategy { } bool checkInstanceGet( - EquivalenceVisitor visitor, - InstanceGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceGet? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceGet) return false; if (other is! InstanceGet) return false; @@ -2645,10 +2449,7 @@ class EquivalenceStrategy { } bool checkFunctionTearOff( - EquivalenceVisitor visitor, - FunctionTearOff? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionTearOff) return false; if (other is! FunctionTearOff) return false; @@ -2665,10 +2466,7 @@ class EquivalenceStrategy { } bool checkInstanceTearOff( - EquivalenceVisitor visitor, - InstanceTearOff? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceTearOff) return false; if (other is! InstanceTearOff) return false; @@ -2697,10 +2495,7 @@ class EquivalenceStrategy { } bool checkDynamicSet( - EquivalenceVisitor visitor, - DynamicSet? node, - Object? other, - ) { + EquivalenceVisitor visitor, DynamicSet? node, Object? other) { if (identical(node, other)) return true; if (node is! DynamicSet) return false; if (other is! DynamicSet) return false; @@ -2726,10 +2521,7 @@ class EquivalenceStrategy { } bool checkInstanceSet( - EquivalenceVisitor visitor, - InstanceSet? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceSet? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceSet) return false; if (other is! InstanceSet) return false; @@ -2757,11 +2549,8 @@ class EquivalenceStrategy { return result; } - bool checkAbstractSuperPropertyGet( - EquivalenceVisitor visitor, - AbstractSuperPropertyGet? node, - Object? other, - ) { + bool checkAbstractSuperPropertyGet(EquivalenceVisitor visitor, + AbstractSuperPropertyGet? node, Object? other) { if (identical(node, other)) return true; if (node is! AbstractSuperPropertyGet) return false; if (other is! AbstractSuperPropertyGet) return false; @@ -2771,10 +2560,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperPropertyGet_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperPropertyGet_fileOffset(visitor, node, other)) { @@ -2785,10 +2571,7 @@ class EquivalenceStrategy { } bool checkSuperPropertyGet( - EquivalenceVisitor visitor, - SuperPropertyGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, SuperPropertyGet? node, Object? other) { if (identical(node, other)) return true; if (node is! SuperPropertyGet) return false; if (other is! SuperPropertyGet) return false; @@ -2807,11 +2590,8 @@ class EquivalenceStrategy { return result; } - bool checkAbstractSuperPropertySet( - EquivalenceVisitor visitor, - AbstractSuperPropertySet? node, - Object? other, - ) { + bool checkAbstractSuperPropertySet(EquivalenceVisitor visitor, + AbstractSuperPropertySet? node, Object? other) { if (identical(node, other)) return true; if (node is! AbstractSuperPropertySet) return false; if (other is! AbstractSuperPropertySet) return false; @@ -2824,10 +2604,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperPropertySet_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperPropertySet_fileOffset(visitor, node, other)) { @@ -2838,10 +2615,7 @@ class EquivalenceStrategy { } bool checkSuperPropertySet( - EquivalenceVisitor visitor, - SuperPropertySet? node, - Object? other, - ) { + EquivalenceVisitor visitor, SuperPropertySet? node, Object? other) { if (identical(node, other)) return true; if (node is! SuperPropertySet) return false; if (other is! SuperPropertySet) return false; @@ -2864,10 +2638,7 @@ class EquivalenceStrategy { } bool checkStaticGet( - EquivalenceVisitor visitor, - StaticGet? node, - Object? other, - ) { + EquivalenceVisitor visitor, StaticGet? node, Object? other) { if (identical(node, other)) return true; if (node is! StaticGet) return false; if (other is! StaticGet) return false; @@ -2884,10 +2655,7 @@ class EquivalenceStrategy { } bool checkStaticTearOff( - EquivalenceVisitor visitor, - StaticTearOff? node, - Object? other, - ) { + EquivalenceVisitor visitor, StaticTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! StaticTearOff) return false; if (other is! StaticTearOff) return false; @@ -2904,10 +2672,7 @@ class EquivalenceStrategy { } bool checkStaticSet( - EquivalenceVisitor visitor, - StaticSet? node, - Object? other, - ) { + EquivalenceVisitor visitor, StaticSet? node, Object? other) { if (identical(node, other)) return true; if (node is! StaticSet) return false; if (other is! StaticSet) return false; @@ -2927,10 +2692,7 @@ class EquivalenceStrategy { } bool checkDynamicInvocation( - EquivalenceVisitor visitor, - DynamicInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, DynamicInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! DynamicInvocation) return false; if (other is! DynamicInvocation) return false; @@ -2959,10 +2721,7 @@ class EquivalenceStrategy { } bool checkInstanceInvocation( - EquivalenceVisitor visitor, - InstanceInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceInvocation) return false; if (other is! InstanceInvocation) return false; @@ -2987,10 +2746,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkInstanceInvocation_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkInstanceInvocation_fileOffset(visitor, node, other)) { @@ -3000,11 +2756,8 @@ class EquivalenceStrategy { return result; } - bool checkInstanceGetterInvocation( - EquivalenceVisitor visitor, - InstanceGetterInvocation? node, - Object? other, - ) { + bool checkInstanceGetterInvocation(EquivalenceVisitor visitor, + InstanceGetterInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceGetterInvocation) return false; if (other is! InstanceGetterInvocation) return false; @@ -3029,10 +2782,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkInstanceGetterInvocation_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkInstanceGetterInvocation_fileOffset(visitor, node, other)) { @@ -3043,10 +2793,7 @@ class EquivalenceStrategy { } bool checkFunctionInvocation( - EquivalenceVisitor visitor, - FunctionInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionInvocation) return false; if (other is! FunctionInvocation) return false; @@ -3071,11 +2818,8 @@ class EquivalenceStrategy { return result; } - bool checkLocalFunctionInvocation( - EquivalenceVisitor visitor, - LocalFunctionInvocation? node, - Object? other, - ) { + bool checkLocalFunctionInvocation(EquivalenceVisitor visitor, + LocalFunctionInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! LocalFunctionInvocation) return false; if (other is! LocalFunctionInvocation) return false; @@ -3097,11 +2841,8 @@ class EquivalenceStrategy { return result; } - bool checkAbstractSuperMethodInvocation( - EquivalenceVisitor visitor, - AbstractSuperMethodInvocation? node, - Object? other, - ) { + bool checkAbstractSuperMethodInvocation(EquivalenceVisitor visitor, + AbstractSuperMethodInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! AbstractSuperMethodInvocation) return false; if (other is! AbstractSuperMethodInvocation) return false; @@ -3114,10 +2855,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperMethodInvocation_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkAbstractSuperMethodInvocation_fileOffset(visitor, node, other)) { @@ -3128,10 +2866,7 @@ class EquivalenceStrategy { } bool checkSuperMethodInvocation( - EquivalenceVisitor visitor, - SuperMethodInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, SuperMethodInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! SuperMethodInvocation) return false; if (other is! SuperMethodInvocation) return false; @@ -3144,10 +2879,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkSuperMethodInvocation_interfaceTargetReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkSuperMethodInvocation_fileOffset(visitor, node, other)) { @@ -3158,10 +2890,7 @@ class EquivalenceStrategy { } bool checkStaticInvocation( - EquivalenceVisitor visitor, - StaticInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, StaticInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! StaticInvocation) return false; if (other is! StaticInvocation) return false; @@ -3184,10 +2913,7 @@ class EquivalenceStrategy { } bool checkConstructorInvocation( - EquivalenceVisitor visitor, - ConstructorInvocation? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConstructorInvocation? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstructorInvocation) return false; if (other is! ConstructorInvocation) return false; @@ -3210,10 +2936,7 @@ class EquivalenceStrategy { } bool checkEqualsNull( - EquivalenceVisitor visitor, - EqualsNull? node, - Object? other, - ) { + EquivalenceVisitor visitor, EqualsNull? node, Object? other) { if (identical(node, other)) return true; if (node is! EqualsNull) return false; if (other is! EqualsNull) return false; @@ -3230,10 +2953,7 @@ class EquivalenceStrategy { } bool checkEqualsCall( - EquivalenceVisitor visitor, - EqualsCall? node, - Object? other, - ) { + EquivalenceVisitor visitor, EqualsCall? node, Object? other) { if (identical(node, other)) return true; if (node is! EqualsCall) return false; if (other is! EqualsCall) return false; @@ -3259,10 +2979,7 @@ class EquivalenceStrategy { } bool checkInstantiation( - EquivalenceVisitor visitor, - Instantiation? node, - Object? other, - ) { + EquivalenceVisitor visitor, Instantiation? node, Object? other) { if (identical(node, other)) return true; if (node is! Instantiation) return false; if (other is! Instantiation) return false; @@ -3298,10 +3015,7 @@ class EquivalenceStrategy { } bool checkLogicalExpression( - EquivalenceVisitor visitor, - LogicalExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, LogicalExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! LogicalExpression) return false; if (other is! LogicalExpression) return false; @@ -3324,10 +3038,7 @@ class EquivalenceStrategy { } bool checkConditionalExpression( - EquivalenceVisitor visitor, - ConditionalExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConditionalExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! ConditionalExpression) return false; if (other is! ConditionalExpression) return false; @@ -3353,10 +3064,7 @@ class EquivalenceStrategy { } bool checkStringConcatenation( - EquivalenceVisitor visitor, - StringConcatenation? node, - Object? other, - ) { + EquivalenceVisitor visitor, StringConcatenation? node, Object? other) { if (identical(node, other)) return true; if (node is! StringConcatenation) return false; if (other is! StringConcatenation) return false; @@ -3373,10 +3081,7 @@ class EquivalenceStrategy { } bool checkListConcatenation( - EquivalenceVisitor visitor, - ListConcatenation? node, - Object? other, - ) { + EquivalenceVisitor visitor, ListConcatenation? node, Object? other) { if (identical(node, other)) return true; if (node is! ListConcatenation) return false; if (other is! ListConcatenation) return false; @@ -3396,10 +3101,7 @@ class EquivalenceStrategy { } bool checkSetConcatenation( - EquivalenceVisitor visitor, - SetConcatenation? node, - Object? other, - ) { + EquivalenceVisitor visitor, SetConcatenation? node, Object? other) { if (identical(node, other)) return true; if (node is! SetConcatenation) return false; if (other is! SetConcatenation) return false; @@ -3419,10 +3121,7 @@ class EquivalenceStrategy { } bool checkMapConcatenation( - EquivalenceVisitor visitor, - MapConcatenation? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapConcatenation? node, Object? other) { if (identical(node, other)) return true; if (node is! MapConcatenation) return false; if (other is! MapConcatenation) return false; @@ -3445,10 +3144,7 @@ class EquivalenceStrategy { } bool checkInstanceCreation( - EquivalenceVisitor visitor, - InstanceCreation? node, - Object? other, - ) { + EquivalenceVisitor visitor, InstanceCreation? node, Object? other) { if (identical(node, other)) return true; if (node is! InstanceCreation) return false; if (other is! InstanceCreation) return false; @@ -3477,10 +3173,7 @@ class EquivalenceStrategy { } bool checkFileUriExpression( - EquivalenceVisitor visitor, - FileUriExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, FileUriExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! FileUriExpression) return false; if (other is! FileUriExpression) return false; @@ -3500,10 +3193,7 @@ class EquivalenceStrategy { } bool checkIsExpression( - EquivalenceVisitor visitor, - IsExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, IsExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! IsExpression) return false; if (other is! IsExpression) return false; @@ -3523,10 +3213,7 @@ class EquivalenceStrategy { } bool checkAsExpression( - EquivalenceVisitor visitor, - AsExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, AsExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! AsExpression) return false; if (other is! AsExpression) return false; @@ -3549,10 +3236,7 @@ class EquivalenceStrategy { } bool checkNullCheck( - EquivalenceVisitor visitor, - NullCheck? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullCheck? node, Object? other) { if (identical(node, other)) return true; if (node is! NullCheck) return false; if (other is! NullCheck) return false; @@ -3569,10 +3253,7 @@ class EquivalenceStrategy { } bool checkStringLiteral( - EquivalenceVisitor visitor, - StringLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, StringLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! StringLiteral) return false; if (other is! StringLiteral) return false; @@ -3589,10 +3270,7 @@ class EquivalenceStrategy { } bool checkIntLiteral( - EquivalenceVisitor visitor, - IntLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, IntLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! IntLiteral) return false; if (other is! IntLiteral) return false; @@ -3609,10 +3287,7 @@ class EquivalenceStrategy { } bool checkDoubleLiteral( - EquivalenceVisitor visitor, - DoubleLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, DoubleLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! DoubleLiteral) return false; if (other is! DoubleLiteral) return false; @@ -3629,10 +3304,7 @@ class EquivalenceStrategy { } bool checkBoolLiteral( - EquivalenceVisitor visitor, - BoolLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, BoolLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! BoolLiteral) return false; if (other is! BoolLiteral) return false; @@ -3649,10 +3321,7 @@ class EquivalenceStrategy { } bool checkNullLiteral( - EquivalenceVisitor visitor, - NullLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! NullLiteral) return false; if (other is! NullLiteral) return false; @@ -3666,10 +3335,7 @@ class EquivalenceStrategy { } bool checkSymbolLiteral( - EquivalenceVisitor visitor, - SymbolLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, SymbolLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! SymbolLiteral) return false; if (other is! SymbolLiteral) return false; @@ -3686,10 +3352,7 @@ class EquivalenceStrategy { } bool checkTypeLiteral( - EquivalenceVisitor visitor, - TypeLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypeLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! TypeLiteral) return false; if (other is! TypeLiteral) return false; @@ -3706,10 +3369,7 @@ class EquivalenceStrategy { } bool checkThisExpression( - EquivalenceVisitor visitor, - ThisExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, ThisExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! ThisExpression) return false; if (other is! ThisExpression) return false; @@ -3755,10 +3415,7 @@ class EquivalenceStrategy { } bool checkListLiteral( - EquivalenceVisitor visitor, - ListLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, ListLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! ListLiteral) return false; if (other is! ListLiteral) return false; @@ -3781,10 +3438,7 @@ class EquivalenceStrategy { } bool checkSetLiteral( - EquivalenceVisitor visitor, - SetLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, SetLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! SetLiteral) return false; if (other is! SetLiteral) return false; @@ -3807,10 +3461,7 @@ class EquivalenceStrategy { } bool checkMapLiteral( - EquivalenceVisitor visitor, - MapLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! MapLiteral) return false; if (other is! MapLiteral) return false; @@ -3836,10 +3487,7 @@ class EquivalenceStrategy { } bool checkRecordLiteral( - EquivalenceVisitor visitor, - RecordLiteral? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordLiteral? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordLiteral) return false; if (other is! RecordLiteral) return false; @@ -3865,10 +3513,7 @@ class EquivalenceStrategy { } bool checkAwaitExpression( - EquivalenceVisitor visitor, - AwaitExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, AwaitExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! AwaitExpression) return false; if (other is! AwaitExpression) return false; @@ -3888,10 +3533,7 @@ class EquivalenceStrategy { } bool checkFunctionExpression( - EquivalenceVisitor visitor, - FunctionExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionExpression) return false; if (other is! FunctionExpression) return false; @@ -3908,10 +3550,7 @@ class EquivalenceStrategy { } bool checkConstantExpression( - EquivalenceVisitor visitor, - ConstantExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConstantExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstantExpression) return false; if (other is! ConstantExpression) return false; @@ -3950,10 +3589,7 @@ class EquivalenceStrategy { } bool checkBlockExpression( - EquivalenceVisitor visitor, - BlockExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, BlockExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! BlockExpression) return false; if (other is! BlockExpression) return false; @@ -3973,10 +3609,7 @@ class EquivalenceStrategy { } bool checkLoadLibrary( - EquivalenceVisitor visitor, - LoadLibrary? node, - Object? other, - ) { + EquivalenceVisitor visitor, LoadLibrary? node, Object? other) { if (identical(node, other)) return true; if (node is! LoadLibrary) return false; if (other is! LoadLibrary) return false; @@ -3993,10 +3626,7 @@ class EquivalenceStrategy { } bool checkCheckLibraryIsLoaded( - EquivalenceVisitor visitor, - CheckLibraryIsLoaded? node, - Object? other, - ) { + EquivalenceVisitor visitor, CheckLibraryIsLoaded? node, Object? other) { if (identical(node, other)) return true; if (node is! CheckLibraryIsLoaded) return false; if (other is! CheckLibraryIsLoaded) return false; @@ -4013,10 +3643,7 @@ class EquivalenceStrategy { } bool checkConstructorTearOff( - EquivalenceVisitor visitor, - ConstructorTearOff? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConstructorTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstructorTearOff) return false; if (other is! ConstructorTearOff) return false; @@ -4032,11 +3659,8 @@ class EquivalenceStrategy { return result; } - bool checkRedirectingFactoryTearOff( - EquivalenceVisitor visitor, - RedirectingFactoryTearOff? node, - Object? other, - ) { + bool checkRedirectingFactoryTearOff(EquivalenceVisitor visitor, + RedirectingFactoryTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! RedirectingFactoryTearOff) return false; if (other is! RedirectingFactoryTearOff) return false; @@ -4053,10 +3677,7 @@ class EquivalenceStrategy { } bool checkTypedefTearOff( - EquivalenceVisitor visitor, - TypedefTearOff? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypedefTearOff? node, Object? other) { if (identical(node, other)) return true; if (node is! TypedefTearOff) return false; if (other is! TypedefTearOff) return false; @@ -4079,10 +3700,7 @@ class EquivalenceStrategy { } bool checkSwitchExpression( - EquivalenceVisitor visitor, - SwitchExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, SwitchExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! SwitchExpression) return false; if (other is! SwitchExpression) return false; @@ -4108,10 +3726,7 @@ class EquivalenceStrategy { } bool checkPatternAssignment( - EquivalenceVisitor visitor, - PatternAssignment? node, - Object? other, - ) { + EquivalenceVisitor visitor, PatternAssignment? node, Object? other) { if (identical(node, other)) return true; if (node is! PatternAssignment) return false; if (other is! PatternAssignment) return false; @@ -4134,10 +3749,7 @@ class EquivalenceStrategy { } bool checkArguments( - EquivalenceVisitor visitor, - Arguments? node, - Object? other, - ) { + EquivalenceVisitor visitor, Arguments? node, Object? other) { if (identical(node, other)) return true; if (node is! Arguments) return false; if (other is! Arguments) return false; @@ -4160,10 +3772,7 @@ class EquivalenceStrategy { } bool checkNamedExpression( - EquivalenceVisitor visitor, - NamedExpression? node, - Object? other, - ) { + EquivalenceVisitor visitor, NamedExpression? node, Object? other) { if (identical(node, other)) return true; if (node is! NamedExpression) return false; if (other is! NamedExpression) return false; @@ -4183,10 +3792,7 @@ class EquivalenceStrategy { } bool checkMapLiteralEntry( - EquivalenceVisitor visitor, - MapLiteralEntry? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapLiteralEntry? node, Object? other) { if (identical(node, other)) return true; if (node is! MapLiteralEntry) return false; if (other is! MapLiteralEntry) return false; @@ -4205,11 +3811,8 @@ class EquivalenceStrategy { return result; } - bool checkRedirectingFactoryTarget( - EquivalenceVisitor visitor, - RedirectingFactoryTarget? node, - Object? other, - ) { + bool checkRedirectingFactoryTarget(EquivalenceVisitor visitor, + RedirectingFactoryTarget? node, Object? other) { if (identical(node, other)) return true; if (node is! RedirectingFactoryTarget) return false; if (other is! RedirectingFactoryTarget) return false; @@ -4227,10 +3830,7 @@ class EquivalenceStrategy { } bool checkFunctionNode( - EquivalenceVisitor visitor, - FunctionNode? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionNode? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionNode) return false; if (other is! FunctionNode) return false; @@ -4280,10 +3880,7 @@ class EquivalenceStrategy { } bool checkAuxiliaryInitializer( - EquivalenceVisitor visitor, - AuxiliaryInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, AuxiliaryInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! AuxiliaryInitializer) return false; if (other is! AuxiliaryInitializer) return false; @@ -4300,10 +3897,7 @@ class EquivalenceStrategy { } bool checkInvalidInitializer( - EquivalenceVisitor visitor, - InvalidInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, InvalidInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! InvalidInitializer) return false; if (other is! InvalidInitializer) return false; @@ -4320,10 +3914,7 @@ class EquivalenceStrategy { } bool checkFieldInitializer( - EquivalenceVisitor visitor, - FieldInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, FieldInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! FieldInitializer) return false; if (other is! FieldInitializer) return false; @@ -4346,10 +3937,7 @@ class EquivalenceStrategy { } bool checkSuperInitializer( - EquivalenceVisitor visitor, - SuperInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, SuperInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! SuperInitializer) return false; if (other is! SuperInitializer) return false; @@ -4372,10 +3960,7 @@ class EquivalenceStrategy { } bool checkRedirectingInitializer( - EquivalenceVisitor visitor, - RedirectingInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, RedirectingInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! RedirectingInitializer) return false; if (other is! RedirectingInitializer) return false; @@ -4398,10 +3983,7 @@ class EquivalenceStrategy { } bool checkLocalInitializer( - EquivalenceVisitor visitor, - LocalInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, LocalInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! LocalInitializer) return false; if (other is! LocalInitializer) return false; @@ -4421,10 +4003,7 @@ class EquivalenceStrategy { } bool checkAssertInitializer( - EquivalenceVisitor visitor, - AssertInitializer? node, - Object? other, - ) { + EquivalenceVisitor visitor, AssertInitializer? node, Object? other) { if (identical(node, other)) return true; if (node is! AssertInitializer) return false; if (other is! AssertInitializer) return false; @@ -4444,10 +4023,7 @@ class EquivalenceStrategy { } bool checkLibraryDependency( - EquivalenceVisitor visitor, - LibraryDependency? node, - Object? other, - ) { + EquivalenceVisitor visitor, LibraryDependency? node, Object? other) { if (identical(node, other)) return true; if (node is! LibraryDependency) return false; if (other is! LibraryDependency) return false; @@ -4460,10 +4036,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkLibraryDependency_importedLibraryReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkLibraryDependency_name(visitor, node, other)) { @@ -4480,10 +4053,7 @@ class EquivalenceStrategy { } bool checkLibraryPart( - EquivalenceVisitor visitor, - LibraryPart? node, - Object? other, - ) { + EquivalenceVisitor visitor, LibraryPart? node, Object? other) { if (identical(node, other)) return true; if (node is! LibraryPart) return false; if (other is! LibraryPart) return false; @@ -4503,10 +4073,7 @@ class EquivalenceStrategy { } bool checkCombinator( - EquivalenceVisitor visitor, - Combinator? node, - Object? other, - ) { + EquivalenceVisitor visitor, Combinator? node, Object? other) { if (identical(node, other)) return true; if (node is! Combinator) return false; if (other is! Combinator) return false; @@ -4526,10 +4093,7 @@ class EquivalenceStrategy { } bool checkConstantPattern( - EquivalenceVisitor visitor, - ConstantPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, ConstantPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! ConstantPattern) return false; if (other is! ConstantPattern) return false; @@ -4558,10 +4122,7 @@ class EquivalenceStrategy { } bool checkAndPattern( - EquivalenceVisitor visitor, - AndPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, AndPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! AndPattern) return false; if (other is! AndPattern) return false; @@ -4581,10 +4142,7 @@ class EquivalenceStrategy { } bool checkOrPattern( - EquivalenceVisitor visitor, - OrPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, OrPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! OrPattern) return false; if (other is! OrPattern) return false; @@ -4607,10 +4165,7 @@ class EquivalenceStrategy { } bool checkCastPattern( - EquivalenceVisitor visitor, - CastPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, CastPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! CastPattern) return false; if (other is! CastPattern) return false; @@ -4630,10 +4185,7 @@ class EquivalenceStrategy { } bool checkNullAssertPattern( - EquivalenceVisitor visitor, - NullAssertPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullAssertPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! NullAssertPattern) return false; if (other is! NullAssertPattern) return false; @@ -4650,10 +4202,7 @@ class EquivalenceStrategy { } bool checkNullCheckPattern( - EquivalenceVisitor visitor, - NullCheckPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullCheckPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! NullCheckPattern) return false; if (other is! NullCheckPattern) return false; @@ -4670,10 +4219,7 @@ class EquivalenceStrategy { } bool checkListPattern( - EquivalenceVisitor visitor, - ListPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, ListPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! ListPattern) return false; if (other is! ListPattern) return false; @@ -4735,10 +4281,7 @@ class EquivalenceStrategy { } bool checkObjectPattern( - EquivalenceVisitor visitor, - ObjectPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, ObjectPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! ObjectPattern) return false; if (other is! ObjectPattern) return false; @@ -4767,10 +4310,7 @@ class EquivalenceStrategy { } bool checkRelationalPattern( - EquivalenceVisitor visitor, - RelationalPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, RelationalPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! RelationalPattern) return false; if (other is! RelationalPattern) return false; @@ -4814,10 +4354,7 @@ class EquivalenceStrategy { } bool checkWildcardPattern( - EquivalenceVisitor visitor, - WildcardPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, WildcardPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! WildcardPattern) return false; if (other is! WildcardPattern) return false; @@ -4833,11 +4370,8 @@ class EquivalenceStrategy { return result; } - bool checkAssignedVariablePattern( - EquivalenceVisitor visitor, - AssignedVariablePattern? node, - Object? other, - ) { + bool checkAssignedVariablePattern(EquivalenceVisitor visitor, + AssignedVariablePattern? node, Object? other) { if (identical(node, other)) return true; if (node is! AssignedVariablePattern) return false; if (other is! AssignedVariablePattern) return false; @@ -4853,10 +4387,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkAssignedVariablePattern_hasObservableEffect( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkAssignedVariablePattern_fileOffset(visitor, node, other)) { @@ -4867,10 +4398,7 @@ class EquivalenceStrategy { } bool checkMapPattern( - EquivalenceVisitor visitor, - MapPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! MapPattern) return false; if (other is! MapPattern) return false; @@ -4917,10 +4445,7 @@ class EquivalenceStrategy { } bool checkNamedPattern( - EquivalenceVisitor visitor, - NamedPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, NamedPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! NamedPattern) return false; if (other is! NamedPattern) return false; @@ -4967,10 +4492,7 @@ class EquivalenceStrategy { } bool checkRecordPattern( - EquivalenceVisitor visitor, - RecordPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordPattern) return false; if (other is! RecordPattern) return false; @@ -4999,10 +4521,7 @@ class EquivalenceStrategy { } bool checkVariablePattern( - EquivalenceVisitor visitor, - VariablePattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, VariablePattern? node, Object? other) { if (identical(node, other)) return true; if (node is! VariablePattern) return false; if (other is! VariablePattern) return false; @@ -5025,10 +4544,7 @@ class EquivalenceStrategy { } bool checkRestPattern( - EquivalenceVisitor visitor, - RestPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, RestPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! RestPattern) return false; if (other is! RestPattern) return false; @@ -5045,10 +4561,7 @@ class EquivalenceStrategy { } bool checkInvalidPattern( - EquivalenceVisitor visitor, - InvalidPattern? node, - Object? other, - ) { + EquivalenceVisitor visitor, InvalidPattern? node, Object? other) { if (identical(node, other)) return true; if (node is! InvalidPattern) return false; if (other is! InvalidPattern) return false; @@ -5068,10 +4581,7 @@ class EquivalenceStrategy { } bool checkMapPatternEntry( - EquivalenceVisitor visitor, - MapPatternEntry? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapPatternEntry? node, Object? other) { if (identical(node, other)) return true; if (node is! MapPatternEntry) return false; if (other is! MapPatternEntry) return false; @@ -5097,10 +4607,7 @@ class EquivalenceStrategy { } bool checkMapPatternRestEntry( - EquivalenceVisitor visitor, - MapPatternRestEntry? node, - Object? other, - ) { + EquivalenceVisitor visitor, MapPatternRestEntry? node, Object? other) { if (identical(node, other)) return true; if (node is! MapPatternRestEntry) return false; if (other is! MapPatternRestEntry) return false; @@ -5114,10 +4621,7 @@ class EquivalenceStrategy { } bool checkPatternGuard( - EquivalenceVisitor visitor, - PatternGuard? node, - Object? other, - ) { + EquivalenceVisitor visitor, PatternGuard? node, Object? other) { if (identical(node, other)) return true; if (node is! PatternGuard) return false; if (other is! PatternGuard) return false; @@ -5137,10 +4641,7 @@ class EquivalenceStrategy { } bool checkPatternSwitchCase( - EquivalenceVisitor visitor, - PatternSwitchCase? node, - Object? other, - ) { + EquivalenceVisitor visitor, PatternSwitchCase? node, Object? other) { if (identical(node, other)) return true; if (node is! PatternSwitchCase) return false; if (other is! PatternSwitchCase) return false; @@ -5168,10 +4669,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchCase_jointVariableFirstUseOffsets( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchCase_fileOffset(visitor, node, other)) { @@ -5182,10 +4680,7 @@ class EquivalenceStrategy { } bool checkSwitchCase( - EquivalenceVisitor visitor, - SwitchCase? node, - Object? other, - ) { + EquivalenceVisitor visitor, SwitchCase? node, Object? other) { if (identical(node, other)) return true; if (node is! SwitchCase) return false; if (other is! SwitchCase) return false; @@ -5214,10 +4709,7 @@ class EquivalenceStrategy { } bool checkPatternSwitchStatement( - EquivalenceVisitor visitor, - PatternSwitchStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, PatternSwitchStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! PatternSwitchStatement) return false; if (other is! PatternSwitchStatement) return false; @@ -5230,20 +4722,14 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchStatement_expressionTypeInternal( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchStatement_lastCaseTerminates(visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchStatement_isExplicitlyExhaustive( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkPatternSwitchStatement_fileOffset(visitor, node, other)) { @@ -5254,10 +4740,7 @@ class EquivalenceStrategy { } bool checkSwitchStatement( - EquivalenceVisitor visitor, - SwitchStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, SwitchStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! SwitchStatement) return false; if (other is! SwitchStatement) return false; @@ -5282,11 +4765,8 @@ class EquivalenceStrategy { return result; } - bool checkPatternVariableDeclaration( - EquivalenceVisitor visitor, - PatternVariableDeclaration? node, - Object? other, - ) { + bool checkPatternVariableDeclaration(EquivalenceVisitor visitor, + PatternVariableDeclaration? node, Object? other) { if (identical(node, other)) return true; if (node is! PatternVariableDeclaration) return false; if (other is! PatternVariableDeclaration) return false; @@ -5302,10 +4782,7 @@ class EquivalenceStrategy { result = visitor.resultOnInequivalence; } if (!checkPatternVariableDeclaration_matchedValueType( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkPatternVariableDeclaration_fileOffset(visitor, node, other)) { @@ -5316,10 +4793,7 @@ class EquivalenceStrategy { } bool checkIfCaseStatement( - EquivalenceVisitor visitor, - IfCaseStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, IfCaseStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! IfCaseStatement) return false; if (other is! IfCaseStatement) return false; @@ -5348,10 +4822,7 @@ class EquivalenceStrategy { } bool checkAuxiliaryStatement( - EquivalenceVisitor visitor, - AuxiliaryStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, AuxiliaryStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! AuxiliaryStatement) return false; if (other is! AuxiliaryStatement) return false; @@ -5365,10 +4836,7 @@ class EquivalenceStrategy { } bool checkExpressionStatement( - EquivalenceVisitor visitor, - ExpressionStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, ExpressionStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! ExpressionStatement) return false; if (other is! ExpressionStatement) return false; @@ -5404,10 +4872,7 @@ class EquivalenceStrategy { } bool checkAssertBlock( - EquivalenceVisitor visitor, - AssertBlock? node, - Object? other, - ) { + EquivalenceVisitor visitor, AssertBlock? node, Object? other) { if (identical(node, other)) return true; if (node is! AssertBlock) return false; if (other is! AssertBlock) return false; @@ -5424,10 +4889,7 @@ class EquivalenceStrategy { } bool checkEmptyStatement( - EquivalenceVisitor visitor, - EmptyStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, EmptyStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! EmptyStatement) return false; if (other is! EmptyStatement) return false; @@ -5441,10 +4903,7 @@ class EquivalenceStrategy { } bool checkAssertStatement( - EquivalenceVisitor visitor, - AssertStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, AssertStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! AssertStatement) return false; if (other is! AssertStatement) return false; @@ -5470,10 +4929,7 @@ class EquivalenceStrategy { } bool checkLabeledStatement( - EquivalenceVisitor visitor, - LabeledStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, LabeledStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! LabeledStatement) return false; if (other is! LabeledStatement) return false; @@ -5493,10 +4949,7 @@ class EquivalenceStrategy { } bool checkBreakStatement( - EquivalenceVisitor visitor, - BreakStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, BreakStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! BreakStatement) return false; if (other is! BreakStatement) return false; @@ -5513,10 +4966,7 @@ class EquivalenceStrategy { } bool checkWhileStatement( - EquivalenceVisitor visitor, - WhileStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, WhileStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! WhileStatement) return false; if (other is! WhileStatement) return false; @@ -5536,10 +4986,7 @@ class EquivalenceStrategy { } bool checkDoStatement( - EquivalenceVisitor visitor, - DoStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, DoStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! DoStatement) return false; if (other is! DoStatement) return false; @@ -5559,10 +5006,7 @@ class EquivalenceStrategy { } bool checkForStatement( - EquivalenceVisitor visitor, - ForStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, ForStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! ForStatement) return false; if (other is! ForStatement) return false; @@ -5588,10 +5032,7 @@ class EquivalenceStrategy { } bool checkForInStatement( - EquivalenceVisitor visitor, - ForInStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, ForInStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! ForInStatement) return false; if (other is! ForInStatement) return false; @@ -5619,11 +5060,8 @@ class EquivalenceStrategy { return result; } - bool checkContinueSwitchStatement( - EquivalenceVisitor visitor, - ContinueSwitchStatement? node, - Object? other, - ) { + bool checkContinueSwitchStatement(EquivalenceVisitor visitor, + ContinueSwitchStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! ContinueSwitchStatement) return false; if (other is! ContinueSwitchStatement) return false; @@ -5640,10 +5078,7 @@ class EquivalenceStrategy { } bool checkIfStatement( - EquivalenceVisitor visitor, - IfStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, IfStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! IfStatement) return false; if (other is! IfStatement) return false; @@ -5666,10 +5101,7 @@ class EquivalenceStrategy { } bool checkReturnStatement( - EquivalenceVisitor visitor, - ReturnStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, ReturnStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! ReturnStatement) return false; if (other is! ReturnStatement) return false; @@ -5686,10 +5118,7 @@ class EquivalenceStrategy { } bool checkTryCatch( - EquivalenceVisitor visitor, - TryCatch? node, - Object? other, - ) { + EquivalenceVisitor visitor, TryCatch? node, Object? other) { if (identical(node, other)) return true; if (node is! TryCatch) return false; if (other is! TryCatch) return false; @@ -5712,10 +5141,7 @@ class EquivalenceStrategy { } bool checkTryFinally( - EquivalenceVisitor visitor, - TryFinally? node, - Object? other, - ) { + EquivalenceVisitor visitor, TryFinally? node, Object? other) { if (identical(node, other)) return true; if (node is! TryFinally) return false; if (other is! TryFinally) return false; @@ -5735,10 +5161,7 @@ class EquivalenceStrategy { } bool checkYieldStatement( - EquivalenceVisitor visitor, - YieldStatement? node, - Object? other, - ) { + EquivalenceVisitor visitor, YieldStatement? node, Object? other) { if (identical(node, other)) return true; if (node is! YieldStatement) return false; if (other is! YieldStatement) return false; @@ -5758,10 +5181,7 @@ class EquivalenceStrategy { } bool checkVariableDeclaration( - EquivalenceVisitor visitor, - VariableDeclaration? node, - Object? other, - ) { + EquivalenceVisitor visitor, VariableDeclaration? node, Object? other) { if (identical(node, other)) return true; if (node is! VariableDeclaration) return false; if (other is! VariableDeclaration) return false; @@ -5799,10 +5219,7 @@ class EquivalenceStrategy { } bool checkFunctionDeclaration( - EquivalenceVisitor visitor, - FunctionDeclaration? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionDeclaration? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionDeclaration) return false; if (other is! FunctionDeclaration) return false; @@ -5822,10 +5239,7 @@ class EquivalenceStrategy { } bool checkSwitchExpressionCase( - EquivalenceVisitor visitor, - SwitchExpressionCase? node, - Object? other, - ) { + EquivalenceVisitor visitor, SwitchExpressionCase? node, Object? other) { if (identical(node, other)) return true; if (node is! SwitchExpressionCase) return false; if (other is! SwitchExpressionCase) return false; @@ -5870,10 +5284,7 @@ class EquivalenceStrategy { } bool checkTypeParameter( - EquivalenceVisitor visitor, - TypeParameter? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypeParameter? node, Object? other) { if (identical(node, other)) return true; if (node is! TypeParameter) return false; if (other is! TypeParameter) return false; @@ -5921,10 +5332,7 @@ class EquivalenceStrategy { } bool checkStructuralParameter( - EquivalenceVisitor visitor, - StructuralParameter? node, - Object? other, - ) { + EquivalenceVisitor visitor, StructuralParameter? node, Object? other) { if (identical(node, other)) return true; if (node is! StructuralParameter) return false; if (other is! StructuralParameter) return false; @@ -5959,10 +5367,7 @@ class EquivalenceStrategy { } bool checkSupertype( - EquivalenceVisitor visitor, - Supertype? node, - Object? other, - ) { + EquivalenceVisitor visitor, Supertype? node, Object? other) { if (identical(node, other)) return true; if (node is! Supertype) return false; if (other is! Supertype) return false; @@ -5979,10 +5384,7 @@ class EquivalenceStrategy { } bool checkInterfaceType( - EquivalenceVisitor visitor, - InterfaceType? node, - Object? other, - ) { + EquivalenceVisitor visitor, InterfaceType? node, Object? other) { if (identical(node, other)) return true; if (node is! InterfaceType) return false; if (other is! InterfaceType) return false; @@ -6002,20 +5404,14 @@ class EquivalenceStrategy { } bool checkExtensionType( - EquivalenceVisitor visitor, - ExtensionType? node, - Object? other, - ) { + EquivalenceVisitor visitor, ExtensionType? node, Object? other) { if (identical(node, other)) return true; if (node is! ExtensionType) return false; if (other is! ExtensionType) return false; visitor.pushNodeState(node, other); bool result = true; if (!checkExtensionType_extensionTypeDeclarationReference( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkExtensionType_declaredNullability(visitor, node, other)) { @@ -6029,10 +5425,7 @@ class EquivalenceStrategy { } bool checkAuxiliaryType( - EquivalenceVisitor visitor, - AuxiliaryType? node, - Object? other, - ) { + EquivalenceVisitor visitor, AuxiliaryType? node, Object? other) { if (identical(node, other)) return true; if (node is! AuxiliaryType) return false; if (other is! AuxiliaryType) return false; @@ -6043,10 +5436,7 @@ class EquivalenceStrategy { } bool checkInvalidType( - EquivalenceVisitor visitor, - InvalidType? node, - Object? other, - ) { + EquivalenceVisitor visitor, InvalidType? node, Object? other) { if (identical(node, other)) return true; if (node is! InvalidType) return false; if (other is! InvalidType) return false; @@ -6057,10 +5447,7 @@ class EquivalenceStrategy { } bool checkDynamicType( - EquivalenceVisitor visitor, - DynamicType? node, - Object? other, - ) { + EquivalenceVisitor visitor, DynamicType? node, Object? other) { if (identical(node, other)) return true; if (node is! DynamicType) return false; if (other is! DynamicType) return false; @@ -6071,10 +5458,7 @@ class EquivalenceStrategy { } bool checkVoidType( - EquivalenceVisitor visitor, - VoidType? node, - Object? other, - ) { + EquivalenceVisitor visitor, VoidType? node, Object? other) { if (identical(node, other)) return true; if (node is! VoidType) return false; if (other is! VoidType) return false; @@ -6085,10 +5469,7 @@ class EquivalenceStrategy { } bool checkNeverType( - EquivalenceVisitor visitor, - NeverType? node, - Object? other, - ) { + EquivalenceVisitor visitor, NeverType? node, Object? other) { if (identical(node, other)) return true; if (node is! NeverType) return false; if (other is! NeverType) return false; @@ -6102,10 +5483,7 @@ class EquivalenceStrategy { } bool checkNullType( - EquivalenceVisitor visitor, - NullType? node, - Object? other, - ) { + EquivalenceVisitor visitor, NullType? node, Object? other) { if (identical(node, other)) return true; if (node is! NullType) return false; if (other is! NullType) return false; @@ -6116,10 +5494,7 @@ class EquivalenceStrategy { } bool checkFunctionType( - EquivalenceVisitor visitor, - FunctionType? node, - Object? other, - ) { + EquivalenceVisitor visitor, FunctionType? node, Object? other) { if (identical(node, other)) return true; if (node is! FunctionType) return false; if (other is! FunctionType) return false; @@ -6148,10 +5523,7 @@ class EquivalenceStrategy { } bool checkTypedefType( - EquivalenceVisitor visitor, - TypedefType? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypedefType? node, Object? other) { if (identical(node, other)) return true; if (node is! TypedefType) return false; if (other is! TypedefType) return false; @@ -6171,10 +5543,7 @@ class EquivalenceStrategy { } bool checkFutureOrType( - EquivalenceVisitor visitor, - FutureOrType? node, - Object? other, - ) { + EquivalenceVisitor visitor, FutureOrType? node, Object? other) { if (identical(node, other)) return true; if (node is! FutureOrType) return false; if (other is! FutureOrType) return false; @@ -6191,10 +5560,7 @@ class EquivalenceStrategy { } bool checkIntersectionType( - EquivalenceVisitor visitor, - IntersectionType? node, - Object? other, - ) { + EquivalenceVisitor visitor, IntersectionType? node, Object? other) { if (identical(node, other)) return true; if (node is! IntersectionType) return false; if (other is! IntersectionType) return false; @@ -6211,10 +5577,7 @@ class EquivalenceStrategy { } bool checkTypeParameterType( - EquivalenceVisitor visitor, - TypeParameterType? node, - Object? other, - ) { + EquivalenceVisitor visitor, TypeParameterType? node, Object? other) { if (identical(node, other)) return true; if (node is! TypeParameterType) return false; if (other is! TypeParameterType) return false; @@ -6230,21 +5593,15 @@ class EquivalenceStrategy { return result; } - bool checkStructuralParameterType( - EquivalenceVisitor visitor, - StructuralParameterType? node, - Object? other, - ) { + bool checkStructuralParameterType(EquivalenceVisitor visitor, + StructuralParameterType? node, Object? other) { if (identical(node, other)) return true; if (node is! StructuralParameterType) return false; if (other is! StructuralParameterType) return false; visitor.pushNodeState(node, other); bool result = true; if (!checkStructuralParameterType_declaredNullability( - visitor, - node, - other, - )) { + visitor, node, other)) { result = visitor.resultOnInequivalence; } if (!checkStructuralParameterType_parameter(visitor, node, other)) { @@ -6255,10 +5612,7 @@ class EquivalenceStrategy { } bool checkRecordType( - EquivalenceVisitor visitor, - RecordType? node, - Object? other, - ) { + EquivalenceVisitor visitor, RecordType? node, Object? other) { if (identical(node, other)) return true; if (node is! RecordType) return false; if (other is! RecordType) return false; @@ -6278,10 +5632,7 @@ class EquivalenceStrategy { } bool checkNamedType( - EquivalenceVisitor visitor, - NamedType? node, - Object? other, - ) { + EquivalenceVisitor visitor, NamedType? node, Object? other) { if (identical(node, other)) return true; if (node is! NamedType) return false; if (other is! NamedType) return false; @@ -6300,111 +5651,69 @@ class EquivalenceStrategy { return result; } - bool checkPrimitiveConstant_value( - EquivalenceVisitor visitor, - PrimitiveConstant node, - PrimitiveConstant other, - ) { + bool checkPrimitiveConstant_value(EquivalenceVisitor visitor, + PrimitiveConstant node, PrimitiveConstant other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkNullConstant_value( - EquivalenceVisitor visitor, - NullConstant node, - NullConstant other, - ) { + EquivalenceVisitor visitor, NullConstant node, NullConstant other) { return checkPrimitiveConstant_value(visitor, node, other); } bool checkBoolConstant_value( - EquivalenceVisitor visitor, - BoolConstant node, - BoolConstant other, - ) { + EquivalenceVisitor visitor, BoolConstant node, BoolConstant other) { return checkPrimitiveConstant_value(visitor, node, other); } bool checkIntConstant_value( - EquivalenceVisitor visitor, - IntConstant node, - IntConstant other, - ) { + EquivalenceVisitor visitor, IntConstant node, IntConstant other) { return checkPrimitiveConstant_value(visitor, node, other); } bool checkDoubleConstant_value( - EquivalenceVisitor visitor, - DoubleConstant node, - DoubleConstant other, - ) { + EquivalenceVisitor visitor, DoubleConstant node, DoubleConstant other) { return checkPrimitiveConstant_value(visitor, node, other); } bool checkStringConstant_value( - EquivalenceVisitor visitor, - StringConstant node, - StringConstant other, - ) { + EquivalenceVisitor visitor, StringConstant node, StringConstant other) { return checkPrimitiveConstant_value(visitor, node, other); } bool checkSymbolConstant_name( - EquivalenceVisitor visitor, - SymbolConstant node, - SymbolConstant other, - ) { + EquivalenceVisitor visitor, SymbolConstant node, SymbolConstant other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkSymbolConstant_libraryReference( - EquivalenceVisitor visitor, - SymbolConstant node, - SymbolConstant other, - ) { + EquivalenceVisitor visitor, SymbolConstant node, SymbolConstant other) { return visitor.checkReferences( - node.libraryReference, - other.libraryReference, - 'libraryReference', - ); + node.libraryReference, other.libraryReference, 'libraryReference'); } bool checkMapConstant_keyType( - EquivalenceVisitor visitor, - MapConstant node, - MapConstant other, - ) { + EquivalenceVisitor visitor, MapConstant node, MapConstant other) { return visitor.checkNodes(node.keyType, other.keyType, 'keyType'); } bool checkMapConstant_valueType( - EquivalenceVisitor visitor, - MapConstant node, - MapConstant other, - ) { + EquivalenceVisitor visitor, MapConstant node, MapConstant other) { return visitor.checkNodes(node.valueType, other.valueType, 'valueType'); } - bool checkConstantMapEntry_key( - EquivalenceVisitor visitor, - ConstantMapEntry node, - ConstantMapEntry other, - ) { + bool checkConstantMapEntry_key(EquivalenceVisitor visitor, + ConstantMapEntry node, ConstantMapEntry other) { return visitor.checkNodes(node.key, other.key, 'key'); } - bool checkConstantMapEntry_value( - EquivalenceVisitor visitor, - ConstantMapEntry node, - ConstantMapEntry other, - ) { + bool checkConstantMapEntry_value(EquivalenceVisitor visitor, + ConstantMapEntry node, ConstantMapEntry other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkMapConstant_entries( - EquivalenceVisitor visitor, - MapConstant node, - MapConstant other, - ) { + EquivalenceVisitor visitor, MapConstant node, MapConstant other) { return visitor.checkLists(node.entries, other.entries, (a, b, _) { if (identical(a, b)) return true; if (a is! ConstantMapEntry) return false; @@ -6414,447 +5723,240 @@ class EquivalenceStrategy { } bool checkListConstant_typeArgument( - EquivalenceVisitor visitor, - ListConstant node, - ListConstant other, - ) { + EquivalenceVisitor visitor, ListConstant node, ListConstant other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkListConstant_entries( - EquivalenceVisitor visitor, - ListConstant node, - ListConstant other, - ) { + EquivalenceVisitor visitor, ListConstant node, ListConstant other) { return visitor.checkLists( - node.entries, - other.entries, - visitor.checkNodes, - 'entries', - ); + node.entries, other.entries, visitor.checkNodes, 'entries'); } bool checkSetConstant_typeArgument( - EquivalenceVisitor visitor, - SetConstant node, - SetConstant other, - ) { + EquivalenceVisitor visitor, SetConstant node, SetConstant other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkSetConstant_entries( - EquivalenceVisitor visitor, - SetConstant node, - SetConstant other, - ) { + EquivalenceVisitor visitor, SetConstant node, SetConstant other) { return visitor.checkLists( - node.entries, - other.entries, - visitor.checkNodes, - 'entries', - ); + node.entries, other.entries, visitor.checkNodes, 'entries'); } bool checkRecordConstant_positional( - EquivalenceVisitor visitor, - RecordConstant node, - RecordConstant other, - ) { + EquivalenceVisitor visitor, RecordConstant node, RecordConstant other) { return visitor.checkLists( - node.positional, - other.positional, - visitor.checkNodes, - 'positional', - ); + node.positional, other.positional, visitor.checkNodes, 'positional'); } bool checkRecordConstant_named( - EquivalenceVisitor visitor, - RecordConstant node, - RecordConstant other, - ) { - return visitor.checkMaps( - node.named, - other.named, - visitor.matchValues, - visitor.checkValues, - visitor.checkNodes, - 'named', - ); + EquivalenceVisitor visitor, RecordConstant node, RecordConstant other) { + return visitor.checkMaps(node.named, other.named, visitor.matchValues, + visitor.checkValues, visitor.checkNodes, 'named'); } bool checkRecordConstant_recordType( - EquivalenceVisitor visitor, - RecordConstant node, - RecordConstant other, - ) { + EquivalenceVisitor visitor, RecordConstant node, RecordConstant other) { return visitor.checkNodes(node.recordType, other.recordType, 'recordType'); } - bool checkInstanceConstant_classReference( - EquivalenceVisitor visitor, - InstanceConstant node, - InstanceConstant other, - ) { + bool checkInstanceConstant_classReference(EquivalenceVisitor visitor, + InstanceConstant node, InstanceConstant other) { return visitor.checkReferences( - node.classReference, - other.classReference, - 'classReference', - ); + node.classReference, other.classReference, 'classReference'); } - bool checkInstanceConstant_typeArguments( - EquivalenceVisitor visitor, - InstanceConstant node, - InstanceConstant other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + bool checkInstanceConstant_typeArguments(EquivalenceVisitor visitor, + InstanceConstant node, InstanceConstant other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } - bool checkInstanceConstant_fieldValues( - EquivalenceVisitor visitor, - InstanceConstant node, - InstanceConstant other, - ) { + bool checkInstanceConstant_fieldValues(EquivalenceVisitor visitor, + InstanceConstant node, InstanceConstant other) { return visitor.checkMaps( - node.fieldValues, - other.fieldValues, - visitor.matchReferences, - visitor.checkReferences, - visitor.checkNodes, - 'fieldValues', - ); + node.fieldValues, + other.fieldValues, + visitor.matchReferences, + visitor.checkReferences, + visitor.checkNodes, + 'fieldValues'); } - bool checkInstantiationConstant_tearOffConstant( - EquivalenceVisitor visitor, - InstantiationConstant node, - InstantiationConstant other, - ) { + bool checkInstantiationConstant_tearOffConstant(EquivalenceVisitor visitor, + InstantiationConstant node, InstantiationConstant other) { return visitor.checkNodes( - node.tearOffConstant, - other.tearOffConstant, - 'tearOffConstant', - ); + node.tearOffConstant, other.tearOffConstant, 'tearOffConstant'); } - bool checkInstantiationConstant_types( - EquivalenceVisitor visitor, - InstantiationConstant node, - InstantiationConstant other, - ) { + bool checkInstantiationConstant_types(EquivalenceVisitor visitor, + InstantiationConstant node, InstantiationConstant other) { return visitor.checkLists( - node.types, - other.types, - visitor.checkNodes, - 'types', - ); + node.types, other.types, visitor.checkNodes, 'types'); } - bool checkStaticTearOffConstant_targetReference( - EquivalenceVisitor visitor, - StaticTearOffConstant node, - StaticTearOffConstant other, - ) { + bool checkStaticTearOffConstant_targetReference(EquivalenceVisitor visitor, + StaticTearOffConstant node, StaticTearOffConstant other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkConstructorTearOffConstant_targetReference( - EquivalenceVisitor visitor, - ConstructorTearOffConstant node, - ConstructorTearOffConstant other, - ) { + EquivalenceVisitor visitor, + ConstructorTearOffConstant node, + ConstructorTearOffConstant other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkRedirectingFactoryTearOffConstant_targetReference( - EquivalenceVisitor visitor, - RedirectingFactoryTearOffConstant node, - RedirectingFactoryTearOffConstant other, - ) { + EquivalenceVisitor visitor, + RedirectingFactoryTearOffConstant node, + RedirectingFactoryTearOffConstant other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkTypedefTearOffConstant_parameters( - EquivalenceVisitor visitor, - TypedefTearOffConstant node, - TypedefTearOffConstant other, - ) { + bool checkTypedefTearOffConstant_parameters(EquivalenceVisitor visitor, + TypedefTearOffConstant node, TypedefTearOffConstant other) { return visitor.checkLists( - node.parameters, - other.parameters, - visitor.checkNodes, - 'parameters', - ); + node.parameters, other.parameters, visitor.checkNodes, 'parameters'); } - bool checkTypedefTearOffConstant_tearOffConstant( - EquivalenceVisitor visitor, - TypedefTearOffConstant node, - TypedefTearOffConstant other, - ) { + bool checkTypedefTearOffConstant_tearOffConstant(EquivalenceVisitor visitor, + TypedefTearOffConstant node, TypedefTearOffConstant other) { return visitor.checkNodes( - node.tearOffConstant, - other.tearOffConstant, - 'tearOffConstant', - ); + node.tearOffConstant, other.tearOffConstant, 'tearOffConstant'); } - bool checkTypedefTearOffConstant_types( - EquivalenceVisitor visitor, - TypedefTearOffConstant node, - TypedefTearOffConstant other, - ) { + bool checkTypedefTearOffConstant_types(EquivalenceVisitor visitor, + TypedefTearOffConstant node, TypedefTearOffConstant other) { return visitor.checkLists( - node.types, - other.types, - visitor.checkNodes, - 'types', - ); + node.types, other.types, visitor.checkNodes, 'types'); } - bool checkTypeLiteralConstant_type( - EquivalenceVisitor visitor, - TypeLiteralConstant node, - TypeLiteralConstant other, - ) { + bool checkTypeLiteralConstant_type(EquivalenceVisitor visitor, + TypeLiteralConstant node, TypeLiteralConstant other) { return visitor.checkNodes(node.type, other.type, 'type'); } - bool checkUnevaluatedConstant_expression( - EquivalenceVisitor visitor, - UnevaluatedConstant node, - UnevaluatedConstant other, - ) { + bool checkUnevaluatedConstant_expression(EquivalenceVisitor visitor, + UnevaluatedConstant node, UnevaluatedConstant other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkComponent_problemsAsJson( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { - return visitor.checkLists( - node.problemsAsJson, - other.problemsAsJson, - visitor.checkValues, - 'problemsAsJson', - ); + EquivalenceVisitor visitor, Component node, Component other) { + return visitor.checkLists(node.problemsAsJson, other.problemsAsJson, + visitor.checkValues, 'problemsAsJson'); } bool checkComponent_libraries( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { + EquivalenceVisitor visitor, Component node, Component other) { return visitor.checkLists( - node.libraries, - other.libraries, - visitor.checkNodes, - 'libraries', - ); + node.libraries, other.libraries, visitor.checkNodes, 'libraries'); } bool checkSource_lineStarts( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkLists( - node.lineStarts, - other.lineStarts, - visitor.checkValues, - 'lineStarts', - ); + node.lineStarts, other.lineStarts, visitor.checkValues, 'lineStarts'); } bool checkSource_source( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkLists( - node.source, - other.source, - visitor.checkValues, - 'source', - ); + node.source, other.source, visitor.checkValues, 'source'); } bool checkSource_importUri( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkValues(node.importUri, other.importUri, 'importUri'); } bool checkSource_fileUri( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } bool checkSource_constantCoverageConstructors( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkSets( - node.constantCoverageConstructors, - other.constantCoverageConstructors, - visitor.matchReferences, - visitor.checkReferences, - 'constantCoverageConstructors', - ); + node.constantCoverageConstructors, + other.constantCoverageConstructors, + visitor.matchReferences, + visitor.checkReferences, + 'constantCoverageConstructors'); } bool checkSource_cachedText( - EquivalenceVisitor visitor, - Source node, - Source other, - ) { + EquivalenceVisitor visitor, Source node, Source other) { return visitor.checkValues(node.cachedText, other.cachedText, 'cachedText'); } bool checkComponent_uriToSource( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { - return visitor.checkMaps( - node.uriToSource, - other.uriToSource, - visitor.matchValues, - visitor.checkValues, - (a, b, _) { - if (identical(a, b)) return true; - if (a is! Source) return false; - if (b is! Source) return false; - return checkSource(visitor, a, b); - }, - 'uriToSource', - ); + EquivalenceVisitor visitor, Component node, Component other) { + return visitor.checkMaps(node.uriToSource, other.uriToSource, + visitor.matchValues, visitor.checkValues, (a, b, _) { + if (identical(a, b)) return true; + if (a is! Source) return false; + if (b is! Source) return false; + return checkSource(visitor, a, b); + }, 'uriToSource'); } bool checkComponent_metadata( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { + EquivalenceVisitor visitor, Component node, Component other) { return visitor.checkMaps( - node.metadata, - other.metadata, - visitor.matchValues, - visitor.checkValues, - (a, b, _) { - if (identical(a, b)) return true; - if (a is! MetadataRepository) return false; - if (b is! MetadataRepository) return false; - return checkMetadataRepository(visitor, a, b); - }, - 'metadata', - ); + node.metadata, other.metadata, visitor.matchValues, visitor.checkValues, + (a, b, _) { + if (identical(a, b)) return true; + if (a is! MetadataRepository) return false; + if (b is! MetadataRepository) return false; + return checkMetadataRepository(visitor, a, b); + }, 'metadata'); } bool checkComponent_mainMethodName( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { + EquivalenceVisitor visitor, Component node, Component other) { return visitor.checkReferences( - node.mainMethodName, - other.mainMethodName, - 'mainMethodName', - ); + node.mainMethodName, other.mainMethodName, 'mainMethodName'); } bool checkComponent_mode( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { + EquivalenceVisitor visitor, Component node, Component other) { return visitor.checkValues(node.mode, other.mode, 'mode'); } bool checkTreeNode_fileOffset( - EquivalenceVisitor visitor, - TreeNode node, - TreeNode other, - ) { + EquivalenceVisitor visitor, TreeNode node, TreeNode other) { return visitor.checkValues(node.fileOffset, other.fileOffset, 'fileOffset'); } bool checkComponent_fileOffset( - EquivalenceVisitor visitor, - Component node, - Component other, - ) { + EquivalenceVisitor visitor, Component node, Component other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkClass_startFileOffset( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkValues( - node.startFileOffset, - other.startFileOffset, - 'startFileOffset', - ); + node.startFileOffset, other.startFileOffset, 'startFileOffset'); } bool checkClass_fileEndOffset( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkValues( - node.fileEndOffset, - other.fileEndOffset, - 'fileEndOffset', - ); + node.fileEndOffset, other.fileEndOffset, 'fileEndOffset'); } bool checkClass_annotations( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkClass_name(EquivalenceVisitor visitor, Class node, Class other) { @@ -6870,217 +5972,122 @@ class EquivalenceStrategy { } bool checkClass_typeParameters( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + EquivalenceVisitor visitor, Class node, Class other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkClass_supertype( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkNodes(node.supertype, other.supertype, 'supertype'); } bool checkClass_mixedInType( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkNodes( - node.mixedInType, - other.mixedInType, - 'mixedInType', - ); + node.mixedInType, other.mixedInType, 'mixedInType'); } bool checkClass_implementedTypes( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { - return visitor.checkLists( - node.implementedTypes, - other.implementedTypes, - visitor.checkNodes, - 'implementedTypes', - ); + EquivalenceVisitor visitor, Class node, Class other) { + return visitor.checkLists(node.implementedTypes, other.implementedTypes, + visitor.checkNodes, 'implementedTypes'); } bool checkClass_fields(EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkLists( - node.fields, - other.fields, - visitor.checkNodes, - 'fields', - ); + node.fields, other.fields, visitor.checkNodes, 'fields'); } bool checkClass_constructors( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { - return visitor.checkLists( - node.constructors, - other.constructors, - visitor.checkNodes, - 'constructors', - ); + EquivalenceVisitor visitor, Class node, Class other) { + return visitor.checkLists(node.constructors, other.constructors, + visitor.checkNodes, 'constructors'); } bool checkClass_procedures( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return visitor.checkLists( - node.procedures, - other.procedures, - visitor.checkNodes, - 'procedures', - ); + node.procedures, other.procedures, visitor.checkNodes, 'procedures'); } bool checkNamedNode_reference( - EquivalenceVisitor visitor, - NamedNode node, - NamedNode other, - ) { + EquivalenceVisitor visitor, NamedNode node, NamedNode other) { return visitor.checkReferences( - node.reference, - other.reference, - 'reference', - ); + node.reference, other.reference, 'reference'); } bool checkClass_reference( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return checkNamedNode_reference(visitor, node, other); } bool checkNamedNode_fileOffset( - EquivalenceVisitor visitor, - NamedNode node, - NamedNode other, - ) { + EquivalenceVisitor visitor, NamedNode node, NamedNode other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkClass_fileOffset( - EquivalenceVisitor visitor, - Class node, - Class other, - ) { + EquivalenceVisitor visitor, Class node, Class other) { return checkNamedNode_fileOffset(visitor, node, other); } bool checkExtension_name( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkExtension_fileUri( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } bool checkExtension_typeParameters( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + EquivalenceVisitor visitor, Extension node, Extension other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkExtension_onType( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return visitor.checkNodes(node.onType, other.onType, 'onType'); } - bool checkExtensionMemberDescriptor_name( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor node, - ExtensionMemberDescriptor other, - ) { + bool checkExtensionMemberDescriptor_name(EquivalenceVisitor visitor, + ExtensionMemberDescriptor node, ExtensionMemberDescriptor other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkExtensionMemberDescriptor_kind( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor node, - ExtensionMemberDescriptor other, - ) { + bool checkExtensionMemberDescriptor_kind(EquivalenceVisitor visitor, + ExtensionMemberDescriptor node, ExtensionMemberDescriptor other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkExtensionMemberDescriptor_flags( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor node, - ExtensionMemberDescriptor other, - ) { + bool checkExtensionMemberDescriptor_flags(EquivalenceVisitor visitor, + ExtensionMemberDescriptor node, ExtensionMemberDescriptor other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkExtensionMemberDescriptor_memberReference( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor node, - ExtensionMemberDescriptor other, - ) { + EquivalenceVisitor visitor, + ExtensionMemberDescriptor node, + ExtensionMemberDescriptor other) { return visitor.checkReferences( - node.memberReference, - other.memberReference, - 'memberReference', - ); + node.memberReference, other.memberReference, 'memberReference'); } bool checkExtensionMemberDescriptor_tearOffReference( - EquivalenceVisitor visitor, - ExtensionMemberDescriptor node, - ExtensionMemberDescriptor other, - ) { + EquivalenceVisitor visitor, + ExtensionMemberDescriptor node, + ExtensionMemberDescriptor other) { return visitor.checkReferences( - node.tearOffReference, - other.tearOffReference, - 'tearOffReference', - ); + node.tearOffReference, other.tearOffReference, 'tearOffReference'); } bool checkExtension_memberDescriptors( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { - return visitor.checkLists(node.memberDescriptors, other.memberDescriptors, ( - a, - b, - _, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { + return visitor.checkLists(node.memberDescriptors, other.memberDescriptors, + (a, b, _) { if (identical(a, b)) return true; if (a is! ExtensionMemberDescriptor) return false; if (b is! ExtensionMemberDescriptor) return false; @@ -7089,166 +6096,101 @@ class EquivalenceStrategy { } bool checkExtension_annotations( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkExtension_flags( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkExtension_reference( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return checkNamedNode_reference(visitor, node, other); } bool checkExtension_fileOffset( - EquivalenceVisitor visitor, - Extension node, - Extension other, - ) { + EquivalenceVisitor visitor, Extension node, Extension other) { return checkNamedNode_fileOffset(visitor, node, other); } - bool checkExtensionTypeDeclaration_name( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_name(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkValues(node.name, other.name, 'name'); } - bool checkExtensionTypeDeclaration_fileUri( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_fileUri(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } - bool checkExtensionTypeDeclaration_typeParameters( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + bool checkExtensionTypeDeclaration_typeParameters(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkExtensionTypeDeclaration_declaredRepresentationType( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { - return visitor.checkNodes( - node.declaredRepresentationType, - other.declaredRepresentationType, - 'declaredRepresentationType', - ); + EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, + ExtensionTypeDeclaration other) { + return visitor.checkNodes(node.declaredRepresentationType, + other.declaredRepresentationType, 'declaredRepresentationType'); } bool checkExtensionTypeDeclaration_representationName( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { - return visitor.checkValues( - node.representationName, - other.representationName, - 'representationName', - ); + EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, + ExtensionTypeDeclaration other) { + return visitor.checkValues(node.representationName, + other.representationName, 'representationName'); } - bool checkExtensionTypeDeclaration_procedures( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_procedures(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkLists( - node.procedures, - other.procedures, - visitor.checkNodes, - 'procedures', - ); + node.procedures, other.procedures, visitor.checkNodes, 'procedures'); } - bool checkExtensionTypeMemberDescriptor_name( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor node, - ExtensionTypeMemberDescriptor other, - ) { + bool checkExtensionTypeMemberDescriptor_name(EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor node, ExtensionTypeMemberDescriptor other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkExtensionTypeMemberDescriptor_kind( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor node, - ExtensionTypeMemberDescriptor other, - ) { + bool checkExtensionTypeMemberDescriptor_kind(EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor node, ExtensionTypeMemberDescriptor other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkExtensionTypeMemberDescriptor_flags( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor node, - ExtensionTypeMemberDescriptor other, - ) { + bool checkExtensionTypeMemberDescriptor_flags(EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor node, ExtensionTypeMemberDescriptor other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkExtensionTypeMemberDescriptor_memberReference( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor node, - ExtensionTypeMemberDescriptor other, - ) { + EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor node, + ExtensionTypeMemberDescriptor other) { return visitor.checkReferences( - node.memberReference, - other.memberReference, - 'memberReference', - ); + node.memberReference, other.memberReference, 'memberReference'); } bool checkExtensionTypeMemberDescriptor_tearOffReference( - EquivalenceVisitor visitor, - ExtensionTypeMemberDescriptor node, - ExtensionTypeMemberDescriptor other, - ) { + EquivalenceVisitor visitor, + ExtensionTypeMemberDescriptor node, + ExtensionTypeMemberDescriptor other) { return visitor.checkReferences( - node.tearOffReference, - other.tearOffReference, - 'tearOffReference', - ); + node.tearOffReference, other.tearOffReference, 'tearOffReference'); } bool checkExtensionTypeDeclaration_memberDescriptors( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { - return visitor.checkLists(node.memberDescriptors, other.memberDescriptors, ( - a, - b, - _, - ) { + EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, + ExtensionTypeDeclaration other) { + return visitor.checkLists(node.memberDescriptors, other.memberDescriptors, + (a, b, _) { if (identical(a, b)) return true; if (a is! ExtensionTypeMemberDescriptor) return false; if (b is! ExtensionTypeMemberDescriptor) return false; @@ -7256,256 +6198,135 @@ class EquivalenceStrategy { }, 'memberDescriptors'); } - bool checkExtensionTypeDeclaration_annotations( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_annotations(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } - bool checkExtensionTypeDeclaration_implements( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_implements(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkLists( - node.implements, - other.implements, - visitor.checkNodes, - 'implements', - ); + node.implements, other.implements, visitor.checkNodes, 'implements'); } - bool checkExtensionTypeDeclaration_flags( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_flags(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkExtensionTypeDeclaration_reference( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_reference(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return checkNamedNode_reference(visitor, node, other); } - bool checkExtensionTypeDeclaration_fileOffset( - EquivalenceVisitor visitor, - ExtensionTypeDeclaration node, - ExtensionTypeDeclaration other, - ) { + bool checkExtensionTypeDeclaration_fileOffset(EquivalenceVisitor visitor, + ExtensionTypeDeclaration node, ExtensionTypeDeclaration other) { return checkNamedNode_fileOffset(visitor, node, other); } bool checkLibrary_importUri( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkValues(node.importUri, other.importUri, 'importUri'); } bool checkLibrary_fileUri( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } bool checkLibrary_languageVersion( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkValues( - node.languageVersion, - other.languageVersion, - 'languageVersion', - ); + node.languageVersion, other.languageVersion, 'languageVersion'); } bool checkLibrary_flags( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkLibrary_name( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkLibrary_problemsAsJson( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { - return visitor.checkLists( - node.problemsAsJson, - other.problemsAsJson, - visitor.checkValues, - 'problemsAsJson', - ); + EquivalenceVisitor visitor, Library node, Library other) { + return visitor.checkLists(node.problemsAsJson, other.problemsAsJson, + visitor.checkValues, 'problemsAsJson'); } bool checkLibrary_annotations( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkLibrary_dependencies( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { - return visitor.checkLists( - node.dependencies, - other.dependencies, - visitor.checkNodes, - 'dependencies', - ); + EquivalenceVisitor visitor, Library node, Library other) { + return visitor.checkLists(node.dependencies, other.dependencies, + visitor.checkNodes, 'dependencies'); } bool checkLibrary_additionalExports( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { - return visitor.checkLists( - node.additionalExports, - other.additionalExports, - visitor.checkReferences, - 'additionalExports', - ); + EquivalenceVisitor visitor, Library node, Library other) { + return visitor.checkLists(node.additionalExports, other.additionalExports, + visitor.checkReferences, 'additionalExports'); } bool checkLibrary_parts( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.parts, - other.parts, - visitor.checkNodes, - 'parts', - ); + node.parts, other.parts, visitor.checkNodes, 'parts'); } bool checkLibrary_typedefs( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.typedefs, - other.typedefs, - visitor.checkNodes, - 'typedefs', - ); + node.typedefs, other.typedefs, visitor.checkNodes, 'typedefs'); } bool checkLibrary_classes( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.classes, - other.classes, - visitor.checkNodes, - 'classes', - ); + node.classes, other.classes, visitor.checkNodes, 'classes'); } bool checkLibrary_extensions( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.extensions, - other.extensions, - visitor.checkNodes, - 'extensions', - ); + node.extensions, other.extensions, visitor.checkNodes, 'extensions'); } bool checkLibrary_extensionTypeDeclarations( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.extensionTypeDeclarations, - other.extensionTypeDeclarations, - visitor.checkNodes, - 'extensionTypeDeclarations', - ); + node.extensionTypeDeclarations, + other.extensionTypeDeclarations, + visitor.checkNodes, + 'extensionTypeDeclarations'); } bool checkLibrary_procedures( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.procedures, - other.procedures, - visitor.checkNodes, - 'procedures', - ); + node.procedures, other.procedures, visitor.checkNodes, 'procedures'); } bool checkLibrary_fields( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return visitor.checkLists( - node.fields, - other.fields, - visitor.checkNodes, - 'fields', - ); + node.fields, other.fields, visitor.checkNodes, 'fields'); } bool checkLibrary_reference( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return checkNamedNode_reference(visitor, node, other); } bool checkLibrary_fileOffset( - EquivalenceVisitor visitor, - Library node, - Library other, - ) { + EquivalenceVisitor visitor, Library node, Library other) { return checkNamedNode_fileOffset(visitor, node, other); } @@ -7518,79 +6339,42 @@ class EquivalenceStrategy { } bool checkField_initializer( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return visitor.checkNodes( - node.initializer, - other.initializer, - 'initializer', - ); + node.initializer, other.initializer, 'initializer'); } bool checkField_getterReference( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return visitor.checkReferences( - node.getterReference, - other.getterReference, - 'getterReference', - ); + node.getterReference, other.getterReference, 'getterReference'); } bool checkField_setterReference( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return visitor.checkReferences( - node.setterReference, - other.setterReference, - 'setterReference', - ); + node.setterReference, other.setterReference, 'setterReference'); } bool checkMember_fileEndOffset( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return visitor.checkValues( - node.fileEndOffset, - other.fileEndOffset, - 'fileEndOffset', - ); + node.fileEndOffset, other.fileEndOffset, 'fileEndOffset'); } bool checkField_fileEndOffset( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return checkMember_fileEndOffset(visitor, node, other); } bool checkMember_annotations( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkField_annotations( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return checkMember_annotations(visitor, node, other); } @@ -7603,10 +6387,7 @@ class EquivalenceStrategy { } bool checkMember_fileUri( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } @@ -7615,1474 +6396,883 @@ class EquivalenceStrategy { } bool checkMember_transformerFlags( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return visitor.checkValues( - node.transformerFlags, - other.transformerFlags, - 'transformerFlags', - ); + node.transformerFlags, other.transformerFlags, 'transformerFlags'); } bool checkField_transformerFlags( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return checkMember_transformerFlags(visitor, node, other); } bool checkField_fieldReference( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return visitor.checkReferences( - node.fieldReference, - other.fieldReference, - 'fieldReference', - ); + node.fieldReference, other.fieldReference, 'fieldReference'); } bool checkMember_fileOffset( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return checkNamedNode_fileOffset(visitor, node, other); } bool checkField_fileOffset( - EquivalenceVisitor visitor, - Field node, - Field other, - ) { + EquivalenceVisitor visitor, Field node, Field other) { return checkMember_fileOffset(visitor, node, other); } bool checkConstructor_startFileOffset( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return visitor.checkValues( - node.startFileOffset, - other.startFileOffset, - 'startFileOffset', - ); + node.startFileOffset, other.startFileOffset, 'startFileOffset'); } bool checkConstructor_flags( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkConstructor_function( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return visitor.checkNodes(node.function, other.function, 'function'); } bool checkConstructor_initializers( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { - return visitor.checkLists( - node.initializers, - other.initializers, - visitor.checkNodes, - 'initializers', - ); + EquivalenceVisitor visitor, Constructor node, Constructor other) { + return visitor.checkLists(node.initializers, other.initializers, + visitor.checkNodes, 'initializers'); } bool checkConstructor_fileEndOffset( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_fileEndOffset(visitor, node, other); } bool checkConstructor_annotations( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_annotations(visitor, node, other); } bool checkConstructor_name( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_name(visitor, node, other); } bool checkConstructor_fileUri( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_fileUri(visitor, node, other); } bool checkConstructor_transformerFlags( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_transformerFlags(visitor, node, other); } bool checkMember_reference( - EquivalenceVisitor visitor, - Member node, - Member other, - ) { + EquivalenceVisitor visitor, Member node, Member other) { return checkNamedNode_reference(visitor, node, other); } bool checkConstructor_reference( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_reference(visitor, node, other); } bool checkConstructor_fileOffset( - EquivalenceVisitor visitor, - Constructor node, - Constructor other, - ) { + EquivalenceVisitor visitor, Constructor node, Constructor other) { return checkMember_fileOffset(visitor, node, other); } bool checkProcedure_fileStartOffset( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkValues( - node.fileStartOffset, - other.fileStartOffset, - 'fileStartOffset', - ); + node.fileStartOffset, other.fileStartOffset, 'fileStartOffset'); } bool checkProcedure_kind( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkProcedure_flags( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkProcedure_function( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkNodes(node.function, other.function, 'function'); } bool checkProcedure_stubKind( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkValues(node.stubKind, other.stubKind, 'stubKind'); } bool checkProcedure_stubTargetReference( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { - return visitor.checkReferences( - node.stubTargetReference, - other.stubTargetReference, - 'stubTargetReference', - ); + EquivalenceVisitor visitor, Procedure node, Procedure other) { + return visitor.checkReferences(node.stubTargetReference, + other.stubTargetReference, 'stubTargetReference'); } bool checkProcedure_signatureType( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return visitor.checkNodes( - node.signatureType, - other.signatureType, - 'signatureType', - ); + node.signatureType, other.signatureType, 'signatureType'); } bool checkProcedure_fileEndOffset( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_fileEndOffset(visitor, node, other); } bool checkProcedure_annotations( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_annotations(visitor, node, other); } bool checkProcedure_name( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_name(visitor, node, other); } bool checkProcedure_fileUri( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_fileUri(visitor, node, other); } bool checkProcedure_transformerFlags( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_transformerFlags(visitor, node, other); } bool checkProcedure_reference( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_reference(visitor, node, other); } bool checkProcedure_fileOffset( - EquivalenceVisitor visitor, - Procedure node, - Procedure other, - ) { + EquivalenceVisitor visitor, Procedure node, Procedure other) { return checkMember_fileOffset(visitor, node, other); } bool checkTypedef_fileUri( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } bool checkTypedef_annotations( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkTypedef_name( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkTypedef_typeParameters( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + EquivalenceVisitor visitor, Typedef node, Typedef other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkTypedef_type( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkTypedef_reference( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return checkNamedNode_reference(visitor, node, other); } bool checkTypedef_fileOffset( - EquivalenceVisitor visitor, - Typedef node, - Typedef other, - ) { + EquivalenceVisitor visitor, Typedef node, Typedef other) { return checkNamedNode_fileOffset(visitor, node, other); } bool checkExpression_fileOffset( - EquivalenceVisitor visitor, - Expression node, - Expression other, - ) { + EquivalenceVisitor visitor, Expression node, Expression other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkAuxiliaryExpression_fileOffset( - EquivalenceVisitor visitor, - AuxiliaryExpression node, - AuxiliaryExpression other, - ) { + bool checkAuxiliaryExpression_fileOffset(EquivalenceVisitor visitor, + AuxiliaryExpression node, AuxiliaryExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkInvalidExpression_message( - EquivalenceVisitor visitor, - InvalidExpression node, - InvalidExpression other, - ) { + bool checkInvalidExpression_message(EquivalenceVisitor visitor, + InvalidExpression node, InvalidExpression other) { return visitor.checkValues(node.message, other.message, 'message'); } - bool checkInvalidExpression_expression( - EquivalenceVisitor visitor, - InvalidExpression node, - InvalidExpression other, - ) { + bool checkInvalidExpression_expression(EquivalenceVisitor visitor, + InvalidExpression node, InvalidExpression other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkInvalidExpression_fileOffset( - EquivalenceVisitor visitor, - InvalidExpression node, - InvalidExpression other, - ) { + bool checkInvalidExpression_fileOffset(EquivalenceVisitor visitor, + InvalidExpression node, InvalidExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkVariableGet_variable( - EquivalenceVisitor visitor, - VariableGet node, - VariableGet other, - ) { + EquivalenceVisitor visitor, VariableGet node, VariableGet other) { return visitor.checkDeclarations(node.variable, other.variable, 'variable'); } bool checkVariableGet_promotedType( - EquivalenceVisitor visitor, - VariableGet node, - VariableGet other, - ) { + EquivalenceVisitor visitor, VariableGet node, VariableGet other) { return visitor.checkNodes( - node.promotedType, - other.promotedType, - 'promotedType', - ); + node.promotedType, other.promotedType, 'promotedType'); } bool checkVariableGet_fileOffset( - EquivalenceVisitor visitor, - VariableGet node, - VariableGet other, - ) { + EquivalenceVisitor visitor, VariableGet node, VariableGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkVariableSet_variable( - EquivalenceVisitor visitor, - VariableSet node, - VariableSet other, - ) { + EquivalenceVisitor visitor, VariableSet node, VariableSet other) { return visitor.checkDeclarations(node.variable, other.variable, 'variable'); } bool checkVariableSet_value( - EquivalenceVisitor visitor, - VariableSet node, - VariableSet other, - ) { + EquivalenceVisitor visitor, VariableSet node, VariableSet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkVariableSet_fileOffset( - EquivalenceVisitor visitor, - VariableSet node, - VariableSet other, - ) { + EquivalenceVisitor visitor, VariableSet node, VariableSet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkRecordIndexGet_receiver( - EquivalenceVisitor visitor, - RecordIndexGet node, - RecordIndexGet other, - ) { + EquivalenceVisitor visitor, RecordIndexGet node, RecordIndexGet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkRecordIndexGet_receiverType( - EquivalenceVisitor visitor, - RecordIndexGet node, - RecordIndexGet other, - ) { + EquivalenceVisitor visitor, RecordIndexGet node, RecordIndexGet other) { return visitor.checkNodes( - node.receiverType, - other.receiverType, - 'receiverType', - ); + node.receiverType, other.receiverType, 'receiverType'); } bool checkRecordIndexGet_index( - EquivalenceVisitor visitor, - RecordIndexGet node, - RecordIndexGet other, - ) { + EquivalenceVisitor visitor, RecordIndexGet node, RecordIndexGet other) { return visitor.checkValues(node.index, other.index, 'index'); } bool checkRecordIndexGet_fileOffset( - EquivalenceVisitor visitor, - RecordIndexGet node, - RecordIndexGet other, - ) { + EquivalenceVisitor visitor, RecordIndexGet node, RecordIndexGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkRecordNameGet_receiver( - EquivalenceVisitor visitor, - RecordNameGet node, - RecordNameGet other, - ) { + EquivalenceVisitor visitor, RecordNameGet node, RecordNameGet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkRecordNameGet_receiverType( - EquivalenceVisitor visitor, - RecordNameGet node, - RecordNameGet other, - ) { + EquivalenceVisitor visitor, RecordNameGet node, RecordNameGet other) { return visitor.checkNodes( - node.receiverType, - other.receiverType, - 'receiverType', - ); + node.receiverType, other.receiverType, 'receiverType'); } bool checkRecordNameGet_name( - EquivalenceVisitor visitor, - RecordNameGet node, - RecordNameGet other, - ) { + EquivalenceVisitor visitor, RecordNameGet node, RecordNameGet other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkRecordNameGet_fileOffset( - EquivalenceVisitor visitor, - RecordNameGet node, - RecordNameGet other, - ) { + EquivalenceVisitor visitor, RecordNameGet node, RecordNameGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkDynamicGet_kind( - EquivalenceVisitor visitor, - DynamicGet node, - DynamicGet other, - ) { + EquivalenceVisitor visitor, DynamicGet node, DynamicGet other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkDynamicGet_receiver( - EquivalenceVisitor visitor, - DynamicGet node, - DynamicGet other, - ) { + EquivalenceVisitor visitor, DynamicGet node, DynamicGet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkDynamicGet_name( - EquivalenceVisitor visitor, - DynamicGet node, - DynamicGet other, - ) { + EquivalenceVisitor visitor, DynamicGet node, DynamicGet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkDynamicGet_fileOffset( - EquivalenceVisitor visitor, - DynamicGet node, - DynamicGet other, - ) { + EquivalenceVisitor visitor, DynamicGet node, DynamicGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkInstanceGet_kind( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkInstanceGet_receiver( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkInstanceGet_name( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkInstanceGet_resultType( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { return visitor.checkNodes(node.resultType, other.resultType, 'resultType'); } bool checkInstanceGet_interfaceTargetReference( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } bool checkInstanceGet_fileOffset( - EquivalenceVisitor visitor, - InstanceGet node, - InstanceGet other, - ) { + EquivalenceVisitor visitor, InstanceGet node, InstanceGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkFunctionTearOff_receiver( - EquivalenceVisitor visitor, - FunctionTearOff node, - FunctionTearOff other, - ) { + EquivalenceVisitor visitor, FunctionTearOff node, FunctionTearOff other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkFunctionTearOff_fileOffset( - EquivalenceVisitor visitor, - FunctionTearOff node, - FunctionTearOff other, - ) { + EquivalenceVisitor visitor, FunctionTearOff node, FunctionTearOff other) { return checkExpression_fileOffset(visitor, node, other); } bool checkInstanceTearOff_kind( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkInstanceTearOff_receiver( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkInstanceTearOff_name( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkInstanceTearOff_resultType( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { return visitor.checkNodes(node.resultType, other.resultType, 'resultType'); } bool checkInstanceTearOff_interfaceTargetReference( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } bool checkInstanceTearOff_fileOffset( - EquivalenceVisitor visitor, - InstanceTearOff node, - InstanceTearOff other, - ) { + EquivalenceVisitor visitor, InstanceTearOff node, InstanceTearOff other) { return checkExpression_fileOffset(visitor, node, other); } bool checkDynamicSet_kind( - EquivalenceVisitor visitor, - DynamicSet node, - DynamicSet other, - ) { + EquivalenceVisitor visitor, DynamicSet node, DynamicSet other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkDynamicSet_receiver( - EquivalenceVisitor visitor, - DynamicSet node, - DynamicSet other, - ) { + EquivalenceVisitor visitor, DynamicSet node, DynamicSet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkDynamicSet_name( - EquivalenceVisitor visitor, - DynamicSet node, - DynamicSet other, - ) { + EquivalenceVisitor visitor, DynamicSet node, DynamicSet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkDynamicSet_value( - EquivalenceVisitor visitor, - DynamicSet node, - DynamicSet other, - ) { + EquivalenceVisitor visitor, DynamicSet node, DynamicSet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkDynamicSet_fileOffset( - EquivalenceVisitor visitor, - DynamicSet node, - DynamicSet other, - ) { + EquivalenceVisitor visitor, DynamicSet node, DynamicSet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkInstanceSet_kind( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } bool checkInstanceSet_receiver( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } bool checkInstanceSet_name( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkInstanceSet_value( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkInstanceSet_interfaceTargetReference( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } bool checkInstanceSet_fileOffset( - EquivalenceVisitor visitor, - InstanceSet node, - InstanceSet other, - ) { + EquivalenceVisitor visitor, InstanceSet node, InstanceSet other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkAbstractSuperPropertyGet_name( - EquivalenceVisitor visitor, - AbstractSuperPropertyGet node, - AbstractSuperPropertyGet other, - ) { + bool checkAbstractSuperPropertyGet_name(EquivalenceVisitor visitor, + AbstractSuperPropertyGet node, AbstractSuperPropertyGet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkAbstractSuperPropertyGet_interfaceTargetReference( - EquivalenceVisitor visitor, - AbstractSuperPropertyGet node, - AbstractSuperPropertyGet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + AbstractSuperPropertyGet node, + AbstractSuperPropertyGet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkAbstractSuperPropertyGet_fileOffset( - EquivalenceVisitor visitor, - AbstractSuperPropertyGet node, - AbstractSuperPropertyGet other, - ) { + bool checkAbstractSuperPropertyGet_fileOffset(EquivalenceVisitor visitor, + AbstractSuperPropertyGet node, AbstractSuperPropertyGet other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkSuperPropertyGet_name( - EquivalenceVisitor visitor, - SuperPropertyGet node, - SuperPropertyGet other, - ) { + bool checkSuperPropertyGet_name(EquivalenceVisitor visitor, + SuperPropertyGet node, SuperPropertyGet other) { return visitor.checkNodes(node.name, other.name, 'name'); } bool checkSuperPropertyGet_interfaceTargetReference( - EquivalenceVisitor visitor, - SuperPropertyGet node, - SuperPropertyGet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + SuperPropertyGet node, + SuperPropertyGet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkSuperPropertyGet_fileOffset( - EquivalenceVisitor visitor, - SuperPropertyGet node, - SuperPropertyGet other, - ) { + bool checkSuperPropertyGet_fileOffset(EquivalenceVisitor visitor, + SuperPropertyGet node, SuperPropertyGet other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkAbstractSuperPropertySet_name( - EquivalenceVisitor visitor, - AbstractSuperPropertySet node, - AbstractSuperPropertySet other, - ) { + bool checkAbstractSuperPropertySet_name(EquivalenceVisitor visitor, + AbstractSuperPropertySet node, AbstractSuperPropertySet other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkAbstractSuperPropertySet_value( - EquivalenceVisitor visitor, - AbstractSuperPropertySet node, - AbstractSuperPropertySet other, - ) { + bool checkAbstractSuperPropertySet_value(EquivalenceVisitor visitor, + AbstractSuperPropertySet node, AbstractSuperPropertySet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkAbstractSuperPropertySet_interfaceTargetReference( - EquivalenceVisitor visitor, - AbstractSuperPropertySet node, - AbstractSuperPropertySet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + AbstractSuperPropertySet node, + AbstractSuperPropertySet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkAbstractSuperPropertySet_fileOffset( - EquivalenceVisitor visitor, - AbstractSuperPropertySet node, - AbstractSuperPropertySet other, - ) { + bool checkAbstractSuperPropertySet_fileOffset(EquivalenceVisitor visitor, + AbstractSuperPropertySet node, AbstractSuperPropertySet other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkSuperPropertySet_name( - EquivalenceVisitor visitor, - SuperPropertySet node, - SuperPropertySet other, - ) { + bool checkSuperPropertySet_name(EquivalenceVisitor visitor, + SuperPropertySet node, SuperPropertySet other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkSuperPropertySet_value( - EquivalenceVisitor visitor, - SuperPropertySet node, - SuperPropertySet other, - ) { + bool checkSuperPropertySet_value(EquivalenceVisitor visitor, + SuperPropertySet node, SuperPropertySet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkSuperPropertySet_interfaceTargetReference( - EquivalenceVisitor visitor, - SuperPropertySet node, - SuperPropertySet other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + SuperPropertySet node, + SuperPropertySet other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkSuperPropertySet_fileOffset( - EquivalenceVisitor visitor, - SuperPropertySet node, - SuperPropertySet other, - ) { + bool checkSuperPropertySet_fileOffset(EquivalenceVisitor visitor, + SuperPropertySet node, SuperPropertySet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkStaticGet_targetReference( - EquivalenceVisitor visitor, - StaticGet node, - StaticGet other, - ) { + EquivalenceVisitor visitor, StaticGet node, StaticGet other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkStaticGet_fileOffset( - EquivalenceVisitor visitor, - StaticGet node, - StaticGet other, - ) { + EquivalenceVisitor visitor, StaticGet node, StaticGet other) { return checkExpression_fileOffset(visitor, node, other); } bool checkStaticTearOff_targetReference( - EquivalenceVisitor visitor, - StaticTearOff node, - StaticTearOff other, - ) { + EquivalenceVisitor visitor, StaticTearOff node, StaticTearOff other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkStaticTearOff_fileOffset( - EquivalenceVisitor visitor, - StaticTearOff node, - StaticTearOff other, - ) { + EquivalenceVisitor visitor, StaticTearOff node, StaticTearOff other) { return checkExpression_fileOffset(visitor, node, other); } bool checkStaticSet_targetReference( - EquivalenceVisitor visitor, - StaticSet node, - StaticSet other, - ) { + EquivalenceVisitor visitor, StaticSet node, StaticSet other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkStaticSet_value( - EquivalenceVisitor visitor, - StaticSet node, - StaticSet other, - ) { + EquivalenceVisitor visitor, StaticSet node, StaticSet other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkStaticSet_fileOffset( - EquivalenceVisitor visitor, - StaticSet node, - StaticSet other, - ) { + EquivalenceVisitor visitor, StaticSet node, StaticSet other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkDynamicInvocation_kind( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_kind(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkDynamicInvocation_receiver( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_receiver(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } - bool checkDynamicInvocation_name( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_name(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkDynamicInvocation_arguments( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_arguments(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkDynamicInvocation_flags( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_flags(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkInvocationExpression_fileOffset( - EquivalenceVisitor visitor, - InvocationExpression node, - InvocationExpression other, - ) { + bool checkInvocationExpression_fileOffset(EquivalenceVisitor visitor, + InvocationExpression node, InvocationExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkInstanceInvocationExpression_fileOffset( - EquivalenceVisitor visitor, - InstanceInvocationExpression node, - InstanceInvocationExpression other, - ) { + bool checkInstanceInvocationExpression_fileOffset(EquivalenceVisitor visitor, + InstanceInvocationExpression node, InstanceInvocationExpression other) { return checkInvocationExpression_fileOffset(visitor, node, other); } - bool checkDynamicInvocation_fileOffset( - EquivalenceVisitor visitor, - DynamicInvocation node, - DynamicInvocation other, - ) { + bool checkDynamicInvocation_fileOffset(EquivalenceVisitor visitor, + DynamicInvocation node, DynamicInvocation other) { return checkInstanceInvocationExpression_fileOffset(visitor, node, other); } - bool checkInstanceInvocation_kind( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_kind(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkInstanceInvocation_receiver( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_receiver(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } - bool checkInstanceInvocation_name( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_name(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkInstanceInvocation_arguments( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_arguments(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkInstanceInvocation_flags( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_flags(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkInstanceInvocation_functionType( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_functionType(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } bool checkInstanceInvocation_interfaceTargetReference( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + InstanceInvocation node, + InstanceInvocation other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkInstanceInvocation_fileOffset( - EquivalenceVisitor visitor, - InstanceInvocation node, - InstanceInvocation other, - ) { + bool checkInstanceInvocation_fileOffset(EquivalenceVisitor visitor, + InstanceInvocation node, InstanceInvocation other) { return checkInstanceInvocationExpression_fileOffset(visitor, node, other); } - bool checkInstanceGetterInvocation_kind( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_kind(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkInstanceGetterInvocation_receiver( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_receiver(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } - bool checkInstanceGetterInvocation_name( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_name(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkInstanceGetterInvocation_arguments( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_arguments(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkInstanceGetterInvocation_flags( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_flags(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkInstanceGetterInvocation_functionType( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_functionType(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } bool checkInstanceGetterInvocation_interfaceTargetReference( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + InstanceGetterInvocation node, + InstanceGetterInvocation other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkInstanceGetterInvocation_fileOffset( - EquivalenceVisitor visitor, - InstanceGetterInvocation node, - InstanceGetterInvocation other, - ) { + bool checkInstanceGetterInvocation_fileOffset(EquivalenceVisitor visitor, + InstanceGetterInvocation node, InstanceGetterInvocation other) { return checkInstanceInvocationExpression_fileOffset(visitor, node, other); } - bool checkFunctionInvocation_kind( - EquivalenceVisitor visitor, - FunctionInvocation node, - FunctionInvocation other, - ) { + bool checkFunctionInvocation_kind(EquivalenceVisitor visitor, + FunctionInvocation node, FunctionInvocation other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkFunctionInvocation_receiver( - EquivalenceVisitor visitor, - FunctionInvocation node, - FunctionInvocation other, - ) { + bool checkFunctionInvocation_receiver(EquivalenceVisitor visitor, + FunctionInvocation node, FunctionInvocation other) { return visitor.checkNodes(node.receiver, other.receiver, 'receiver'); } - bool checkFunctionInvocation_arguments( - EquivalenceVisitor visitor, - FunctionInvocation node, - FunctionInvocation other, - ) { + bool checkFunctionInvocation_arguments(EquivalenceVisitor visitor, + FunctionInvocation node, FunctionInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkFunctionInvocation_functionType( - EquivalenceVisitor visitor, - FunctionInvocation node, - FunctionInvocation other, - ) { + bool checkFunctionInvocation_functionType(EquivalenceVisitor visitor, + FunctionInvocation node, FunctionInvocation other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } - bool checkFunctionInvocation_fileOffset( - EquivalenceVisitor visitor, - FunctionInvocation node, - FunctionInvocation other, - ) { + bool checkFunctionInvocation_fileOffset(EquivalenceVisitor visitor, + FunctionInvocation node, FunctionInvocation other) { return checkInstanceInvocationExpression_fileOffset(visitor, node, other); } - bool checkLocalFunctionInvocation_variable( - EquivalenceVisitor visitor, - LocalFunctionInvocation node, - LocalFunctionInvocation other, - ) { + bool checkLocalFunctionInvocation_variable(EquivalenceVisitor visitor, + LocalFunctionInvocation node, LocalFunctionInvocation other) { return visitor.checkDeclarations(node.variable, other.variable, 'variable'); } - bool checkLocalFunctionInvocation_arguments( - EquivalenceVisitor visitor, - LocalFunctionInvocation node, - LocalFunctionInvocation other, - ) { + bool checkLocalFunctionInvocation_arguments(EquivalenceVisitor visitor, + LocalFunctionInvocation node, LocalFunctionInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkLocalFunctionInvocation_functionType( - EquivalenceVisitor visitor, - LocalFunctionInvocation node, - LocalFunctionInvocation other, - ) { + bool checkLocalFunctionInvocation_functionType(EquivalenceVisitor visitor, + LocalFunctionInvocation node, LocalFunctionInvocation other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } - bool checkLocalFunctionInvocation_fileOffset( - EquivalenceVisitor visitor, - LocalFunctionInvocation node, - LocalFunctionInvocation other, - ) { + bool checkLocalFunctionInvocation_fileOffset(EquivalenceVisitor visitor, + LocalFunctionInvocation node, LocalFunctionInvocation other) { return checkInvocationExpression_fileOffset(visitor, node, other); } - bool checkAbstractSuperMethodInvocation_name( - EquivalenceVisitor visitor, - AbstractSuperMethodInvocation node, - AbstractSuperMethodInvocation other, - ) { + bool checkAbstractSuperMethodInvocation_name(EquivalenceVisitor visitor, + AbstractSuperMethodInvocation node, AbstractSuperMethodInvocation other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkAbstractSuperMethodInvocation_arguments( - EquivalenceVisitor visitor, - AbstractSuperMethodInvocation node, - AbstractSuperMethodInvocation other, - ) { + bool checkAbstractSuperMethodInvocation_arguments(EquivalenceVisitor visitor, + AbstractSuperMethodInvocation node, AbstractSuperMethodInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } bool checkAbstractSuperMethodInvocation_interfaceTargetReference( - EquivalenceVisitor visitor, - AbstractSuperMethodInvocation node, - AbstractSuperMethodInvocation other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + AbstractSuperMethodInvocation node, + AbstractSuperMethodInvocation other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkAbstractSuperMethodInvocation_fileOffset( - EquivalenceVisitor visitor, - AbstractSuperMethodInvocation node, - AbstractSuperMethodInvocation other, - ) { + bool checkAbstractSuperMethodInvocation_fileOffset(EquivalenceVisitor visitor, + AbstractSuperMethodInvocation node, AbstractSuperMethodInvocation other) { return checkInvocationExpression_fileOffset(visitor, node, other); } - bool checkSuperMethodInvocation_name( - EquivalenceVisitor visitor, - SuperMethodInvocation node, - SuperMethodInvocation other, - ) { + bool checkSuperMethodInvocation_name(EquivalenceVisitor visitor, + SuperMethodInvocation node, SuperMethodInvocation other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkSuperMethodInvocation_arguments( - EquivalenceVisitor visitor, - SuperMethodInvocation node, - SuperMethodInvocation other, - ) { + bool checkSuperMethodInvocation_arguments(EquivalenceVisitor visitor, + SuperMethodInvocation node, SuperMethodInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } bool checkSuperMethodInvocation_interfaceTargetReference( - EquivalenceVisitor visitor, - SuperMethodInvocation node, - SuperMethodInvocation other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, + SuperMethodInvocation node, + SuperMethodInvocation other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } - bool checkSuperMethodInvocation_fileOffset( - EquivalenceVisitor visitor, - SuperMethodInvocation node, - SuperMethodInvocation other, - ) { + bool checkSuperMethodInvocation_fileOffset(EquivalenceVisitor visitor, + SuperMethodInvocation node, SuperMethodInvocation other) { return checkInvocationExpression_fileOffset(visitor, node, other); } - bool checkStaticInvocation_targetReference( - EquivalenceVisitor visitor, - StaticInvocation node, - StaticInvocation other, - ) { + bool checkStaticInvocation_targetReference(EquivalenceVisitor visitor, + StaticInvocation node, StaticInvocation other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkStaticInvocation_arguments( - EquivalenceVisitor visitor, - StaticInvocation node, - StaticInvocation other, - ) { + bool checkStaticInvocation_arguments(EquivalenceVisitor visitor, + StaticInvocation node, StaticInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkStaticInvocation_isConst( - EquivalenceVisitor visitor, - StaticInvocation node, - StaticInvocation other, - ) { + bool checkStaticInvocation_isConst(EquivalenceVisitor visitor, + StaticInvocation node, StaticInvocation other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } - bool checkStaticInvocation_fileOffset( - EquivalenceVisitor visitor, - StaticInvocation node, - StaticInvocation other, - ) { + bool checkStaticInvocation_fileOffset(EquivalenceVisitor visitor, + StaticInvocation node, StaticInvocation other) { return checkInvocationExpression_fileOffset(visitor, node, other); } - bool checkConstructorInvocation_targetReference( - EquivalenceVisitor visitor, - ConstructorInvocation node, - ConstructorInvocation other, - ) { + bool checkConstructorInvocation_targetReference(EquivalenceVisitor visitor, + ConstructorInvocation node, ConstructorInvocation other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkConstructorInvocation_arguments( - EquivalenceVisitor visitor, - ConstructorInvocation node, - ConstructorInvocation other, - ) { + bool checkConstructorInvocation_arguments(EquivalenceVisitor visitor, + ConstructorInvocation node, ConstructorInvocation other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkConstructorInvocation_isConst( - EquivalenceVisitor visitor, - ConstructorInvocation node, - ConstructorInvocation other, - ) { + bool checkConstructorInvocation_isConst(EquivalenceVisitor visitor, + ConstructorInvocation node, ConstructorInvocation other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } - bool checkConstructorInvocation_fileOffset( - EquivalenceVisitor visitor, - ConstructorInvocation node, - ConstructorInvocation other, - ) { + bool checkConstructorInvocation_fileOffset(EquivalenceVisitor visitor, + ConstructorInvocation node, ConstructorInvocation other) { return checkInvocationExpression_fileOffset(visitor, node, other); } bool checkEqualsNull_expression( - EquivalenceVisitor visitor, - EqualsNull node, - EqualsNull other, - ) { + EquivalenceVisitor visitor, EqualsNull node, EqualsNull other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkEqualsNull_fileOffset( - EquivalenceVisitor visitor, - EqualsNull node, - EqualsNull other, - ) { + EquivalenceVisitor visitor, EqualsNull node, EqualsNull other) { return checkExpression_fileOffset(visitor, node, other); } bool checkEqualsCall_left( - EquivalenceVisitor visitor, - EqualsCall node, - EqualsCall other, - ) { + EquivalenceVisitor visitor, EqualsCall node, EqualsCall other) { return visitor.checkNodes(node.left, other.left, 'left'); } bool checkEqualsCall_right( - EquivalenceVisitor visitor, - EqualsCall node, - EqualsCall other, - ) { + EquivalenceVisitor visitor, EqualsCall node, EqualsCall other) { return visitor.checkNodes(node.right, other.right, 'right'); } bool checkEqualsCall_functionType( - EquivalenceVisitor visitor, - EqualsCall node, - EqualsCall other, - ) { + EquivalenceVisitor visitor, EqualsCall node, EqualsCall other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } bool checkEqualsCall_interfaceTargetReference( - EquivalenceVisitor visitor, - EqualsCall node, - EqualsCall other, - ) { - return visitor.checkReferences( - node.interfaceTargetReference, - other.interfaceTargetReference, - 'interfaceTargetReference', - ); + EquivalenceVisitor visitor, EqualsCall node, EqualsCall other) { + return visitor.checkReferences(node.interfaceTargetReference, + other.interfaceTargetReference, 'interfaceTargetReference'); } bool checkEqualsCall_fileOffset( - EquivalenceVisitor visitor, - EqualsCall node, - EqualsCall other, - ) { + EquivalenceVisitor visitor, EqualsCall node, EqualsCall other) { return checkExpression_fileOffset(visitor, node, other); } bool checkInstantiation_expression( - EquivalenceVisitor visitor, - Instantiation node, - Instantiation other, - ) { + EquivalenceVisitor visitor, Instantiation node, Instantiation other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkInstantiation_typeArguments( - EquivalenceVisitor visitor, - Instantiation node, - Instantiation other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, Instantiation node, Instantiation other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkInstantiation_fileOffset( - EquivalenceVisitor visitor, - Instantiation node, - Instantiation other, - ) { + EquivalenceVisitor visitor, Instantiation node, Instantiation other) { return checkExpression_fileOffset(visitor, node, other); } @@ -9094,509 +7284,300 @@ class EquivalenceStrategy { return checkExpression_fileOffset(visitor, node, other); } - bool checkLogicalExpression_left( - EquivalenceVisitor visitor, - LogicalExpression node, - LogicalExpression other, - ) { + bool checkLogicalExpression_left(EquivalenceVisitor visitor, + LogicalExpression node, LogicalExpression other) { return visitor.checkNodes(node.left, other.left, 'left'); } - bool checkLogicalExpression_operatorEnum( - EquivalenceVisitor visitor, - LogicalExpression node, - LogicalExpression other, - ) { + bool checkLogicalExpression_operatorEnum(EquivalenceVisitor visitor, + LogicalExpression node, LogicalExpression other) { return visitor.checkValues( - node.operatorEnum, - other.operatorEnum, - 'operatorEnum', - ); + node.operatorEnum, other.operatorEnum, 'operatorEnum'); } - bool checkLogicalExpression_right( - EquivalenceVisitor visitor, - LogicalExpression node, - LogicalExpression other, - ) { + bool checkLogicalExpression_right(EquivalenceVisitor visitor, + LogicalExpression node, LogicalExpression other) { return visitor.checkNodes(node.right, other.right, 'right'); } - bool checkLogicalExpression_fileOffset( - EquivalenceVisitor visitor, - LogicalExpression node, - LogicalExpression other, - ) { + bool checkLogicalExpression_fileOffset(EquivalenceVisitor visitor, + LogicalExpression node, LogicalExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkConditionalExpression_condition( - EquivalenceVisitor visitor, - ConditionalExpression node, - ConditionalExpression other, - ) { + bool checkConditionalExpression_condition(EquivalenceVisitor visitor, + ConditionalExpression node, ConditionalExpression other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } - bool checkConditionalExpression_then( - EquivalenceVisitor visitor, - ConditionalExpression node, - ConditionalExpression other, - ) { + bool checkConditionalExpression_then(EquivalenceVisitor visitor, + ConditionalExpression node, ConditionalExpression other) { return visitor.checkNodes(node.then, other.then, 'then'); } - bool checkConditionalExpression_otherwise( - EquivalenceVisitor visitor, - ConditionalExpression node, - ConditionalExpression other, - ) { + bool checkConditionalExpression_otherwise(EquivalenceVisitor visitor, + ConditionalExpression node, ConditionalExpression other) { return visitor.checkNodes(node.otherwise, other.otherwise, 'otherwise'); } - bool checkConditionalExpression_staticType( - EquivalenceVisitor visitor, - ConditionalExpression node, - ConditionalExpression other, - ) { + bool checkConditionalExpression_staticType(EquivalenceVisitor visitor, + ConditionalExpression node, ConditionalExpression other) { return visitor.checkNodes(node.staticType, other.staticType, 'staticType'); } - bool checkConditionalExpression_fileOffset( - EquivalenceVisitor visitor, - ConditionalExpression node, - ConditionalExpression other, - ) { + bool checkConditionalExpression_fileOffset(EquivalenceVisitor visitor, + ConditionalExpression node, ConditionalExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkStringConcatenation_expressions( - EquivalenceVisitor visitor, - StringConcatenation node, - StringConcatenation other, - ) { + bool checkStringConcatenation_expressions(EquivalenceVisitor visitor, + StringConcatenation node, StringConcatenation other) { return visitor.checkLists( - node.expressions, - other.expressions, - visitor.checkNodes, - 'expressions', - ); + node.expressions, other.expressions, visitor.checkNodes, 'expressions'); } - bool checkStringConcatenation_fileOffset( - EquivalenceVisitor visitor, - StringConcatenation node, - StringConcatenation other, - ) { + bool checkStringConcatenation_fileOffset(EquivalenceVisitor visitor, + StringConcatenation node, StringConcatenation other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkListConcatenation_typeArgument( - EquivalenceVisitor visitor, - ListConcatenation node, - ListConcatenation other, - ) { + bool checkListConcatenation_typeArgument(EquivalenceVisitor visitor, + ListConcatenation node, ListConcatenation other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } - bool checkListConcatenation_lists( - EquivalenceVisitor visitor, - ListConcatenation node, - ListConcatenation other, - ) { + bool checkListConcatenation_lists(EquivalenceVisitor visitor, + ListConcatenation node, ListConcatenation other) { return visitor.checkLists( - node.lists, - other.lists, - visitor.checkNodes, - 'lists', - ); + node.lists, other.lists, visitor.checkNodes, 'lists'); } - bool checkListConcatenation_fileOffset( - EquivalenceVisitor visitor, - ListConcatenation node, - ListConcatenation other, - ) { + bool checkListConcatenation_fileOffset(EquivalenceVisitor visitor, + ListConcatenation node, ListConcatenation other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkSetConcatenation_typeArgument( - EquivalenceVisitor visitor, - SetConcatenation node, - SetConcatenation other, - ) { + bool checkSetConcatenation_typeArgument(EquivalenceVisitor visitor, + SetConcatenation node, SetConcatenation other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } - bool checkSetConcatenation_sets( - EquivalenceVisitor visitor, - SetConcatenation node, - SetConcatenation other, - ) { + bool checkSetConcatenation_sets(EquivalenceVisitor visitor, + SetConcatenation node, SetConcatenation other) { return visitor.checkLists( - node.sets, - other.sets, - visitor.checkNodes, - 'sets', - ); + node.sets, other.sets, visitor.checkNodes, 'sets'); } - bool checkSetConcatenation_fileOffset( - EquivalenceVisitor visitor, - SetConcatenation node, - SetConcatenation other, - ) { + bool checkSetConcatenation_fileOffset(EquivalenceVisitor visitor, + SetConcatenation node, SetConcatenation other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkMapConcatenation_keyType( - EquivalenceVisitor visitor, - MapConcatenation node, - MapConcatenation other, - ) { + bool checkMapConcatenation_keyType(EquivalenceVisitor visitor, + MapConcatenation node, MapConcatenation other) { return visitor.checkNodes(node.keyType, other.keyType, 'keyType'); } - bool checkMapConcatenation_valueType( - EquivalenceVisitor visitor, - MapConcatenation node, - MapConcatenation other, - ) { + bool checkMapConcatenation_valueType(EquivalenceVisitor visitor, + MapConcatenation node, MapConcatenation other) { return visitor.checkNodes(node.valueType, other.valueType, 'valueType'); } - bool checkMapConcatenation_maps( - EquivalenceVisitor visitor, - MapConcatenation node, - MapConcatenation other, - ) { + bool checkMapConcatenation_maps(EquivalenceVisitor visitor, + MapConcatenation node, MapConcatenation other) { return visitor.checkLists( - node.maps, - other.maps, - visitor.checkNodes, - 'maps', - ); + node.maps, other.maps, visitor.checkNodes, 'maps'); } - bool checkMapConcatenation_fileOffset( - EquivalenceVisitor visitor, - MapConcatenation node, - MapConcatenation other, - ) { + bool checkMapConcatenation_fileOffset(EquivalenceVisitor visitor, + MapConcatenation node, MapConcatenation other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkInstanceCreation_classReference( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { + bool checkInstanceCreation_classReference(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { return visitor.checkReferences( - node.classReference, - other.classReference, - 'classReference', - ); + node.classReference, other.classReference, 'classReference'); } - bool checkInstanceCreation_typeArguments( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + bool checkInstanceCreation_typeArguments(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } - bool checkInstanceCreation_fieldValues( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { + bool checkInstanceCreation_fieldValues(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { return visitor.checkMaps( - node.fieldValues, - other.fieldValues, - visitor.matchReferences, - visitor.checkReferences, - visitor.checkNodes, - 'fieldValues', - ); + node.fieldValues, + other.fieldValues, + visitor.matchReferences, + visitor.checkReferences, + visitor.checkNodes, + 'fieldValues'); } - bool checkInstanceCreation_asserts( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { + bool checkInstanceCreation_asserts(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { return visitor.checkLists( - node.asserts, - other.asserts, - visitor.checkNodes, - 'asserts', - ); + node.asserts, other.asserts, visitor.checkNodes, 'asserts'); } - bool checkInstanceCreation_unusedArguments( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { - return visitor.checkLists( - node.unusedArguments, - other.unusedArguments, - visitor.checkNodes, - 'unusedArguments', - ); + bool checkInstanceCreation_unusedArguments(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { + return visitor.checkLists(node.unusedArguments, other.unusedArguments, + visitor.checkNodes, 'unusedArguments'); } - bool checkInstanceCreation_fileOffset( - EquivalenceVisitor visitor, - InstanceCreation node, - InstanceCreation other, - ) { + bool checkInstanceCreation_fileOffset(EquivalenceVisitor visitor, + InstanceCreation node, InstanceCreation other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkFileUriExpression_fileUri( - EquivalenceVisitor visitor, - FileUriExpression node, - FileUriExpression other, - ) { + bool checkFileUriExpression_fileUri(EquivalenceVisitor visitor, + FileUriExpression node, FileUriExpression other) { return visitor.checkValues(node.fileUri, other.fileUri, 'fileUri'); } - bool checkFileUriExpression_expression( - EquivalenceVisitor visitor, - FileUriExpression node, - FileUriExpression other, - ) { + bool checkFileUriExpression_expression(EquivalenceVisitor visitor, + FileUriExpression node, FileUriExpression other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkFileUriExpression_fileOffset( - EquivalenceVisitor visitor, - FileUriExpression node, - FileUriExpression other, - ) { + bool checkFileUriExpression_fileOffset(EquivalenceVisitor visitor, + FileUriExpression node, FileUriExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkIsExpression_operand( - EquivalenceVisitor visitor, - IsExpression node, - IsExpression other, - ) { + EquivalenceVisitor visitor, IsExpression node, IsExpression other) { return visitor.checkNodes(node.operand, other.operand, 'operand'); } bool checkIsExpression_type( - EquivalenceVisitor visitor, - IsExpression node, - IsExpression other, - ) { + EquivalenceVisitor visitor, IsExpression node, IsExpression other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkIsExpression_fileOffset( - EquivalenceVisitor visitor, - IsExpression node, - IsExpression other, - ) { + EquivalenceVisitor visitor, IsExpression node, IsExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkAsExpression_flags( - EquivalenceVisitor visitor, - AsExpression node, - AsExpression other, - ) { + EquivalenceVisitor visitor, AsExpression node, AsExpression other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkAsExpression_operand( - EquivalenceVisitor visitor, - AsExpression node, - AsExpression other, - ) { + EquivalenceVisitor visitor, AsExpression node, AsExpression other) { return visitor.checkNodes(node.operand, other.operand, 'operand'); } bool checkAsExpression_type( - EquivalenceVisitor visitor, - AsExpression node, - AsExpression other, - ) { + EquivalenceVisitor visitor, AsExpression node, AsExpression other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkAsExpression_fileOffset( - EquivalenceVisitor visitor, - AsExpression node, - AsExpression other, - ) { + EquivalenceVisitor visitor, AsExpression node, AsExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkNullCheck_operand( - EquivalenceVisitor visitor, - NullCheck node, - NullCheck other, - ) { + EquivalenceVisitor visitor, NullCheck node, NullCheck other) { return visitor.checkNodes(node.operand, other.operand, 'operand'); } bool checkNullCheck_fileOffset( - EquivalenceVisitor visitor, - NullCheck node, - NullCheck other, - ) { + EquivalenceVisitor visitor, NullCheck node, NullCheck other) { return checkExpression_fileOffset(visitor, node, other); } bool checkStringLiteral_value( - EquivalenceVisitor visitor, - StringLiteral node, - StringLiteral other, - ) { + EquivalenceVisitor visitor, StringLiteral node, StringLiteral other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkBasicLiteral_fileOffset( - EquivalenceVisitor visitor, - BasicLiteral node, - BasicLiteral other, - ) { + EquivalenceVisitor visitor, BasicLiteral node, BasicLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkStringLiteral_fileOffset( - EquivalenceVisitor visitor, - StringLiteral node, - StringLiteral other, - ) { + EquivalenceVisitor visitor, StringLiteral node, StringLiteral other) { return checkBasicLiteral_fileOffset(visitor, node, other); } bool checkIntLiteral_value( - EquivalenceVisitor visitor, - IntLiteral node, - IntLiteral other, - ) { + EquivalenceVisitor visitor, IntLiteral node, IntLiteral other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkIntLiteral_fileOffset( - EquivalenceVisitor visitor, - IntLiteral node, - IntLiteral other, - ) { + EquivalenceVisitor visitor, IntLiteral node, IntLiteral other) { return checkBasicLiteral_fileOffset(visitor, node, other); } bool checkDoubleLiteral_value( - EquivalenceVisitor visitor, - DoubleLiteral node, - DoubleLiteral other, - ) { + EquivalenceVisitor visitor, DoubleLiteral node, DoubleLiteral other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkDoubleLiteral_fileOffset( - EquivalenceVisitor visitor, - DoubleLiteral node, - DoubleLiteral other, - ) { + EquivalenceVisitor visitor, DoubleLiteral node, DoubleLiteral other) { return checkBasicLiteral_fileOffset(visitor, node, other); } bool checkBoolLiteral_value( - EquivalenceVisitor visitor, - BoolLiteral node, - BoolLiteral other, - ) { + EquivalenceVisitor visitor, BoolLiteral node, BoolLiteral other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkBoolLiteral_fileOffset( - EquivalenceVisitor visitor, - BoolLiteral node, - BoolLiteral other, - ) { + EquivalenceVisitor visitor, BoolLiteral node, BoolLiteral other) { return checkBasicLiteral_fileOffset(visitor, node, other); } bool checkNullLiteral_fileOffset( - EquivalenceVisitor visitor, - NullLiteral node, - NullLiteral other, - ) { + EquivalenceVisitor visitor, NullLiteral node, NullLiteral other) { return checkBasicLiteral_fileOffset(visitor, node, other); } bool checkSymbolLiteral_value( - EquivalenceVisitor visitor, - SymbolLiteral node, - SymbolLiteral other, - ) { + EquivalenceVisitor visitor, SymbolLiteral node, SymbolLiteral other) { return visitor.checkValues(node.value, other.value, 'value'); } bool checkSymbolLiteral_fileOffset( - EquivalenceVisitor visitor, - SymbolLiteral node, - SymbolLiteral other, - ) { + EquivalenceVisitor visitor, SymbolLiteral node, SymbolLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkTypeLiteral_type( - EquivalenceVisitor visitor, - TypeLiteral node, - TypeLiteral other, - ) { + EquivalenceVisitor visitor, TypeLiteral node, TypeLiteral other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkTypeLiteral_fileOffset( - EquivalenceVisitor visitor, - TypeLiteral node, - TypeLiteral other, - ) { + EquivalenceVisitor visitor, TypeLiteral node, TypeLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkThisExpression_fileOffset( - EquivalenceVisitor visitor, - ThisExpression node, - ThisExpression other, - ) { + EquivalenceVisitor visitor, ThisExpression node, ThisExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkRethrow_fileOffset( - EquivalenceVisitor visitor, - Rethrow node, - Rethrow other, - ) { + EquivalenceVisitor visitor, Rethrow node, Rethrow other) { return checkExpression_fileOffset(visitor, node, other); } bool checkThrow_expression( - EquivalenceVisitor visitor, - Throw node, - Throw other, - ) { + EquivalenceVisitor visitor, Throw node, Throw other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } @@ -9605,255 +7586,145 @@ class EquivalenceStrategy { } bool checkThrow_fileOffset( - EquivalenceVisitor visitor, - Throw node, - Throw other, - ) { + EquivalenceVisitor visitor, Throw node, Throw other) { return checkExpression_fileOffset(visitor, node, other); } bool checkListLiteral_isConst( - EquivalenceVisitor visitor, - ListLiteral node, - ListLiteral other, - ) { + EquivalenceVisitor visitor, ListLiteral node, ListLiteral other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } bool checkListLiteral_typeArgument( - EquivalenceVisitor visitor, - ListLiteral node, - ListLiteral other, - ) { + EquivalenceVisitor visitor, ListLiteral node, ListLiteral other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkListLiteral_expressions( - EquivalenceVisitor visitor, - ListLiteral node, - ListLiteral other, - ) { + EquivalenceVisitor visitor, ListLiteral node, ListLiteral other) { return visitor.checkLists( - node.expressions, - other.expressions, - visitor.checkNodes, - 'expressions', - ); + node.expressions, other.expressions, visitor.checkNodes, 'expressions'); } bool checkListLiteral_fileOffset( - EquivalenceVisitor visitor, - ListLiteral node, - ListLiteral other, - ) { + EquivalenceVisitor visitor, ListLiteral node, ListLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkSetLiteral_isConst( - EquivalenceVisitor visitor, - SetLiteral node, - SetLiteral other, - ) { + EquivalenceVisitor visitor, SetLiteral node, SetLiteral other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } bool checkSetLiteral_typeArgument( - EquivalenceVisitor visitor, - SetLiteral node, - SetLiteral other, - ) { + EquivalenceVisitor visitor, SetLiteral node, SetLiteral other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkSetLiteral_expressions( - EquivalenceVisitor visitor, - SetLiteral node, - SetLiteral other, - ) { + EquivalenceVisitor visitor, SetLiteral node, SetLiteral other) { return visitor.checkLists( - node.expressions, - other.expressions, - visitor.checkNodes, - 'expressions', - ); + node.expressions, other.expressions, visitor.checkNodes, 'expressions'); } bool checkSetLiteral_fileOffset( - EquivalenceVisitor visitor, - SetLiteral node, - SetLiteral other, - ) { + EquivalenceVisitor visitor, SetLiteral node, SetLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkMapLiteral_isConst( - EquivalenceVisitor visitor, - MapLiteral node, - MapLiteral other, - ) { + EquivalenceVisitor visitor, MapLiteral node, MapLiteral other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } bool checkMapLiteral_keyType( - EquivalenceVisitor visitor, - MapLiteral node, - MapLiteral other, - ) { + EquivalenceVisitor visitor, MapLiteral node, MapLiteral other) { return visitor.checkNodes(node.keyType, other.keyType, 'keyType'); } bool checkMapLiteral_valueType( - EquivalenceVisitor visitor, - MapLiteral node, - MapLiteral other, - ) { + EquivalenceVisitor visitor, MapLiteral node, MapLiteral other) { return visitor.checkNodes(node.valueType, other.valueType, 'valueType'); } bool checkMapLiteral_entries( - EquivalenceVisitor visitor, - MapLiteral node, - MapLiteral other, - ) { + EquivalenceVisitor visitor, MapLiteral node, MapLiteral other) { return visitor.checkLists( - node.entries, - other.entries, - visitor.checkNodes, - 'entries', - ); + node.entries, other.entries, visitor.checkNodes, 'entries'); } bool checkMapLiteral_fileOffset( - EquivalenceVisitor visitor, - MapLiteral node, - MapLiteral other, - ) { + EquivalenceVisitor visitor, MapLiteral node, MapLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkRecordLiteral_isConst( - EquivalenceVisitor visitor, - RecordLiteral node, - RecordLiteral other, - ) { + EquivalenceVisitor visitor, RecordLiteral node, RecordLiteral other) { return visitor.checkValues(node.isConst, other.isConst, 'isConst'); } bool checkRecordLiteral_positional( - EquivalenceVisitor visitor, - RecordLiteral node, - RecordLiteral other, - ) { + EquivalenceVisitor visitor, RecordLiteral node, RecordLiteral other) { return visitor.checkLists( - node.positional, - other.positional, - visitor.checkNodes, - 'positional', - ); + node.positional, other.positional, visitor.checkNodes, 'positional'); } bool checkRecordLiteral_named( - EquivalenceVisitor visitor, - RecordLiteral node, - RecordLiteral other, - ) { + EquivalenceVisitor visitor, RecordLiteral node, RecordLiteral other) { return visitor.checkLists( - node.named, - other.named, - visitor.checkNodes, - 'named', - ); + node.named, other.named, visitor.checkNodes, 'named'); } bool checkRecordLiteral_recordType( - EquivalenceVisitor visitor, - RecordLiteral node, - RecordLiteral other, - ) { + EquivalenceVisitor visitor, RecordLiteral node, RecordLiteral other) { return visitor.checkNodes(node.recordType, other.recordType, 'recordType'); } bool checkRecordLiteral_fileOffset( - EquivalenceVisitor visitor, - RecordLiteral node, - RecordLiteral other, - ) { + EquivalenceVisitor visitor, RecordLiteral node, RecordLiteral other) { return checkExpression_fileOffset(visitor, node, other); } bool checkAwaitExpression_operand( - EquivalenceVisitor visitor, - AwaitExpression node, - AwaitExpression other, - ) { + EquivalenceVisitor visitor, AwaitExpression node, AwaitExpression other) { return visitor.checkNodes(node.operand, other.operand, 'operand'); } bool checkAwaitExpression_runtimeCheckType( - EquivalenceVisitor visitor, - AwaitExpression node, - AwaitExpression other, - ) { + EquivalenceVisitor visitor, AwaitExpression node, AwaitExpression other) { return visitor.checkNodes( - node.runtimeCheckType, - other.runtimeCheckType, - 'runtimeCheckType', - ); + node.runtimeCheckType, other.runtimeCheckType, 'runtimeCheckType'); } bool checkAwaitExpression_fileOffset( - EquivalenceVisitor visitor, - AwaitExpression node, - AwaitExpression other, - ) { + EquivalenceVisitor visitor, AwaitExpression node, AwaitExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkFunctionExpression_function( - EquivalenceVisitor visitor, - FunctionExpression node, - FunctionExpression other, - ) { + bool checkFunctionExpression_function(EquivalenceVisitor visitor, + FunctionExpression node, FunctionExpression other) { return visitor.checkNodes(node.function, other.function, 'function'); } - bool checkFunctionExpression_fileOffset( - EquivalenceVisitor visitor, - FunctionExpression node, - FunctionExpression other, - ) { + bool checkFunctionExpression_fileOffset(EquivalenceVisitor visitor, + FunctionExpression node, FunctionExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkConstantExpression_constant( - EquivalenceVisitor visitor, - ConstantExpression node, - ConstantExpression other, - ) { + bool checkConstantExpression_constant(EquivalenceVisitor visitor, + ConstantExpression node, ConstantExpression other) { return visitor.checkNodes(node.constant, other.constant, 'constant'); } - bool checkConstantExpression_type( - EquivalenceVisitor visitor, - ConstantExpression node, - ConstantExpression other, - ) { + bool checkConstantExpression_type(EquivalenceVisitor visitor, + ConstantExpression node, ConstantExpression other) { return visitor.checkNodes(node.type, other.type, 'type'); } - bool checkConstantExpression_fileOffset( - EquivalenceVisitor visitor, - ConstantExpression node, - ConstantExpression other, - ) { + bool checkConstantExpression_fileOffset(EquivalenceVisitor visitor, + ConstantExpression node, ConstantExpression other) { return checkExpression_fileOffset(visitor, node, other); } @@ -9870,2872 +7741,1633 @@ class EquivalenceStrategy { } bool checkBlockExpression_body( - EquivalenceVisitor visitor, - BlockExpression node, - BlockExpression other, - ) { + EquivalenceVisitor visitor, BlockExpression node, BlockExpression other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkBlockExpression_value( - EquivalenceVisitor visitor, - BlockExpression node, - BlockExpression other, - ) { + EquivalenceVisitor visitor, BlockExpression node, BlockExpression other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkBlockExpression_fileOffset( - EquivalenceVisitor visitor, - BlockExpression node, - BlockExpression other, - ) { + EquivalenceVisitor visitor, BlockExpression node, BlockExpression other) { return checkExpression_fileOffset(visitor, node, other); } bool checkLoadLibrary_import( - EquivalenceVisitor visitor, - LoadLibrary node, - LoadLibrary other, - ) { + EquivalenceVisitor visitor, LoadLibrary node, LoadLibrary other) { return visitor.checkNodes(node.import, other.import, 'import'); } bool checkLoadLibrary_fileOffset( - EquivalenceVisitor visitor, - LoadLibrary node, - LoadLibrary other, - ) { + EquivalenceVisitor visitor, LoadLibrary node, LoadLibrary other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkCheckLibraryIsLoaded_import( - EquivalenceVisitor visitor, - CheckLibraryIsLoaded node, - CheckLibraryIsLoaded other, - ) { + bool checkCheckLibraryIsLoaded_import(EquivalenceVisitor visitor, + CheckLibraryIsLoaded node, CheckLibraryIsLoaded other) { return visitor.checkNodes(node.import, other.import, 'import'); } - bool checkCheckLibraryIsLoaded_fileOffset( - EquivalenceVisitor visitor, - CheckLibraryIsLoaded node, - CheckLibraryIsLoaded other, - ) { + bool checkCheckLibraryIsLoaded_fileOffset(EquivalenceVisitor visitor, + CheckLibraryIsLoaded node, CheckLibraryIsLoaded other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkConstructorTearOff_targetReference( - EquivalenceVisitor visitor, - ConstructorTearOff node, - ConstructorTearOff other, - ) { + bool checkConstructorTearOff_targetReference(EquivalenceVisitor visitor, + ConstructorTearOff node, ConstructorTearOff other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkConstructorTearOff_fileOffset( - EquivalenceVisitor visitor, - ConstructorTearOff node, - ConstructorTearOff other, - ) { + bool checkConstructorTearOff_fileOffset(EquivalenceVisitor visitor, + ConstructorTearOff node, ConstructorTearOff other) { return checkExpression_fileOffset(visitor, node, other); } bool checkRedirectingFactoryTearOff_targetReference( - EquivalenceVisitor visitor, - RedirectingFactoryTearOff node, - RedirectingFactoryTearOff other, - ) { + EquivalenceVisitor visitor, + RedirectingFactoryTearOff node, + RedirectingFactoryTearOff other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkRedirectingFactoryTearOff_fileOffset( - EquivalenceVisitor visitor, - RedirectingFactoryTearOff node, - RedirectingFactoryTearOff other, - ) { + bool checkRedirectingFactoryTearOff_fileOffset(EquivalenceVisitor visitor, + RedirectingFactoryTearOff node, RedirectingFactoryTearOff other) { return checkExpression_fileOffset(visitor, node, other); } bool checkTypedefTearOff_structuralParameters( - EquivalenceVisitor visitor, - TypedefTearOff node, - TypedefTearOff other, - ) { - return visitor.checkLists( - node.structuralParameters, - other.structuralParameters, - visitor.checkNodes, - 'structuralParameters', - ); + EquivalenceVisitor visitor, TypedefTearOff node, TypedefTearOff other) { + return visitor.checkLists(node.structuralParameters, + other.structuralParameters, visitor.checkNodes, 'structuralParameters'); } bool checkTypedefTearOff_expression( - EquivalenceVisitor visitor, - TypedefTearOff node, - TypedefTearOff other, - ) { + EquivalenceVisitor visitor, TypedefTearOff node, TypedefTearOff other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkTypedefTearOff_typeArguments( - EquivalenceVisitor visitor, - TypedefTearOff node, - TypedefTearOff other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, TypedefTearOff node, TypedefTearOff other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkTypedefTearOff_fileOffset( - EquivalenceVisitor visitor, - TypedefTearOff node, - TypedefTearOff other, - ) { + EquivalenceVisitor visitor, TypedefTearOff node, TypedefTearOff other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkSwitchExpression_expression( - EquivalenceVisitor visitor, - SwitchExpression node, - SwitchExpression other, - ) { + bool checkSwitchExpression_expression(EquivalenceVisitor visitor, + SwitchExpression node, SwitchExpression other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkSwitchExpression_cases( - EquivalenceVisitor visitor, - SwitchExpression node, - SwitchExpression other, - ) { + bool checkSwitchExpression_cases(EquivalenceVisitor visitor, + SwitchExpression node, SwitchExpression other) { return visitor.checkLists( - node.cases, - other.cases, - visitor.checkNodes, - 'cases', - ); + node.cases, other.cases, visitor.checkNodes, 'cases'); } - bool checkSwitchExpression_expressionType( - EquivalenceVisitor visitor, - SwitchExpression node, - SwitchExpression other, - ) { + bool checkSwitchExpression_expressionType(EquivalenceVisitor visitor, + SwitchExpression node, SwitchExpression other) { return visitor.checkNodes( - node.expressionType, - other.expressionType, - 'expressionType', - ); + node.expressionType, other.expressionType, 'expressionType'); } - bool checkSwitchExpression_staticType( - EquivalenceVisitor visitor, - SwitchExpression node, - SwitchExpression other, - ) { + bool checkSwitchExpression_staticType(EquivalenceVisitor visitor, + SwitchExpression node, SwitchExpression other) { return visitor.checkNodes(node.staticType, other.staticType, 'staticType'); } - bool checkSwitchExpression_fileOffset( - EquivalenceVisitor visitor, - SwitchExpression node, - SwitchExpression other, - ) { + bool checkSwitchExpression_fileOffset(EquivalenceVisitor visitor, + SwitchExpression node, SwitchExpression other) { return checkExpression_fileOffset(visitor, node, other); } - bool checkPatternAssignment_pattern( - EquivalenceVisitor visitor, - PatternAssignment node, - PatternAssignment other, - ) { + bool checkPatternAssignment_pattern(EquivalenceVisitor visitor, + PatternAssignment node, PatternAssignment other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } - bool checkPatternAssignment_expression( - EquivalenceVisitor visitor, - PatternAssignment node, - PatternAssignment other, - ) { + bool checkPatternAssignment_expression(EquivalenceVisitor visitor, + PatternAssignment node, PatternAssignment other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkPatternAssignment_matchedValueType( - EquivalenceVisitor visitor, - PatternAssignment node, - PatternAssignment other, - ) { + bool checkPatternAssignment_matchedValueType(EquivalenceVisitor visitor, + PatternAssignment node, PatternAssignment other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } - bool checkPatternAssignment_fileOffset( - EquivalenceVisitor visitor, - PatternAssignment node, - PatternAssignment other, - ) { + bool checkPatternAssignment_fileOffset(EquivalenceVisitor visitor, + PatternAssignment node, PatternAssignment other) { return checkExpression_fileOffset(visitor, node, other); } bool checkArguments_types( - EquivalenceVisitor visitor, - Arguments node, - Arguments other, - ) { + EquivalenceVisitor visitor, Arguments node, Arguments other) { return visitor.checkLists( - node.types, - other.types, - visitor.checkNodes, - 'types', - ); + node.types, other.types, visitor.checkNodes, 'types'); } bool checkArguments_positional( - EquivalenceVisitor visitor, - Arguments node, - Arguments other, - ) { + EquivalenceVisitor visitor, Arguments node, Arguments other) { return visitor.checkLists( - node.positional, - other.positional, - visitor.checkNodes, - 'positional', - ); + node.positional, other.positional, visitor.checkNodes, 'positional'); } bool checkArguments_named( - EquivalenceVisitor visitor, - Arguments node, - Arguments other, - ) { + EquivalenceVisitor visitor, Arguments node, Arguments other) { return visitor.checkLists( - node.named, - other.named, - visitor.checkNodes, - 'named', - ); + node.named, other.named, visitor.checkNodes, 'named'); } bool checkArguments_fileOffset( - EquivalenceVisitor visitor, - Arguments node, - Arguments other, - ) { + EquivalenceVisitor visitor, Arguments node, Arguments other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkNamedExpression_name( - EquivalenceVisitor visitor, - NamedExpression node, - NamedExpression other, - ) { + EquivalenceVisitor visitor, NamedExpression node, NamedExpression other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkNamedExpression_value( - EquivalenceVisitor visitor, - NamedExpression node, - NamedExpression other, - ) { + EquivalenceVisitor visitor, NamedExpression node, NamedExpression other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkNamedExpression_fileOffset( - EquivalenceVisitor visitor, - NamedExpression node, - NamedExpression other, - ) { + EquivalenceVisitor visitor, NamedExpression node, NamedExpression other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkMapLiteralEntry_key( - EquivalenceVisitor visitor, - MapLiteralEntry node, - MapLiteralEntry other, - ) { + EquivalenceVisitor visitor, MapLiteralEntry node, MapLiteralEntry other) { return visitor.checkNodes(node.key, other.key, 'key'); } bool checkMapLiteralEntry_value( - EquivalenceVisitor visitor, - MapLiteralEntry node, - MapLiteralEntry other, - ) { + EquivalenceVisitor visitor, MapLiteralEntry node, MapLiteralEntry other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkMapLiteralEntry_fileOffset( - EquivalenceVisitor visitor, - MapLiteralEntry node, - MapLiteralEntry other, - ) { + EquivalenceVisitor visitor, MapLiteralEntry node, MapLiteralEntry other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkFunctionNode_fileEndOffset( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkValues( - node.fileEndOffset, - other.fileEndOffset, - 'fileEndOffset', - ); + node.fileEndOffset, other.fileEndOffset, 'fileEndOffset'); } bool checkFunctionNode_asyncMarker( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkValues( - node.asyncMarker, - other.asyncMarker, - 'asyncMarker', - ); + node.asyncMarker, other.asyncMarker, 'asyncMarker'); } bool checkFunctionNode_dartAsyncMarker( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkValues( - node.dartAsyncMarker, - other.dartAsyncMarker, - 'dartAsyncMarker', - ); + node.dartAsyncMarker, other.dartAsyncMarker, 'dartAsyncMarker'); } bool checkFunctionNode_typeParameters( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkFunctionNode_requiredParameterCount( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { - return visitor.checkValues( - node.requiredParameterCount, - other.requiredParameterCount, - 'requiredParameterCount', - ); + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { + return visitor.checkValues(node.requiredParameterCount, + other.requiredParameterCount, 'requiredParameterCount'); } bool checkFunctionNode_positionalParameters( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { - return visitor.checkLists( - node.positionalParameters, - other.positionalParameters, - visitor.checkNodes, - 'positionalParameters', - ); + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { + return visitor.checkLists(node.positionalParameters, + other.positionalParameters, visitor.checkNodes, 'positionalParameters'); } bool checkFunctionNode_namedParameters( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { - return visitor.checkLists( - node.namedParameters, - other.namedParameters, - visitor.checkNodes, - 'namedParameters', - ); + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { + return visitor.checkLists(node.namedParameters, other.namedParameters, + visitor.checkNodes, 'namedParameters'); } bool checkFunctionNode_returnType( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkNodes(node.returnType, other.returnType, 'returnType'); } bool checkFunctionNode_body( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkFunctionNode_emittedValueType( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkNodes( - node.emittedValueType, - other.emittedValueType, - 'emittedValueType', - ); + node.emittedValueType, other.emittedValueType, 'emittedValueType'); } - bool checkRedirectingFactoryTarget_targetReference( - EquivalenceVisitor visitor, - RedirectingFactoryTarget node, - RedirectingFactoryTarget other, - ) { + bool checkRedirectingFactoryTarget_targetReference(EquivalenceVisitor visitor, + RedirectingFactoryTarget node, RedirectingFactoryTarget other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkRedirectingFactoryTarget_typeArguments( - EquivalenceVisitor visitor, - RedirectingFactoryTarget node, - RedirectingFactoryTarget other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + bool checkRedirectingFactoryTarget_typeArguments(EquivalenceVisitor visitor, + RedirectingFactoryTarget node, RedirectingFactoryTarget other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } - bool checkRedirectingFactoryTarget_errorMessage( - EquivalenceVisitor visitor, - RedirectingFactoryTarget node, - RedirectingFactoryTarget other, - ) { + bool checkRedirectingFactoryTarget_errorMessage(EquivalenceVisitor visitor, + RedirectingFactoryTarget node, RedirectingFactoryTarget other) { return visitor.checkValues( - node.errorMessage, - other.errorMessage, - 'errorMessage', - ); + node.errorMessage, other.errorMessage, 'errorMessage'); } bool checkFunctionNode_redirectingFactoryTarget( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { 'redirectingFactoryTarget'; return checkRedirectingFactoryTarget( - visitor, - node.redirectingFactoryTarget, - other.redirectingFactoryTarget, - ); + visitor, node.redirectingFactoryTarget, other.redirectingFactoryTarget); } bool checkFunctionNode_lazyBuilder( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return visitor.checkValues( - node.lazyBuilder, - other.lazyBuilder, - 'lazyBuilder', - ); + node.lazyBuilder, other.lazyBuilder, 'lazyBuilder'); } bool checkFunctionNode_fileOffset( - EquivalenceVisitor visitor, - FunctionNode node, - FunctionNode other, - ) { + EquivalenceVisitor visitor, FunctionNode node, FunctionNode other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkInitializer_isSynthetic( - EquivalenceVisitor visitor, - Initializer node, - Initializer other, - ) { + EquivalenceVisitor visitor, Initializer node, Initializer other) { return visitor.checkValues( - node.isSynthetic, - other.isSynthetic, - 'isSynthetic', - ); + node.isSynthetic, other.isSynthetic, 'isSynthetic'); } - bool checkAuxiliaryInitializer_isSynthetic( - EquivalenceVisitor visitor, - AuxiliaryInitializer node, - AuxiliaryInitializer other, - ) { + bool checkAuxiliaryInitializer_isSynthetic(EquivalenceVisitor visitor, + AuxiliaryInitializer node, AuxiliaryInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } bool checkInitializer_fileOffset( - EquivalenceVisitor visitor, - Initializer node, - Initializer other, - ) { + EquivalenceVisitor visitor, Initializer node, Initializer other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkAuxiliaryInitializer_fileOffset( - EquivalenceVisitor visitor, - AuxiliaryInitializer node, - AuxiliaryInitializer other, - ) { + bool checkAuxiliaryInitializer_fileOffset(EquivalenceVisitor visitor, + AuxiliaryInitializer node, AuxiliaryInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkInvalidInitializer_isSynthetic( - EquivalenceVisitor visitor, - InvalidInitializer node, - InvalidInitializer other, - ) { + bool checkInvalidInitializer_isSynthetic(EquivalenceVisitor visitor, + InvalidInitializer node, InvalidInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkInvalidInitializer_fileOffset( - EquivalenceVisitor visitor, - InvalidInitializer node, - InvalidInitializer other, - ) { + bool checkInvalidInitializer_fileOffset(EquivalenceVisitor visitor, + InvalidInitializer node, InvalidInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkFieldInitializer_fieldReference( - EquivalenceVisitor visitor, - FieldInitializer node, - FieldInitializer other, - ) { + bool checkFieldInitializer_fieldReference(EquivalenceVisitor visitor, + FieldInitializer node, FieldInitializer other) { return visitor.checkReferences( - node.fieldReference, - other.fieldReference, - 'fieldReference', - ); + node.fieldReference, other.fieldReference, 'fieldReference'); } - bool checkFieldInitializer_value( - EquivalenceVisitor visitor, - FieldInitializer node, - FieldInitializer other, - ) { + bool checkFieldInitializer_value(EquivalenceVisitor visitor, + FieldInitializer node, FieldInitializer other) { return visitor.checkNodes(node.value, other.value, 'value'); } - bool checkFieldInitializer_isSynthetic( - EquivalenceVisitor visitor, - FieldInitializer node, - FieldInitializer other, - ) { + bool checkFieldInitializer_isSynthetic(EquivalenceVisitor visitor, + FieldInitializer node, FieldInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkFieldInitializer_fileOffset( - EquivalenceVisitor visitor, - FieldInitializer node, - FieldInitializer other, - ) { + bool checkFieldInitializer_fileOffset(EquivalenceVisitor visitor, + FieldInitializer node, FieldInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkSuperInitializer_targetReference( - EquivalenceVisitor visitor, - SuperInitializer node, - SuperInitializer other, - ) { + bool checkSuperInitializer_targetReference(EquivalenceVisitor visitor, + SuperInitializer node, SuperInitializer other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkSuperInitializer_arguments( - EquivalenceVisitor visitor, - SuperInitializer node, - SuperInitializer other, - ) { + bool checkSuperInitializer_arguments(EquivalenceVisitor visitor, + SuperInitializer node, SuperInitializer other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkSuperInitializer_isSynthetic( - EquivalenceVisitor visitor, - SuperInitializer node, - SuperInitializer other, - ) { + bool checkSuperInitializer_isSynthetic(EquivalenceVisitor visitor, + SuperInitializer node, SuperInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkSuperInitializer_fileOffset( - EquivalenceVisitor visitor, - SuperInitializer node, - SuperInitializer other, - ) { + bool checkSuperInitializer_fileOffset(EquivalenceVisitor visitor, + SuperInitializer node, SuperInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkRedirectingInitializer_targetReference( - EquivalenceVisitor visitor, - RedirectingInitializer node, - RedirectingInitializer other, - ) { + bool checkRedirectingInitializer_targetReference(EquivalenceVisitor visitor, + RedirectingInitializer node, RedirectingInitializer other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkRedirectingInitializer_arguments( - EquivalenceVisitor visitor, - RedirectingInitializer node, - RedirectingInitializer other, - ) { + bool checkRedirectingInitializer_arguments(EquivalenceVisitor visitor, + RedirectingInitializer node, RedirectingInitializer other) { return visitor.checkNodes(node.arguments, other.arguments, 'arguments'); } - bool checkRedirectingInitializer_isSynthetic( - EquivalenceVisitor visitor, - RedirectingInitializer node, - RedirectingInitializer other, - ) { + bool checkRedirectingInitializer_isSynthetic(EquivalenceVisitor visitor, + RedirectingInitializer node, RedirectingInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkRedirectingInitializer_fileOffset( - EquivalenceVisitor visitor, - RedirectingInitializer node, - RedirectingInitializer other, - ) { + bool checkRedirectingInitializer_fileOffset(EquivalenceVisitor visitor, + RedirectingInitializer node, RedirectingInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkLocalInitializer_variable( - EquivalenceVisitor visitor, - LocalInitializer node, - LocalInitializer other, - ) { + bool checkLocalInitializer_variable(EquivalenceVisitor visitor, + LocalInitializer node, LocalInitializer other) { return visitor.checkNodes(node.variable, other.variable, 'variable'); } - bool checkLocalInitializer_isSynthetic( - EquivalenceVisitor visitor, - LocalInitializer node, - LocalInitializer other, - ) { + bool checkLocalInitializer_isSynthetic(EquivalenceVisitor visitor, + LocalInitializer node, LocalInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkLocalInitializer_fileOffset( - EquivalenceVisitor visitor, - LocalInitializer node, - LocalInitializer other, - ) { + bool checkLocalInitializer_fileOffset(EquivalenceVisitor visitor, + LocalInitializer node, LocalInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkAssertInitializer_statement( - EquivalenceVisitor visitor, - AssertInitializer node, - AssertInitializer other, - ) { + bool checkAssertInitializer_statement(EquivalenceVisitor visitor, + AssertInitializer node, AssertInitializer other) { return visitor.checkNodes(node.statement, other.statement, 'statement'); } - bool checkAssertInitializer_isSynthetic( - EquivalenceVisitor visitor, - AssertInitializer node, - AssertInitializer other, - ) { + bool checkAssertInitializer_isSynthetic(EquivalenceVisitor visitor, + AssertInitializer node, AssertInitializer other) { return checkInitializer_isSynthetic(visitor, node, other); } - bool checkAssertInitializer_fileOffset( - EquivalenceVisitor visitor, - AssertInitializer node, - AssertInitializer other, - ) { + bool checkAssertInitializer_fileOffset(EquivalenceVisitor visitor, + AssertInitializer node, AssertInitializer other) { return checkInitializer_fileOffset(visitor, node, other); } - bool checkLibraryDependency_flags( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { + bool checkLibraryDependency_flags(EquivalenceVisitor visitor, + LibraryDependency node, LibraryDependency other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkLibraryDependency_annotations( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { + bool checkLibraryDependency_annotations(EquivalenceVisitor visitor, + LibraryDependency node, LibraryDependency other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkLibraryDependency_importedLibraryReference( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { - return visitor.checkReferences( - node.importedLibraryReference, - other.importedLibraryReference, - 'importedLibraryReference', - ); + EquivalenceVisitor visitor, + LibraryDependency node, + LibraryDependency other) { + return visitor.checkReferences(node.importedLibraryReference, + other.importedLibraryReference, 'importedLibraryReference'); } - bool checkLibraryDependency_name( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { + bool checkLibraryDependency_name(EquivalenceVisitor visitor, + LibraryDependency node, LibraryDependency other) { return visitor.checkValues(node.name, other.name, 'name'); } - bool checkLibraryDependency_combinators( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { + bool checkLibraryDependency_combinators(EquivalenceVisitor visitor, + LibraryDependency node, LibraryDependency other) { return visitor.checkLists( - node.combinators, - other.combinators, - visitor.checkNodes, - 'combinators', - ); + node.combinators, other.combinators, visitor.checkNodes, 'combinators'); } - bool checkLibraryDependency_fileOffset( - EquivalenceVisitor visitor, - LibraryDependency node, - LibraryDependency other, - ) { + bool checkLibraryDependency_fileOffset(EquivalenceVisitor visitor, + LibraryDependency node, LibraryDependency other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkLibraryPart_annotations( - EquivalenceVisitor visitor, - LibraryPart node, - LibraryPart other, - ) { + EquivalenceVisitor visitor, LibraryPart node, LibraryPart other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkLibraryPart_partUri( - EquivalenceVisitor visitor, - LibraryPart node, - LibraryPart other, - ) { + EquivalenceVisitor visitor, LibraryPart node, LibraryPart other) { return visitor.checkValues(node.partUri, other.partUri, 'partUri'); } bool checkLibraryPart_fileOffset( - EquivalenceVisitor visitor, - LibraryPart node, - LibraryPart other, - ) { + EquivalenceVisitor visitor, LibraryPart node, LibraryPart other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkCombinator_isShow( - EquivalenceVisitor visitor, - Combinator node, - Combinator other, - ) { + EquivalenceVisitor visitor, Combinator node, Combinator other) { return visitor.checkValues(node.isShow, other.isShow, 'isShow'); } bool checkCombinator_names( - EquivalenceVisitor visitor, - Combinator node, - Combinator other, - ) { + EquivalenceVisitor visitor, Combinator node, Combinator other) { return visitor.checkLists( - node.names, - other.names, - visitor.checkValues, - 'names', - ); + node.names, other.names, visitor.checkValues, 'names'); } bool checkCombinator_fileOffset( - EquivalenceVisitor visitor, - Combinator node, - Combinator other, - ) { + EquivalenceVisitor visitor, Combinator node, Combinator other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkConstantPattern_expression( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkConstantPattern_expressionType( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { return visitor.checkNodes( - node.expressionType, - other.expressionType, - 'expressionType', - ); + node.expressionType, other.expressionType, 'expressionType'); } bool checkConstantPattern_equalsTargetReference( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { - return visitor.checkReferences( - node.equalsTargetReference, - other.equalsTargetReference, - 'equalsTargetReference', - ); + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { + return visitor.checkReferences(node.equalsTargetReference, + other.equalsTargetReference, 'equalsTargetReference'); } bool checkConstantPattern_equalsType( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { return visitor.checkNodes(node.equalsType, other.equalsType, 'equalsType'); } bool checkConstantPattern_value( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkPattern_fileOffset( - EquivalenceVisitor visitor, - Pattern node, - Pattern other, - ) { + EquivalenceVisitor visitor, Pattern node, Pattern other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkConstantPattern_fileOffset( - EquivalenceVisitor visitor, - ConstantPattern node, - ConstantPattern other, - ) { + EquivalenceVisitor visitor, ConstantPattern node, ConstantPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkAndPattern_left( - EquivalenceVisitor visitor, - AndPattern node, - AndPattern other, - ) { + EquivalenceVisitor visitor, AndPattern node, AndPattern other) { return visitor.checkNodes(node.left, other.left, 'left'); } bool checkAndPattern_right( - EquivalenceVisitor visitor, - AndPattern node, - AndPattern other, - ) { + EquivalenceVisitor visitor, AndPattern node, AndPattern other) { return visitor.checkNodes(node.right, other.right, 'right'); } bool checkAndPattern_fileOffset( - EquivalenceVisitor visitor, - AndPattern node, - AndPattern other, - ) { + EquivalenceVisitor visitor, AndPattern node, AndPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkOrPattern_left( - EquivalenceVisitor visitor, - OrPattern node, - OrPattern other, - ) { + EquivalenceVisitor visitor, OrPattern node, OrPattern other) { return visitor.checkNodes(node.left, other.left, 'left'); } bool checkOrPattern_right( - EquivalenceVisitor visitor, - OrPattern node, - OrPattern other, - ) { + EquivalenceVisitor visitor, OrPattern node, OrPattern other) { return visitor.checkNodes(node.right, other.right, 'right'); } bool checkOrPattern_orPatternJointVariables( - EquivalenceVisitor visitor, - OrPattern node, - OrPattern other, - ) { + EquivalenceVisitor visitor, OrPattern node, OrPattern other) { return visitor.checkLists( - node.orPatternJointVariables, - other.orPatternJointVariables, - visitor.checkDeclarations, - 'orPatternJointVariables', - ); + node.orPatternJointVariables, + other.orPatternJointVariables, + visitor.checkDeclarations, + 'orPatternJointVariables'); } bool checkOrPattern_fileOffset( - EquivalenceVisitor visitor, - OrPattern node, - OrPattern other, - ) { + EquivalenceVisitor visitor, OrPattern node, OrPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkCastPattern_pattern( - EquivalenceVisitor visitor, - CastPattern node, - CastPattern other, - ) { + EquivalenceVisitor visitor, CastPattern node, CastPattern other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } bool checkCastPattern_type( - EquivalenceVisitor visitor, - CastPattern node, - CastPattern other, - ) { + EquivalenceVisitor visitor, CastPattern node, CastPattern other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkCastPattern_fileOffset( - EquivalenceVisitor visitor, - CastPattern node, - CastPattern other, - ) { + EquivalenceVisitor visitor, CastPattern node, CastPattern other) { return checkPattern_fileOffset(visitor, node, other); } - bool checkNullAssertPattern_pattern( - EquivalenceVisitor visitor, - NullAssertPattern node, - NullAssertPattern other, - ) { + bool checkNullAssertPattern_pattern(EquivalenceVisitor visitor, + NullAssertPattern node, NullAssertPattern other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } - bool checkNullAssertPattern_fileOffset( - EquivalenceVisitor visitor, - NullAssertPattern node, - NullAssertPattern other, - ) { + bool checkNullAssertPattern_fileOffset(EquivalenceVisitor visitor, + NullAssertPattern node, NullAssertPattern other) { return checkPattern_fileOffset(visitor, node, other); } - bool checkNullCheckPattern_pattern( - EquivalenceVisitor visitor, - NullCheckPattern node, - NullCheckPattern other, - ) { + bool checkNullCheckPattern_pattern(EquivalenceVisitor visitor, + NullCheckPattern node, NullCheckPattern other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } - bool checkNullCheckPattern_fileOffset( - EquivalenceVisitor visitor, - NullCheckPattern node, - NullCheckPattern other, - ) { + bool checkNullCheckPattern_fileOffset(EquivalenceVisitor visitor, + NullCheckPattern node, NullCheckPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkListPattern_flags( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkListPattern_typeArgument( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkListPattern_patterns( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkLists( - node.patterns, - other.patterns, - visitor.checkNodes, - 'patterns', - ); + node.patterns, other.patterns, visitor.checkNodes, 'patterns'); } bool checkListPattern_requiredType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.requiredType, - other.requiredType, - 'requiredType', - ); + node.requiredType, other.requiredType, 'requiredType'); } bool checkListPattern_matchedValueType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkListPattern_lookupType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes(node.lookupType, other.lookupType, 'lookupType'); } bool checkListPattern_lengthTargetReference( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { - return visitor.checkReferences( - node.lengthTargetReference, - other.lengthTargetReference, - 'lengthTargetReference', - ); + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { + return visitor.checkReferences(node.lengthTargetReference, + other.lengthTargetReference, 'lengthTargetReference'); } bool checkListPattern_lengthType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes(node.lengthType, other.lengthType, 'lengthType'); } bool checkListPattern_lengthCheckTargetReference( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { - return visitor.checkReferences( - node.lengthCheckTargetReference, - other.lengthCheckTargetReference, - 'lengthCheckTargetReference', - ); + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { + return visitor.checkReferences(node.lengthCheckTargetReference, + other.lengthCheckTargetReference, 'lengthCheckTargetReference'); } bool checkListPattern_lengthCheckType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.lengthCheckType, - other.lengthCheckType, - 'lengthCheckType', - ); + node.lengthCheckType, other.lengthCheckType, 'lengthCheckType'); } bool checkListPattern_sublistTargetReference( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { - return visitor.checkReferences( - node.sublistTargetReference, - other.sublistTargetReference, - 'sublistTargetReference', - ); + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { + return visitor.checkReferences(node.sublistTargetReference, + other.sublistTargetReference, 'sublistTargetReference'); } bool checkListPattern_sublistType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.sublistType, - other.sublistType, - 'sublistType', - ); + node.sublistType, other.sublistType, 'sublistType'); } bool checkListPattern_minusTargetReference( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { - return visitor.checkReferences( - node.minusTargetReference, - other.minusTargetReference, - 'minusTargetReference', - ); + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { + return visitor.checkReferences(node.minusTargetReference, + other.minusTargetReference, 'minusTargetReference'); } bool checkListPattern_minusType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes(node.minusType, other.minusType, 'minusType'); } bool checkListPattern_indexGetTargetReference( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { - return visitor.checkReferences( - node.indexGetTargetReference, - other.indexGetTargetReference, - 'indexGetTargetReference', - ); + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { + return visitor.checkReferences(node.indexGetTargetReference, + other.indexGetTargetReference, 'indexGetTargetReference'); } bool checkListPattern_indexGetType( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return visitor.checkNodes( - node.indexGetType, - other.indexGetType, - 'indexGetType', - ); + node.indexGetType, other.indexGetType, 'indexGetType'); } bool checkListPattern_fileOffset( - EquivalenceVisitor visitor, - ListPattern node, - ListPattern other, - ) { + EquivalenceVisitor visitor, ListPattern node, ListPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkObjectPattern_requiredType( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return visitor.checkNodes( - node.requiredType, - other.requiredType, - 'requiredType', - ); + node.requiredType, other.requiredType, 'requiredType'); } bool checkObjectPattern_fields( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return visitor.checkLists( - node.fields, - other.fields, - visitor.checkNodes, - 'fields', - ); + node.fields, other.fields, visitor.checkNodes, 'fields'); } bool checkObjectPattern_matchedValueType( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkObjectPattern_needsCheck( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return visitor.checkValues(node.needsCheck, other.needsCheck, 'needsCheck'); } bool checkObjectPattern_lookupType( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return visitor.checkNodes(node.lookupType, other.lookupType, 'lookupType'); } bool checkObjectPattern_fileOffset( - EquivalenceVisitor visitor, - ObjectPattern node, - ObjectPattern other, - ) { + EquivalenceVisitor visitor, ObjectPattern node, ObjectPattern other) { return checkPattern_fileOffset(visitor, node, other); } - bool checkRelationalPattern_kind( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_kind(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkValues(node.kind, other.kind, 'kind'); } - bool checkRelationalPattern_expression( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_expression(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkRelationalPattern_expressionType( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_expressionType(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes( - node.expressionType, - other.expressionType, - 'expressionType', - ); + node.expressionType, other.expressionType, 'expressionType'); } - bool checkRelationalPattern_matchedValueType( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_matchedValueType(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } - bool checkRelationalPattern_accessKind( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_accessKind(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkValues(node.accessKind, other.accessKind, 'accessKind'); } - bool checkRelationalPattern_name( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_name(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes(node.name, other.name, 'name'); } - bool checkRelationalPattern_targetReference( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_targetReference(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } - bool checkRelationalPattern_typeArguments( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + bool checkRelationalPattern_typeArguments(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } - bool checkRelationalPattern_functionType( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_functionType(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } - bool checkRelationalPattern_expressionValue( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_expressionValue(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return visitor.checkNodes( - node.expressionValue, - other.expressionValue, - 'expressionValue', - ); + node.expressionValue, other.expressionValue, 'expressionValue'); } - bool checkRelationalPattern_fileOffset( - EquivalenceVisitor visitor, - RelationalPattern node, - RelationalPattern other, - ) { + bool checkRelationalPattern_fileOffset(EquivalenceVisitor visitor, + RelationalPattern node, RelationalPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkWildcardPattern_type( - EquivalenceVisitor visitor, - WildcardPattern node, - WildcardPattern other, - ) { + EquivalenceVisitor visitor, WildcardPattern node, WildcardPattern other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkWildcardPattern_fileOffset( - EquivalenceVisitor visitor, - WildcardPattern node, - WildcardPattern other, - ) { + EquivalenceVisitor visitor, WildcardPattern node, WildcardPattern other) { return checkPattern_fileOffset(visitor, node, other); } - bool checkAssignedVariablePattern_variable( - EquivalenceVisitor visitor, - AssignedVariablePattern node, - AssignedVariablePattern other, - ) { + bool checkAssignedVariablePattern_variable(EquivalenceVisitor visitor, + AssignedVariablePattern node, AssignedVariablePattern other) { return visitor.checkDeclarations(node.variable, other.variable, 'variable'); } - bool checkAssignedVariablePattern_matchedValueType( - EquivalenceVisitor visitor, - AssignedVariablePattern node, - AssignedVariablePattern other, - ) { + bool checkAssignedVariablePattern_matchedValueType(EquivalenceVisitor visitor, + AssignedVariablePattern node, AssignedVariablePattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } - bool checkAssignedVariablePattern_needsCast( - EquivalenceVisitor visitor, - AssignedVariablePattern node, - AssignedVariablePattern other, - ) { + bool checkAssignedVariablePattern_needsCast(EquivalenceVisitor visitor, + AssignedVariablePattern node, AssignedVariablePattern other) { return visitor.checkValues(node.needsCast, other.needsCast, 'needsCast'); } bool checkAssignedVariablePattern_hasObservableEffect( - EquivalenceVisitor visitor, - AssignedVariablePattern node, - AssignedVariablePattern other, - ) { - return visitor.checkValues( - node.hasObservableEffect, - other.hasObservableEffect, - 'hasObservableEffect', - ); + EquivalenceVisitor visitor, + AssignedVariablePattern node, + AssignedVariablePattern other) { + return visitor.checkValues(node.hasObservableEffect, + other.hasObservableEffect, 'hasObservableEffect'); } - bool checkAssignedVariablePattern_fileOffset( - EquivalenceVisitor visitor, - AssignedVariablePattern node, - AssignedVariablePattern other, - ) { + bool checkAssignedVariablePattern_fileOffset(EquivalenceVisitor visitor, + AssignedVariablePattern node, AssignedVariablePattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkMapPattern_flags( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkMapPattern_keyType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes(node.keyType, other.keyType, 'keyType'); } bool checkMapPattern_valueType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes(node.valueType, other.valueType, 'valueType'); } bool checkMapPattern_entries( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkLists( - node.entries, - other.entries, - visitor.checkNodes, - 'entries', - ); + node.entries, other.entries, visitor.checkNodes, 'entries'); } bool checkMapPattern_requiredType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes( - node.requiredType, - other.requiredType, - 'requiredType', - ); + node.requiredType, other.requiredType, 'requiredType'); } bool checkMapPattern_matchedValueType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkMapPattern_lookupType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes(node.lookupType, other.lookupType, 'lookupType'); } bool checkMapPattern_containsKeyTargetReference( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { - return visitor.checkReferences( - node.containsKeyTargetReference, - other.containsKeyTargetReference, - 'containsKeyTargetReference', - ); + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { + return visitor.checkReferences(node.containsKeyTargetReference, + other.containsKeyTargetReference, 'containsKeyTargetReference'); } bool checkMapPattern_containsKeyType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes( - node.containsKeyType, - other.containsKeyType, - 'containsKeyType', - ); + node.containsKeyType, other.containsKeyType, 'containsKeyType'); } bool checkMapPattern_indexGetTargetReference( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { - return visitor.checkReferences( - node.indexGetTargetReference, - other.indexGetTargetReference, - 'indexGetTargetReference', - ); + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { + return visitor.checkReferences(node.indexGetTargetReference, + other.indexGetTargetReference, 'indexGetTargetReference'); } bool checkMapPattern_indexGetType( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return visitor.checkNodes( - node.indexGetType, - other.indexGetType, - 'indexGetType', - ); + node.indexGetType, other.indexGetType, 'indexGetType'); } bool checkMapPattern_fileOffset( - EquivalenceVisitor visitor, - MapPattern node, - MapPattern other, - ) { + EquivalenceVisitor visitor, MapPattern node, MapPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkNamedPattern_name( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkNamedPattern_pattern( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } bool checkNamedPattern_fieldName( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkNodes(node.fieldName, other.fieldName, 'fieldName'); } bool checkNamedPattern_accessKind( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkValues(node.accessKind, other.accessKind, 'accessKind'); } bool checkNamedPattern_targetReference( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkReferences( - node.targetReference, - other.targetReference, - 'targetReference', - ); + node.targetReference, other.targetReference, 'targetReference'); } bool checkNamedPattern_resultType( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkNodes(node.resultType, other.resultType, 'resultType'); } bool checkNamedPattern_checkReturn( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkValues( - node.checkReturn, - other.checkReturn, - 'checkReturn', - ); + node.checkReturn, other.checkReturn, 'checkReturn'); } bool checkNamedPattern_recordType( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkNodes(node.recordType, other.recordType, 'recordType'); } bool checkNamedPattern_recordFieldIndex( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkValues( - node.recordFieldIndex, - other.recordFieldIndex, - 'recordFieldIndex', - ); + node.recordFieldIndex, other.recordFieldIndex, 'recordFieldIndex'); } bool checkNamedPattern_functionType( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return visitor.checkNodes( - node.functionType, - other.functionType, - 'functionType', - ); + node.functionType, other.functionType, 'functionType'); } bool checkNamedPattern_typeArguments( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkNamedPattern_fileOffset( - EquivalenceVisitor visitor, - NamedPattern node, - NamedPattern other, - ) { + EquivalenceVisitor visitor, NamedPattern node, NamedPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkRecordPattern_patterns( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return visitor.checkLists( - node.patterns, - other.patterns, - visitor.checkNodes, - 'patterns', - ); + node.patterns, other.patterns, visitor.checkNodes, 'patterns'); } bool checkRecordPattern_requiredType( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return visitor.checkNodes( - node.requiredType, - other.requiredType, - 'requiredType', - ); + node.requiredType, other.requiredType, 'requiredType'); } bool checkRecordPattern_matchedValueType( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkRecordPattern_needsCheck( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return visitor.checkValues(node.needsCheck, other.needsCheck, 'needsCheck'); } bool checkRecordPattern_lookupType( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return visitor.checkNodes(node.lookupType, other.lookupType, 'lookupType'); } bool checkRecordPattern_fileOffset( - EquivalenceVisitor visitor, - RecordPattern node, - RecordPattern other, - ) { + EquivalenceVisitor visitor, RecordPattern node, RecordPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkVariablePattern_type( - EquivalenceVisitor visitor, - VariablePattern node, - VariablePattern other, - ) { + EquivalenceVisitor visitor, VariablePattern node, VariablePattern other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkVariablePattern_variable( - EquivalenceVisitor visitor, - VariablePattern node, - VariablePattern other, - ) { + EquivalenceVisitor visitor, VariablePattern node, VariablePattern other) { return visitor.checkNodes(node.variable, other.variable, 'variable'); } bool checkVariablePattern_matchedValueType( - EquivalenceVisitor visitor, - VariablePattern node, - VariablePattern other, - ) { + EquivalenceVisitor visitor, VariablePattern node, VariablePattern other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkVariablePattern_fileOffset( - EquivalenceVisitor visitor, - VariablePattern node, - VariablePattern other, - ) { + EquivalenceVisitor visitor, VariablePattern node, VariablePattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkRestPattern_subPattern( - EquivalenceVisitor visitor, - RestPattern node, - RestPattern other, - ) { + EquivalenceVisitor visitor, RestPattern node, RestPattern other) { return visitor.checkNodes(node.subPattern, other.subPattern, 'subPattern'); } bool checkRestPattern_fileOffset( - EquivalenceVisitor visitor, - RestPattern node, - RestPattern other, - ) { + EquivalenceVisitor visitor, RestPattern node, RestPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkInvalidPattern_invalidExpression( - EquivalenceVisitor visitor, - InvalidPattern node, - InvalidPattern other, - ) { + EquivalenceVisitor visitor, InvalidPattern node, InvalidPattern other) { return visitor.checkNodes( - node.invalidExpression, - other.invalidExpression, - 'invalidExpression', - ); + node.invalidExpression, other.invalidExpression, 'invalidExpression'); } bool checkInvalidPattern_declaredVariables( - EquivalenceVisitor visitor, - InvalidPattern node, - InvalidPattern other, - ) { - return visitor.checkLists( - node.declaredVariables, - other.declaredVariables, - visitor.checkNodes, - 'declaredVariables', - ); + EquivalenceVisitor visitor, InvalidPattern node, InvalidPattern other) { + return visitor.checkLists(node.declaredVariables, other.declaredVariables, + visitor.checkNodes, 'declaredVariables'); } bool checkInvalidPattern_fileOffset( - EquivalenceVisitor visitor, - InvalidPattern node, - InvalidPattern other, - ) { + EquivalenceVisitor visitor, InvalidPattern node, InvalidPattern other) { return checkPattern_fileOffset(visitor, node, other); } bool checkMapPatternEntry_key( - EquivalenceVisitor visitor, - MapPatternEntry node, - MapPatternEntry other, - ) { + EquivalenceVisitor visitor, MapPatternEntry node, MapPatternEntry other) { return visitor.checkNodes(node.key, other.key, 'key'); } bool checkMapPatternEntry_value( - EquivalenceVisitor visitor, - MapPatternEntry node, - MapPatternEntry other, - ) { + EquivalenceVisitor visitor, MapPatternEntry node, MapPatternEntry other) { return visitor.checkNodes(node.value, other.value, 'value'); } bool checkMapPatternEntry_keyType( - EquivalenceVisitor visitor, - MapPatternEntry node, - MapPatternEntry other, - ) { + EquivalenceVisitor visitor, MapPatternEntry node, MapPatternEntry other) { return visitor.checkNodes(node.keyType, other.keyType, 'keyType'); } bool checkMapPatternEntry_keyValue( - EquivalenceVisitor visitor, - MapPatternEntry node, - MapPatternEntry other, - ) { + EquivalenceVisitor visitor, MapPatternEntry node, MapPatternEntry other) { return visitor.checkNodes(node.keyValue, other.keyValue, 'keyValue'); } bool checkMapPatternEntry_fileOffset( - EquivalenceVisitor visitor, - MapPatternEntry node, - MapPatternEntry other, - ) { + EquivalenceVisitor visitor, MapPatternEntry node, MapPatternEntry other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkMapPatternRestEntry_fileOffset( - EquivalenceVisitor visitor, - MapPatternRestEntry node, - MapPatternRestEntry other, - ) { + bool checkMapPatternRestEntry_fileOffset(EquivalenceVisitor visitor, + MapPatternRestEntry node, MapPatternRestEntry other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkPatternGuard_pattern( - EquivalenceVisitor visitor, - PatternGuard node, - PatternGuard other, - ) { + EquivalenceVisitor visitor, PatternGuard node, PatternGuard other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } bool checkPatternGuard_guard( - EquivalenceVisitor visitor, - PatternGuard node, - PatternGuard other, - ) { + EquivalenceVisitor visitor, PatternGuard node, PatternGuard other) { return visitor.checkNodes(node.guard, other.guard, 'guard'); } bool checkPatternGuard_fileOffset( - EquivalenceVisitor visitor, - PatternGuard node, - PatternGuard other, - ) { + EquivalenceVisitor visitor, PatternGuard node, PatternGuard other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkPatternSwitchCase_caseOffsets( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { - return visitor.checkLists( - node.caseOffsets, - other.caseOffsets, - visitor.checkValues, - 'caseOffsets', - ); + bool checkPatternSwitchCase_caseOffsets(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { + return visitor.checkLists(node.caseOffsets, other.caseOffsets, + visitor.checkValues, 'caseOffsets'); } - bool checkPatternSwitchCase_patternGuards( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { - return visitor.checkLists( - node.patternGuards, - other.patternGuards, - visitor.checkNodes, - 'patternGuards', - ); + bool checkPatternSwitchCase_patternGuards(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { + return visitor.checkLists(node.patternGuards, other.patternGuards, + visitor.checkNodes, 'patternGuards'); } - bool checkPatternSwitchCase_labelUsers( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + bool checkPatternSwitchCase_labelUsers(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { return visitor.checkLists( - node.labelUsers, - other.labelUsers, - visitor.checkNodes, - 'labelUsers', - ); + node.labelUsers, other.labelUsers, visitor.checkNodes, 'labelUsers'); } - bool checkPatternSwitchCase_body( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + bool checkPatternSwitchCase_body(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { return visitor.checkNodes(node.body, other.body, 'body'); } - bool checkPatternSwitchCase_isDefault( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + bool checkPatternSwitchCase_isDefault(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { return visitor.checkValues(node.isDefault, other.isDefault, 'isDefault'); } - bool checkPatternSwitchCase_hasLabel( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + bool checkPatternSwitchCase_hasLabel(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { return visitor.checkValues(node.hasLabel, other.hasLabel, 'hasLabel'); } - bool checkPatternSwitchCase_jointVariables( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { - return visitor.checkLists( - node.jointVariables, - other.jointVariables, - visitor.checkNodes, - 'jointVariables', - ); + bool checkPatternSwitchCase_jointVariables(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { + return visitor.checkLists(node.jointVariables, other.jointVariables, + visitor.checkNodes, 'jointVariables'); } bool checkPatternSwitchCase_jointVariableFirstUseOffsets( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + EquivalenceVisitor visitor, + PatternSwitchCase node, + PatternSwitchCase other) { return visitor.checkLists( - node.jointVariableFirstUseOffsets, - other.jointVariableFirstUseOffsets, - visitor.checkValues, - 'jointVariableFirstUseOffsets', - ); + node.jointVariableFirstUseOffsets, + other.jointVariableFirstUseOffsets, + visitor.checkValues, + 'jointVariableFirstUseOffsets'); } - bool checkPatternSwitchCase_fileOffset( - EquivalenceVisitor visitor, - PatternSwitchCase node, - PatternSwitchCase other, - ) { + bool checkPatternSwitchCase_fileOffset(EquivalenceVisitor visitor, + PatternSwitchCase node, PatternSwitchCase other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkSwitchCase_expressions( - EquivalenceVisitor visitor, - SwitchCase node, - SwitchCase other, - ) { + EquivalenceVisitor visitor, SwitchCase node, SwitchCase other) { return visitor.checkLists( - node.expressions, - other.expressions, - visitor.checkNodes, - 'expressions', - ); + node.expressions, other.expressions, visitor.checkNodes, 'expressions'); } bool checkSwitchCase_expressionOffsets( - EquivalenceVisitor visitor, - SwitchCase node, - SwitchCase other, - ) { - return visitor.checkLists( - node.expressionOffsets, - other.expressionOffsets, - visitor.checkValues, - 'expressionOffsets', - ); + EquivalenceVisitor visitor, SwitchCase node, SwitchCase other) { + return visitor.checkLists(node.expressionOffsets, other.expressionOffsets, + visitor.checkValues, 'expressionOffsets'); } bool checkSwitchCase_body( - EquivalenceVisitor visitor, - SwitchCase node, - SwitchCase other, - ) { + EquivalenceVisitor visitor, SwitchCase node, SwitchCase other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkSwitchCase_isDefault( - EquivalenceVisitor visitor, - SwitchCase node, - SwitchCase other, - ) { + EquivalenceVisitor visitor, SwitchCase node, SwitchCase other) { return visitor.checkValues(node.isDefault, other.isDefault, 'isDefault'); } bool checkSwitchCase_fileOffset( - EquivalenceVisitor visitor, - SwitchCase node, - SwitchCase other, - ) { + EquivalenceVisitor visitor, SwitchCase node, SwitchCase other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkPatternSwitchStatement_expression( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { + bool checkPatternSwitchStatement_expression(EquivalenceVisitor visitor, + PatternSwitchStatement node, PatternSwitchStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkPatternSwitchStatement_cases( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { + bool checkPatternSwitchStatement_cases(EquivalenceVisitor visitor, + PatternSwitchStatement node, PatternSwitchStatement other) { return visitor.checkLists( - node.cases, - other.cases, - visitor.checkNodes, - 'cases', - ); + node.cases, other.cases, visitor.checkNodes, 'cases'); } bool checkPatternSwitchStatement_expressionTypeInternal( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { - return visitor.checkNodes( - node.expressionTypeInternal, - other.expressionTypeInternal, - 'expressionTypeInternal', - ); + EquivalenceVisitor visitor, + PatternSwitchStatement node, + PatternSwitchStatement other) { + return visitor.checkNodes(node.expressionTypeInternal, + other.expressionTypeInternal, 'expressionTypeInternal'); } bool checkPatternSwitchStatement_lastCaseTerminates( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { - return visitor.checkValues( - node.lastCaseTerminates, - other.lastCaseTerminates, - 'lastCaseTerminates', - ); + EquivalenceVisitor visitor, + PatternSwitchStatement node, + PatternSwitchStatement other) { + return visitor.checkValues(node.lastCaseTerminates, + other.lastCaseTerminates, 'lastCaseTerminates'); } bool checkPatternSwitchStatement_isExplicitlyExhaustive( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { - return visitor.checkValues( - node.isExplicitlyExhaustive, - other.isExplicitlyExhaustive, - 'isExplicitlyExhaustive', - ); + EquivalenceVisitor visitor, + PatternSwitchStatement node, + PatternSwitchStatement other) { + return visitor.checkValues(node.isExplicitlyExhaustive, + other.isExplicitlyExhaustive, 'isExplicitlyExhaustive'); } bool checkStatement_fileOffset( - EquivalenceVisitor visitor, - Statement node, - Statement other, - ) { + EquivalenceVisitor visitor, Statement node, Statement other) { return checkTreeNode_fileOffset(visitor, node, other); } - bool checkPatternSwitchStatement_fileOffset( - EquivalenceVisitor visitor, - PatternSwitchStatement node, - PatternSwitchStatement other, - ) { + bool checkPatternSwitchStatement_fileOffset(EquivalenceVisitor visitor, + PatternSwitchStatement node, PatternSwitchStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkSwitchStatement_expression( - EquivalenceVisitor visitor, - SwitchStatement node, - SwitchStatement other, - ) { + EquivalenceVisitor visitor, SwitchStatement node, SwitchStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkSwitchStatement_cases( - EquivalenceVisitor visitor, - SwitchStatement node, - SwitchStatement other, - ) { + EquivalenceVisitor visitor, SwitchStatement node, SwitchStatement other) { return visitor.checkLists( - node.cases, - other.cases, - visitor.checkNodes, - 'cases', - ); + node.cases, other.cases, visitor.checkNodes, 'cases'); } bool checkSwitchStatement_isExplicitlyExhaustive( - EquivalenceVisitor visitor, - SwitchStatement node, - SwitchStatement other, - ) { - return visitor.checkValues( - node.isExplicitlyExhaustive, - other.isExplicitlyExhaustive, - 'isExplicitlyExhaustive', - ); + EquivalenceVisitor visitor, SwitchStatement node, SwitchStatement other) { + return visitor.checkValues(node.isExplicitlyExhaustive, + other.isExplicitlyExhaustive, 'isExplicitlyExhaustive'); } bool checkSwitchStatement_expressionTypeInternal( - EquivalenceVisitor visitor, - SwitchStatement node, - SwitchStatement other, - ) { - return visitor.checkNodes( - node.expressionTypeInternal, - other.expressionTypeInternal, - 'expressionTypeInternal', - ); + EquivalenceVisitor visitor, SwitchStatement node, SwitchStatement other) { + return visitor.checkNodes(node.expressionTypeInternal, + other.expressionTypeInternal, 'expressionTypeInternal'); } bool checkSwitchStatement_fileOffset( - EquivalenceVisitor visitor, - SwitchStatement node, - SwitchStatement other, - ) { + EquivalenceVisitor visitor, SwitchStatement node, SwitchStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkPatternVariableDeclaration_pattern( - EquivalenceVisitor visitor, - PatternVariableDeclaration node, - PatternVariableDeclaration other, - ) { + bool checkPatternVariableDeclaration_pattern(EquivalenceVisitor visitor, + PatternVariableDeclaration node, PatternVariableDeclaration other) { return visitor.checkNodes(node.pattern, other.pattern, 'pattern'); } - bool checkPatternVariableDeclaration_initializer( - EquivalenceVisitor visitor, - PatternVariableDeclaration node, - PatternVariableDeclaration other, - ) { + bool checkPatternVariableDeclaration_initializer(EquivalenceVisitor visitor, + PatternVariableDeclaration node, PatternVariableDeclaration other) { return visitor.checkNodes( - node.initializer, - other.initializer, - 'initializer', - ); + node.initializer, other.initializer, 'initializer'); } - bool checkPatternVariableDeclaration_isFinal( - EquivalenceVisitor visitor, - PatternVariableDeclaration node, - PatternVariableDeclaration other, - ) { + bool checkPatternVariableDeclaration_isFinal(EquivalenceVisitor visitor, + PatternVariableDeclaration node, PatternVariableDeclaration other) { return visitor.checkValues(node.isFinal, other.isFinal, 'isFinal'); } bool checkPatternVariableDeclaration_matchedValueType( - EquivalenceVisitor visitor, - PatternVariableDeclaration node, - PatternVariableDeclaration other, - ) { + EquivalenceVisitor visitor, + PatternVariableDeclaration node, + PatternVariableDeclaration other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } - bool checkPatternVariableDeclaration_fileOffset( - EquivalenceVisitor visitor, - PatternVariableDeclaration node, - PatternVariableDeclaration other, - ) { + bool checkPatternVariableDeclaration_fileOffset(EquivalenceVisitor visitor, + PatternVariableDeclaration node, PatternVariableDeclaration other) { return checkStatement_fileOffset(visitor, node, other); } bool checkIfCaseStatement_expression( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkIfCaseStatement_patternGuard( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return visitor.checkNodes( - node.patternGuard, - other.patternGuard, - 'patternGuard', - ); + node.patternGuard, other.patternGuard, 'patternGuard'); } bool checkIfCaseStatement_then( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return visitor.checkNodes(node.then, other.then, 'then'); } bool checkIfCaseStatement_otherwise( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return visitor.checkNodes(node.otherwise, other.otherwise, 'otherwise'); } bool checkIfCaseStatement_matchedValueType( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return visitor.checkNodes( - node.matchedValueType, - other.matchedValueType, - 'matchedValueType', - ); + node.matchedValueType, other.matchedValueType, 'matchedValueType'); } bool checkIfCaseStatement_fileOffset( - EquivalenceVisitor visitor, - IfCaseStatement node, - IfCaseStatement other, - ) { + EquivalenceVisitor visitor, IfCaseStatement node, IfCaseStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkAuxiliaryStatement_fileOffset( - EquivalenceVisitor visitor, - AuxiliaryStatement node, - AuxiliaryStatement other, - ) { + bool checkAuxiliaryStatement_fileOffset(EquivalenceVisitor visitor, + AuxiliaryStatement node, AuxiliaryStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkExpressionStatement_expression( - EquivalenceVisitor visitor, - ExpressionStatement node, - ExpressionStatement other, - ) { + bool checkExpressionStatement_expression(EquivalenceVisitor visitor, + ExpressionStatement node, ExpressionStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkExpressionStatement_fileOffset( - EquivalenceVisitor visitor, - ExpressionStatement node, - ExpressionStatement other, - ) { + bool checkExpressionStatement_fileOffset(EquivalenceVisitor visitor, + ExpressionStatement node, ExpressionStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkBlock_statements( - EquivalenceVisitor visitor, - Block node, - Block other, - ) { + EquivalenceVisitor visitor, Block node, Block other) { return visitor.checkLists( - node.statements, - other.statements, - visitor.checkNodes, - 'statements', - ); + node.statements, other.statements, visitor.checkNodes, 'statements'); } bool checkBlock_fileEndOffset( - EquivalenceVisitor visitor, - Block node, - Block other, - ) { + EquivalenceVisitor visitor, Block node, Block other) { return visitor.checkValues( - node.fileEndOffset, - other.fileEndOffset, - 'fileEndOffset', - ); + node.fileEndOffset, other.fileEndOffset, 'fileEndOffset'); } bool checkBlock_fileOffset( - EquivalenceVisitor visitor, - Block node, - Block other, - ) { + EquivalenceVisitor visitor, Block node, Block other) { return checkStatement_fileOffset(visitor, node, other); } bool checkAssertBlock_statements( - EquivalenceVisitor visitor, - AssertBlock node, - AssertBlock other, - ) { + EquivalenceVisitor visitor, AssertBlock node, AssertBlock other) { return visitor.checkLists( - node.statements, - other.statements, - visitor.checkNodes, - 'statements', - ); + node.statements, other.statements, visitor.checkNodes, 'statements'); } bool checkAssertBlock_fileOffset( - EquivalenceVisitor visitor, - AssertBlock node, - AssertBlock other, - ) { + EquivalenceVisitor visitor, AssertBlock node, AssertBlock other) { return checkStatement_fileOffset(visitor, node, other); } bool checkEmptyStatement_fileOffset( - EquivalenceVisitor visitor, - EmptyStatement node, - EmptyStatement other, - ) { + EquivalenceVisitor visitor, EmptyStatement node, EmptyStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkAssertStatement_condition( - EquivalenceVisitor visitor, - AssertStatement node, - AssertStatement other, - ) { + EquivalenceVisitor visitor, AssertStatement node, AssertStatement other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } bool checkAssertStatement_message( - EquivalenceVisitor visitor, - AssertStatement node, - AssertStatement other, - ) { + EquivalenceVisitor visitor, AssertStatement node, AssertStatement other) { return visitor.checkNodes(node.message, other.message, 'message'); } bool checkAssertStatement_conditionStartOffset( - EquivalenceVisitor visitor, - AssertStatement node, - AssertStatement other, - ) { - return visitor.checkValues( - node.conditionStartOffset, - other.conditionStartOffset, - 'conditionStartOffset', - ); + EquivalenceVisitor visitor, AssertStatement node, AssertStatement other) { + return visitor.checkValues(node.conditionStartOffset, + other.conditionStartOffset, 'conditionStartOffset'); } bool checkAssertStatement_conditionEndOffset( - EquivalenceVisitor visitor, - AssertStatement node, - AssertStatement other, - ) { - return visitor.checkValues( - node.conditionEndOffset, - other.conditionEndOffset, - 'conditionEndOffset', - ); + EquivalenceVisitor visitor, AssertStatement node, AssertStatement other) { + return visitor.checkValues(node.conditionEndOffset, + other.conditionEndOffset, 'conditionEndOffset'); } bool checkAssertStatement_fileOffset( - EquivalenceVisitor visitor, - AssertStatement node, - AssertStatement other, - ) { + EquivalenceVisitor visitor, AssertStatement node, AssertStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkLabeledStatement_body( - EquivalenceVisitor visitor, - LabeledStatement node, - LabeledStatement other, - ) { + bool checkLabeledStatement_body(EquivalenceVisitor visitor, + LabeledStatement node, LabeledStatement other) { return visitor.checkNodes(node.body, other.body, 'body'); } - bool checkLabeledStatement_fileOffset( - EquivalenceVisitor visitor, - LabeledStatement node, - LabeledStatement other, - ) { + bool checkLabeledStatement_fileOffset(EquivalenceVisitor visitor, + LabeledStatement node, LabeledStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkBreakStatement_target( - EquivalenceVisitor visitor, - BreakStatement node, - BreakStatement other, - ) { + EquivalenceVisitor visitor, BreakStatement node, BreakStatement other) { return visitor.checkDeclarations(node.target, other.target, 'target'); } bool checkBreakStatement_fileOffset( - EquivalenceVisitor visitor, - BreakStatement node, - BreakStatement other, - ) { + EquivalenceVisitor visitor, BreakStatement node, BreakStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkWhileStatement_condition( - EquivalenceVisitor visitor, - WhileStatement node, - WhileStatement other, - ) { + EquivalenceVisitor visitor, WhileStatement node, WhileStatement other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } bool checkWhileStatement_body( - EquivalenceVisitor visitor, - WhileStatement node, - WhileStatement other, - ) { + EquivalenceVisitor visitor, WhileStatement node, WhileStatement other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkWhileStatement_fileOffset( - EquivalenceVisitor visitor, - WhileStatement node, - WhileStatement other, - ) { + EquivalenceVisitor visitor, WhileStatement node, WhileStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkDoStatement_body( - EquivalenceVisitor visitor, - DoStatement node, - DoStatement other, - ) { + EquivalenceVisitor visitor, DoStatement node, DoStatement other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkDoStatement_condition( - EquivalenceVisitor visitor, - DoStatement node, - DoStatement other, - ) { + EquivalenceVisitor visitor, DoStatement node, DoStatement other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } bool checkDoStatement_fileOffset( - EquivalenceVisitor visitor, - DoStatement node, - DoStatement other, - ) { + EquivalenceVisitor visitor, DoStatement node, DoStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkForStatement_variables( - EquivalenceVisitor visitor, - ForStatement node, - ForStatement other, - ) { + EquivalenceVisitor visitor, ForStatement node, ForStatement other) { return visitor.checkLists( - node.variables, - other.variables, - visitor.checkNodes, - 'variables', - ); + node.variables, other.variables, visitor.checkNodes, 'variables'); } bool checkForStatement_condition( - EquivalenceVisitor visitor, - ForStatement node, - ForStatement other, - ) { + EquivalenceVisitor visitor, ForStatement node, ForStatement other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } bool checkForStatement_updates( - EquivalenceVisitor visitor, - ForStatement node, - ForStatement other, - ) { + EquivalenceVisitor visitor, ForStatement node, ForStatement other) { return visitor.checkLists( - node.updates, - other.updates, - visitor.checkNodes, - 'updates', - ); + node.updates, other.updates, visitor.checkNodes, 'updates'); } bool checkForStatement_body( - EquivalenceVisitor visitor, - ForStatement node, - ForStatement other, - ) { + EquivalenceVisitor visitor, ForStatement node, ForStatement other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkForStatement_fileOffset( - EquivalenceVisitor visitor, - ForStatement node, - ForStatement other, - ) { + EquivalenceVisitor visitor, ForStatement node, ForStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkForInStatement_bodyOffset( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return visitor.checkValues(node.bodyOffset, other.bodyOffset, 'bodyOffset'); } bool checkForInStatement_variable( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return visitor.checkNodes(node.variable, other.variable, 'variable'); } bool checkForInStatement_iterable( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return visitor.checkNodes(node.iterable, other.iterable, 'iterable'); } bool checkForInStatement_body( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkForInStatement_isAsync( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return visitor.checkValues(node.isAsync, other.isAsync, 'isAsync'); } bool checkForInStatement_fileOffset( - EquivalenceVisitor visitor, - ForInStatement node, - ForInStatement other, - ) { + EquivalenceVisitor visitor, ForInStatement node, ForInStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkContinueSwitchStatement_target( - EquivalenceVisitor visitor, - ContinueSwitchStatement node, - ContinueSwitchStatement other, - ) { + bool checkContinueSwitchStatement_target(EquivalenceVisitor visitor, + ContinueSwitchStatement node, ContinueSwitchStatement other) { return visitor.checkDeclarations(node.target, other.target, 'target'); } - bool checkContinueSwitchStatement_fileOffset( - EquivalenceVisitor visitor, - ContinueSwitchStatement node, - ContinueSwitchStatement other, - ) { + bool checkContinueSwitchStatement_fileOffset(EquivalenceVisitor visitor, + ContinueSwitchStatement node, ContinueSwitchStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkIfStatement_condition( - EquivalenceVisitor visitor, - IfStatement node, - IfStatement other, - ) { + EquivalenceVisitor visitor, IfStatement node, IfStatement other) { return visitor.checkNodes(node.condition, other.condition, 'condition'); } bool checkIfStatement_then( - EquivalenceVisitor visitor, - IfStatement node, - IfStatement other, - ) { + EquivalenceVisitor visitor, IfStatement node, IfStatement other) { return visitor.checkNodes(node.then, other.then, 'then'); } bool checkIfStatement_otherwise( - EquivalenceVisitor visitor, - IfStatement node, - IfStatement other, - ) { + EquivalenceVisitor visitor, IfStatement node, IfStatement other) { return visitor.checkNodes(node.otherwise, other.otherwise, 'otherwise'); } bool checkIfStatement_fileOffset( - EquivalenceVisitor visitor, - IfStatement node, - IfStatement other, - ) { + EquivalenceVisitor visitor, IfStatement node, IfStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkReturnStatement_expression( - EquivalenceVisitor visitor, - ReturnStatement node, - ReturnStatement other, - ) { + EquivalenceVisitor visitor, ReturnStatement node, ReturnStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkReturnStatement_fileOffset( - EquivalenceVisitor visitor, - ReturnStatement node, - ReturnStatement other, - ) { + EquivalenceVisitor visitor, ReturnStatement node, ReturnStatement other) { return checkStatement_fileOffset(visitor, node, other); } bool checkTryCatch_body( - EquivalenceVisitor visitor, - TryCatch node, - TryCatch other, - ) { + EquivalenceVisitor visitor, TryCatch node, TryCatch other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkTryCatch_catches( - EquivalenceVisitor visitor, - TryCatch node, - TryCatch other, - ) { + EquivalenceVisitor visitor, TryCatch node, TryCatch other) { return visitor.checkLists( - node.catches, - other.catches, - visitor.checkNodes, - 'catches', - ); + node.catches, other.catches, visitor.checkNodes, 'catches'); } bool checkTryCatch_isSynthetic( - EquivalenceVisitor visitor, - TryCatch node, - TryCatch other, - ) { + EquivalenceVisitor visitor, TryCatch node, TryCatch other) { return visitor.checkValues( - node.isSynthetic, - other.isSynthetic, - 'isSynthetic', - ); + node.isSynthetic, other.isSynthetic, 'isSynthetic'); } bool checkTryCatch_fileOffset( - EquivalenceVisitor visitor, - TryCatch node, - TryCatch other, - ) { + EquivalenceVisitor visitor, TryCatch node, TryCatch other) { return checkStatement_fileOffset(visitor, node, other); } bool checkTryFinally_body( - EquivalenceVisitor visitor, - TryFinally node, - TryFinally other, - ) { + EquivalenceVisitor visitor, TryFinally node, TryFinally other) { return visitor.checkNodes(node.body, other.body, 'body'); } bool checkTryFinally_finalizer( - EquivalenceVisitor visitor, - TryFinally node, - TryFinally other, - ) { + EquivalenceVisitor visitor, TryFinally node, TryFinally other) { return visitor.checkNodes(node.finalizer, other.finalizer, 'finalizer'); } bool checkTryFinally_fileOffset( - EquivalenceVisitor visitor, - TryFinally node, - TryFinally other, - ) { + EquivalenceVisitor visitor, TryFinally node, TryFinally other) { return checkStatement_fileOffset(visitor, node, other); } bool checkYieldStatement_expression( - EquivalenceVisitor visitor, - YieldStatement node, - YieldStatement other, - ) { + EquivalenceVisitor visitor, YieldStatement node, YieldStatement other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } bool checkYieldStatement_flags( - EquivalenceVisitor visitor, - YieldStatement node, - YieldStatement other, - ) { + EquivalenceVisitor visitor, YieldStatement node, YieldStatement other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkYieldStatement_fileOffset( - EquivalenceVisitor visitor, - YieldStatement node, - YieldStatement other, - ) { + EquivalenceVisitor visitor, YieldStatement node, YieldStatement other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkVariableDeclaration_fileEqualsOffset( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_fileEqualsOffset(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkValues( - node.fileEqualsOffset, - other.fileEqualsOffset, - 'fileEqualsOffset', - ); + node.fileEqualsOffset, other.fileEqualsOffset, 'fileEqualsOffset'); } - bool checkVariableDeclaration_annotations( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_annotations(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } - bool checkVariableDeclaration_name( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_name(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkValues(node.name, other.name, 'name'); } - bool checkVariableDeclaration_flags( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_flags(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkVariableDeclaration_type( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_type(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkNodes(node.type, other.type, 'type'); } - bool checkVariableDeclaration_binaryOffsetNoTag( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_binaryOffsetNoTag(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkValues( - node.binaryOffsetNoTag, - other.binaryOffsetNoTag, - 'binaryOffsetNoTag', - ); + node.binaryOffsetNoTag, other.binaryOffsetNoTag, 'binaryOffsetNoTag'); } - bool checkVariableDeclaration_initializer( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_initializer(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return visitor.checkNodes( - node.initializer, - other.initializer, - 'initializer', - ); + node.initializer, other.initializer, 'initializer'); } - bool checkVariableDeclaration_fileOffset( - EquivalenceVisitor visitor, - VariableDeclaration node, - VariableDeclaration other, - ) { + bool checkVariableDeclaration_fileOffset(EquivalenceVisitor visitor, + VariableDeclaration node, VariableDeclaration other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkFunctionDeclaration_variable( - EquivalenceVisitor visitor, - FunctionDeclaration node, - FunctionDeclaration other, - ) { + bool checkFunctionDeclaration_variable(EquivalenceVisitor visitor, + FunctionDeclaration node, FunctionDeclaration other) { return visitor.checkNodes(node.variable, other.variable, 'variable'); } - bool checkFunctionDeclaration_function( - EquivalenceVisitor visitor, - FunctionDeclaration node, - FunctionDeclaration other, - ) { + bool checkFunctionDeclaration_function(EquivalenceVisitor visitor, + FunctionDeclaration node, FunctionDeclaration other) { return visitor.checkNodes(node.function, other.function, 'function'); } - bool checkFunctionDeclaration_fileOffset( - EquivalenceVisitor visitor, - FunctionDeclaration node, - FunctionDeclaration other, - ) { + bool checkFunctionDeclaration_fileOffset(EquivalenceVisitor visitor, + FunctionDeclaration node, FunctionDeclaration other) { return checkStatement_fileOffset(visitor, node, other); } - bool checkSwitchExpressionCase_patternGuard( - EquivalenceVisitor visitor, - SwitchExpressionCase node, - SwitchExpressionCase other, - ) { + bool checkSwitchExpressionCase_patternGuard(EquivalenceVisitor visitor, + SwitchExpressionCase node, SwitchExpressionCase other) { return visitor.checkNodes( - node.patternGuard, - other.patternGuard, - 'patternGuard', - ); + node.patternGuard, other.patternGuard, 'patternGuard'); } - bool checkSwitchExpressionCase_expression( - EquivalenceVisitor visitor, - SwitchExpressionCase node, - SwitchExpressionCase other, - ) { + bool checkSwitchExpressionCase_expression(EquivalenceVisitor visitor, + SwitchExpressionCase node, SwitchExpressionCase other) { return visitor.checkNodes(node.expression, other.expression, 'expression'); } - bool checkSwitchExpressionCase_fileOffset( - EquivalenceVisitor visitor, - SwitchExpressionCase node, - SwitchExpressionCase other, - ) { + bool checkSwitchExpressionCase_fileOffset(EquivalenceVisitor visitor, + SwitchExpressionCase node, SwitchExpressionCase other) { return checkTreeNode_fileOffset(visitor, node, other); } @@ -12744,18 +9376,12 @@ class EquivalenceStrategy { } bool checkCatch_exception( - EquivalenceVisitor visitor, - Catch node, - Catch other, - ) { + EquivalenceVisitor visitor, Catch node, Catch other) { return visitor.checkNodes(node.exception, other.exception, 'exception'); } bool checkCatch_stackTrace( - EquivalenceVisitor visitor, - Catch node, - Catch other, - ) { + EquivalenceVisitor visitor, Catch node, Catch other) { return visitor.checkNodes(node.stackTrace, other.stackTrace, 'stackTrace'); } @@ -12764,75 +9390,44 @@ class EquivalenceStrategy { } bool checkCatch_fileOffset( - EquivalenceVisitor visitor, - Catch node, - Catch other, - ) { + EquivalenceVisitor visitor, Catch node, Catch other) { return checkTreeNode_fileOffset(visitor, node, other); } bool checkTypeParameter_flags( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } bool checkTypeParameter_annotations( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkLists( - node.annotations, - other.annotations, - visitor.checkNodes, - 'annotations', - ); + node.annotations, other.annotations, visitor.checkNodes, 'annotations'); } bool checkTypeParameter_name( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkTypeParameter_bound( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkNodes(node.bound, other.bound, 'bound'); } bool checkTypeParameter_defaultType( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkNodes( - node.defaultType, - other.defaultType, - 'defaultType', - ); + node.defaultType, other.defaultType, 'defaultType'); } bool checkTypeParameter_variance( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return visitor.checkValues(node.variance, other.variance, 'variance'); } bool checkTypeParameter_fileOffset( - EquivalenceVisitor visitor, - TypeParameter node, - TypeParameter other, - ) { + EquivalenceVisitor visitor, TypeParameter node, TypeParameter other) { return checkTreeNode_fileOffset(visitor, node, other); } @@ -12840,432 +9435,229 @@ class EquivalenceStrategy { return visitor.checkValues(node.text, other.text, 'text'); } - bool checkStructuralParameter_flags( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_flags(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkValues(node.flags, other.flags, 'flags'); } - bool checkStructuralParameter_name( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_name(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkValues(node.name, other.name, 'name'); } - bool checkStructuralParameter_fileOffset( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_fileOffset(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkValues(node.fileOffset, other.fileOffset, 'fileOffset'); } - bool checkStructuralParameter_uri( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_uri(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkValues(node.uri, other.uri, 'uri'); } - bool checkStructuralParameter_bound( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_bound(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkNodes(node.bound, other.bound, 'bound'); } - bool checkStructuralParameter_defaultType( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_defaultType(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkNodes( - node.defaultType, - other.defaultType, - 'defaultType', - ); + node.defaultType, other.defaultType, 'defaultType'); } - bool checkStructuralParameter_variance( - EquivalenceVisitor visitor, - StructuralParameter node, - StructuralParameter other, - ) { + bool checkStructuralParameter_variance(EquivalenceVisitor visitor, + StructuralParameter node, StructuralParameter other) { return visitor.checkValues(node.variance, other.variance, 'variance'); } bool checkSupertype_className( - EquivalenceVisitor visitor, - Supertype node, - Supertype other, - ) { + EquivalenceVisitor visitor, Supertype node, Supertype other) { return visitor.checkReferences( - node.className, - other.className, - 'className', - ); + node.className, other.className, 'className'); } bool checkSupertype_typeArguments( - EquivalenceVisitor visitor, - Supertype node, - Supertype other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, Supertype node, Supertype other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkInterfaceType_classReference( - EquivalenceVisitor visitor, - InterfaceType node, - InterfaceType other, - ) { + EquivalenceVisitor visitor, InterfaceType node, InterfaceType other) { return visitor.checkReferences( - node.classReference, - other.classReference, - 'classReference', - ); + node.classReference, other.classReference, 'classReference'); } bool checkInterfaceType_declaredNullability( - EquivalenceVisitor visitor, - InterfaceType node, - InterfaceType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, InterfaceType node, InterfaceType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkInterfaceType_typeArguments( - EquivalenceVisitor visitor, - InterfaceType node, - InterfaceType other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, InterfaceType node, InterfaceType other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkExtensionType_extensionTypeDeclarationReference( - EquivalenceVisitor visitor, - ExtensionType node, - ExtensionType other, - ) { + EquivalenceVisitor visitor, ExtensionType node, ExtensionType other) { return visitor.checkReferences( - node.extensionTypeDeclarationReference, - other.extensionTypeDeclarationReference, - 'extensionTypeDeclarationReference', - ); + node.extensionTypeDeclarationReference, + other.extensionTypeDeclarationReference, + 'extensionTypeDeclarationReference'); } bool checkExtensionType_declaredNullability( - EquivalenceVisitor visitor, - ExtensionType node, - ExtensionType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, ExtensionType node, ExtensionType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkExtensionType_typeArguments( - EquivalenceVisitor visitor, - ExtensionType node, - ExtensionType other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, ExtensionType node, ExtensionType other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkNeverType_declaredNullability( - EquivalenceVisitor visitor, - NeverType node, - NeverType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, NeverType node, NeverType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkFunctionType_typeParameters( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { - return visitor.checkLists( - node.typeParameters, - other.typeParameters, - visitor.checkNodes, - 'typeParameters', - ); + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { + return visitor.checkLists(node.typeParameters, other.typeParameters, + visitor.checkNodes, 'typeParameters'); } bool checkFunctionType_requiredParameterCount( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { - return visitor.checkValues( - node.requiredParameterCount, - other.requiredParameterCount, - 'requiredParameterCount', - ); + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { + return visitor.checkValues(node.requiredParameterCount, + other.requiredParameterCount, 'requiredParameterCount'); } bool checkFunctionType_positionalParameters( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { - return visitor.checkLists( - node.positionalParameters, - other.positionalParameters, - visitor.checkNodes, - 'positionalParameters', - ); + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { + return visitor.checkLists(node.positionalParameters, + other.positionalParameters, visitor.checkNodes, 'positionalParameters'); } bool checkFunctionType_namedParameters( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { - return visitor.checkLists( - node.namedParameters, - other.namedParameters, - visitor.checkNodes, - 'namedParameters', - ); + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { + return visitor.checkLists(node.namedParameters, other.namedParameters, + visitor.checkNodes, 'namedParameters'); } bool checkFunctionType_declaredNullability( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkFunctionType_returnType( - EquivalenceVisitor visitor, - FunctionType node, - FunctionType other, - ) { + EquivalenceVisitor visitor, FunctionType node, FunctionType other) { return visitor.checkNodes(node.returnType, other.returnType, 'returnType'); } bool checkTypedefType_declaredNullability( - EquivalenceVisitor visitor, - TypedefType node, - TypedefType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, TypedefType node, TypedefType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkTypedefType_typedefReference( - EquivalenceVisitor visitor, - TypedefType node, - TypedefType other, - ) { + EquivalenceVisitor visitor, TypedefType node, TypedefType other) { return visitor.checkReferences( - node.typedefReference, - other.typedefReference, - 'typedefReference', - ); + node.typedefReference, other.typedefReference, 'typedefReference'); } bool checkTypedefType_typeArguments( - EquivalenceVisitor visitor, - TypedefType node, - TypedefType other, - ) { - return visitor.checkLists( - node.typeArguments, - other.typeArguments, - visitor.checkNodes, - 'typeArguments', - ); + EquivalenceVisitor visitor, TypedefType node, TypedefType other) { + return visitor.checkLists(node.typeArguments, other.typeArguments, + visitor.checkNodes, 'typeArguments'); } bool checkFutureOrType_typeArgument( - EquivalenceVisitor visitor, - FutureOrType node, - FutureOrType other, - ) { + EquivalenceVisitor visitor, FutureOrType node, FutureOrType other) { return visitor.checkNodes( - node.typeArgument, - other.typeArgument, - 'typeArgument', - ); + node.typeArgument, other.typeArgument, 'typeArgument'); } bool checkFutureOrType_declaredNullability( - EquivalenceVisitor visitor, - FutureOrType node, - FutureOrType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, FutureOrType node, FutureOrType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } - bool checkIntersectionType_left( - EquivalenceVisitor visitor, - IntersectionType node, - IntersectionType other, - ) { + bool checkIntersectionType_left(EquivalenceVisitor visitor, + IntersectionType node, IntersectionType other) { return visitor.checkNodes(node.left, other.left, 'left'); } - bool checkIntersectionType_right( - EquivalenceVisitor visitor, - IntersectionType node, - IntersectionType other, - ) { + bool checkIntersectionType_right(EquivalenceVisitor visitor, + IntersectionType node, IntersectionType other) { return visitor.checkNodes(node.right, other.right, 'right'); } - bool checkTypeParameterType_declaredNullability( - EquivalenceVisitor visitor, - TypeParameterType node, - TypeParameterType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + bool checkTypeParameterType_declaredNullability(EquivalenceVisitor visitor, + TypeParameterType node, TypeParameterType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } - bool checkTypeParameterType_parameter( - EquivalenceVisitor visitor, - TypeParameterType node, - TypeParameterType other, - ) { + bool checkTypeParameterType_parameter(EquivalenceVisitor visitor, + TypeParameterType node, TypeParameterType other) { return visitor.checkDeclarations( - node.parameter, - other.parameter, - 'parameter', - ); + node.parameter, other.parameter, 'parameter'); } bool checkStructuralParameterType_declaredNullability( - EquivalenceVisitor visitor, - StructuralParameterType node, - StructuralParameterType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, + StructuralParameterType node, + StructuralParameterType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } - bool checkStructuralParameterType_parameter( - EquivalenceVisitor visitor, - StructuralParameterType node, - StructuralParameterType other, - ) { + bool checkStructuralParameterType_parameter(EquivalenceVisitor visitor, + StructuralParameterType node, StructuralParameterType other) { return visitor.checkDeclarations( - node.parameter, - other.parameter, - 'parameter', - ); + node.parameter, other.parameter, 'parameter'); } bool checkRecordType_positional( - EquivalenceVisitor visitor, - RecordType node, - RecordType other, - ) { + EquivalenceVisitor visitor, RecordType node, RecordType other) { return visitor.checkLists( - node.positional, - other.positional, - visitor.checkNodes, - 'positional', - ); + node.positional, other.positional, visitor.checkNodes, 'positional'); } bool checkRecordType_named( - EquivalenceVisitor visitor, - RecordType node, - RecordType other, - ) { + EquivalenceVisitor visitor, RecordType node, RecordType other) { return visitor.checkLists( - node.named, - other.named, - visitor.checkNodes, - 'named', - ); + node.named, other.named, visitor.checkNodes, 'named'); } bool checkRecordType_declaredNullability( - EquivalenceVisitor visitor, - RecordType node, - RecordType other, - ) { - return visitor.checkValues( - node.declaredNullability, - other.declaredNullability, - 'declaredNullability', - ); + EquivalenceVisitor visitor, RecordType node, RecordType other) { + return visitor.checkValues(node.declaredNullability, + other.declaredNullability, 'declaredNullability'); } bool checkNamedType_name( - EquivalenceVisitor visitor, - NamedType node, - NamedType other, - ) { + EquivalenceVisitor visitor, NamedType node, NamedType other) { return visitor.checkValues(node.name, other.name, 'name'); } bool checkNamedType_type( - EquivalenceVisitor visitor, - NamedType node, - NamedType other, - ) { + EquivalenceVisitor visitor, NamedType node, NamedType other) { return visitor.checkNodes(node.type, other.type, 'type'); } bool checkNamedType_isRequired( - EquivalenceVisitor visitor, - NamedType node, - NamedType other, - ) { + EquivalenceVisitor visitor, NamedType node, NamedType other) { return visitor.checkValues(node.isRequired, other.isRequired, 'isRequired'); } }