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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 176 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
177 Message _withArgumentsBuiltInIdentifierInDeclaration(Token token) { | 177 Message _withArgumentsBuiltInIdentifierInDeclaration(Token token) { |
178 String lexeme = token.lexeme; | 178 String lexeme = token.lexeme; |
179 return new Message(codeBuiltInIdentifierInDeclaration, | 179 return new Message(codeBuiltInIdentifierInDeclaration, |
180 message: """Can't use '$lexeme' as a name here.""", | 180 message: """Can't use '$lexeme' as a name here.""", |
181 arguments: {'token': token}); | 181 arguments: {'token': token}); |
182 } | 182 } |
183 | 183 |
184 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 184 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 185 const Template<Message Function(String string)> templateCannotReadPackagesFile = |
| 186 const Template<Message Function(String string)>( |
| 187 messageTemplate: r"""Unable to read '.packages' file: |
| 188 #string.""", withArguments: _withArgumentsCannotReadPackagesFile); |
| 189 |
| 190 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 191 const Code<Message Function(String string)> codeCannotReadPackagesFile = |
| 192 const Code<Message Function(String string)>( |
| 193 "CannotReadPackagesFile", |
| 194 templateCannotReadPackagesFile, |
| 195 ); |
| 196 |
| 197 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 198 Message _withArgumentsCannotReadPackagesFile(String string) { |
| 199 return new Message(codeCannotReadPackagesFile, |
| 200 message: """Unable to read '.packages' file: |
| 201 $string.""", arguments: {'string': string}); |
| 202 } |
| 203 |
| 204 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 205 const Code<Null> codeCantInferPackagesFromManyInputs = |
| 206 messageCantInferPackagesFromManyInputs; |
| 207 |
| 208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( |
| 210 "CantInferPackagesFromManyInputs", |
| 211 message: |
| 212 r"""Cannot infer a .packages file when compiling multiple inputs.""", |
| 213 tip: r"""Try specifying the file explicitly with the --packages option."""); |
| 214 |
| 215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
185 const Code<Null> codeCatchSyntax = messageCatchSyntax; | 216 const Code<Null> codeCatchSyntax = messageCatchSyntax; |
186 | 217 |
187 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 218 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
188 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", | 219 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", |
189 dart2jsCode: "*ignored*", | 220 dart2jsCode: "*ignored*", |
190 message: | 221 message: |
191 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", | 222 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", |
192 tip: | 223 tip: |
193 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); | 224 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); |
194 | 225 |
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1308 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1278 Message _withArgumentsImportHidesImport(String name, Uri uri_, Uri uri2_) { | 1309 Message _withArgumentsImportHidesImport(String name, Uri uri_, Uri uri2_) { |
1279 String uri = relativizeUri(uri_); | 1310 String uri = relativizeUri(uri_); |
1280 String uri2 = relativizeUri(uri2_); | 1311 String uri2 = relativizeUri(uri2_); |
1281 return new Message(codeImportHidesImport, | 1312 return new Message(codeImportHidesImport, |
1282 message: """Import of '$name' (from '$uri') hides import from '$uri2'.""", | 1313 message: """Import of '$name' (from '$uri') hides import from '$uri2'.""", |
1283 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}); | 1314 arguments: {'name': name, 'uri': uri_, 'uri2': uri2_}); |
1284 } | 1315 } |
1285 | 1316 |
1286 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1317 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1318 const Template<Message Function(String string)> templateInputFileNotFound = |
| 1319 const Template<Message Function(String string)>( |
| 1320 messageTemplate: r"""Input file not found: #string.""", |
| 1321 withArguments: _withArgumentsInputFileNotFound); |
| 1322 |
| 1323 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1324 const Code<Message Function(String string)> codeInputFileNotFound = |
| 1325 const Code<Message Function(String string)>( |
| 1326 "InputFileNotFound", |
| 1327 templateInputFileNotFound, |
| 1328 ); |
| 1329 |
| 1330 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1331 Message _withArgumentsInputFileNotFound(String string) { |
| 1332 return new Message(codeInputFileNotFound, |
| 1333 message: """Input file not found: $string.""", |
| 1334 arguments: {'string': string}); |
| 1335 } |
| 1336 |
| 1337 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1287 const Code<Null> codeInternalProblemAlreadyInitialized = | 1338 const Code<Null> codeInternalProblemAlreadyInitialized = |
1288 messageInternalProblemAlreadyInitialized; | 1339 messageInternalProblemAlreadyInitialized; |
1289 | 1340 |
1290 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1341 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1291 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode( | 1342 const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode( |
1292 "InternalProblemAlreadyInitialized", | 1343 "InternalProblemAlreadyInitialized", |
1293 message: r"""Attempt to set initializer on field without initializer."""); | 1344 message: r"""Attempt to set initializer on field without initializer."""); |
1294 | 1345 |
1295 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1346 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1296 const Code<Null> codeInternalProblemBodyOnAbstractMethod = | 1347 const Code<Null> codeInternalProblemBodyOnAbstractMethod = |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 | 1624 |
1574 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1625 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1575 const MessageCode messageInvalidInlineFunctionType = const MessageCode( | 1626 const MessageCode messageInvalidInlineFunctionType = const MessageCode( |
1576 "InvalidInlineFunctionType", | 1627 "InvalidInlineFunctionType", |
1577 dart2jsCode: "INVALID_INLINE_FUNCTION_TYPE", | 1628 dart2jsCode: "INVALID_INLINE_FUNCTION_TYPE", |
1578 message: r"""Invalid inline function type.""", | 1629 message: r"""Invalid inline function type.""", |
1579 tip: | 1630 tip: |
1580 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')."""); | 1631 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')."""); |
1581 | 1632 |
1582 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1633 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1634 const Template<Message Function(Uri uri_, String string)> |
| 1635 templateInvalidPackageUri = |
| 1636 const Template<Message Function(Uri uri_, String string)>( |
| 1637 messageTemplate: r"""Invalid package Uri '#uri': |
| 1638 #string.""", withArguments: _withArgumentsInvalidPackageUri); |
| 1639 |
| 1640 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1641 const Code<Message Function(Uri uri_, String string)> codeInvalidPackageUri = |
| 1642 const Code<Message Function(Uri uri_, String string)>( |
| 1643 "InvalidPackageUri", |
| 1644 templateInvalidPackageUri, |
| 1645 ); |
| 1646 |
| 1647 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1648 Message _withArgumentsInvalidPackageUri(Uri uri_, String string) { |
| 1649 String uri = relativizeUri(uri_); |
| 1650 return new Message(codeInvalidPackageUri, |
| 1651 message: """Invalid package Uri '$uri': |
| 1652 $string.""", arguments: {'uri': uri_, 'string': string}); |
| 1653 } |
| 1654 |
| 1655 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1583 const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier; | 1656 const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier; |
1584 | 1657 |
1585 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1658 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1586 const MessageCode messageInvalidSyncModifier = const MessageCode( | 1659 const MessageCode messageInvalidSyncModifier = const MessageCode( |
1587 "InvalidSyncModifier", | 1660 "InvalidSyncModifier", |
1588 dart2jsCode: "INVALID_SYNC_MODIFIER", | 1661 dart2jsCode: "INVALID_SYNC_MODIFIER", |
1589 message: r"""Invalid modifier 'sync'.""", | 1662 message: r"""Invalid modifier 'sync'.""", |
1590 tip: r"""Try replacing 'sync' with 'sync*'."""); | 1663 tip: r"""Try replacing 'sync' with 'sync*'."""); |
1591 | 1664 |
1592 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1665 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1700 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1773 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1701 const MessageCode messageMissingExponent = const MessageCode("MissingExponent", | 1774 const MessageCode messageMissingExponent = const MessageCode("MissingExponent", |
1702 analyzerCode: "MISSING_DIGIT", | 1775 analyzerCode: "MISSING_DIGIT", |
1703 dart2jsCode: "EXPONENT_MISSING", | 1776 dart2jsCode: "EXPONENT_MISSING", |
1704 message: | 1777 message: |
1705 r"""Numbers in exponential notation should always contain an exponent (a
n integer number with an optional sign).""", | 1778 r"""Numbers in exponential notation should always contain an exponent (a
n integer number with an optional sign).""", |
1706 tip: | 1779 tip: |
1707 r"""Make sure there is an exponent, and remove any whitespace before it.
"""); | 1780 r"""Make sure there is an exponent, and remove any whitespace before it.
"""); |
1708 | 1781 |
1709 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1782 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1710 const Template<Message Function(String string)> templateMissingInputFile = | 1783 const Code<Null> codeMissingInput = messageMissingInput; |
1711 const Template<Message Function(String string)>( | |
1712 messageTemplate: r"""Input file not found: #string.""", | |
1713 withArguments: _withArgumentsMissingInputFile); | |
1714 | 1784 |
1715 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1785 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1716 const Code<Message Function(String string)> codeMissingInputFile = | 1786 const MessageCode messageMissingInput = const MessageCode("MissingInput", |
1717 const Code<Message Function(String string)>( | 1787 message: r"""No input file provided to the compiler."""); |
1718 "MissingInputFile", | |
1719 templateMissingInputFile, | |
1720 ); | |
1721 | |
1722 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1723 Message _withArgumentsMissingInputFile(String string) { | |
1724 return new Message(codeMissingInputFile, | |
1725 message: """Input file not found: $string.""", | |
1726 arguments: {'string': string}); | |
1727 } | |
1728 | 1788 |
1729 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1789 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1730 const Code<Null> codeMissingMain = messageMissingMain; | 1790 const Code<Null> codeMissingMain = messageMissingMain; |
1731 | 1791 |
1732 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1792 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1733 const MessageCode messageMissingMain = const MessageCode("MissingMain", | 1793 const MessageCode messageMissingMain = const MessageCode("MissingMain", |
1734 dart2jsCode: "MISSING_MAIN", | 1794 dart2jsCode: "MISSING_MAIN", |
1735 message: r"""No 'main' method found.""", | 1795 message: r"""No 'main' method found.""", |
1736 tip: r"""Try adding a method named 'main' to your program."""); | 1796 tip: r"""Try adding a method named 'main' to your program."""); |
1737 | 1797 |
(...skipping 15 matching lines...) Expand all Loading... |
1753 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1813 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1754 Message _withArgumentsMissingPartOf(Uri uri_) { | 1814 Message _withArgumentsMissingPartOf(Uri uri_) { |
1755 String uri = relativizeUri(uri_); | 1815 String uri = relativizeUri(uri_); |
1756 return new Message(codeMissingPartOf, | 1816 return new Message(codeMissingPartOf, |
1757 message: | 1817 message: |
1758 """Can't use '$uri' as a part, because it has no 'part of' declaration
.""", | 1818 """Can't use '$uri' as a part, because it has no 'part of' declaration
.""", |
1759 arguments: {'uri': uri_}); | 1819 arguments: {'uri': uri_}); |
1760 } | 1820 } |
1761 | 1821 |
1762 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1822 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1763 const Template<Message Function(String string)> templateMissingSdkRoot = | |
1764 const Template<Message Function(String string)>( | |
1765 messageTemplate: r"""SDK root directory not found: #string.""", | |
1766 withArguments: _withArgumentsMissingSdkRoot); | |
1767 | |
1768 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1769 const Code<Message Function(String string)> codeMissingSdkRoot = | |
1770 const Code<Message Function(String string)>( | |
1771 "MissingSdkRoot", | |
1772 templateMissingSdkRoot, | |
1773 ); | |
1774 | |
1775 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1776 Message _withArgumentsMissingSdkRoot(String string) { | |
1777 return new Message(codeMissingSdkRoot, | |
1778 message: """SDK root directory not found: $string.""", | |
1779 arguments: {'string': string}); | |
1780 } | |
1781 | |
1782 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1783 const Template<Message Function(String string)> templateMissingSdkSummary = | |
1784 const Template<Message Function(String string)>( | |
1785 messageTemplate: r"""SDK summary not found: #string.""", | |
1786 withArguments: _withArgumentsMissingSdkSummary); | |
1787 | |
1788 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1789 const Code<Message Function(String string)> codeMissingSdkSummary = | |
1790 const Code<Message Function(String string)>( | |
1791 "MissingSdkSummary", | |
1792 templateMissingSdkSummary, | |
1793 ); | |
1794 | |
1795 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1796 Message _withArgumentsMissingSdkSummary(String string) { | |
1797 return new Message(codeMissingSdkSummary, | |
1798 message: """SDK summary not found: $string.""", | |
1799 arguments: {'string': string}); | |
1800 } | |
1801 | |
1802 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | |
1803 const Code<Null> codeNamedFunctionExpression = messageNamedFunctionExpression; | 1823 const Code<Null> codeNamedFunctionExpression = messageNamedFunctionExpression; |
1804 | 1824 |
1805 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1825 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1806 const MessageCode messageNamedFunctionExpression = const MessageCode( | 1826 const MessageCode messageNamedFunctionExpression = const MessageCode( |
1807 "NamedFunctionExpression", | 1827 "NamedFunctionExpression", |
1808 dart2jsCode: "*ignored*", | 1828 dart2jsCode: "*ignored*", |
1809 message: r"""A function expression can't have a name."""); | 1829 message: r"""A function expression can't have a name."""); |
1810 | 1830 |
1811 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1831 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1812 const Template< | 1832 const Template< |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2126 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2107 Message _withArgumentsOverrideTypeVariablesMismatch(String name, String name2) { | 2127 Message _withArgumentsOverrideTypeVariablesMismatch(String name, String name2) { |
2108 return new Message(codeOverrideTypeVariablesMismatch, | 2128 return new Message(codeOverrideTypeVariablesMismatch, |
2109 message: | 2129 message: |
2110 """Declared type variables of '$name' doesn't match those on overridde
n method '$name2'.""", | 2130 """Declared type variables of '$name' doesn't match those on overridde
n method '$name2'.""", |
2111 arguments: {'name': name, 'name2': name2}); | 2131 arguments: {'name': name, 'name2': name2}); |
2112 } | 2132 } |
2113 | 2133 |
2114 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2134 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2115 const Template< | 2135 const Template< |
| 2136 Message Function(String name, Uri uri_)> templatePackageNotFound = |
| 2137 const Template<Message Function(String name, Uri uri_)>( |
| 2138 messageTemplate: |
| 2139 r"""Could not resolve the package '#name' in '#uri'.""", |
| 2140 withArguments: _withArgumentsPackageNotFound); |
| 2141 |
| 2142 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2143 const Code<Message Function(String name, Uri uri_)> codePackageNotFound = |
| 2144 const Code<Message Function(String name, Uri uri_)>( |
| 2145 "PackageNotFound", |
| 2146 templatePackageNotFound, |
| 2147 ); |
| 2148 |
| 2149 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2150 Message _withArgumentsPackageNotFound(String name, Uri uri_) { |
| 2151 String uri = relativizeUri(uri_); |
| 2152 return new Message(codePackageNotFound, |
| 2153 message: """Could not resolve the package '$name' in '$uri'.""", |
| 2154 arguments: {'name': name, 'uri': uri_}); |
| 2155 } |
| 2156 |
| 2157 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2158 const Template< |
2116 Message Function( | 2159 Message Function( |
2117 Uri uri_, | 2160 Uri uri_, |
2118 String name, | 2161 String name, |
2119 String | 2162 String |
2120 name2)> templatePartOfLibraryNameMismatch = const Template< | 2163 name2)> templatePartOfLibraryNameMismatch = const Template< |
2121 Message Function(Uri uri_, String name, String name2)>( | 2164 Message Function(Uri uri_, String name, String name2)>( |
2122 messageTemplate: | 2165 messageTemplate: |
2123 r"""Using '#uri' as part of '#name' but its 'part of' declaration says '
#name2'.""", | 2166 r"""Using '#uri' as part of '#name' but its 'part of' declaration says '
#name2'.""", |
2124 withArguments: _withArgumentsPartOfLibraryNameMismatch); | 2167 withArguments: _withArgumentsPartOfLibraryNameMismatch); |
2125 | 2168 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2319 const Code<Null> codeReturnTypeFunctionExpression = | 2362 const Code<Null> codeReturnTypeFunctionExpression = |
2320 messageReturnTypeFunctionExpression; | 2363 messageReturnTypeFunctionExpression; |
2321 | 2364 |
2322 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2365 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2323 const MessageCode messageReturnTypeFunctionExpression = const MessageCode( | 2366 const MessageCode messageReturnTypeFunctionExpression = const MessageCode( |
2324 "ReturnTypeFunctionExpression", | 2367 "ReturnTypeFunctionExpression", |
2325 dart2jsCode: "*ignored*", | 2368 dart2jsCode: "*ignored*", |
2326 message: r"""A function expression can't have a return type."""); | 2369 message: r"""A function expression can't have a return type."""); |
2327 | 2370 |
2328 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2371 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2372 const Template<Message Function(String string)> templateSdkRootNotFound = |
| 2373 const Template<Message Function(String string)>( |
| 2374 messageTemplate: r"""SDK root directory not found: #string.""", |
| 2375 withArguments: _withArgumentsSdkRootNotFound); |
| 2376 |
| 2377 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2378 const Code<Message Function(String string)> codeSdkRootNotFound = |
| 2379 const Code<Message Function(String string)>( |
| 2380 "SdkRootNotFound", |
| 2381 templateSdkRootNotFound, |
| 2382 ); |
| 2383 |
| 2384 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2385 Message _withArgumentsSdkRootNotFound(String string) { |
| 2386 return new Message(codeSdkRootNotFound, |
| 2387 message: """SDK root directory not found: $string.""", |
| 2388 arguments: {'string': string}); |
| 2389 } |
| 2390 |
| 2391 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2392 const Template<Message Function(String string)> templateSdkSummaryNotFound = |
| 2393 const Template<Message Function(String string)>( |
| 2394 messageTemplate: r"""SDK summary not found: #string.""", |
| 2395 withArguments: _withArgumentsSdkSummaryNotFound); |
| 2396 |
| 2397 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2398 const Code<Message Function(String string)> codeSdkSummaryNotFound = |
| 2399 const Code<Message Function(String string)>( |
| 2400 "SdkSummaryNotFound", |
| 2401 templateSdkSummaryNotFound, |
| 2402 ); |
| 2403 |
| 2404 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2405 Message _withArgumentsSdkSummaryNotFound(String string) { |
| 2406 return new Message(codeSdkSummaryNotFound, |
| 2407 message: """SDK summary not found: $string.""", |
| 2408 arguments: {'string': string}); |
| 2409 } |
| 2410 |
| 2411 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2329 const Template<Message Function(String name)> templateSetterNotFound = | 2412 const Template<Message Function(String name)> templateSetterNotFound = |
2330 const Template<Message Function(String name)>( | 2413 const Template<Message Function(String name)>( |
2331 messageTemplate: r"""Setter not found: '#name'.""", | 2414 messageTemplate: r"""Setter not found: '#name'.""", |
2332 withArguments: _withArgumentsSetterNotFound); | 2415 withArguments: _withArgumentsSetterNotFound); |
2333 | 2416 |
2334 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2417 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2335 const Code<Message Function(String name)> codeSetterNotFound = | 2418 const Code<Message Function(String name)> codeSetterNotFound = |
2336 const Code<Message Function(String name)>( | 2419 const Code<Message Function(String name)>( |
2337 "SetterNotFound", | 2420 "SetterNotFound", |
2338 templateSetterNotFound, | 2421 templateSetterNotFound, |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2819 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 2902 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
2820 | 2903 |
2821 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2904 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2822 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 2905 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
2823 | 2906 |
2824 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2907 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2825 const MessageCode messageYieldNotGenerator = const MessageCode( | 2908 const MessageCode messageYieldNotGenerator = const MessageCode( |
2826 "YieldNotGenerator", | 2909 "YieldNotGenerator", |
2827 dart2jsCode: "*ignored*", | 2910 dart2jsCode: "*ignored*", |
2828 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 2911 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
OLD | NEW |