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

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

Issue 2975163002: Remove deprecated API from scope. (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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22 matching lines...) Expand all
33 33
34 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 34 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
35 const Code<Null> codeAbstractNotSync = messageAbstractNotSync; 35 const Code<Null> codeAbstractNotSync = messageAbstractNotSync;
36 36
37 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 37 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
38 const MessageCode messageAbstractNotSync = const MessageCode("AbstractNotSync", 38 const MessageCode messageAbstractNotSync = const MessageCode("AbstractNotSync",
39 dart2jsCode: "*ignored*", 39 dart2jsCode: "*ignored*",
40 message: r"""Abstract methods can't use 'async', 'async*', or 'sync*'."""); 40 message: r"""Abstract methods can't use 'async', 'async*', or 'sync*'.""");
41 41
42 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 42 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
43 const Template<Message Function(String name)> templateAccessError =
44 const Template<Message Function(String name)>(
45 messageTemplate: r"""Access error: '#name'.""",
46 withArguments: _withArgumentsAccessError);
47
48 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
49 const Code<Message Function(String name)> codeAccessError =
50 const Code<Message Function(String name)>(
51 "AccessError",
52 templateAccessError,
53 );
54
55 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
56 Message _withArgumentsAccessError(String name) {
57 return new Message(codeAccessError,
58 message: """Access error: '$name'.""", arguments: {'name': name});
59 }
60
61 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
43 const Template< 62 const Template<
44 Message Function( 63 Message Function(
45 int 64 int
46 codePoint)> templateAsciiControlCharacter = const Template< 65 codePoint)> templateAsciiControlCharacter = const Template<
47 Message Function(int codePoint)>( 66 Message Function(int codePoint)>(
48 messageTemplate: 67 messageTemplate:
49 r"""The control character #unicode can only be used in strings and comme nts.""", 68 r"""The control character #unicode can only be used in strings and comme nts.""",
50 withArguments: _withArgumentsAsciiControlCharacter); 69 withArguments: _withArgumentsAsciiControlCharacter);
51 70
52 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 71 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2203 2222
2204 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2223 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2205 const MessageCode messagePositionalParameterWithEquals = const MessageCode( 2224 const MessageCode messagePositionalParameterWithEquals = const MessageCode(
2206 "PositionalParameterWithEquals", 2225 "PositionalParameterWithEquals",
2207 dart2jsCode: "POSITIONAL_PARAMETER_WITH_EQUALS", 2226 dart2jsCode: "POSITIONAL_PARAMETER_WITH_EQUALS",
2208 message: 2227 message:
2209 r"""Positional optional parameters can't use ':' to specify a default va lue.""", 2228 r"""Positional optional parameters can't use ':' to specify a default va lue.""",
2210 tip: r"""Try replacing ':' with '='."""); 2229 tip: r"""Try replacing ':' with '='.""");
2211 2230
2212 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2231 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2232 const Template<Message Function(String name)> templatePreviousUseOfName =
2233 const Template<Message Function(String name)>(
2234 messageTemplate: r"""Previous use of '#name'.""",
2235 withArguments: _withArgumentsPreviousUseOfName);
2236
2237 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2238 const Code<Message Function(String name)> codePreviousUseOfName =
2239 const Code<Message Function(String name)>(
2240 "PreviousUseOfName",
2241 templatePreviousUseOfName,
2242 );
2243
2244 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2245 Message _withArgumentsPreviousUseOfName(String name) {
2246 return new Message(codePreviousUseOfName,
2247 message: """Previous use of '$name'.""", arguments: {'name': name});
2248 }
2249
2250 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2213 const Code<Null> codePrivateNamedParameter = messagePrivateNamedParameter; 2251 const Code<Null> codePrivateNamedParameter = messagePrivateNamedParameter;
2214 2252
2215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2253 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2216 const MessageCode messagePrivateNamedParameter = const MessageCode( 2254 const MessageCode messagePrivateNamedParameter = const MessageCode(
2217 "PrivateNamedParameter", 2255 "PrivateNamedParameter",
2218 dart2jsCode: "*ignored*", 2256 dart2jsCode: "*ignored*",
2219 message: r"""An optional named parameter can't start with '_'."""); 2257 message: r"""An optional named parameter can't start with '_'.""");
2220 2258
2221 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2259 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2222 const Template<Message Function(String name)> 2260 const Template<Message Function(String name)>
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 2794 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
2757 2795
2758 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2796 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2759 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 2797 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
2760 2798
2761 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2799 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2762 const MessageCode messageYieldNotGenerator = const MessageCode( 2800 const MessageCode messageYieldNotGenerator = const MessageCode(
2763 "YieldNotGenerator", 2801 "YieldNotGenerator",
2764 dart2jsCode: "*ignored*", 2802 dart2jsCode: "*ignored*",
2765 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 2803 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698