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

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

Issue 2977713002: Remove deprecated api from LibraryBuilder. (Closed)
Patch Set: Created 3 years, 5 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 275 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
276 const Code<Null> codeConflictsWithTypeVariableCause = 276 const Code<Null> codeConflictsWithTypeVariableCause =
277 messageConflictsWithTypeVariableCause; 277 messageConflictsWithTypeVariableCause;
278 278
279 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 279 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
280 const MessageCode messageConflictsWithTypeVariableCause = const MessageCode( 280 const MessageCode messageConflictsWithTypeVariableCause = const MessageCode(
281 "ConflictsWithTypeVariableCause", 281 "ConflictsWithTypeVariableCause",
282 message: r"""This is the type variable."""); 282 message: r"""This is the type variable.""");
283 283
284 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 284 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
285 const Code<Null> codeConstConstructorWithBody = messageConstConstructorWithBody;
286
287 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
288 const MessageCode messageConstConstructorWithBody = const MessageCode(
289 "ConstConstructorWithBody",
290 message: r"""A const constructor can't have a body.""");
291
292 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
285 const Code<Null> codeConstFieldWithoutInitializer = 293 const Code<Null> codeConstFieldWithoutInitializer =
286 messageConstFieldWithoutInitializer; 294 messageConstFieldWithoutInitializer;
287 295
288 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 296 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
289 const MessageCode messageConstFieldWithoutInitializer = const MessageCode( 297 const MessageCode messageConstFieldWithoutInitializer = const MessageCode(
290 "ConstFieldWithoutInitializer", 298 "ConstFieldWithoutInitializer",
291 dart2jsCode: "*ignored*", 299 dart2jsCode: "*ignored*",
292 message: r"""A 'const' field must be initialized.""", 300 message: r"""A 'const' field must be initialized.""",
293 tip: r"""Try adding '= <initializer>'."""); 301 tip: r"""Try adding '= <initializer>'.""");
294 302
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 ); 356 );
349 357
350 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 358 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
351 Message _withArgumentsCyclicTypedef(String name) { 359 Message _withArgumentsCyclicTypedef(String name) {
352 return new Message(codeCyclicTypedef, 360 return new Message(codeCyclicTypedef,
353 message: """The typedef '$name' has a reference to itself.""", 361 message: """The typedef '$name' has a reference to itself.""",
354 arguments: {'name': name}); 362 arguments: {'name': name});
355 } 363 }
356 364
357 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 365 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
366 const Template<
367 Message Function(
368 String
369 name)> templateDeferredPrefixDuplicated = const Template<
370 Message Function(String name)>(
371 messageTemplate:
372 r"""Can't use the name '#name' for a deferred library, as the name is us ed elsewhere.""",
373 withArguments: _withArgumentsDeferredPrefixDuplicated);
374
375 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
376 const Code<Message Function(String name)> codeDeferredPrefixDuplicated =
377 const Code<Message Function(String name)>(
378 "DeferredPrefixDuplicated",
379 templateDeferredPrefixDuplicated,
380 );
381
382 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
383 Message _withArgumentsDeferredPrefixDuplicated(String name) {
384 return new Message(codeDeferredPrefixDuplicated,
385 message:
386 """Can't use the name '$name' for a deferred library, as the name is u sed elsewhere.""",
387 arguments: {'name': name});
388 }
389
390 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
391 const Template<Message Function(String name)>
392 templateDeferredPrefixDuplicatedCause =
393 const Template<Message Function(String name)>(
394 messageTemplate: r"""'#name' is used here.""",
395 withArguments: _withArgumentsDeferredPrefixDuplicatedCause);
396
397 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
398 const Code<Message Function(String name)> codeDeferredPrefixDuplicatedCause =
399 const Code<Message Function(String name)>(
400 "DeferredPrefixDuplicatedCause",
401 templateDeferredPrefixDuplicatedCause,
402 );
403
404 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
405 Message _withArgumentsDeferredPrefixDuplicatedCause(String name) {
406 return new Message(codeDeferredPrefixDuplicatedCause,
407 message: """'$name' is used here.""", arguments: {'name': name});
408 }
409
410 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
411 const Template<Message Function(String name)> templateDuplicatedDefinition =
412 const Template<Message Function(String name)>(
413 messageTemplate: r"""Duplicated definition of '#name'.""",
414 withArguments: _withArgumentsDuplicatedDefinition);
415
416 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
417 const Code<Message Function(String name)> codeDuplicatedDefinition =
418 const Code<Message Function(String name)>(
419 "DuplicatedDefinition",
420 templateDuplicatedDefinition,
421 );
422
423 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
424 Message _withArgumentsDuplicatedDefinition(String name) {
425 return new Message(codeDuplicatedDefinition,
426 message: """Duplicated definition of '$name'.""",
427 arguments: {'name': name});
428 }
429
430 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
358 const Template<Message Function(String name, Uri uri_, Uri uri2_)> 431 const Template<Message Function(String name, Uri uri_, Uri uri2_)>
359 templateDuplicatedExport = 432 templateDuplicatedExport =
360 const Template<Message Function(String name, Uri uri_, Uri uri2_)>( 433 const Template<Message Function(String name, Uri uri_, Uri uri2_)>(
361 messageTemplate: 434 messageTemplate:
362 r"""'#name' is exported from both '#uri' and '#uri2'.""", 435 r"""'#name' is exported from both '#uri' and '#uri2'.""",
363 withArguments: _withArgumentsDuplicatedExport); 436 withArguments: _withArgumentsDuplicatedExport);
364 437
365 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 438 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
366 const Code<Message Function(String name, Uri uri_, Uri uri2_)> 439 const Code<Message Function(String name, Uri uri_, Uri uri2_)>
367 codeDuplicatedExport = 440 codeDuplicatedExport =
(...skipping 30 matching lines...) Expand all
398 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 471 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
399 Message _withArgumentsDuplicatedImport(String name, Uri uri_, Uri uri2_) { 472 Message _withArgumentsDuplicatedImport(String name, Uri uri_, Uri uri2_) {
400 String uri = relativizeUri(uri_); 473 String uri = relativizeUri(uri_);
401 String uri2 = relativizeUri(uri2_); 474 String uri2 = relativizeUri(uri2_);
402 return new Message(codeDuplicatedImport, 475 return new Message(codeDuplicatedImport,
403 message: """'$name' is imported from both '$uri' and '$uri2'.""", 476 message: """'$name' is imported from both '$uri' and '$uri2'.""",
404 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}); 477 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_});
405 } 478 }
406 479
407 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 480 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
481 const Template<Message Function(String name)> templateDuplicatedName =
482 const Template<Message Function(String name)>(
483 messageTemplate: r"""Duplicated name: '#name'.""",
484 withArguments: _withArgumentsDuplicatedName);
485
486 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
487 const Code<Message Function(String name)> codeDuplicatedName =
488 const Code<Message Function(String name)>(
489 "DuplicatedName",
490 templateDuplicatedName,
491 );
492
493 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
494 Message _withArgumentsDuplicatedName(String name) {
495 return new Message(codeDuplicatedName,
496 message: """Duplicated name: '$name'.""", arguments: {'name': name});
497 }
498
499 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
500 const Template<Message Function(String name)> templateDuplicatedParameterName =
501 const Template<Message Function(String name)>(
502 messageTemplate: r"""Duplicated parameter name '#name'.""",
503 withArguments: _withArgumentsDuplicatedParameterName);
504
505 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
506 const Code<Message Function(String name)> codeDuplicatedParameterName =
507 const Code<Message Function(String name)>(
508 "DuplicatedParameterName",
509 templateDuplicatedParameterName,
510 );
511
512 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
513 Message _withArgumentsDuplicatedParameterName(String name) {
514 return new Message(codeDuplicatedParameterName,
515 message: """Duplicated parameter name '$name'.""",
516 arguments: {'name': name});
517 }
518
519 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
520 const Template<Message Function(String name)>
521 templateDuplicatedParameterNameCause =
522 const Template<Message Function(String name)>(
523 messageTemplate: r"""Other parameter named '#name'.""",
524 withArguments: _withArgumentsDuplicatedParameterNameCause);
525
526 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
527 const Code<Message Function(String name)> codeDuplicatedParameterNameCause =
528 const Code<Message Function(String name)>(
529 "DuplicatedParameterNameCause",
530 templateDuplicatedParameterNameCause,
531 );
532
533 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
534 Message _withArgumentsDuplicatedParameterNameCause(String name) {
535 return new Message(codeDuplicatedParameterNameCause,
536 message: """Other parameter named '$name'.""", arguments: {'name': name});
537 }
538
539 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
408 const Code<Null> codeEmptyNamedParameterList = messageEmptyNamedParameterList; 540 const Code<Null> codeEmptyNamedParameterList = messageEmptyNamedParameterList;
409 541
410 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 542 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
411 const MessageCode messageEmptyNamedParameterList = const MessageCode( 543 const MessageCode messageEmptyNamedParameterList = const MessageCode(
412 "EmptyNamedParameterList", 544 "EmptyNamedParameterList",
413 dart2jsCode: "EMPTY_NAMED_PARAMETER_LIST", 545 dart2jsCode: "EMPTY_NAMED_PARAMETER_LIST",
414 message: r"""Named parameter lists cannot be empty.""", 546 message: r"""Named parameter lists cannot be empty.""",
415 tip: r"""Try adding a named parameter to the list."""); 547 tip: r"""Try adding a named parameter to the list.""");
416 548
417 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 549 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
418 const Code<Null> codeEmptyOptionalParameterList = 550 const Code<Null> codeEmptyOptionalParameterList =
419 messageEmptyOptionalParameterList; 551 messageEmptyOptionalParameterList;
420 552
421 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 553 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
422 const MessageCode messageEmptyOptionalParameterList = const MessageCode( 554 const MessageCode messageEmptyOptionalParameterList = const MessageCode(
423 "EmptyOptionalParameterList", 555 "EmptyOptionalParameterList",
424 dart2jsCode: "EMPTY_OPTIONAL_PARAMETER_LIST", 556 dart2jsCode: "EMPTY_OPTIONAL_PARAMETER_LIST",
425 message: r"""Optional parameter lists cannot be empty.""", 557 message: r"""Optional parameter lists cannot be empty.""",
426 tip: r"""Try adding an optional parameter to the list."""); 558 tip: r"""Try adding an optional parameter to the list.""");
427 559
428 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 560 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
429 const Code<Null> codeEncoding = messageEncoding; 561 const Code<Null> codeEncoding = messageEncoding;
430 562
431 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 563 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
432 const MessageCode messageEncoding = const MessageCode("Encoding", 564 const MessageCode messageEncoding = const MessageCode("Encoding",
433 dart2jsCode: "*fatal*", message: r"""Unable to decode bytes as UTF-8."""); 565 dart2jsCode: "*fatal*", message: r"""Unable to decode bytes as UTF-8.""");
434 566
435 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 567 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
568 const Template<
569 Message Function(
570 String
571 name)> templateEnumConstantSameNameAsEnclosing = const Template<
572 Message Function(String name)>(
573 messageTemplate:
574 r"""Name of enum constant '#name' can't be the same as the enum's own na me.""",
575 withArguments: _withArgumentsEnumConstantSameNameAsEnclosing);
576
577 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
578 const Code<Message Function(String name)> codeEnumConstantSameNameAsEnclosing =
579 const Code<Message Function(String name)>(
580 "EnumConstantSameNameAsEnclosing",
581 templateEnumConstantSameNameAsEnclosing,
582 );
583
584 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
585 Message _withArgumentsEnumConstantSameNameAsEnclosing(String name) {
586 return new Message(codeEnumConstantSameNameAsEnclosing,
587 message:
588 """Name of enum constant '$name' can't be the same as the enum's own n ame.""",
589 arguments: {'name': name});
590 }
591
592 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
593 const Code<Null> codeEnumDeclartionEmpty = messageEnumDeclartionEmpty;
594
595 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
596 const MessageCode messageEnumDeclartionEmpty = const MessageCode(
597 "EnumDeclartionEmpty",
598 message: r"""An enum declaration can't be empty.""");
599
600 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
436 const Code<Null> codeExpectedBlockToSkip = messageExpectedBlockToSkip; 601 const Code<Null> codeExpectedBlockToSkip = messageExpectedBlockToSkip;
437 602
438 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 603 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
439 const MessageCode messageExpectedBlockToSkip = const MessageCode( 604 const MessageCode messageExpectedBlockToSkip = const MessageCode(
440 "ExpectedBlockToSkip", 605 "ExpectedBlockToSkip",
441 dart2jsCode: "NATIVE_OR_BODY_EXPECTED", 606 dart2jsCode: "NATIVE_OR_BODY_EXPECTED",
442 message: r"""Expected a function body or '=>'.""", 607 message: r"""Expected a function body or '=>'.""",
443 tip: r"""Try adding {}."""); 608 tip: r"""Try adding {}.""");
444 609
445 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 610 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 881
717 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 882 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
718 Message _withArgumentsExtendingRestricted(String name) { 883 Message _withArgumentsExtendingRestricted(String name) {
719 return new Message(codeExtendingRestricted, 884 return new Message(codeExtendingRestricted,
720 message: 885 message:
721 """'$name' is restricted and can't be extended or implemented.""", 886 """'$name' is restricted and can't be extended or implemented.""",
722 arguments: {'name': name}); 887 arguments: {'name': name});
723 } 888 }
724 889
725 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 890 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
891 const Code<Null> codeExternalMethodWithBody = messageExternalMethodWithBody;
892
893 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
894 const MessageCode messageExternalMethodWithBody = const MessageCode(
895 "ExternalMethodWithBody",
896 message: r"""An external method can't have a body.""");
897
898 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
726 const Template<Message Function(Token token)> templateExtraneousModifier = 899 const Template<Message Function(Token token)> templateExtraneousModifier =
727 const Template<Message Function(Token token)>( 900 const Template<Message Function(Token token)>(
728 messageTemplate: r"""Can't have modifier '#lexeme' here.""", 901 messageTemplate: r"""Can't have modifier '#lexeme' here.""",
729 tipTemplate: r"""Try removing '#lexeme'.""", 902 tipTemplate: r"""Try removing '#lexeme'.""",
730 withArguments: _withArgumentsExtraneousModifier); 903 withArguments: _withArgumentsExtraneousModifier);
731 904
732 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 905 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
733 const Code<Message Function(Token token)> codeExtraneousModifier = 906 const Code<Message Function(Token token)> codeExtraneousModifier =
734 const Code<Message Function(Token token)>( 907 const Code<Message Function(Token token)>(
735 "ExtraneousModifier", templateExtraneousModifier, 908 "ExtraneousModifier", templateExtraneousModifier,
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 const Code<Null> codeGetterWithFormals = messageGetterWithFormals; 1062 const Code<Null> codeGetterWithFormals = messageGetterWithFormals;
890 1063
891 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1064 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
892 const MessageCode messageGetterWithFormals = const MessageCode( 1065 const MessageCode messageGetterWithFormals = const MessageCode(
893 "GetterWithFormals", 1066 "GetterWithFormals",
894 dart2jsCode: "*ignored*", 1067 dart2jsCode: "*ignored*",
895 message: r"""A getter can't have formal parameters.""", 1068 message: r"""A getter can't have formal parameters.""",
896 tip: r"""Try removing '(...)'."""); 1069 tip: r"""Try removing '(...)'.""");
897 1070
898 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1071 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1072 const Template<Message Function(String name, String name2)>
1073 templateIllegalMethodName =
1074 const Template<Message Function(String name, String name2)>(
1075 messageTemplate: r"""'#name' isn't a legal method name.""",
1076 tipTemplate: r"""Did you mean '#name2'?""",
1077 withArguments: _withArgumentsIllegalMethodName);
1078
1079 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1080 const Code<Message Function(String name, String name2)> codeIllegalMethodName =
1081 const Code<Message Function(String name, String name2)>(
1082 "IllegalMethodName",
1083 templateIllegalMethodName,
1084 );
1085
1086 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1087 Message _withArgumentsIllegalMethodName(String name, String name2) {
1088 return new Message(codeIllegalMethodName,
1089 message: """'$name' isn't a legal method name.""",
1090 tip: """Did you mean '$name2'?""",
1091 arguments: {'name': name, 'name2': name2});
1092 }
1093
1094 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
899 const Template<Message Function(String name)> templateIllegalMixin = 1095 const Template<Message Function(String name)> templateIllegalMixin =
900 const Template<Message Function(String name)>( 1096 const Template<Message Function(String name)>(
901 messageTemplate: r"""The type '#name' can't be mixed in.""", 1097 messageTemplate: r"""The type '#name' can't be mixed in.""",
902 withArguments: _withArgumentsIllegalMixin); 1098 withArguments: _withArgumentsIllegalMixin);
903 1099
904 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1100 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
905 const Code<Message Function(String name)> codeIllegalMixin = 1101 const Code<Message Function(String name)> codeIllegalMixin =
906 const Code<Message Function(String name)>( 1102 const Code<Message Function(String name)>(
907 "IllegalMixin", 1103 "IllegalMixin",
908 templateIllegalMixin, 1104 templateIllegalMixin,
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1576 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1381 const MessageCode messageMissingExponent = const MessageCode("MissingExponent", 1577 const MessageCode messageMissingExponent = const MessageCode("MissingExponent",
1382 analyzerCode: "MISSING_DIGIT", 1578 analyzerCode: "MISSING_DIGIT",
1383 dart2jsCode: "EXPONENT_MISSING", 1579 dart2jsCode: "EXPONENT_MISSING",
1384 message: 1580 message:
1385 r"""Numbers in exponential notation should always contain an exponent (a n integer number with an optional sign).""", 1581 r"""Numbers in exponential notation should always contain an exponent (a n integer number with an optional sign).""",
1386 tip: 1582 tip:
1387 r"""Make sure there is an exponent, and remove any whitespace before it. """); 1583 r"""Make sure there is an exponent, and remove any whitespace before it. """);
1388 1584
1389 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1585 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1586 const Template<
1587 Message Function(Uri uri_)> templateMissingPartOf = const Template<
1588 Message Function(Uri uri_)>(
1589 messageTemplate:
1590 r"""Can't use '#uri' as a part, because it has no 'part of' declaration. """,
1591 withArguments: _withArgumentsMissingPartOf);
1592
1593 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1594 const Code<Message Function(Uri uri_)> codeMissingPartOf =
1595 const Code<Message Function(Uri uri_)>(
1596 "MissingPartOf",
1597 templateMissingPartOf,
1598 );
1599
1600 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1601 Message _withArgumentsMissingPartOf(Uri uri_) {
1602 String uri = relativizeUri(uri_);
1603 return new Message(codeMissingPartOf,
1604 message:
1605 """Can't use '$uri' as a part, because it has no 'part of' declaration .""",
1606 arguments: {'uri': uri_});
1607 }
1608
1609 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1390 const Code<Null> codeNamedFunctionExpression = messageNamedFunctionExpression; 1610 const Code<Null> codeNamedFunctionExpression = messageNamedFunctionExpression;
1391 1611
1392 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1612 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1393 const MessageCode messageNamedFunctionExpression = const MessageCode( 1613 const MessageCode messageNamedFunctionExpression = const MessageCode(
1394 "NamedFunctionExpression", 1614 "NamedFunctionExpression",
1395 dart2jsCode: "*ignored*", 1615 dart2jsCode: "*ignored*",
1396 message: r"""A function expression can't have a name."""); 1616 message: r"""A function expression can't have a name.""");
1397 1617
1398 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1618 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1399 const Template< 1619 const Template<
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 const Code<Null> codeOnlyTry = messageOnlyTry; 1735 const Code<Null> codeOnlyTry = messageOnlyTry;
1516 1736
1517 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1737 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1518 const MessageCode messageOnlyTry = const MessageCode("OnlyTry", 1738 const MessageCode messageOnlyTry = const MessageCode("OnlyTry",
1519 dart2jsCode: "*ignored*", 1739 dart2jsCode: "*ignored*",
1520 message: 1740 message:
1521 r"""Try block should be followed by 'on', 'catch', or 'finally' block."" ", 1741 r"""Try block should be followed by 'on', 'catch', or 'finally' block."" ",
1522 tip: r"""Did you forget to add a 'finally' block?"""); 1742 tip: r"""Did you forget to add a 'finally' block?""");
1523 1743
1524 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1744 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1745 const Template<Message Function(String name, int number)>
1746 templateOperatorParameterMismatch =
1747 const Template<Message Function(String name, int number)>(
1748 messageTemplate:
1749 r"""Operator '#name' must have exactly #number parameters.""",
1750 withArguments: _withArgumentsOperatorParameterMismatch);
1751
1752 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1753 const Code<Message Function(String name, int number)>
1754 codeOperatorParameterMismatch =
1755 const Code<Message Function(String name, int number)>(
1756 "OperatorParameterMismatch",
1757 templateOperatorParameterMismatch,
1758 );
1759
1760 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1761 Message _withArgumentsOperatorParameterMismatch(String name, int number) {
1762 return new Message(codeOperatorParameterMismatch,
1763 message: """Operator '$name' must have exactly $number parameters.""",
1764 arguments: {'name': name, 'number': number});
1765 }
1766
1767 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1768 const Code<Null> codeOperatorWithOptionalFormals =
1769 messageOperatorWithOptionalFormals;
1770
1771 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1772 const MessageCode messageOperatorWithOptionalFormals = const MessageCode(
1773 "OperatorWithOptionalFormals",
1774 message: r"""An operator can't have optional parameters.""");
1775
1776 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1525 const Template< 1777 const Template<
1526 Message Function( 1778 Message Function(
1527 String name, 1779 String name,
1528 String 1780 String
1529 name2)> templateOverrideFewerNamedArguments = const Template< 1781 name2)> templateOverrideFewerNamedArguments = const Template<
1530 Message Function(String name, String name2)>( 1782 Message Function(String name, String name2)>(
1531 messageTemplate: 1783 messageTemplate:
1532 r"""The method '#name' has fewer named arguments than those of overridde n method '#name2'.""", 1784 r"""The method '#name' has fewer named arguments than those of overridde n method '#name2'.""",
1533 withArguments: _withArgumentsOverrideFewerNamedArguments); 1785 withArguments: _withArgumentsOverrideFewerNamedArguments);
1534 1786
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 1905
1654 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1906 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1655 Message _withArgumentsOverrideTypeVariablesMismatch(String name, String name2) { 1907 Message _withArgumentsOverrideTypeVariablesMismatch(String name, String name2) {
1656 return new Message(codeOverrideTypeVariablesMismatch, 1908 return new Message(codeOverrideTypeVariablesMismatch,
1657 message: 1909 message:
1658 """Declared type variables of '$name' doesn't match those on overridde n method '$name2'.""", 1910 """Declared type variables of '$name' doesn't match those on overridde n method '$name2'.""",
1659 arguments: {'name': name, 'name2': name2}); 1911 arguments: {'name': name, 'name2': name2});
1660 } 1912 }
1661 1913
1662 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1914 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1915 const Template<
1916 Message Function(
1917 Uri uri_,
1918 String name,
1919 String
1920 name2)> templatePartOfLibraryNameMismatch = const Template<
1921 Message Function(Uri uri_, String name, String name2)>(
1922 messageTemplate:
1923 r"""Using '#uri' as part of '#name' but its 'part of' declaration says ' #name2'.""",
1924 withArguments: _withArgumentsPartOfLibraryNameMismatch);
1925
1926 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1927 const Code<Message Function(Uri uri_, String name, String name2)>
1928 codePartOfLibraryNameMismatch =
1929 const Code<Message Function(Uri uri_, String name, String name2)>(
1930 "PartOfLibraryNameMismatch",
1931 templatePartOfLibraryNameMismatch,
1932 );
1933
1934 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1935 Message _withArgumentsPartOfLibraryNameMismatch(
1936 Uri uri_, String name, String name2) {
1937 String uri = relativizeUri(uri_);
1938 return new Message(codePartOfLibraryNameMismatch,
1939 message:
1940 """Using '$uri' as part of '$name' but its 'part of' declaration says '$name2'.""",
1941 arguments: {'uri': uri_, 'name': name, 'name2': name2});
1942 }
1943
1944 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1945 const Code<Null> codePartOfSelf = messagePartOfSelf;
1946
1947 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1948 const MessageCode messagePartOfSelf = const MessageCode("PartOfSelf",
1949 message: r"""A file can't be a part of itself.""");
1950
1951 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1952 const Template<
1953 Message Function(
1954 Uri uri_,
1955 Uri uri2_,
1956 String
1957 string)> templatePartOfUriMismatch = const Template<
1958 Message Function(Uri uri_, Uri uri2_, String string)>(
1959 messageTemplate:
1960 r"""Using '#uri' as part of '#uri2' but its 'part of' declaration says ' #string'.""",
1961 withArguments: _withArgumentsPartOfUriMismatch);
1962
1963 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1964 const Code<Message Function(Uri uri_, Uri uri2_, String string)>
1965 codePartOfUriMismatch =
1966 const Code<Message Function(Uri uri_, Uri uri2_, String string)>(
1967 "PartOfUriMismatch",
1968 templatePartOfUriMismatch,
1969 );
1970
1971 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1972 Message _withArgumentsPartOfUriMismatch(Uri uri_, Uri uri2_, String string) {
1973 String uri = relativizeUri(uri_);
1974 String uri2 = relativizeUri(uri2_);
1975 return new Message(codePartOfUriMismatch,
1976 message:
1977 """Using '$uri' as part of '$uri2' but its 'part of' declaration says '$string'.""",
1978 arguments: {'uri': uri_, 'uri2': uri2_, 'string': string});
1979 }
1980
1981 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1982 const Template<
1983 Message Function(
1984 Uri uri_,
1985 Uri uri2_,
1986 String
1987 name)> templatePartOfUseUri = const Template<
1988 Message Function(Uri uri_, Uri uri2_, String name)>(
1989 messageTemplate:
1990 r"""Using '#uri' as part of '#uri2' but its 'part of' declaration says ' #name'.""",
1991 tipTemplate:
1992 r"""Try changing the 'part of' declaration to use a relative file name." "",
1993 withArguments: _withArgumentsPartOfUseUri);
1994
1995 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1996 const Code<Message Function(Uri uri_, Uri uri2_, String name)>
1997 codePartOfUseUri =
1998 const Code<Message Function(Uri uri_, Uri uri2_, String name)>(
1999 "PartOfUseUri",
2000 templatePartOfUseUri,
2001 );
2002
2003 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2004 Message _withArgumentsPartOfUseUri(Uri uri_, Uri uri2_, String name) {
2005 String uri = relativizeUri(uri_);
2006 String uri2 = relativizeUri(uri2_);
2007 return new Message(codePartOfUseUri,
2008 message:
2009 """Using '$uri' as part of '$uri2' but its 'part of' declaration says '$name'.""",
2010 tip: """Try changing the 'part of' declaration to use a relative file name .""",
2011 arguments: {'uri': uri_, 'uri2': uri2_, 'name': name});
2012 }
2013
2014 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2015 const Template<Message Function(Uri uri_)> templatePartTwice =
2016 const Template<Message Function(Uri uri_)>(
2017 messageTemplate: r"""Can't use '#uri' as a part more than once.""",
2018 withArguments: _withArgumentsPartTwice);
2019
2020 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2021 const Code<Message Function(Uri uri_)> codePartTwice =
2022 const Code<Message Function(Uri uri_)>(
2023 "PartTwice",
2024 templatePartTwice,
2025 );
2026
2027 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2028 Message _withArgumentsPartTwice(Uri uri_) {
2029 String uri = relativizeUri(uri_);
2030 return new Message(codePartTwice,
2031 message: """Can't use '$uri' as a part more than once.""",
2032 arguments: {'uri': uri_});
2033 }
2034
2035 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2036 const Code<Null> codePlatformPrivateLibraryAccess =
2037 messagePlatformPrivateLibraryAccess;
2038
2039 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2040 const MessageCode messagePlatformPrivateLibraryAccess = const MessageCode(
2041 "PlatformPrivateLibraryAccess",
2042 message: r"""Can't access platform private library.""");
2043
2044 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1663 const Code<Null> codePositionalParameterWithEquals = 2045 const Code<Null> codePositionalParameterWithEquals =
1664 messagePositionalParameterWithEquals; 2046 messagePositionalParameterWithEquals;
1665 2047
1666 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2048 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1667 const MessageCode messagePositionalParameterWithEquals = const MessageCode( 2049 const MessageCode messagePositionalParameterWithEquals = const MessageCode(
1668 "PositionalParameterWithEquals", 2050 "PositionalParameterWithEquals",
1669 dart2jsCode: "POSITIONAL_PARAMETER_WITH_EQUALS", 2051 dart2jsCode: "POSITIONAL_PARAMETER_WITH_EQUALS",
1670 message: 2052 message:
1671 r"""Positional optional parameters can't use ':' to specify a default va lue.""", 2053 r"""Positional optional parameters can't use ':' to specify a default va lue.""",
1672 tip: r"""Try replacing ':' with '='."""); 2054 tip: r"""Try replacing ':' with '='.""");
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1761 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2143 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1762 const Code<Null> codeSuperNullAware = messageSuperNullAware; 2144 const Code<Null> codeSuperNullAware = messageSuperNullAware;
1763 2145
1764 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2146 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1765 const MessageCode messageSuperNullAware = const MessageCode("SuperNullAware", 2147 const MessageCode messageSuperNullAware = const MessageCode("SuperNullAware",
1766 dart2jsCode: "*ignored*", 2148 dart2jsCode: "*ignored*",
1767 message: r"""'super' can't be null.""", 2149 message: r"""'super' can't be null.""",
1768 tip: r"""Try replacing '?.' with '.'"""); 2150 tip: r"""Try replacing '?.' with '.'""");
1769 2151
1770 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2152 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2153 const Code<Null> codeSupertypeIsFunction = messageSupertypeIsFunction;
2154
2155 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2156 const MessageCode messageSupertypeIsFunction = const MessageCode(
2157 "SupertypeIsFunction",
2158 message: r"""Can't use a function type as supertype.""");
2159
2160 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2161 const Template<Message Function(String name)> templateSupertypeIsIllegal =
2162 const Template<Message Function(String name)>(
2163 messageTemplate: r"""The type '#name' can't be used as supertype.""",
2164 withArguments: _withArgumentsSupertypeIsIllegal);
2165
2166 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2167 const Code<Message Function(String name)> codeSupertypeIsIllegal =
2168 const Code<Message Function(String name)>(
2169 "SupertypeIsIllegal",
2170 templateSupertypeIsIllegal,
2171 );
2172
2173 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2174 Message _withArgumentsSupertypeIsIllegal(String name) {
2175 return new Message(codeSupertypeIsIllegal,
2176 message: """The type '$name' can't be used as supertype.""",
2177 arguments: {'name': name});
2178 }
2179
2180 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2181 const Template<Message Function(String name)> templateSupertypeIsTypeVariable =
2182 const Template<Message Function(String name)>(
2183 messageTemplate:
2184 r"""The type variable '#name' can't be used as supertype.""",
2185 withArguments: _withArgumentsSupertypeIsTypeVariable);
2186
2187 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2188 const Code<Message Function(String name)> codeSupertypeIsTypeVariable =
2189 const Code<Message Function(String name)>(
2190 "SupertypeIsTypeVariable",
2191 templateSupertypeIsTypeVariable,
2192 );
2193
2194 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2195 Message _withArgumentsSupertypeIsTypeVariable(String name) {
2196 return new Message(codeSupertypeIsTypeVariable,
2197 message: """The type variable '$name' can't be used as supertype.""",
2198 arguments: {'name': name});
2199 }
2200
2201 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1771 const Code<Null> codeTypeAfterVar = messageTypeAfterVar; 2202 const Code<Null> codeTypeAfterVar = messageTypeAfterVar;
1772 2203
1773 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2204 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1774 const MessageCode messageTypeAfterVar = const MessageCode("TypeAfterVar", 2205 const MessageCode messageTypeAfterVar = const MessageCode("TypeAfterVar",
1775 dart2jsCode: "EXTRANEOUS_MODIFIER", 2206 dart2jsCode: "EXTRANEOUS_MODIFIER",
1776 message: r"""Can't have both a type and 'var'.""", 2207 message: r"""Can't have both a type and 'var'.""",
1777 tip: r"""Try removing 'var.'"""); 2208 tip: r"""Try removing 'var.'""");
1778 2209
1779 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2210 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2211 const Template<Message Function(String name)>
2212 templateTypeArgumentsOnTypeVariable =
2213 const Template<Message Function(String name)>(
2214 messageTemplate:
2215 r"""Can't use type arguments with type variable '#name'.""",
2216 withArguments: _withArgumentsTypeArgumentsOnTypeVariable);
2217
2218 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2219 const Code<Message Function(String name)> codeTypeArgumentsOnTypeVariable =
2220 const Code<Message Function(String name)>(
2221 "TypeArgumentsOnTypeVariable",
2222 templateTypeArgumentsOnTypeVariable,
2223 );
2224
2225 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2226 Message _withArgumentsTypeArgumentsOnTypeVariable(String name) {
2227 return new Message(codeTypeArgumentsOnTypeVariable,
2228 message: """Can't use type arguments with type variable '$name'.""",
2229 arguments: {'name': name});
2230 }
2231
2232 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1780 const Template<Message Function(String name)> templateTypeNotFound = 2233 const Template<Message Function(String name)> templateTypeNotFound =
1781 const Template<Message Function(String name)>( 2234 const Template<Message Function(String name)>(
1782 messageTemplate: r"""Type '#name' not found.""", 2235 messageTemplate: r"""Type '#name' not found.""",
1783 withArguments: _withArgumentsTypeNotFound); 2236 withArguments: _withArgumentsTypeNotFound);
1784 2237
1785 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2238 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1786 const Code<Message Function(String name)> codeTypeNotFound = 2239 const Code<Message Function(String name)> codeTypeNotFound =
1787 const Code<Message Function(String name)>( 2240 const Code<Message Function(String name)>(
1788 "TypeNotFound", 2241 "TypeNotFound",
1789 templateTypeNotFound, 2242 templateTypeNotFound,
1790 ); 2243 );
1791 2244
1792 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2245 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1793 Message _withArgumentsTypeNotFound(String name) { 2246 Message _withArgumentsTypeNotFound(String name) {
1794 return new Message(codeTypeNotFound, 2247 return new Message(codeTypeNotFound,
1795 message: """Type '$name' not found.""", arguments: {'name': name}); 2248 message: """Type '$name' not found.""", arguments: {'name': name});
1796 } 2249 }
1797 2250
1798 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2251 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1799 const Code<Null> codeTypeRequired = messageTypeRequired; 2252 const Code<Null> codeTypeRequired = messageTypeRequired;
1800 2253
1801 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2254 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1802 const MessageCode messageTypeRequired = const MessageCode("TypeRequired", 2255 const MessageCode messageTypeRequired = const MessageCode("TypeRequired",
1803 message: r"""A type or modifier is required here.""", 2256 message: r"""A type or modifier is required here.""",
1804 tip: r"""Try adding a type, 'var', 'const', or 'final'."""); 2257 tip: r"""Try adding a type, 'var', 'const', or 'final'.""");
1805 2258
1806 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2259 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2260 const Code<Null> codeTypeVariableDuplicatedName =
2261 messageTypeVariableDuplicatedName;
2262
2263 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2264 const MessageCode messageTypeVariableDuplicatedName = const MessageCode(
2265 "TypeVariableDuplicatedName",
2266 message: r"""A type variable can't have the same name as another.""");
2267
2268 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2269 const Template<Message Function(String name)>
2270 templateTypeVariableDuplicatedNameCause =
2271 const Template<Message Function(String name)>(
2272 messageTemplate: r"""The other type variable named '#name'.""",
2273 withArguments: _withArgumentsTypeVariableDuplicatedNameCause);
2274
2275 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2276 const Code<Message Function(String name)> codeTypeVariableDuplicatedNameCause =
2277 const Code<Message Function(String name)>(
2278 "TypeVariableDuplicatedNameCause",
2279 templateTypeVariableDuplicatedNameCause,
2280 );
2281
2282 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2283 Message _withArgumentsTypeVariableDuplicatedNameCause(String name) {
2284 return new Message(codeTypeVariableDuplicatedNameCause,
2285 message: """The other type variable named '$name'.""",
2286 arguments: {'name': name});
2287 }
2288
2289 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2290 const Code<Null> codeTypeVariableSameNameAsEnclosing =
2291 messageTypeVariableSameNameAsEnclosing;
2292
2293 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2294 const MessageCode messageTypeVariableSameNameAsEnclosing = const MessageCode(
2295 "TypeVariableSameNameAsEnclosing",
2296 message:
2297 r"""A type variable can't have the same name as its enclosing declaratio n.""");
2298
2299 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2300 const Code<Null> codeTypedefNotFunction = messageTypedefNotFunction;
2301
2302 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2303 const MessageCode messageTypedefNotFunction = const MessageCode(
2304 "TypedefNotFunction",
2305 message: r"""Can't create typedef from non-function type.""");
2306
2307 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1807 const Code<Null> codeUnexpectedDollarInString = messageUnexpectedDollarInString; 2308 const Code<Null> codeUnexpectedDollarInString = messageUnexpectedDollarInString;
1808 2309
1809 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2310 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1810 const MessageCode messageUnexpectedDollarInString = const MessageCode( 2311 const MessageCode messageUnexpectedDollarInString = const MessageCode(
1811 "UnexpectedDollarInString", 2312 "UnexpectedDollarInString",
1812 dart2jsCode: "MALFORMED_STRING_LITERAL", 2313 dart2jsCode: "MALFORMED_STRING_LITERAL",
1813 message: 2314 message:
1814 r"""A '$' has special meaning inside a string, and must be followed by a n identifier or an expression in curly braces ({}).""", 2315 r"""A '$' has special meaning inside a string, and must be followed by a n identifier or an expression in curly braces ({}).""",
1815 tip: r"""Try adding a backslash (\) to escape the '$'."""); 2316 tip: r"""Try adding a backslash (\) to escape the '$'.""");
1816 2317
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 2433 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
1933 2434
1934 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2435 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1935 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 2436 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
1936 2437
1937 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2438 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1938 const MessageCode messageYieldNotGenerator = const MessageCode( 2439 const MessageCode messageYieldNotGenerator = const MessageCode(
1939 "YieldNotGenerator", 2440 "YieldNotGenerator",
1940 dart2jsCode: "*ignored*", 2441 dart2jsCode: "*ignored*",
1941 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 2442 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698