Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 2989073002: [fasta] Issue error for large integer literals (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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<Message Function(Token token)>
1349 templateIntegerLiteralIsOutOfRange =
1350 const Template<Message Function(Token token)>(
1351 messageTemplate: r"""Integer literal #lexeme is out of range""",
1352 withArguments: _withArgumentsIntegerLiteralIsOutOfRange);
1353
1354 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1355 const Code<Message Function(Token token)> codeIntegerLiteralIsOutOfRange =
1356 const Code<Message Function(Token token)>(
1357 "IntegerLiteralIsOutOfRange",
1358 templateIntegerLiteralIsOutOfRange,
1359 );
1360
1361 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1362 Message _withArgumentsIntegerLiteralIsOutOfRange(Token token) {
1363 String lexeme = token.lexeme;
1364 return new Message(codeIntegerLiteralIsOutOfRange,
1365 message: """Integer literal $lexeme is out of range""",
1366 arguments: {'token': token});
1367 }
1368
1369 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1348 const Code<Null> codeInternalProblemAlreadyInitialized = 1370 const Code<Null> codeInternalProblemAlreadyInitialized =
1349 messageInternalProblemAlreadyInitialized; 1371 messageInternalProblemAlreadyInitialized;
1350 1372
1351 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1373 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1352 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode( 1374 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode(
1353 "InternalProblemAlreadyInitialized", 1375 "InternalProblemAlreadyInitialized",
1354 message: r"""Attempt to set initializer on field without initializer."""); 1376 message: r"""Attempt to set initializer on field without initializer.""");
1355 1377
1356 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1378 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1357 const Code<Null> codeInternalProblemBodyOnAbstractMethod = 1379 const Code<Null> codeInternalProblemBodyOnAbstractMethod =
(...skipping 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after
3003 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 3025 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
3004 3026
3005 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3027 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3006 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 3028 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
3007 3029
3008 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3030 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3009 const MessageCode messageYieldNotGenerator = const MessageCode( 3031 const MessageCode messageYieldNotGenerator = const MessageCode(
3010 "YieldNotGenerator", 3032 "YieldNotGenerator",
3011 dart2jsCode: "*ignored*", 3033 dart2jsCode: "*ignored*",
3012 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 3034 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698