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

Side by Side Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 3005573002: Revert "Remove check for scheme in source-loader." (Closed)
Patch Set: Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/source/source_loader.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT. 5 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT.
6 // 6 //
7 // Instead modify 'pkg/front_end/messages.yaml' and run 7 // Instead modify 'pkg/front_end/messages.yaml' and run
8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update. 8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update.
9 9
10 part of fasta.codes; 10 part of fasta.codes;
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 ); 1663 );
1664 1664
1665 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1665 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1666 Message _withArgumentsInternalProblemUnsupported(String name) { 1666 Message _withArgumentsInternalProblemUnsupported(String name) {
1667 return new Message(codeInternalProblemUnsupported, 1667 return new Message(codeInternalProblemUnsupported,
1668 message: """Unsupported operation: '$name'.""", 1668 message: """Unsupported operation: '$name'.""",
1669 arguments: {'name': name}); 1669 arguments: {'name': name});
1670 } 1670 }
1671 1671
1672 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1672 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1673 const Template<Message Function(Uri uri_)>
1674 templateInternalProblemUriMissingScheme =
1675 const Template<Message Function(Uri uri_)>(
1676 messageTemplate: r"""The URI '#uri' has no scheme.""",
1677 withArguments: _withArgumentsInternalProblemUriMissingScheme);
1678
1679 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1680 const Code<Message Function(Uri uri_)> codeInternalProblemUriMissingScheme =
1681 const Code<Message Function(Uri uri_)>(
1682 "InternalProblemUriMissingScheme",
1683 templateInternalProblemUriMissingScheme,
1684 );
1685
1686 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1687 Message _withArgumentsInternalProblemUriMissingScheme(Uri uri_) {
1688 String uri = relativizeUri(uri_);
1689 return new Message(codeInternalProblemUriMissingScheme,
1690 message: """The URI '$uri' has no scheme.""", arguments: {'uri': uri_});
1691 }
1692
1693 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1694 const Template<Message Function(String string)> 1673 const Template<Message Function(String string)>
1695 templateInternalVerificationError = 1674 templateInternalVerificationError =
1696 const Template<Message Function(String string)>( 1675 const Template<Message Function(String string)>(
1697 messageTemplate: 1676 messageTemplate:
1698 r"""Verification of the generated program failed: #string.""", 1677 r"""Verification of the generated program failed: #string.""",
1699 withArguments: _withArgumentsInternalVerificationError); 1678 withArguments: _withArgumentsInternalVerificationError);
1700 1679
1701 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1680 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1702 const Code<Message Function(String string)> codeInternalVerificationError = 1681 const Code<Message Function(String string)> codeInternalVerificationError =
1703 const Code<Message Function(String string)>( 1682 const Code<Message Function(String string)>(
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
3118 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 3097 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
3119 3098
3120 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3099 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3121 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 3100 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
3122 3101
3123 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3102 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3124 const MessageCode messageYieldNotGenerator = const MessageCode( 3103 const MessageCode messageYieldNotGenerator = const MessageCode(
3125 "YieldNotGenerator", 3104 "YieldNotGenerator",
3126 dart2jsCode: "*ignored*", 3105 dart2jsCode: "*ignored*",
3127 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 3106 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/source/source_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698