Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 2975823002: Remove all deprecated fasta message methods from analyzer. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/tool/summary/mini_ast.dart ('k') | pkg/front_end/lib/src/fasta/problems.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
index a42b452aaa5017471f8bf55c7f4da07e75bf49c3..311b06733564629d7fe5ff096efa0a5072f03c36 100644
--- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
+++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
@@ -120,6 +120,27 @@ const MessageCode messageFactoryNotSync = const MessageCode("FactoryNotSync",
dart2jsCode: "FASTA_IGNORED",
message: r"""Factories can't use 'async', 'async*', or 'sync*'.""");
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String string, String name)>
+ templateUnexpected =
+ const Template<Message Function(String string, String name)>(
+ messageTemplate: r"""Expected '#string', but got '#name'.""",
+ withArguments: _withArgumentsUnexpected);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String string, String name)> codeUnexpected =
+ const Code<Message Function(String string, String name)>(
+ "Unexpected",
+ templateUnexpected,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsUnexpected(String string, String name) {
+ return new Message(codeUnexpected,
+ message: """Expected '$string', but got '$name'.""",
+ arguments: {'string': string, 'name': name});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeSuperNullAware = messageSuperNullAware;
@@ -369,6 +390,45 @@ const MessageCode messageAwaitNotAsync = const MessageCode("AwaitNotAsync",
dart2jsCode: "FASTA_IGNORED",
message: r"""'await' can only be used in 'async' or 'async*' methods.""");
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String string)> templateUnimplemented =
+ const Template<Message Function(String string)>(
+ messageTemplate: r"""Unimplemented: #string.""",
+ withArguments: _withArgumentsUnimplemented);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String string)> codeUnimplemented =
+ const Code<Message Function(String string)>(
+ "Unimplemented",
+ templateUnimplemented,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsUnimplemented(String string) {
+ return new Message(codeUnimplemented,
+ message: """Unimplemented: $string.""", arguments: {'string': string});
+}
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String string, String name)> templateUnhandled =
+ const Template<Message Function(String string, String name)>(
+ messageTemplate: r"""Unhandled: #string in #name.""",
+ withArguments: _withArgumentsUnhandled);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String string, String name)> codeUnhandled =
+ const Code<Message Function(String string, String name)>(
+ "Unhandled",
+ templateUnhandled,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsUnhandled(String string, String name) {
+ return new Message(codeUnhandled,
+ message: """Unhandled: $string in $name.""",
+ arguments: {'string': string, 'name': name});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(Token token)> templateExpectedFunctionBody =
const Template<Message Function(Token token)>(
@@ -1065,6 +1125,26 @@ Message _withArgumentsMethodNotFound(String name) {
message: """Method not found: '$name'.""", arguments: {'name': name});
}
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String name)> templateUnsupported =
+ const Template<Message Function(String name)>(
+ messageTemplate: r"""Unsupported operation: '#name'.""",
+ withArguments: _withArgumentsUnsupported);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String name)> codeUnsupported =
+ const Code<Message Function(String name)>(
+ "Unsupported",
+ templateUnsupported,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsUnsupported(String name) {
+ return new Message(codeUnsupported,
+ message: """Unsupported operation: '$name'.""",
+ arguments: {'name': name});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(Token token)>
templateBuiltInIdentifierInDeclaration =
« no previous file with comments | « pkg/analyzer/tool/summary/mini_ast.dart ('k') | pkg/front_end/lib/src/fasta/problems.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698