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

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

Issue 2986303003: Switch FE to use the libraries.json format. (Closed)
Patch Set: fix issues found on bots Created 3 years, 4 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
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 505f593abaa7b2f573ee9ec65fc0a3dd1c191796..cb7c60b9ff1ce521880b28b65e48e73390fdee2d 100644
--- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
+++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
@@ -201,6 +201,29 @@ Message _withArgumentsCannotReadPackagesFile(String string) {
$string.""", arguments: {'string': string});
}
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String string)>
+ templateCannotReadSdkSpecification =
+ const Template<Message Function(String string)>(
+ messageTemplate:
+ r"""Unable to read the 'libraries.json' specification file:
+ #string.""",
+ withArguments: _withArgumentsCannotReadSdkSpecification);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String string)> codeCannotReadSdkSpecification =
+ const Code<Message Function(String string)>(
+ "CannotReadSdkSpecification",
+ templateCannotReadSdkSpecification,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsCannotReadSdkSpecification(String string) {
+ return new Message(codeCannotReadSdkSpecification,
+ message: """Unable to read the 'libraries.json' specification file:
+ $string.""", arguments: {'string': string});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeCantInferPackagesFromManyInputs =
messageCantInferPackagesFromManyInputs;
@@ -2489,6 +2512,34 @@ Message _withArgumentsSdkRootNotFound(Uri uri_) {
arguments: {'uri': uri_});
}
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<
+ Message Function(
+ Uri
+ uri_)> templateSdkSpecificationNotFound = const Template<
+ Message Function(Uri uri_)>(
+ messageTemplate: r"""SDK libraries specification not found: #uri.""",
+ tipTemplate:
+ r"""Normally, the specification is a file named 'libraries.json' in the Dart SDK install location.""",
+ withArguments: _withArgumentsSdkSpecificationNotFound);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(Uri uri_)> codeSdkSpecificationNotFound =
+ const Code<Message Function(Uri uri_)>(
+ "SdkSpecificationNotFound",
+ templateSdkSpecificationNotFound,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsSdkSpecificationNotFound(Uri uri_) {
+ String uri = relativizeUri(uri_);
+ return new Message(codeSdkSpecificationNotFound,
+ message: """SDK libraries specification not found: $uri.""",
+ tip:
+ """Normally, the specification is a file named 'libraries.json' in the Dart SDK install location.""",
+ arguments: {'uri': uri_});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(Uri uri_)> templateSdkSummaryNotFound =
const Template<Message Function(Uri uri_)>(
« no previous file with comments | « pkg/front_end/lib/src/base/processed_options.dart ('k') | pkg/front_end/lib/src/fasta/uri_translator_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698