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

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

Issue 2979003002: support resolving .packages in FE (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 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 1555
1556 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1556 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1557 const MessageCode messageInvalidInlineFunctionType = const MessageCode( 1557 const MessageCode messageInvalidInlineFunctionType = const MessageCode(
1558 "InvalidInlineFunctionType", 1558 "InvalidInlineFunctionType",
1559 dart2jsCode: "INVALID_INLINE_FUNCTION_TYPE", 1559 dart2jsCode: "INVALID_INLINE_FUNCTION_TYPE",
1560 message: r"""Invalid inline function type.""", 1560 message: r"""Invalid inline function type.""",
1561 tip: 1561 tip:
1562 r"""Try changing the inline function type (as in 'int f()') to a prefixe d function type using the `Function` keyword (as in 'int Function() f')."""); 1562 r"""Try changing the inline function type (as in 'int f()') to a prefixe d function type using the `Function` keyword (as in 'int Function() f').""");
1563 1563
1564 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1564 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1565 const Template<Message Function(Uri uri_, String string)>
1566 templateInvalidPackagesFile =
1567 const Template<Message Function(Uri uri_, String string)>(
1568 messageTemplate: r"""Invalid .packages file '#uri':
1569 #string.""", withArguments: _withArgumentsInvalidPackagesFile);
1570
1571 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1572 const Code<Message Function(Uri uri_, String string)> codeInvalidPackagesFile =
1573 const Code<Message Function(Uri uri_, String string)>(
1574 "InvalidPackagesFile",
1575 templateInvalidPackagesFile,
1576 );
1577
1578 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1579 Message _withArgumentsInvalidPackagesFile(Uri uri_, String string) {
1580 String uri = relativizeUri(uri_);
1581 return new Message(codeInvalidPackagesFile,
1582 message: """Invalid .packages file '$uri':
1583 $string.""", arguments: {'uri': uri_, 'string': string});
1584 }
1585
1586 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1565 const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier; 1587 const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier;
1566 1588
1567 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1589 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1568 const MessageCode messageInvalidSyncModifier = const MessageCode( 1590 const MessageCode messageInvalidSyncModifier = const MessageCode(
1569 "InvalidSyncModifier", 1591 "InvalidSyncModifier",
1570 dart2jsCode: "INVALID_SYNC_MODIFIER", 1592 dart2jsCode: "INVALID_SYNC_MODIFIER",
1571 message: r"""Invalid modifier 'sync'.""", 1593 message: r"""Invalid modifier 'sync'.""",
1572 tip: r"""Try replacing 'sync' with 'sync*'."""); 1594 tip: r"""Try replacing 'sync' with 'sync*'.""");
1573 1595
1574 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1596 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 ); 1724 );
1703 1725
1704 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1726 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1705 Message _withArgumentsMissingInputFile(String string) { 1727 Message _withArgumentsMissingInputFile(String string) {
1706 return new Message(codeMissingInputFile, 1728 return new Message(codeMissingInputFile,
1707 message: """Input file not found: $string.""", 1729 message: """Input file not found: $string.""",
1708 arguments: {'string': string}); 1730 arguments: {'string': string});
1709 } 1731 }
1710 1732
1711 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1733 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1734 const Code<Null> codeMissingInputs = messageMissingInputs;
1735
1736 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1737 const MessageCode messageMissingInputs = const MessageCode("MissingInputs",
1738 message: r"""No input files provided to the compiler.""");
1739
1740 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1712 const Code<Null> codeMissingMain = messageMissingMain; 1741 const Code<Null> codeMissingMain = messageMissingMain;
1713 1742
1714 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1743 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1715 const MessageCode messageMissingMain = const MessageCode("MissingMain", 1744 const MessageCode messageMissingMain = const MessageCode("MissingMain",
1716 dart2jsCode: "MISSING_MAIN", 1745 dart2jsCode: "MISSING_MAIN",
1717 message: r"""No 'main' method found.""", 1746 message: r"""No 'main' method found.""",
1718 tip: r"""Try adding a method named 'main' to your program."""); 1747 tip: r"""Try adding a method named 'main' to your program.""");
1719 1748
1720 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1749 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1721 const Template< 1750 const Template<
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after
2794 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 2823 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
2795 2824
2796 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2825 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2797 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 2826 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
2798 2827
2799 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2828 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2800 const MessageCode messageYieldNotGenerator = const MessageCode( 2829 const MessageCode messageYieldNotGenerator = const MessageCode(
2801 "YieldNotGenerator", 2830 "YieldNotGenerator",
2802 dart2jsCode: "*ignored*", 2831 dart2jsCode: "*ignored*",
2803 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 2832 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698