| 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 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1338 ); | 1338 ); |
| 1339 | 1339 |
| 1340 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1340 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1341 Message _withArgumentsInputFileNotFound(Uri uri_) { | 1341 Message _withArgumentsInputFileNotFound(Uri uri_) { |
| 1342 String uri = relativizeUri(uri_); | 1342 String uri = relativizeUri(uri_); |
| 1343 return new Message(codeInputFileNotFound, | 1343 return new Message(codeInputFileNotFound, |
| 1344 message: """Input file not found: $uri.""", arguments: {'uri': uri_}); | 1344 message: """Input file not found: $uri.""", arguments: {'uri': uri_}); |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1347 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1348 const Template< |
| 1349 Message Function( |
| 1350 Token |
| 1351 token)> templateIntegerLiteralIsOutOfRange = const Template< |
| 1352 Message Function(Token token)>( |
| 1353 messageTemplate: |
| 1354 r"""The integer literal #lexeme can't be represented in 64 bits.""", |
| 1355 tipTemplate: |
| 1356 r"""Try using BigInt (from 'dart:typed_data' library) if you need an int
eger larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,8
08.""", |
| 1357 withArguments: _withArgumentsIntegerLiteralIsOutOfRange); |
| 1358 |
| 1359 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1360 const Code<Message Function(Token token)> codeIntegerLiteralIsOutOfRange = |
| 1361 const Code<Message Function(Token token)>( |
| 1362 "IntegerLiteralIsOutOfRange", |
| 1363 templateIntegerLiteralIsOutOfRange, |
| 1364 ); |
| 1365 |
| 1366 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1367 Message _withArgumentsIntegerLiteralIsOutOfRange(Token token) { |
| 1368 String lexeme = token.lexeme; |
| 1369 return new Message(codeIntegerLiteralIsOutOfRange, |
| 1370 message: |
| 1371 """The integer literal $lexeme can't be represented in 64 bits.""", |
| 1372 tip: |
| 1373 """Try using BigInt (from 'dart:typed_data' library) if you need an in
teger larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,
808.""", |
| 1374 arguments: {'token': token}); |
| 1375 } |
| 1376 |
| 1377 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1348 const Code<Null> codeInternalProblemAlreadyInitialized = | 1378 const Code<Null> codeInternalProblemAlreadyInitialized = |
| 1349 messageInternalProblemAlreadyInitialized; | 1379 messageInternalProblemAlreadyInitialized; |
| 1350 | 1380 |
| 1351 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1381 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1352 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode( | 1382 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode( |
| 1353 "InternalProblemAlreadyInitialized", | 1383 "InternalProblemAlreadyInitialized", |
| 1354 message: r"""Attempt to set initializer on field without initializer."""); | 1384 message: r"""Attempt to set initializer on field without initializer."""); |
| 1355 | 1385 |
| 1356 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1386 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1357 const Code<Null> codeInternalProblemBodyOnAbstractMethod = | 1387 const Code<Null> codeInternalProblemBodyOnAbstractMethod = |
| (...skipping 1645 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."""); | 3033 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
| 3004 | 3034 |
| 3005 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3035 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 3006 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 3036 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
| 3007 | 3037 |
| 3008 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 3038 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 3009 const MessageCode messageYieldNotGenerator = const MessageCode( | 3039 const MessageCode messageYieldNotGenerator = const MessageCode( |
| 3010 "YieldNotGenerator", | 3040 "YieldNotGenerator", |
| 3011 dart2jsCode: "*ignored*", | 3041 dart2jsCode: "*ignored*", |
| 3012 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 3042 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
| OLD | NEW |