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

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

Issue 2996063002: Implement type arguments in redirecting factories.
Patch Set: Address Johnni's comments. Created 3 years, 3 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 251 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
252 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", 252 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax",
253 dart2jsCode: "*ignored*", 253 dart2jsCode: "*ignored*",
254 message: 254 message:
255 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi er)'.""", 255 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi er)'.""",
256 tip: 256 tip:
257 r"""No types are needed, the first is given by 'on', the second is alway s 'StackTrace'."""); 257 r"""No types are needed, the first is given by 'on', the second is alway s 'StackTrace'.""");
258 258
259 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 259 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
260 const Template<Message Function(String name)> templateClassNotFound =
261 const Template<Message Function(String name)>(
262 messageTemplate: r"""Couldn't find a class named '#name'.""",
263 withArguments: _withArgumentsClassNotFound);
264
265 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
266 const Code<Message Function(String name)> codeClassNotFound =
267 const Code<Message Function(String name)>(
268 "ClassNotFound",
269 templateClassNotFound,
270 );
271
272 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
273 Message _withArgumentsClassNotFound(String name) {
274 return new Message(codeClassNotFound,
275 message: """Couldn't find a class named '$name'.""",
276 arguments: {'name': name});
277 }
278
279 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
260 const Template<Message Function(String name)> templateConflictsWithConstructor = 280 const Template<Message Function(String name)> templateConflictsWithConstructor =
261 const Template<Message Function(String name)>( 281 const Template<Message Function(String name)>(
262 messageTemplate: r"""Conflicts with constructor '#name'.""", 282 messageTemplate: r"""Conflicts with constructor '#name'.""",
263 withArguments: _withArgumentsConflictsWithConstructor); 283 withArguments: _withArgumentsConflictsWithConstructor);
264 284
265 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 285 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
266 const Code<Message Function(String name)> codeConflictsWithConstructor = 286 const Code<Message Function(String name)> codeConflictsWithConstructor =
267 const Code<Message Function(String name)>( 287 const Code<Message Function(String name)>(
268 "ConflictsWithConstructor", 288 "ConflictsWithConstructor",
269 templateConflictsWithConstructor, 289 templateConflictsWithConstructor,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 417 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
398 const MessageCode messageConstFieldWithoutInitializer = const MessageCode( 418 const MessageCode messageConstFieldWithoutInitializer = const MessageCode(
399 "ConstFieldWithoutInitializer", 419 "ConstFieldWithoutInitializer",
400 dart2jsCode: "*ignored*", 420 dart2jsCode: "*ignored*",
401 message: r"""A 'const' field must be initialized.""", 421 message: r"""A 'const' field must be initialized.""",
402 tip: r"""Try adding '= <initializer>'."""); 422 tip: r"""Try adding '= <initializer>'.""");
403 423
404 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 424 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
405 const Template<Message Function(String name)> templateConstructorNotFound = 425 const Template<Message Function(String name)> templateConstructorNotFound =
406 const Template<Message Function(String name)>( 426 const Template<Message Function(String name)>(
407 messageTemplate: r"""Couldn't find constructor '#name'.""", 427 messageTemplate: r"""Couldn't find a constructor named '#name'.""",
408 withArguments: _withArgumentsConstructorNotFound); 428 withArguments: _withArgumentsConstructorNotFound);
409 429
410 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 430 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
411 const Code<Message Function(String name)> codeConstructorNotFound = 431 const Code<Message Function(String name)> codeConstructorNotFound =
412 const Code<Message Function(String name)>( 432 const Code<Message Function(String name)>(
413 "ConstructorNotFound", 433 "ConstructorNotFound",
414 templateConstructorNotFound, 434 templateConstructorNotFound,
415 ); 435 );
416 436
417 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 437 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
418 Message _withArgumentsConstructorNotFound(String name) { 438 Message _withArgumentsConstructorNotFound(String name) {
419 return new Message(codeConstructorNotFound, 439 return new Message(codeConstructorNotFound,
420 message: """Couldn't find constructor '$name'.""", 440 message: """Couldn't find a constructor named '$name'.""",
421 arguments: {'name': name}); 441 arguments: {'name': name});
422 } 442 }
423 443
424 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 444 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
425 const Template<Message Function(String name, String string)> 445 const Template<Message Function(String name, String string)>
426 templateCyclicClassHierarchy = 446 templateCyclicClassHierarchy =
427 const Template<Message Function(String name, String string)>( 447 const Template<Message Function(String name, String string)>(
428 messageTemplate: r"""'#name' is a supertype of itself via '#string'.""", 448 messageTemplate: r"""'#name' is a supertype of itself via '#string'.""",
429 withArguments: _withArgumentsCyclicClassHierarchy); 449 withArguments: _withArgumentsCyclicClassHierarchy);
430 450
(...skipping 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
2038 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2058 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2039 const Code<Null> codeNonInstanceTypeVariableUse = 2059 const Code<Null> codeNonInstanceTypeVariableUse =
2040 messageNonInstanceTypeVariableUse; 2060 messageNonInstanceTypeVariableUse;
2041 2061
2042 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2062 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2043 const MessageCode messageNonInstanceTypeVariableUse = const MessageCode( 2063 const MessageCode messageNonInstanceTypeVariableUse = const MessageCode(
2044 "NonInstanceTypeVariableUse", 2064 "NonInstanceTypeVariableUse",
2045 message: r"""Can only use type variables in instance methods."""); 2065 message: r"""Can only use type variables in instance methods.""");
2046 2066
2047 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2067 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2068 const Template<Message Function(String name)> templateNotAConstructor =
2069 const Template<Message Function(String name)>(
2070 messageTemplate: r"""'#name' isn't a constructor.""",
2071 withArguments: _withArgumentsNotAConstructor);
2072
2073 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2074 const Code<Message Function(String name)> codeNotAConstructor =
2075 const Code<Message Function(String name)>(
2076 "NotAConstructor",
2077 templateNotAConstructor,
2078 );
2079
2080 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2081 Message _withArgumentsNotAConstructor(String name) {
2082 return new Message(codeNotAConstructor,
2083 message: """'$name' isn't a constructor.""", arguments: {'name': name});
2084 }
2085
2086 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2048 const Template<Message Function(String name)> templateNotAType = 2087 const Template<Message Function(String name)> templateNotAType =
2049 const Template<Message Function(String name)>( 2088 const Template<Message Function(String name)>(
2050 messageTemplate: r"""'#name' isn't a type.""", 2089 messageTemplate: r"""'#name' isn't a type.""",
2051 withArguments: _withArgumentsNotAType); 2090 withArguments: _withArgumentsNotAType);
2052 2091
2053 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 2092 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2054 const Code<Message Function(String name)> codeNotAType = 2093 const Code<Message Function(String name)> codeNotAType =
2055 const Code<Message Function(String name)>( 2094 const Code<Message Function(String name)>(
2056 "NotAType", 2095 "NotAType",
2057 templateNotAType, 2096 templateNotAType,
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
3119 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 3158 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
3120 3159
3121 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3160 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3122 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 3161 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
3123 3162
3124 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3163 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3125 const MessageCode messageYieldNotGenerator = const MessageCode( 3164 const MessageCode messageYieldNotGenerator = const MessageCode(
3126 "YieldNotGenerator", 3165 "YieldNotGenerator",
3127 dart2jsCode: "*ignored*", 3166 dart2jsCode: "*ignored*",
3128 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 3167 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698