| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 ); | 195 ); |
| 196 | 196 |
| 197 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 197 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 198 Message _withArgumentsCannotReadPackagesFile(String string) { | 198 Message _withArgumentsCannotReadPackagesFile(String string) { |
| 199 return new Message(codeCannotReadPackagesFile, | 199 return new Message(codeCannotReadPackagesFile, |
| 200 message: """Unable to read '.packages' file: | 200 message: """Unable to read '.packages' file: |
| 201 $string.""", arguments: {'string': string}); | 201 $string.""", arguments: {'string': string}); |
| 202 } | 202 } |
| 203 | 203 |
| 204 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 204 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 205 const Template<Message Function(String string)> | |
| 206 templateCannotReadSdkSpecification = | |
| 207 const Template<Message Function(String string)>( | |
| 208 messageTemplate: | |
| 209 r"""Unable to read the 'libraries.json' specification file: | |
| 210 #string.""", | |
| 211 withArguments: _withArgumentsCannotReadSdkSpecification); | |
| 212 | |
| 213 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 214 const Code<Message Function(String string)> codeCannotReadSdkSpecification = | |
| 215 const Code<Message Function(String string)>( | |
| 216 "CannotReadSdkSpecification", | |
| 217 templateCannotReadSdkSpecification, | |
| 218 ); | |
| 219 | |
| 220 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 221 Message _withArgumentsCannotReadSdkSpecification(String string) { | |
| 222 return new Message(codeCannotReadSdkSpecification, | |
| 223 message: """Unable to read the 'libraries.json' specification file: | |
| 224 $string.""", arguments: {'string': string}); | |
| 225 } | |
| 226 | |
| 227 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 228 const Code<Null> codeCantInferPackagesFromManyInputs = | 205 const Code<Null> codeCantInferPackagesFromManyInputs = |
| 229 messageCantInferPackagesFromManyInputs; | 206 messageCantInferPackagesFromManyInputs; |
| 230 | 207 |
| 231 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 232 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( | 209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( |
| 233 "CantInferPackagesFromManyInputs", | 210 "CantInferPackagesFromManyInputs", |
| 234 message: | 211 message: |
| 235 r"""Can't infer a .packages file when compiling multiple inputs.""", | 212 r"""Can't infer a .packages file when compiling multiple inputs.""", |
| 236 tip: r"""Try specifying the file explicitly with the --packages option."""); | 213 tip: r"""Try specifying the file explicitly with the --packages option."""); |
| 237 | 214 |
| (...skipping 2268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2506 | 2483 |
| 2507 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2484 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2508 Message _withArgumentsSdkRootNotFound(Uri uri_) { | 2485 Message _withArgumentsSdkRootNotFound(Uri uri_) { |
| 2509 String uri = relativizeUri(uri_); | 2486 String uri = relativizeUri(uri_); |
| 2510 return new Message(codeSdkRootNotFound, | 2487 return new Message(codeSdkRootNotFound, |
| 2511 message: """SDK root directory not found: $uri.""", | 2488 message: """SDK root directory not found: $uri.""", |
| 2512 arguments: {'uri': uri_}); | 2489 arguments: {'uri': uri_}); |
| 2513 } | 2490 } |
| 2514 | 2491 |
| 2515 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2492 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2516 const Template< | |
| 2517 Message Function( | |
| 2518 Uri | |
| 2519 uri_)> templateSdkSpecificationNotFound = const Template< | |
| 2520 Message Function(Uri uri_)>( | |
| 2521 messageTemplate: r"""SDK libraries specification not found: #uri.""", | |
| 2522 tipTemplate: | |
| 2523 r"""Normally, the specification is a file named 'libraries.json' in the
Dart SDK install location.""", | |
| 2524 withArguments: _withArgumentsSdkSpecificationNotFound); | |
| 2525 | |
| 2526 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 2527 const Code<Message Function(Uri uri_)> codeSdkSpecificationNotFound = | |
| 2528 const Code<Message Function(Uri uri_)>( | |
| 2529 "SdkSpecificationNotFound", | |
| 2530 templateSdkSpecificationNotFound, | |
| 2531 ); | |
| 2532 | |
| 2533 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 2534 Message _withArgumentsSdkSpecificationNotFound(Uri uri_) { | |
| 2535 String uri = relativizeUri(uri_); | |
| 2536 return new Message(codeSdkSpecificationNotFound, | |
| 2537 message: """SDK libraries specification not found: $uri.""", | |
| 2538 tip: | |
| 2539 """Normally, the specification is a file named 'libraries.json' in the
Dart SDK install location.""", | |
| 2540 arguments: {'uri': uri_}); | |
| 2541 } | |
| 2542 | |
| 2543 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
| 2544 const Template<Message Function(Uri uri_)> templateSdkSummaryNotFound = | 2493 const Template<Message Function(Uri uri_)> templateSdkSummaryNotFound = |
| 2545 const Template<Message Function(Uri uri_)>( | 2494 const Template<Message Function(Uri uri_)>( |
| 2546 messageTemplate: r"""SDK summary not found: #uri.""", | 2495 messageTemplate: r"""SDK summary not found: #uri.""", |
| 2547 withArguments: _withArgumentsSdkSummaryNotFound); | 2496 withArguments: _withArgumentsSdkSummaryNotFound); |
| 2548 | 2497 |
| 2549 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2498 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2550 const Code<Message Function(Uri uri_)> codeSdkSummaryNotFound = | 2499 const Code<Message Function(Uri uri_)> codeSdkSummaryNotFound = |
| 2551 const Code<Message Function(Uri uri_)>( | 2500 const Code<Message Function(Uri uri_)>( |
| 2552 "SdkSummaryNotFound", | 2501 "SdkSummaryNotFound", |
| 2553 templateSdkSummaryNotFound, | 2502 templateSdkSummaryNotFound, |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3054 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 3003 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
| 3055 | 3004 |
| 3056 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3005 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 3057 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 3006 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
| 3058 | 3007 |
| 3059 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3008 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 3060 const MessageCode messageYieldNotGenerator = const MessageCode( | 3009 const MessageCode messageYieldNotGenerator = const MessageCode( |
| 3061 "YieldNotGenerator", | 3010 "YieldNotGenerator", |
| 3062 dart2jsCode: "*ignored*", | 3011 dart2jsCode: "*ignored*", |
| 3063 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 3012 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
| OLD | NEW |