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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Code<Null> codeCantInferPackagesFromManyInputs = | 205 const Code<Null> codeCantInferPackagesFromManyInputs = |
206 messageCantInferPackagesFromManyInputs; | 206 messageCantInferPackagesFromManyInputs; |
207 | 207 |
208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( | 209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( |
210 "CantInferPackagesFromManyInputs", | 210 "CantInferPackagesFromManyInputs", |
211 message: | 211 message: |
212 r"""Cannot infer a .packages file when compiling multiple inputs.""", | 212 r"""Can't infer a .packages file when compiling multiple inputs.""", |
213 tip: r"""Try specifying the file explicitly with the --packages option."""); | 213 tip: r"""Try specifying the file explicitly with the --packages option."""); |
214 | 214 |
215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 216 const Code<Null> codeCantInferPackagesFromPackageUri = |
| 217 messageCantInferPackagesFromPackageUri; |
| 218 |
| 219 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 220 const MessageCode messageCantInferPackagesFromPackageUri = const MessageCode( |
| 221 "CantInferPackagesFromPackageUri", |
| 222 message: r"""Can't infer a .packages file from an input 'package:*' URI.""", |
| 223 tip: r"""Try specifying the file explicitly with the --packages option."""); |
| 224 |
| 225 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
216 const Code<Null> codeCatchSyntax = messageCatchSyntax; | 226 const Code<Null> codeCatchSyntax = messageCatchSyntax; |
217 | 227 |
218 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 228 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
219 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", | 229 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", |
220 dart2jsCode: "*ignored*", | 230 dart2jsCode: "*ignored*", |
221 message: | 231 message: |
222 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", | 232 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", |
223 tip: | 233 tip: |
224 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); | 234 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); |
225 | 235 |
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1387 | 1397 |
1388 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1398 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1389 const Code<Null> codeInternalProblemMissingContext = | 1399 const Code<Null> codeInternalProblemMissingContext = |
1390 messageInternalProblemMissingContext; | 1400 messageInternalProblemMissingContext; |
1391 | 1401 |
1392 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1402 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1393 const MessageCode messageInternalProblemMissingContext = const MessageCode( | 1403 const MessageCode messageInternalProblemMissingContext = const MessageCode( |
1394 "InternalProblemMissingContext", | 1404 "InternalProblemMissingContext", |
1395 message: r"""Compiler cannot run without a compiler context.""", | 1405 message: r"""Compiler cannot run without a compiler context.""", |
1396 tip: | 1406 tip: |
1397 r"""Are calls to the compiler wrapped in CompilerContext.withGlobalOptio
ns?"""); | 1407 r"""Are calls to the compiler wrapped in CompilerContext.runInContext?""
"); |
1398 | 1408 |
1399 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1409 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1400 const Template<Message Function(String name)> templateInternalProblemNotFound = | 1410 const Template<Message Function(String name)> templateInternalProblemNotFound = |
1401 const Template<Message Function(String name)>( | 1411 const Template<Message Function(String name)>( |
1402 messageTemplate: r"""Couldn't find '#name'.""", | 1412 messageTemplate: r"""Couldn't find '#name'.""", |
1403 withArguments: _withArgumentsInternalProblemNotFound); | 1413 withArguments: _withArgumentsInternalProblemNotFound); |
1404 | 1414 |
1405 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1415 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1406 const Code<Message Function(String name)> codeInternalProblemNotFound = | 1416 const Code<Message Function(String name)> codeInternalProblemNotFound = |
1407 const Code<Message Function(String name)>( | 1417 const Code<Message Function(String name)>( |
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2982 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 2992 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
2983 | 2993 |
2984 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2994 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2985 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 2995 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
2986 | 2996 |
2987 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2997 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2988 const MessageCode messageYieldNotGenerator = const MessageCode( | 2998 const MessageCode messageYieldNotGenerator = const MessageCode( |
2989 "YieldNotGenerator", | 2999 "YieldNotGenerator", |
2990 dart2jsCode: "*ignored*", | 3000 dart2jsCode: "*ignored*", |
2991 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 3001 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
OLD | NEW |