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 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2483 | 2483 |
2484 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2484 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2485 Message _withArgumentsSdkRootNotFound(Uri uri_) { | 2485 Message _withArgumentsSdkRootNotFound(Uri uri_) { |
2486 String uri = relativizeUri(uri_); | 2486 String uri = relativizeUri(uri_); |
2487 return new Message(codeSdkRootNotFound, | 2487 return new Message(codeSdkRootNotFound, |
2488 message: """SDK root directory not found: $uri.""", | 2488 message: """SDK root directory not found: $uri.""", |
2489 arguments: {'uri': uri_}); | 2489 arguments: {'uri': uri_}); |
2490 } | 2490 } |
2491 | 2491 |
2492 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2492 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2493 const Template<Message Function(Uri uri_)> templateSdkSpecificationNotFound = |
| 2494 const Template<Message Function(Uri uri_)>( |
| 2495 messageTemplate: r"""SDK libraries specification not found: #uri.""", |
| 2496 withArguments: _withArgumentsSdkSpecificationNotFound); |
| 2497 |
| 2498 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2499 const Code<Message Function(Uri uri_)> codeSdkSpecificationNotFound = |
| 2500 const Code<Message Function(Uri uri_)>( |
| 2501 "SdkSpecificationNotFound", |
| 2502 templateSdkSpecificationNotFound, |
| 2503 ); |
| 2504 |
| 2505 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2506 Message _withArgumentsSdkSpecificationNotFound(Uri uri_) { |
| 2507 String uri = relativizeUri(uri_); |
| 2508 return new Message(codeSdkSpecificationNotFound, |
| 2509 message: """SDK libraries specification not found: $uri.""", |
| 2510 arguments: {'uri': uri_}); |
| 2511 } |
| 2512 |
| 2513 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2493 const Template<Message Function(Uri uri_)> templateSdkSummaryNotFound = | 2514 const Template<Message Function(Uri uri_)> templateSdkSummaryNotFound = |
2494 const Template<Message Function(Uri uri_)>( | 2515 const Template<Message Function(Uri uri_)>( |
2495 messageTemplate: r"""SDK summary not found: #uri.""", | 2516 messageTemplate: r"""SDK summary not found: #uri.""", |
2496 withArguments: _withArgumentsSdkSummaryNotFound); | 2517 withArguments: _withArgumentsSdkSummaryNotFound); |
2497 | 2518 |
2498 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2519 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2499 const Code<Message Function(Uri uri_)> codeSdkSummaryNotFound = | 2520 const Code<Message Function(Uri uri_)> codeSdkSummaryNotFound = |
2500 const Code<Message Function(Uri uri_)>( | 2521 const Code<Message Function(Uri uri_)>( |
2501 "SdkSummaryNotFound", | 2522 "SdkSummaryNotFound", |
2502 templateSdkSummaryNotFound, | 2523 templateSdkSummaryNotFound, |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3003 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 3024 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
3004 | 3025 |
3005 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3026 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
3006 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 3027 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
3007 | 3028 |
3008 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3029 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
3009 const MessageCode messageYieldNotGenerator = const MessageCode( | 3030 const MessageCode messageYieldNotGenerator = const MessageCode( |
3010 "YieldNotGenerator", | 3031 "YieldNotGenerator", |
3011 dart2jsCode: "*ignored*", | 3032 dart2jsCode: "*ignored*", |
3012 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 3033 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
OLD | NEW |