OLD | NEW |
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 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 ); | 1664 ); |
1665 | 1665 |
1666 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1666 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1667 Message _withArgumentsInternalProblemUnsupported(String name) { | 1667 Message _withArgumentsInternalProblemUnsupported(String name) { |
1668 return new Message(codeInternalProblemUnsupported, | 1668 return new Message(codeInternalProblemUnsupported, |
1669 message: """Unsupported operation: '$name'.""", | 1669 message: """Unsupported operation: '$name'.""", |
1670 arguments: {'name': name}); | 1670 arguments: {'name': name}); |
1671 } | 1671 } |
1672 | 1672 |
1673 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1673 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1674 const Template<Message Function(Uri uri_)> |
| 1675 templateInternalProblemUriMissingScheme = |
| 1676 const Template<Message Function(Uri uri_)>( |
| 1677 messageTemplate: r"""The URI '#uri' has no scheme.""", |
| 1678 withArguments: _withArgumentsInternalProblemUriMissingScheme); |
| 1679 |
| 1680 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1681 const Code<Message Function(Uri uri_)> codeInternalProblemUriMissingScheme = |
| 1682 const Code<Message Function(Uri uri_)>( |
| 1683 "InternalProblemUriMissingScheme", |
| 1684 templateInternalProblemUriMissingScheme, |
| 1685 ); |
| 1686 |
| 1687 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1688 Message _withArgumentsInternalProblemUriMissingScheme(Uri uri_) { |
| 1689 String uri = relativizeUri(uri_); |
| 1690 return new Message(codeInternalProblemUriMissingScheme, |
| 1691 message: """The URI '$uri' has no scheme.""", arguments: {'uri': uri_}); |
| 1692 } |
| 1693 |
| 1694 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1674 const Template<Message Function(String string)> | 1695 const Template<Message Function(String string)> |
1675 templateInternalVerificationError = | 1696 templateInternalVerificationError = |
1676 const Template<Message Function(String string)>( | 1697 const Template<Message Function(String string)>( |
1677 messageTemplate: | 1698 messageTemplate: |
1678 r"""Verification of the generated program failed: #string.""", | 1699 r"""Verification of the generated program failed: #string.""", |
1679 withArguments: _withArgumentsInternalVerificationError); | 1700 withArguments: _withArgumentsInternalVerificationError); |
1680 | 1701 |
1681 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1702 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1682 const Code<Message Function(String string)> codeInternalVerificationError = | 1703 const Code<Message Function(String string)> codeInternalVerificationError = |
1683 const Code<Message Function(String string)>( | 1704 const Code<Message Function(String string)>( |
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3098 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 3119 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
3099 | 3120 |
3100 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3121 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
3101 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 3122 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
3102 | 3123 |
3103 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3124 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
3104 const MessageCode messageYieldNotGenerator = const MessageCode( | 3125 const MessageCode messageYieldNotGenerator = const MessageCode( |
3105 "YieldNotGenerator", | 3126 "YieldNotGenerator", |
3106 dart2jsCode: "*ignored*", | 3127 dart2jsCode: "*ignored*", |
3107 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 3128 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
OLD | NEW |