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

Side by Side Diff: pkg/analyzer-experimental/lib/src/generated/error.dart

Issue 12543003: Use limited JavaStringBuilder implementation instead of Dart StringBuffer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.error; 4 library engine.error;
5 5
6 import 'java_core.dart'; 6 import 'java_core.dart';
7 import 'source.dart'; 7 import 'source.dart';
8 import 'ast.dart' show ASTNode; 8 import 'ast.dart' show ASTNode;
9 import 'scanner.dart' show Token; 9 import 'scanner.dart' show Token;
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 return hashCode; 188 return hashCode;
189 } 189 }
190 /** 190 /**
191 * Set the source in which the error occurred to the given source. 191 * Set the source in which the error occurred to the given source.
192 * @param source the source in which the error occurred 192 * @param source the source in which the error occurred
193 */ 193 */
194 void set source(Source source4) { 194 void set source(Source source4) {
195 this._source = source4; 195 this._source = source4;
196 } 196 }
197 String toString() { 197 String toString() {
198 StringBuffer builder = new StringBuffer(); 198 JavaStringBuilder builder = new JavaStringBuilder();
199 builder.write((_source != null) ? _source.fullName : "<unknown source>"); 199 builder.append((_source != null) ? _source.fullName : "<unknown source>");
200 builder.write("("); 200 builder.append("(");
201 builder.write(_offset); 201 builder.append(_offset);
202 builder.write(".."); 202 builder.append("..");
203 builder.write(_offset + _length - 1); 203 builder.append(_offset + _length - 1);
204 builder.write("): "); 204 builder.append("): ");
205 builder.write(_message); 205 builder.append(_message);
206 return builder.toString(); 206 return builder.toString();
207 } 207 }
208 } 208 }
209 /** 209 /**
210 * The interface {@code ErrorCode} defines the behavior common to objects repres enting error codes 210 * The interface {@code ErrorCode} defines the behavior common to objects repres enting error codes
211 * associated with {@link AnalysisError analysis errors}. 211 * associated with {@link AnalysisError analysis errors}.
212 */ 212 */
213 abstract class ErrorCode { 213 abstract class ErrorCode {
214 /** 214 /**
215 * Return the severity of this error. 215 * Return the severity of this error.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 static final CompileTimeErrorCode ARGUMENT_DEFINITION_TEST_NON_PARAMETER = new CompileTimeErrorCode('ARGUMENT_DEFINITION_TEST_NON_PARAMETER', 2, "'%s' is not a parameter"); 310 static final CompileTimeErrorCode ARGUMENT_DEFINITION_TEST_NON_PARAMETER = new CompileTimeErrorCode('ARGUMENT_DEFINITION_TEST_NON_PARAMETER', 2, "'%s' is not a parameter");
311 /** 311 /**
312 * 12.30 Identifier Reference: It is a compile-time error to use a built-in id entifier other than 312 * 12.30 Identifier Reference: It is a compile-time error to use a built-in id entifier other than
313 * dynamic as a type annotation. 313 * dynamic as a type annotation.
314 */ 314 */
315 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPE = new CompileTim eErrorCode('BUILT_IN_IDENTIFIER_AS_TYPE', 3, ""); 315 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPE = new CompileTim eErrorCode('BUILT_IN_IDENTIFIER_AS_TYPE', 3, "");
316 /** 316 /**
317 * 12.30 Identifier Reference: It is a compile-time error if a built-in identi fier is used as the 317 * 12.30 Identifier Reference: It is a compile-time error if a built-in identi fier is used as the
318 * declared name of a class, type parameter or type alias. 318 * declared name of a class, type parameter or type alias.
319 */ 319 */
320 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPE_NAME = new Compi leTimeErrorCode('BUILT_IN_IDENTIFIER_AS_TYPE_NAME', 4, ""); 320 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPE_NAME = new Compi leTimeErrorCode('BUILT_IN_IDENTIFIER_AS_TYPE_NAME', 4, "The built-in identifier '%s' cannot be used as a type name");
321 /**
322 * 12.30 Identifier Reference: It is a compile-time error if a built-in identi fier is used as the
323 * declared name of a class, type parameter or type alias.
324 */
325 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME = new Co mpileTimeErrorCode('BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME', 5, "The built-in ident ifier '%s' cannot be used as a type alias name");
326 /**
327 * 12.30 Identifier Reference: It is a compile-time error if a built-in identi fier is used as the
328 * declared name of a class, type parameter or type alias.
329 */
330 static final CompileTimeErrorCode BUILT_IN_IDENTIFIER_AS_TYPE_VARIABLE_NAME = new CompileTimeErrorCode('BUILT_IN_IDENTIFIER_AS_TYPE_VARIABLE_NAME', 6, "The bu ilt-in identifier '%s' cannot be used as a type variable name");
321 /** 331 /**
322 * 13.9 Switch: It is a compile-time error if the class <i>C</i> implements th e operator 332 * 13.9 Switch: It is a compile-time error if the class <i>C</i> implements th e operator
323 * <i>==</i>. 333 * <i>==</i>.
324 */ 334 */
325 static final CompileTimeErrorCode CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS = new CompileTimeErrorCode('CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS', 5, ""); 335 static final CompileTimeErrorCode CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS = new CompileTimeErrorCode('CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS', 7, "");
326 /** 336 /**
327 * 12.1 Constants: It is a compile-time error if evaluation of a compile-time constant would raise 337 * 12.1 Constants: It is a compile-time error if evaluation of a compile-time constant would raise
328 * an exception. 338 * an exception.
329 */ 339 */
330 static final CompileTimeErrorCode COMPILE_TIME_CONSTANT_RAISES_EXCEPTION = new CompileTimeErrorCode('COMPILE_TIME_CONSTANT_RAISES_EXCEPTION', 6, ""); 340 static final CompileTimeErrorCode COMPILE_TIME_CONSTANT_RAISES_EXCEPTION = new CompileTimeErrorCode('COMPILE_TIME_CONSTANT_RAISES_EXCEPTION', 8, "");
331 /** 341 /**
332 * 7.6 Constructors: A constructor name always begins with the name of its imm ediately enclosing 342 * 7.6 Constructors: A constructor name always begins with the name of its imm ediately enclosing
333 * class, and may optionally be followed by a dot and an identifier <i>id</i>. It is a 343 * class, and may optionally be followed by a dot and an identifier <i>id</i>. It is a
334 * compile-time error if <i>id</i> is the name of a member declared in the imm ediately enclosing 344 * compile-time error if <i>id</i> is the name of a member declared in the imm ediately enclosing
335 * class. 345 * class.
336 */ 346 */
337 static final CompileTimeErrorCode CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER = ne w CompileTimeErrorCode('CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER', 7, ""); 347 static final CompileTimeErrorCode CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER = ne w CompileTimeErrorCode('CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER', 9, "");
338 /** 348 /**
339 * 7.6.3 Constant Constructors: It is a compile-time error if a constant const ructor is declared 349 * 7.6.3 Constant Constructors: It is a compile-time error if a constant const ructor is declared
340 * by a class that has a non-final instance variable. 350 * by a class that has a non-final instance variable.
341 */ 351 */
342 static final CompileTimeErrorCode CONST_CONSTRUCTOR_WITH_NON_FINAL_FIELD = new CompileTimeErrorCode('CONST_CONSTRUCTOR_WITH_NON_FINAL_FIELD', 8, ""); 352 static final CompileTimeErrorCode CONST_CONSTRUCTOR_WITH_NON_FINAL_FIELD = new CompileTimeErrorCode('CONST_CONSTRUCTOR_WITH_NON_FINAL_FIELD', 10, "");
343 /** 353 /**
344 * 6.2 Formal Parameters: It is a compile-time error if a formal parameter is declared as a 354 * 6.2 Formal Parameters: It is a compile-time error if a formal parameter is declared as a
345 * constant variable. 355 * constant variable.
346 */ 356 */
347 static final CompileTimeErrorCode CONST_FORMAL_PARAMETER = new CompileTimeErro rCode('CONST_FORMAL_PARAMETER', 9, ""); 357 static final CompileTimeErrorCode CONST_FORMAL_PARAMETER = new CompileTimeErro rCode('CONST_FORMAL_PARAMETER', 11, "");
348 /** 358 /**
349 * 5 Variables: A constant variable must be initialized to a compile-time cons tant or a 359 * 5 Variables: A constant variable must be initialized to a compile-time cons tant or a
350 * compile-time error occurs. 360 * compile-time error occurs.
351 */ 361 */
352 static final CompileTimeErrorCode CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE = new CompileTimeErrorCode('CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE', 10, ""); 362 static final CompileTimeErrorCode CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE = new CompileTimeErrorCode('CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE', 12, "");
353 /** 363 /**
354 * 12.11.2 Const: It is a compile-time error if evaluation of a constant objec t results in an 364 * 12.11.2 Const: It is a compile-time error if evaluation of a constant objec t results in an
355 * uncaught exception being thrown. 365 * uncaught exception being thrown.
356 */ 366 */
357 static final CompileTimeErrorCode CONST_EVAL_THROWS_EXCEPTION = new CompileTim eErrorCode('CONST_EVAL_THROWS_EXCEPTION', 11, ""); 367 static final CompileTimeErrorCode CONST_EVAL_THROWS_EXCEPTION = new CompileTim eErrorCode('CONST_EVAL_THROWS_EXCEPTION', 13, "");
358 /** 368 /**
359 * 12.11.2 Const: If <i>T</i> is a parameterized type <i>S&lt;U<sub>1</sub>, & hellip;, 369 * 12.11.2 Const: If <i>T</i> is a parameterized type <i>S&lt;U<sub>1</sub>, & hellip;,
360 * U<sub>m</sub>&gt;</i>, let <i>R = S</i>; It is a compile time error if <i>S </i> is not a 370 * U<sub>m</sub>&gt;</i>, let <i>R = S</i>; It is a compile time error if <i>S </i> is not a
361 * generic type with <i>m</i> type parameters. 371 * generic type with <i>m</i> type parameters.
362 * @param typeName the name of the type being referenced (<i>S</i>) 372 * @param typeName the name of the type being referenced (<i>S</i>)
363 * @param argumentCount the number of type arguments provided 373 * @param argumentCount the number of type arguments provided
364 * @param parameterCount the number of type parameters that were declared 374 * @param parameterCount the number of type parameters that were declared
365 */ 375 */
366 static final CompileTimeErrorCode CONST_WITH_INVALID_TYPE_PARAMETERS = new Com pileTimeErrorCode('CONST_WITH_INVALID_TYPE_PARAMETERS', 12, "The type '%s' is de clared with %d type parameters, but %d type arguments were given"); 376 static final CompileTimeErrorCode CONST_WITH_INVALID_TYPE_PARAMETERS = new Com pileTimeErrorCode('CONST_WITH_INVALID_TYPE_PARAMETERS', 14, "The type '%s' is de clared with %d type parameters, but %d type arguments were given");
367 /** 377 /**
368 * 12.11.2 Const: If <i>e</i> is of the form <i>const T(a<sub>1</sub>, &hellip ;, a<sub>n</sub>, 378 * 12.11.2 Const: If <i>e</i> is of the form <i>const T(a<sub>1</sub>, &hellip ;, a<sub>n</sub>,
369 * x<sub>n+1</sub>: a<sub>n+1</sub>, &hellip;, x<sub>n+k</sub>: a<sub>n+k</sub >)</i> it is a 379 * x<sub>n+1</sub>: a<sub>n+1</sub>, &hellip;, x<sub>n+k</sub>: a<sub>n+k</sub >)</i> it is a
370 * compile-time error if the type <i>T</i> does not declare a constant constru ctor with the same 380 * compile-time error if the type <i>T</i> does not declare a constant constru ctor with the same
371 * name as the declaration of <i>T</i>. 381 * name as the declaration of <i>T</i>.
372 */ 382 */
373 static final CompileTimeErrorCode CONST_WITH_NON_CONST = new CompileTimeErrorC ode('CONST_WITH_NON_CONST', 13, ""); 383 static final CompileTimeErrorCode CONST_WITH_NON_CONST = new CompileTimeErrorC ode('CONST_WITH_NON_CONST', 15, "");
374 /** 384 /**
375 * 12.11.2 Const: In all of the above cases, it is a compile-time error if <i> a<sub>i</sub>, 1 385 * 12.11.2 Const: In all of the above cases, it is a compile-time error if <i> a<sub>i</sub>, 1
376 * &lt;= i &lt;= n + k</i>, is not a compile-time constant expression. 386 * &lt;= i &lt;= n + k</i>, is not a compile-time constant expression.
377 */ 387 */
378 static final CompileTimeErrorCode CONST_WITH_NON_CONSTANT_ARGUMENT = new Compi leTimeErrorCode('CONST_WITH_NON_CONSTANT_ARGUMENT', 14, ""); 388 static final CompileTimeErrorCode CONST_WITH_NON_CONSTANT_ARGUMENT = new Compi leTimeErrorCode('CONST_WITH_NON_CONSTANT_ARGUMENT', 16, "");
379 /** 389 /**
380 * 12.11.2 Const: It is a compile-time error if <i>T</i> is not a class access ible in the current 390 * 12.11.2 Const: It is a compile-time error if <i>T</i> is not a class access ible in the current
381 * scope, optionally followed by type arguments. 391 * scope, optionally followed by type arguments.
382 * <p> 392 * <p>
383 * 12.11.2 Const: If <i>e</i> is of the form <i>const T.id(a<sub>1</sub>, &hel lip;, a<sub>n</sub>, 393 * 12.11.2 Const: If <i>e</i> is of the form <i>const T.id(a<sub>1</sub>, &hel lip;, a<sub>n</sub>,
384 * x<sub>n+1</sub>: a<sub>n+1</sub>, &hellip; x<sub>n+k</sub>: a<sub>n+k</sub> )</i> it is a 394 * x<sub>n+1</sub>: a<sub>n+1</sub>, &hellip; x<sub>n+k</sub>: a<sub>n+k</sub> )</i> it is a
385 * compile-time error if <i>T</i> is not a class accessible in the current sco pe, optionally 395 * compile-time error if <i>T</i> is not a class accessible in the current sco pe, optionally
386 * followed by type arguments. 396 * followed by type arguments.
387 */ 397 */
388 static final CompileTimeErrorCode CONST_WITH_NON_TYPE = new CompileTimeErrorCo de('CONST_WITH_NON_TYPE', 15, ""); 398 static final CompileTimeErrorCode CONST_WITH_NON_TYPE = new CompileTimeErrorCo de('CONST_WITH_NON_TYPE', 17, "");
389 /** 399 /**
390 * 12.11.2 Const: It is a compile-time error if <i>T</i> includes any type par ameters. 400 * 12.11.2 Const: It is a compile-time error if <i>T</i> includes any type par ameters.
391 */ 401 */
392 static final CompileTimeErrorCode CONST_WITH_TYPE_PARAMETERS = new CompileTime ErrorCode('CONST_WITH_TYPE_PARAMETERS', 16, ""); 402 static final CompileTimeErrorCode CONST_WITH_TYPE_PARAMETERS = new CompileTime ErrorCode('CONST_WITH_TYPE_PARAMETERS', 18, "");
393 /** 403 /**
394 * 12.11.2 Const: It is a compile-time error if <i>T.id</i> is not the name of a constant 404 * 12.11.2 Const: It is a compile-time error if <i>T.id</i> is not the name of a constant
395 * constructor declared by the type <i>T</i>. 405 * constructor declared by the type <i>T</i>.
396 */ 406 */
397 static final CompileTimeErrorCode CONST_WITH_UNDEFINED_CONSTRUCTOR = new Compi leTimeErrorCode('CONST_WITH_UNDEFINED_CONSTRUCTOR', 17, ""); 407 static final CompileTimeErrorCode CONST_WITH_UNDEFINED_CONSTRUCTOR = new Compi leTimeErrorCode('CONST_WITH_UNDEFINED_CONSTRUCTOR', 19, "");
398 /** 408 /**
399 * 15.3.1 Typedef: It is a compile-time error if any default values are specif ied in the signature 409 * 15.3.1 Typedef: It is a compile-time error if any default values are specif ied in the signature
400 * of a function type alias. 410 * of a function type alias.
401 */ 411 */
402 static final CompileTimeErrorCode DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS = new C ompileTimeErrorCode('DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS', 18, ""); 412 static final CompileTimeErrorCode DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS = new C ompileTimeErrorCode('DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS', 20, "");
403 /** 413 /**
404 * 3.1 Scoping: It is a compile-time error if there is more than one entity wi th the same name 414 * 3.1 Scoping: It is a compile-time error if there is more than one entity wi th the same name
405 * declared in the same scope. 415 * declared in the same scope.
406 * @param duplicateName the name of the duplicate entity 416 * @param duplicateName the name of the duplicate entity
407 */ 417 */
408 static final CompileTimeErrorCode DUPLICATE_DEFINITION = new CompileTimeErrorC ode('DUPLICATE_DEFINITION', 19, "The name '%s' is already defined"); 418 static final CompileTimeErrorCode DUPLICATE_DEFINITION = new CompileTimeErrorC ode('DUPLICATE_DEFINITION', 21, "The name '%s' is already defined");
409 /** 419 /**
410 * 7 Classes: It is a compile-time error if a class declares two members of th e same name. 420 * 7 Classes: It is a compile-time error if a class declares two members of th e same name.
411 */ 421 */
412 static final CompileTimeErrorCode DUPLICATE_MEMBER_NAME = new CompileTimeError Code('DUPLICATE_MEMBER_NAME', 20, ""); 422 static final CompileTimeErrorCode DUPLICATE_MEMBER_NAME = new CompileTimeError Code('DUPLICATE_MEMBER_NAME', 22, "");
413 /** 423 /**
414 * 7 Classes: It is a compile-time error if a class has an instance member and a static member 424 * 7 Classes: It is a compile-time error if a class has an instance member and a static member
415 * with the same name. 425 * with the same name.
416 */ 426 */
417 static final CompileTimeErrorCode DUPLICATE_MEMBER_NAME_INSTANCE_STATIC = new CompileTimeErrorCode('DUPLICATE_MEMBER_NAME_INSTANCE_STATIC', 21, ""); 427 static final CompileTimeErrorCode DUPLICATE_MEMBER_NAME_INSTANCE_STATIC = new CompileTimeErrorCode('DUPLICATE_MEMBER_NAME_INSTANCE_STATIC', 23, "");
418 /** 428 /**
419 * 12.14.2 Binding Actuals to Formals: It is a compile-time error if <i>q<sub> i</sub> = 429 * 12.14.2 Binding Actuals to Formals: It is a compile-time error if <i>q<sub> i</sub> =
420 * q<sub>j</sub></i> for any <i>i != j</i> [where <i>q<sub>i</sub></i> is the label for a named 430 * q<sub>j</sub></i> for any <i>i != j</i> [where <i>q<sub>i</sub></i> is the label for a named
421 * argument]. 431 * argument].
422 */ 432 */
423 static final CompileTimeErrorCode DUPLICATE_NAMED_ARGUMENT = new CompileTimeEr rorCode('DUPLICATE_NAMED_ARGUMENT', 22, ""); 433 static final CompileTimeErrorCode DUPLICATE_NAMED_ARGUMENT = new CompileTimeEr rorCode('DUPLICATE_NAMED_ARGUMENT', 24, "");
424 /** 434 /**
425 * 14.2 Exports: It is a compile-time error if the compilation unit found at t he specified URI is 435 * 14.2 Exports: It is a compile-time error if the compilation unit found at t he specified URI is
426 * not a library declaration. 436 * not a library declaration.
427 */ 437 */
428 static final CompileTimeErrorCode EXPORT_OF_NON_LIBRARY = new CompileTimeError Code('EXPORT_OF_NON_LIBRARY', 23, ""); 438 static final CompileTimeErrorCode EXPORT_OF_NON_LIBRARY = new CompileTimeError Code('EXPORT_OF_NON_LIBRARY', 25, "");
429 /** 439 /**
430 * 7.9 Superclasses: It is a compile-time error if the extends clause of a cla ss <i>C</i> includes 440 * 7.9 Superclasses: It is a compile-time error if the extends clause of a cla ss <i>C</i> includes
431 * a type expression that does not denote a class available in the lexical sco pe of <i>C</i>. 441 * a type expression that does not denote a class available in the lexical sco pe of <i>C</i>.
432 */ 442 */
433 static final CompileTimeErrorCode EXTENDS_NON_CLASS = new CompileTimeErrorCode ('EXTENDS_NON_CLASS', 24, ""); 443 static final CompileTimeErrorCode EXTENDS_NON_CLASS = new CompileTimeErrorCode ('EXTENDS_NON_CLASS', 26, "");
434 /** 444 /**
435 * 12.2 Null: It is a compile-time error for a class to attempt to extend or i mplement Null. 445 * 12.2 Null: It is a compile-time error for a class to attempt to extend or i mplement Null.
436 * <p> 446 * <p>
437 * 12.3 Numbers: It is a compile-time error for a class to attempt to extend o r implement int. 447 * 12.3 Numbers: It is a compile-time error for a class to attempt to extend o r implement int.
438 * <p> 448 * <p>
439 * 12.3 Numbers: It is a compile-time error for a class to attempt to extend o r implement double. 449 * 12.3 Numbers: It is a compile-time error for a class to attempt to extend o r implement double.
440 * <p> 450 * <p>
441 * 12.3 Numbers: It is a compile-time error for any type other than the types int and double to 451 * 12.3 Numbers: It is a compile-time error for any type other than the types int and double to
442 * attempt to extend or implement num. 452 * attempt to extend or implement num.
443 * <p> 453 * <p>
444 * 12.4 Booleans: It is a compile-time error for a class to attempt to extend or implement bool. 454 * 12.4 Booleans: It is a compile-time error for a class to attempt to extend or implement bool.
445 * <p> 455 * <p>
446 * 12.5 Strings: It is a compile-time error for a class to attempt to extend o r implement String. 456 * 12.5 Strings: It is a compile-time error for a class to attempt to extend o r implement String.
447 */ 457 */
448 static final CompileTimeErrorCode EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS = new CompileTimeErrorCode('EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS', 25, ""); 458 static final CompileTimeErrorCode EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS = new CompileTimeErrorCode('EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS', 27, "");
449 /** 459 /**
450 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time 460 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time
451 * error if more than one initializer corresponding to a given instance variab le appears in 461 * error if more than one initializer corresponding to a given instance variab le appears in
452 * <i>k</i>’s list. 462 * <i>k</i>’s list.
453 */ 463 */
454 static final CompileTimeErrorCode FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS = new CompileTimeErrorCode('FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS', 26, ""); 464 static final CompileTimeErrorCode FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS = new CompileTimeErrorCode('FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS', 28, "");
455 /** 465 /**
456 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time 466 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time
457 * error if <i>k</i>’s initializer list contains an initializer for a final variable <i>f</i> 467 * error if <i>k</i>’s initializer list contains an initializer for a final variable <i>f</i>
458 * whose declaration includes an initialization expression. 468 * whose declaration includes an initialization expression.
459 */ 469 */
460 static final CompileTimeErrorCode FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARA TION = new CompileTimeErrorCode('FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATIO N', 27, ""); 470 static final CompileTimeErrorCode FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARA TION = new CompileTimeErrorCode('FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATIO N', 29, "");
461 /** 471 /**
462 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time 472 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile time
463 * error if <i>k</i>’s initializer list contains an initializer for a variab le that is initialized 473 * error if <i>k</i>’s initializer list contains an initializer for a variab le that is initialized
464 * by means of an initializing formal of <i>k</i>. 474 * by means of an initializing formal of <i>k</i>.
465 */ 475 */
466 static final CompileTimeErrorCode FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZ ER = new CompileTimeErrorCode('FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER', 28, ""); 476 static final CompileTimeErrorCode FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZ ER = new CompileTimeErrorCode('FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER', 30, "");
467 /** 477 /**
468 * 7.6.1 Generative Constructors: It is a compile-time error if an initializin g formal is used by 478 * 7.6.1 Generative Constructors: It is a compile-time error if an initializin g formal is used by
469 * a function other than a non-redirecting generative constructor. 479 * a function other than a non-redirecting generative constructor.
470 */ 480 */
471 static final CompileTimeErrorCode FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR = new CompileTimeErrorCode('FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR', 29, ""); 481 static final CompileTimeErrorCode FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR = new CompileTimeErrorCode('FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR', 31, "");
472 /** 482 /**
473 * 5 Variables: It is a compile-time error if a final instance variable that h as been initialized 483 * 5 Variables: It is a compile-time error if a final instance variable that h as been initialized
474 * at its point of declaration is also initialized in a constructor. 484 * at its point of declaration is also initialized in a constructor.
475 */ 485 */
476 static final CompileTimeErrorCode FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRU CTOR = new CompileTimeErrorCode('FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTO R', 30, ""); 486 static final CompileTimeErrorCode FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRU CTOR = new CompileTimeErrorCode('FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTO R', 32, "");
477 /** 487 /**
478 * 5 Variables: It is a compile-time error if a final instance variable that h as is initialized by 488 * 5 Variables: It is a compile-time error if a final instance variable that h as is initialized by
479 * means of an initializing formal of a constructor is also initialized elsewh ere in the same 489 * means of an initializing formal of a constructor is also initialized elsewh ere in the same
480 * constructor. 490 * constructor.
481 */ 491 */
482 static final CompileTimeErrorCode FINAL_INITIALIZED_MULTIPLE_TIMES = new Compi leTimeErrorCode('FINAL_INITIALIZED_MULTIPLE_TIMES', 31, ""); 492 static final CompileTimeErrorCode FINAL_INITIALIZED_MULTIPLE_TIMES = new Compi leTimeErrorCode('FINAL_INITIALIZED_MULTIPLE_TIMES', 33, "");
483 /** 493 /**
484 * 5 Variables: It is a compile-time error if a library, static or local varia ble <i>v</i> is 494 * 5 Variables: It is a compile-time error if a library, static or local varia ble <i>v</i> is
485 * final and <i>v</i> is not initialized at its point of declaration. 495 * final and <i>v</i> is not initialized at its point of declaration.
486 */ 496 */
487 static final CompileTimeErrorCode FINAL_NOT_INITIALIZED = new CompileTimeError Code('FINAL_NOT_INITIALIZED', 32, ""); 497 static final CompileTimeErrorCode FINAL_NOT_INITIALIZED = new CompileTimeError Code('FINAL_NOT_INITIALIZED', 34, "");
488 /** 498 /**
489 * 7.2 Getters: It is a compile-time error if a class has both a getter and a method with the same 499 * 7.2 Getters: It is a compile-time error if a class has both a getter and a method with the same
490 * name. 500 * name.
491 */ 501 */
492 static final CompileTimeErrorCode GETTER_AND_METHOD_WITH_SAME_NAME = new Compi leTimeErrorCode('GETTER_AND_METHOD_WITH_SAME_NAME', 33, ""); 502 static final CompileTimeErrorCode GETTER_AND_METHOD_WITH_SAME_NAME = new Compi leTimeErrorCode('GETTER_AND_METHOD_WITH_SAME_NAME', 35, "");
493 /** 503 /**
494 * 7.10 Superinterfaces: It is a compile-time error if the implements clause o f a class includes 504 * 7.10 Superinterfaces: It is a compile-time error if the implements clause o f a class includes
495 * type dynamic. 505 * type dynamic.
496 */ 506 */
497 static final CompileTimeErrorCode IMPLEMENTS_DYNAMIC = new CompileTimeErrorCod e('IMPLEMENTS_DYNAMIC', 34, ""); 507 static final CompileTimeErrorCode IMPLEMENTS_DYNAMIC = new CompileTimeErrorCod e('IMPLEMENTS_DYNAMIC', 36, "");
498 /** 508 /**
499 * 7.10 Superinterfaces: It is a compile-time error if the implements clause o f a class <i>C</i> 509 * 7.10 Superinterfaces: It is a compile-time error if the implements clause o f a class <i>C</i>
500 * includes a type expression that does not denote a class available in the le xical scope of 510 * includes a type expression that does not denote a class available in the le xical scope of
501 * <i>C</i>. 511 * <i>C</i>.
502 */ 512 */
503 static final CompileTimeErrorCode IMPLEMENTS_NON_CLASS = new CompileTimeErrorC ode('IMPLEMENTS_NON_CLASS', 35, ""); 513 static final CompileTimeErrorCode IMPLEMENTS_NON_CLASS = new CompileTimeErrorC ode('IMPLEMENTS_NON_CLASS', 37, "");
504 /** 514 /**
505 * 7.10 Superinterfaces: It is a compile-time error if a type <i>T</i> appears more than once in 515 * 7.10 Superinterfaces: It is a compile-time error if a type <i>T</i> appears more than once in
506 * the implements clause of a class. 516 * the implements clause of a class.
507 */ 517 */
508 static final CompileTimeErrorCode IMPLEMENTS_REPEATED = new CompileTimeErrorCo de('IMPLEMENTS_REPEATED', 36, ""); 518 static final CompileTimeErrorCode IMPLEMENTS_REPEATED = new CompileTimeErrorCo de('IMPLEMENTS_REPEATED', 38, "");
509 /** 519 /**
510 * 7.10 Superinterfaces: It is a compile-time error if the interface of a clas s <i>C</i> is a 520 * 7.10 Superinterfaces: It is a compile-time error if the interface of a clas s <i>C</i> is a
511 * superinterface of itself. 521 * superinterface of itself.
512 */ 522 */
513 static final CompileTimeErrorCode IMPLEMENTS_SELF = new CompileTimeErrorCode(' IMPLEMENTS_SELF', 37, ""); 523 static final CompileTimeErrorCode IMPLEMENTS_SELF = new CompileTimeErrorCode(' IMPLEMENTS_SELF', 39, "");
514 /** 524 /**
515 * 14.1 Imports: It is a compile-time error to import two different libraries with the same name. 525 * 14.1 Imports: It is a compile-time error to import two different libraries with the same name.
516 */ 526 */
517 static final CompileTimeErrorCode IMPORT_DUPLICATED_LIBRARY_NAME = new Compile TimeErrorCode('IMPORT_DUPLICATED_LIBRARY_NAME', 38, ""); 527 static final CompileTimeErrorCode IMPORT_DUPLICATED_LIBRARY_NAME = new Compile TimeErrorCode('IMPORT_DUPLICATED_LIBRARY_NAME', 40, "");
518 /** 528 /**
519 * 14.1 Imports: It is a compile-time error if the compilation unit found at t he specified URI is 529 * 14.1 Imports: It is a compile-time error if the compilation unit found at t he specified URI is
520 * not a library declaration. 530 * not a library declaration.
521 */ 531 */
522 static final CompileTimeErrorCode IMPORT_OF_NON_LIBRARY = new CompileTimeError Code('IMPORT_OF_NON_LIBRARY', 39, ""); 532 static final CompileTimeErrorCode IMPORT_OF_NON_LIBRARY = new CompileTimeError Code('IMPORT_OF_NON_LIBRARY', 41, "");
523 /** 533 /**
524 * 13.9 Switch: It is a compile-time error if values of the expressions <i>e<s ub>k</sub></i> are 534 * 13.9 Switch: It is a compile-time error if values of the expressions <i>e<s ub>k</sub></i> are
525 * not instances of the same class <i>C</i>, for all <i>1 &lt;= k &lt;= n</i>. 535 * not instances of the same class <i>C</i>, for all <i>1 &lt;= k &lt;= n</i>.
526 */ 536 */
527 static final CompileTimeErrorCode INCONSITENT_CASE_EXPRESSION_TYPES = new Comp ileTimeErrorCode('INCONSITENT_CASE_EXPRESSION_TYPES', 40, ""); 537 static final CompileTimeErrorCode INCONSITENT_CASE_EXPRESSION_TYPES = new Comp ileTimeErrorCode('INCONSITENT_CASE_EXPRESSION_TYPES', 42, "");
528 /** 538 /**
529 * 7.6.1 Generative Constructors: An initializing formal has the form <i>this. id</i>. It is a 539 * 7.6.1 Generative Constructors: An initializing formal has the form <i>this. id</i>. It is a
530 * compile-time error if <i>id</i> is not the name of an instance variable of the immediately 540 * compile-time error if <i>id</i> is not the name of an instance variable of the immediately
531 * enclosing class. 541 * enclosing class.
532 */ 542 */
533 static final CompileTimeErrorCode INITIALIZER_FOR_NON_EXISTANT_FIELD = new Com pileTimeErrorCode('INITIALIZER_FOR_NON_EXISTANT_FIELD', 41, ""); 543 static final CompileTimeErrorCode INITIALIZER_FOR_NON_EXISTANT_FIELD = new Com pileTimeErrorCode('INITIALIZER_FOR_NON_EXISTANT_FIELD', 43, "");
534 /** 544 /**
535 * 7.6 Constructors: It is a compile-time error if the name of a constructor i s not a constructor 545 * 7.6 Constructors: It is a compile-time error if the name of a constructor i s not a constructor
536 * name. 546 * name.
537 */ 547 */
538 static final CompileTimeErrorCode INVALID_CONSTRUCTOR_NAME = new CompileTimeEr rorCode('INVALID_CONSTRUCTOR_NAME', 42, ""); 548 static final CompileTimeErrorCode INVALID_CONSTRUCTOR_NAME = new CompileTimeEr rorCode('INVALID_CONSTRUCTOR_NAME', 44, "");
539 /** 549 /**
540 * 7.6.2 Factories: It is a compile-time error if <i>M</i> is not the name of the immediately 550 * 7.6.2 Factories: It is a compile-time error if <i>M</i> is not the name of the immediately
541 * enclosing class. 551 * enclosing class.
542 */ 552 */
543 static final CompileTimeErrorCode INVALID_FACTORY_NAME_NOT_A_CLASS = new Compi leTimeErrorCode('INVALID_FACTORY_NAME_NOT_A_CLASS', 43, ""); 553 static final CompileTimeErrorCode INVALID_FACTORY_NAME_NOT_A_CLASS = new Compi leTimeErrorCode('INVALID_FACTORY_NAME_NOT_A_CLASS', 45, "");
544 /** 554 /**
545 * 7.1 Instance Methods: It is a static warning if an instance method <i>m1</i > overrides an 555 * 7.1 Instance Methods: It is a static warning if an instance method <i>m1</i > overrides an
546 * instance member <i>m2</i>, the signature of <i>m2</i> explicitly specifies a default value for 556 * instance member <i>m2</i>, the signature of <i>m2</i> explicitly specifies a default value for
547 * a formal parameter <i>p</i> and the signature of <i>m1</i> specifies a diff erent default value 557 * a formal parameter <i>p</i> and the signature of <i>m1</i> specifies a diff erent default value
548 * for <i>p</i>. 558 * for <i>p</i>.
549 */ 559 */
550 static final CompileTimeErrorCode INVALID_OVERRIDE_DEFAULT_VALUE = new Compile TimeErrorCode('INVALID_OVERRIDE_DEFAULT_VALUE', 44, ""); 560 static final CompileTimeErrorCode INVALID_OVERRIDE_DEFAULT_VALUE = new Compile TimeErrorCode('INVALID_OVERRIDE_DEFAULT_VALUE', 46, "");
551 /** 561 /**
552 * 7.1: It is a compile-time error if an instance method <i>m1</i> overrides a n instance member 562 * 7.1: It is a compile-time error if an instance method <i>m1</i> overrides a n instance member
553 * <i>m2</i> and <i>m1</i> does not declare all the named parameters declared by <i>m2</i>. 563 * <i>m2</i> and <i>m1</i> does not declare all the named parameters declared by <i>m2</i>.
554 */ 564 */
555 static final CompileTimeErrorCode INVALID_OVERRIDE_NAMED = new CompileTimeErro rCode('INVALID_OVERRIDE_NAMED', 45, ""); 565 static final CompileTimeErrorCode INVALID_OVERRIDE_NAMED = new CompileTimeErro rCode('INVALID_OVERRIDE_NAMED', 47, "");
556 /** 566 /**
557 * 7.1 Instance Methods: It is a compile-time error if an instance method m1 o verrides an instance 567 * 7.1 Instance Methods: It is a compile-time error if an instance method m1 o verrides an instance
558 * member <i>m2</i> and <i>m1</i> has fewer optional positional parameters tha n <i>m2</i>. 568 * member <i>m2</i> and <i>m1</i> has fewer optional positional parameters tha n <i>m2</i>.
559 */ 569 */
560 static final CompileTimeErrorCode INVALID_OVERRIDE_POSITIONAL = new CompileTim eErrorCode('INVALID_OVERRIDE_POSITIONAL', 46, ""); 570 static final CompileTimeErrorCode INVALID_OVERRIDE_POSITIONAL = new CompileTim eErrorCode('INVALID_OVERRIDE_POSITIONAL', 48, "");
561 /** 571 /**
562 * 7.1 Instance Methods: It is a compile-time error if an instance method <i>m 1</i> overrides an 572 * 7.1 Instance Methods: It is a compile-time error if an instance method <i>m 1</i> overrides an
563 * instance member <i>m2</i> and <i>m1</i> has a different number of required parameters than 573 * instance member <i>m2</i> and <i>m1</i> has a different number of required parameters than
564 * <i>m2</i>. 574 * <i>m2</i>.
565 */ 575 */
566 static final CompileTimeErrorCode INVALID_OVERRIDE_REQUIRED = new CompileTimeE rrorCode('INVALID_OVERRIDE_REQUIRED', 47, ""); 576 static final CompileTimeErrorCode INVALID_OVERRIDE_REQUIRED = new CompileTimeE rrorCode('INVALID_OVERRIDE_REQUIRED', 49, "");
567 /** 577 /**
568 * 12.10 This: It is a compile-time error if this appears in a top-level funct ion or variable 578 * 12.10 This: It is a compile-time error if this appears in a top-level funct ion or variable
569 * initializer, in a factory constructor, or in a static method or variable in itializer, or in the 579 * initializer, in a factory constructor, or in a static method or variable in itializer, or in the
570 * initializer of an instance variable. 580 * initializer of an instance variable.
571 */ 581 */
572 static final CompileTimeErrorCode INVALID_REFERENCE_TO_THIS = new CompileTimeE rrorCode('INVALID_REFERENCE_TO_THIS', 48, ""); 582 static final CompileTimeErrorCode INVALID_REFERENCE_TO_THIS = new CompileTimeE rrorCode('INVALID_REFERENCE_TO_THIS', 50, "");
573 /** 583 /**
574 * 12.7 Maps: It is a compile-time error if the first type argument to a map l iteral is not 584 * 12.7 Maps: It is a compile-time error if the first type argument to a map l iteral is not
575 * String. 585 * String.
576 */ 586 */
577 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_FOR_KEY = new CompileT imeErrorCode('INVALID_TYPE_ARGUMENT_FOR_KEY', 49, ""); 587 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_FOR_KEY = new CompileT imeErrorCode('INVALID_TYPE_ARGUMENT_FOR_KEY', 51, "");
578 /** 588 /**
579 * 12.6 Lists: It is a compile time error if the type argument of a constant l ist literal includes 589 * 12.6 Lists: It is a compile time error if the type argument of a constant l ist literal includes
580 * a type parameter. 590 * a type parameter.
581 */ 591 */
582 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_IN_CONST_LIST = new Co mpileTimeErrorCode('INVALID_TYPE_ARGUMENT_IN_CONST_LIST', 50, ""); 592 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_IN_CONST_LIST = new Co mpileTimeErrorCode('INVALID_TYPE_ARGUMENT_IN_CONST_LIST', 52, "");
583 /** 593 /**
584 * 12.7 Maps: It is a compile time error if the type arguments of a constant m ap literal include a 594 * 12.7 Maps: It is a compile time error if the type arguments of a constant m ap literal include a
585 * type parameter. 595 * type parameter.
586 */ 596 */
587 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_IN_CONST_MAP = new Com pileTimeErrorCode('INVALID_TYPE_ARGUMENT_IN_CONST_MAP', 51, ""); 597 static final CompileTimeErrorCode INVALID_TYPE_ARGUMENT_IN_CONST_MAP = new Com pileTimeErrorCode('INVALID_TYPE_ARGUMENT_IN_CONST_MAP', 53, "");
588 /** 598 /**
589 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile-time 599 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile-time
590 * error if <i>k</i>'s initializer list contains an initializer for a variable that is not an 600 * error if <i>k</i>'s initializer list contains an initializer for a variable that is not an
591 * instance variable declared in the immediately surrounding class. 601 * instance variable declared in the immediately surrounding class.
592 */ 602 */
593 static final CompileTimeErrorCode INVALID_VARIABLE_IN_INITIALIZER = new Compil eTimeErrorCode('INVALID_VARIABLE_IN_INITIALIZER', 52, ""); 603 static final CompileTimeErrorCode INVALID_VARIABLE_IN_INITIALIZER = new Compil eTimeErrorCode('INVALID_VARIABLE_IN_INITIALIZER', 54, "");
594 /** 604 /**
595 * 13.13 Break: It is a compile-time error if no such statement <i>s<sub>E</su b></i> exists within 605 * 13.13 Break: It is a compile-time error if no such statement <i>s<sub>E</su b></i> exists within
596 * the innermost function in which <i>s<sub>b</sub></i> occurs. 606 * the innermost function in which <i>s<sub>b</sub></i> occurs.
597 * <p> 607 * <p>
598 * 13.14 Continue: It is a compile-time error if no such statement or case cla use 608 * 13.14 Continue: It is a compile-time error if no such statement or case cla use
599 * <i>s<sub>E</sub></i> exists within the innermost function in which <i>s<sub >c</sub></i> occurs. 609 * <i>s<sub>E</sub></i> exists within the innermost function in which <i>s<sub >c</sub></i> occurs.
600 * @param labelName the name of the unresolvable label 610 * @param labelName the name of the unresolvable label
601 */ 611 */
602 static final CompileTimeErrorCode LABEL_IN_OUTER_SCOPE = new CompileTimeErrorC ode('LABEL_IN_OUTER_SCOPE', 53, "Cannot reference label '%s' declared in an oute r method or function"); 612 static final CompileTimeErrorCode LABEL_IN_OUTER_SCOPE = new CompileTimeErrorC ode('LABEL_IN_OUTER_SCOPE', 55, "Cannot reference label '%s' declared in an oute r method or function");
603 /** 613 /**
604 * 13.13 Break: It is a compile-time error if no such statement <i>s<sub>E</su b></i> exists within 614 * 13.13 Break: It is a compile-time error if no such statement <i>s<sub>E</su b></i> exists within
605 * the innermost function in which <i>s<sub>b</sub></i> occurs. 615 * the innermost function in which <i>s<sub>b</sub></i> occurs.
606 * <p> 616 * <p>
607 * 13.14 Continue: It is a compile-time error if no such statement or case cla use 617 * 13.14 Continue: It is a compile-time error if no such statement or case cla use
608 * <i>s<sub>E</sub></i> exists within the innermost function in which <i>s<sub >c</sub></i> occurs. 618 * <i>s<sub>E</sub></i> exists within the innermost function in which <i>s<sub >c</sub></i> occurs.
609 * @param labelName the name of the unresolvable label 619 * @param labelName the name of the unresolvable label
610 */ 620 */
611 static final CompileTimeErrorCode LABEL_UNDEFINED = new CompileTimeErrorCode(' LABEL_UNDEFINED', 54, "Cannot reference undefined label '%s'"); 621 static final CompileTimeErrorCode LABEL_UNDEFINED = new CompileTimeErrorCode(' LABEL_UNDEFINED', 56, "Cannot reference undefined label '%s'");
612 /** 622 /**
613 * 7 Classes: It is a compile time error if a class <i>C</i> declares a member with the same name 623 * 7 Classes: It is a compile time error if a class <i>C</i> declares a member with the same name
614 * as <i>C</i>. 624 * as <i>C</i>.
615 */ 625 */
616 static final CompileTimeErrorCode MEMBER_WITH_CLASS_NAME = new CompileTimeErro rCode('MEMBER_WITH_CLASS_NAME', 55, ""); 626 static final CompileTimeErrorCode MEMBER_WITH_CLASS_NAME = new CompileTimeErro rCode('MEMBER_WITH_CLASS_NAME', 57, "");
617 /** 627 /**
618 * 9 Mixins: It is a compile-time error if a declared or derived mixin explici tly declares a 628 * 9 Mixins: It is a compile-time error if a declared or derived mixin explici tly declares a
619 * constructor. 629 * constructor.
620 */ 630 */
621 static final CompileTimeErrorCode MIXIN_DECLARES_CONSTRUCTOR = new CompileTime ErrorCode('MIXIN_DECLARES_CONSTRUCTOR', 56, ""); 631 static final CompileTimeErrorCode MIXIN_DECLARES_CONSTRUCTOR = new CompileTime ErrorCode('MIXIN_DECLARES_CONSTRUCTOR', 58, "");
622 /** 632 /**
623 * 9 Mixins: It is a compile-time error if a mixin is derived from a class who se superclass is not 633 * 9 Mixins: It is a compile-time error if a mixin is derived from a class who se superclass is not
624 * Object. 634 * Object.
625 */ 635 */
626 static final CompileTimeErrorCode MIXIN_INHERITS_FROM_NOT_OBJECT = new Compile TimeErrorCode('MIXIN_INHERITS_FROM_NOT_OBJECT', 57, ""); 636 static final CompileTimeErrorCode MIXIN_INHERITS_FROM_NOT_OBJECT = new Compile TimeErrorCode('MIXIN_INHERITS_FROM_NOT_OBJECT', 59, "");
627 /** 637 /**
628 * 9.1 Mixin Application: It is a compile-time error if <i>M</i> does not deno te a class or mixin 638 * 9.1 Mixin Application: It is a compile-time error if <i>M</i> does not deno te a class or mixin
629 * available in the immediately enclosing scope. 639 * available in the immediately enclosing scope.
630 */ 640 */
631 static final CompileTimeErrorCode MIXIN_OF_NON_CLASS = new CompileTimeErrorCod e('MIXIN_OF_NON_CLASS', 58, ""); 641 static final CompileTimeErrorCode MIXIN_OF_NON_CLASS = new CompileTimeErrorCod e('MIXIN_OF_NON_CLASS', 60, "");
632 /** 642 /**
633 * 9.1 Mixin Application: If <i>M</i> is a class, it is a compile time error i f a well formed 643 * 9.1 Mixin Application: If <i>M</i> is a class, it is a compile time error i f a well formed
634 * mixin cannot be derived from <i>M</i>. 644 * mixin cannot be derived from <i>M</i>.
635 */ 645 */
636 static final CompileTimeErrorCode MIXIN_OF_NON_MIXIN = new CompileTimeErrorCod e('MIXIN_OF_NON_MIXIN', 59, ""); 646 static final CompileTimeErrorCode MIXIN_OF_NON_MIXIN = new CompileTimeErrorCod e('MIXIN_OF_NON_MIXIN', 61, "");
637 /** 647 /**
638 * 9 Mixins: It is a compile-time error if a declared or derived mixin refers to super. 648 * 9 Mixins: It is a compile-time error if a declared or derived mixin refers to super.
639 */ 649 */
640 static final CompileTimeErrorCode MIXIN_REFERENCES_SUPER = new CompileTimeErro rCode('MIXIN_REFERENCES_SUPER', 60, ""); 650 static final CompileTimeErrorCode MIXIN_REFERENCES_SUPER = new CompileTimeErro rCode('MIXIN_REFERENCES_SUPER', 62, "");
641 /** 651 /**
642 * 9.1 Mixin Application: It is a compile-time error if <i>S</i> does not deno te a class available 652 * 9.1 Mixin Application: It is a compile-time error if <i>S</i> does not deno te a class available
643 * in the immediately enclosing scope. 653 * in the immediately enclosing scope.
644 */ 654 */
645 static final CompileTimeErrorCode MIXIN_WITH_NON_CLASS_SUPERCLASS = new Compil eTimeErrorCode('MIXIN_WITH_NON_CLASS_SUPERCLASS', 61, ""); 655 static final CompileTimeErrorCode MIXIN_WITH_NON_CLASS_SUPERCLASS = new Compil eTimeErrorCode('MIXIN_WITH_NON_CLASS_SUPERCLASS', 63, "");
646 /** 656 /**
647 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. Th en <i>k</i> may 657 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. Th en <i>k</i> may
648 * include at most one superinitializer in its initializer list or a compile t ime error occurs. 658 * include at most one superinitializer in its initializer list or a compile t ime error occurs.
649 */ 659 */
650 static final CompileTimeErrorCode MULTIPLE_SUPER_INITIALIZERS = new CompileTim eErrorCode('MULTIPLE_SUPER_INITIALIZERS', 62, ""); 660 static final CompileTimeErrorCode MULTIPLE_SUPER_INITIALIZERS = new CompileTim eErrorCode('MULTIPLE_SUPER_INITIALIZERS', 64, "");
651 /** 661 /**
652 * 12.11.1 New: It is a compile time error if <i>S</i> is not a generic type w ith <i>m</i> type 662 * 12.11.1 New: It is a compile time error if <i>S</i> is not a generic type w ith <i>m</i> type
653 * parameters. 663 * parameters.
654 * @param typeName the name of the type being referenced (<i>S</i>) 664 * @param typeName the name of the type being referenced (<i>S</i>)
655 * @param argumentCount the number of type arguments provided 665 * @param argumentCount the number of type arguments provided
656 * @param parameterCount the number of type parameters that were declared 666 * @param parameterCount the number of type parameters that were declared
657 */ 667 */
658 static final CompileTimeErrorCode NEW_WITH_INVALID_TYPE_PARAMETERS = new Compi leTimeErrorCode('NEW_WITH_INVALID_TYPE_PARAMETERS', 63, "The type '%s' is declar ed with %d type parameters, but %d type arguments were given"); 668 static final CompileTimeErrorCode NEW_WITH_INVALID_TYPE_PARAMETERS = new Compi leTimeErrorCode('NEW_WITH_INVALID_TYPE_PARAMETERS', 65, "The type '%s' is declar ed with %d type parameters, but %d type arguments were given");
659 /** 669 /**
660 * 13.2 Expression Statements: It is a compile-time error if a non-constant ma p literal that has 670 * 13.2 Expression Statements: It is a compile-time error if a non-constant ma p literal that has
661 * no explicit type arguments appears in a place where a statement is expected . 671 * no explicit type arguments appears in a place where a statement is expected .
662 */ 672 */
663 static final CompileTimeErrorCode NON_CONST_MAP_AS_EXPRESSION_STATEMENT = new CompileTimeErrorCode('NON_CONST_MAP_AS_EXPRESSION_STATEMENT', 64, ""); 673 static final CompileTimeErrorCode NON_CONST_MAP_AS_EXPRESSION_STATEMENT = new CompileTimeErrorCode('NON_CONST_MAP_AS_EXPRESSION_STATEMENT', 66, "");
664 /** 674 /**
665 * 13.9 Switch: Given a switch statement of the form <i>switch (e) { label<sub >11</sub> &hellip; 675 * 13.9 Switch: Given a switch statement of the form <i>switch (e) { label<sub >11</sub> &hellip;
666 * label<sub>1j1</sub> case e<sub>1</sub>: s<sub>1</sub> &hellip; label<sub>n1 </sub> &hellip; 676 * label<sub>1j1</sub> case e<sub>1</sub>: s<sub>1</sub> &hellip; label<sub>n1 </sub> &hellip;
667 * label<sub>njn</sub> case e<sub>n</sub>: s<sub>n</sub> default: s<sub>n+1</s ub>}</i> or the form 677 * label<sub>njn</sub> case e<sub>n</sub>: s<sub>n</sub> default: s<sub>n+1</s ub>}</i> or the form
668 * <i>switch (e) { label<sub>11</sub> &hellip; label<sub>1j1</sub> case e<sub> 1</sub>: 678 * <i>switch (e) { label<sub>11</sub> &hellip; label<sub>1j1</sub> case e<sub> 1</sub>:
669 * s<sub>1</sub> &hellip; label<sub>n1</sub> &hellip; label<sub>njn</sub> case e<sub>n</sub>: 679 * s<sub>1</sub> &hellip; label<sub>n1</sub> &hellip; label<sub>njn</sub> case e<sub>n</sub>:
670 * s<sub>n</sub>}</i>, it is a compile-time error if the expressions <i>e<sub> k</sub></i> are not 680 * s<sub>n</sub>}</i>, it is a compile-time error if the expressions <i>e<sub> k</sub></i> are not
671 * compile-time constants, for all <i>1 &lt;= k &lt;= n</i>. 681 * compile-time constants, for all <i>1 &lt;= k &lt;= n</i>.
672 */ 682 */
673 static final CompileTimeErrorCode NON_CONSTANT_CASE_EXPRESSION = new CompileTi meErrorCode('NON_CONSTANT_CASE_EXPRESSION', 65, ""); 683 static final CompileTimeErrorCode NON_CONSTANT_CASE_EXPRESSION = new CompileTi meErrorCode('NON_CONSTANT_CASE_EXPRESSION', 67, "");
674 /** 684 /**
675 * 6.2.2 Optional Formals: It is a compile-time error if the default value of an optional 685 * 6.2.2 Optional Formals: It is a compile-time error if the default value of an optional
676 * parameter is not a compile-time constant. 686 * parameter is not a compile-time constant.
677 */ 687 */
678 static final CompileTimeErrorCode NON_CONSTANT_DEFAULT_VALUE = new CompileTime ErrorCode('NON_CONSTANT_DEFAULT_VALUE', 66, ""); 688 static final CompileTimeErrorCode NON_CONSTANT_DEFAULT_VALUE = new CompileTime ErrorCode('NON_CONSTANT_DEFAULT_VALUE', 68, "");
679 /** 689 /**
680 * 12.6 Lists: It is a compile time error if an element of a constant list lit eral is not a 690 * 12.6 Lists: It is a compile time error if an element of a constant list lit eral is not a
681 * compile-time constant. 691 * compile-time constant.
682 */ 692 */
683 static final CompileTimeErrorCode NON_CONSTANT_LIST_ELEMENT = new CompileTimeE rrorCode('NON_CONSTANT_LIST_ELEMENT', 67, ""); 693 static final CompileTimeErrorCode NON_CONSTANT_LIST_ELEMENT = new CompileTimeE rrorCode('NON_CONSTANT_LIST_ELEMENT', 69, "");
684 /** 694 /**
685 * 12.7 Maps: It is a compile time error if either a key or a value of an entr y in a constant map 695 * 12.7 Maps: It is a compile time error if either a key or a value of an entr y in a constant map
686 * literal is not a compile-time constant. 696 * literal is not a compile-time constant.
687 */ 697 */
688 static final CompileTimeErrorCode NON_CONSTANT_MAP_KEY = new CompileTimeErrorC ode('NON_CONSTANT_MAP_KEY', 68, ""); 698 static final CompileTimeErrorCode NON_CONSTANT_MAP_KEY = new CompileTimeErrorC ode('NON_CONSTANT_MAP_KEY', 70, "");
689 /** 699 /**
690 * 12.7 Maps: It is a compile time error if either a key or a value of an entr y in a constant map 700 * 12.7 Maps: It is a compile time error if either a key or a value of an entr y in a constant map
691 * literal is not a compile-time constant. 701 * literal is not a compile-time constant.
692 */ 702 */
693 static final CompileTimeErrorCode NON_CONSTANT_MAP_VALUE = new CompileTimeErro rCode('NON_CONSTANT_MAP_VALUE', 69, ""); 703 static final CompileTimeErrorCode NON_CONSTANT_MAP_VALUE = new CompileTimeErro rCode('NON_CONSTANT_MAP_VALUE', 71, "");
694 /** 704 /**
695 * 7.6.3 Constant Constructors: Any expression that appears within the initial izer list of a 705 * 7.6.3 Constant Constructors: Any expression that appears within the initial izer list of a
696 * constant constructor must be a potentially constant expression, or a compil e-time error occurs. 706 * constant constructor must be a potentially constant expression, or a compil e-time error occurs.
697 */ 707 */
698 static final CompileTimeErrorCode NON_CONSTANT_VALUE_IN_INITIALIZER = new Comp ileTimeErrorCode('NON_CONSTANT_VALUE_IN_INITIALIZER', 70, ""); 708 static final CompileTimeErrorCode NON_CONSTANT_VALUE_IN_INITIALIZER = new Comp ileTimeErrorCode('NON_CONSTANT_VALUE_IN_INITIALIZER', 72, "");
699 /** 709 /**
700 * 7.9 Superclasses: It is a compile-time error to specify an extends clause f or class Object. 710 * 7.9 Superclasses: It is a compile-time error to specify an extends clause f or class Object.
701 */ 711 */
702 static final CompileTimeErrorCode OBJECT_CANNOT_EXTEND_ANOTHER_CLASS = new Com pileTimeErrorCode('OBJECT_CANNOT_EXTEND_ANOTHER_CLASS', 71, ""); 712 static final CompileTimeErrorCode OBJECT_CANNOT_EXTEND_ANOTHER_CLASS = new Com pileTimeErrorCode('OBJECT_CANNOT_EXTEND_ANOTHER_CLASS', 73, "");
703 /** 713 /**
704 * 7.1.1 Operators: It is a compile-time error to declare an optional paramete r in an operator. 714 * 7.1.1 Operators: It is a compile-time error to declare an optional paramete r in an operator.
705 */ 715 */
706 static final CompileTimeErrorCode OPTIONAL_PARAMETER_IN_OPERATOR = new Compile TimeErrorCode('OPTIONAL_PARAMETER_IN_OPERATOR', 72, ""); 716 static final CompileTimeErrorCode OPTIONAL_PARAMETER_IN_OPERATOR = new Compile TimeErrorCode('OPTIONAL_PARAMETER_IN_OPERATOR', 74, "");
707 /** 717 /**
708 * 8 Interfaces: It is a compile-time error if an interface member <i>m1</i> o verrides an 718 * 8 Interfaces: It is a compile-time error if an interface member <i>m1</i> o verrides an
709 * interface member <i>m2</i> and <i>m1</i> does not declare all the named par ameters declared by 719 * interface member <i>m2</i> and <i>m1</i> does not declare all the named par ameters declared by
710 * <i>m2</i> in the same order. 720 * <i>m2</i> in the same order.
711 */ 721 */
712 static final CompileTimeErrorCode OVERRIDE_MISSING_NAMED_PARAMETERS = new Comp ileTimeErrorCode('OVERRIDE_MISSING_NAMED_PARAMETERS', 73, ""); 722 static final CompileTimeErrorCode OVERRIDE_MISSING_NAMED_PARAMETERS = new Comp ileTimeErrorCode('OVERRIDE_MISSING_NAMED_PARAMETERS', 75, "");
713 /** 723 /**
714 * 8 Interfaces: It is a compile-time error if an interface member <i>m1</i> o verrides an 724 * 8 Interfaces: It is a compile-time error if an interface member <i>m1</i> o verrides an
715 * interface member <i>m2</i> and <i>m1</i> has a different number of required parameters than 725 * interface member <i>m2</i> and <i>m1</i> has a different number of required parameters than
716 * <i>m2</i>. 726 * <i>m2</i>.
717 */ 727 */
718 static final CompileTimeErrorCode OVERRIDE_MISSING_REQUIRED_PARAMETERS = new C ompileTimeErrorCode('OVERRIDE_MISSING_REQUIRED_PARAMETERS', 74, ""); 728 static final CompileTimeErrorCode OVERRIDE_MISSING_REQUIRED_PARAMETERS = new C ompileTimeErrorCode('OVERRIDE_MISSING_REQUIRED_PARAMETERS', 76, "");
719 /** 729 /**
720 * 14.3 Parts: It is a compile time error if the contents of the URI are not a valid part 730 * 14.3 Parts: It is a compile time error if the contents of the URI are not a valid part
721 * declaration. 731 * declaration.
722 */ 732 */
723 static final CompileTimeErrorCode PART_OF_NON_PART = new CompileTimeErrorCode( 'PART_OF_NON_PART', 75, ""); 733 static final CompileTimeErrorCode PART_OF_NON_PART = new CompileTimeErrorCode( 'PART_OF_NON_PART', 77, "");
724 /** 734 /**
725 * 14.1 Imports: It is a compile-time error if the current library declares a top-level member 735 * 14.1 Imports: It is a compile-time error if the current library declares a top-level member
726 * named <i>p</i>. 736 * named <i>p</i>.
727 */ 737 */
728 static final CompileTimeErrorCode PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER = new CompileTimeErrorCode('PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER', 76, ""); 738 static final CompileTimeErrorCode PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER = new CompileTimeErrorCode('PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER', 78, "");
729 /** 739 /**
730 * 6.2.2 Optional Formals: It is a compile-time error if the name of a named o ptional parameter 740 * 6.2.2 Optional Formals: It is a compile-time error if the name of a named o ptional parameter
731 * begins with an ‘_’ character. 741 * begins with an ‘_’ character.
732 */ 742 */
733 static final CompileTimeErrorCode PRIVATE_OPTIONAL_PARAMETER = new CompileTime ErrorCode('PRIVATE_OPTIONAL_PARAMETER', 77, ""); 743 static final CompileTimeErrorCode PRIVATE_OPTIONAL_PARAMETER = new CompileTime ErrorCode('PRIVATE_OPTIONAL_PARAMETER', 79, "");
734 /** 744 /**
735 * 12.1 Constants: It is a compile-time error if the value of a compile-time c onstant expression 745 * 12.1 Constants: It is a compile-time error if the value of a compile-time c onstant expression
736 * depends on itself. 746 * depends on itself.
737 */ 747 */
738 static final CompileTimeErrorCode RECURSIVE_COMPILE_TIME_CONSTANT = new Compil eTimeErrorCode('RECURSIVE_COMPILE_TIME_CONSTANT', 78, ""); 748 static final CompileTimeErrorCode RECURSIVE_COMPILE_TIME_CONSTANT = new Compil eTimeErrorCode('RECURSIVE_COMPILE_TIME_CONSTANT', 80, "");
739 /** 749 /**
740 * 7.6.2 Factories: It is a compile-time error if a redirecting factory constr uctor redirects to 750 * 7.6.2 Factories: It is a compile-time error if a redirecting factory constr uctor redirects to
741 * itself, either directly or indirectly via a sequence of redirections. 751 * itself, either directly or indirectly via a sequence of redirections.
742 */ 752 */
743 static final CompileTimeErrorCode RECURSIVE_FACTORY_REDIRECT = new CompileTime ErrorCode('RECURSIVE_FACTORY_REDIRECT', 79, ""); 753 static final CompileTimeErrorCode RECURSIVE_FACTORY_REDIRECT = new CompileTime ErrorCode('RECURSIVE_FACTORY_REDIRECT', 81, "");
744 /** 754 /**
745 * 15.3.1 Typedef: It is a compile-time error if a typedef refers to itself vi a a chain of 755 * 15.3.1 Typedef: It is a compile-time error if a typedef refers to itself vi a a chain of
746 * references that does not include a class type. 756 * references that does not include a class type.
747 */ 757 */
748 static final CompileTimeErrorCode RECURSIVE_FUNCTION_TYPE_ALIAS = new CompileT imeErrorCode('RECURSIVE_FUNCTION_TYPE_ALIAS', 80, ""); 758 static final CompileTimeErrorCode RECURSIVE_FUNCTION_TYPE_ALIAS = new CompileT imeErrorCode('RECURSIVE_FUNCTION_TYPE_ALIAS', 82, "");
749 /** 759 /**
750 * 8.1 Superinterfaces: It is a compile-time error if an interface is a superi nterface of itself. 760 * 8.1 Superinterfaces: It is a compile-time error if an interface is a superi nterface of itself.
751 */ 761 */
752 static final CompileTimeErrorCode RECURSIVE_INTERFACE_INHERITANCE = new Compil eTimeErrorCode('RECURSIVE_INTERFACE_INHERITANCE', 81, ""); 762 static final CompileTimeErrorCode RECURSIVE_INTERFACE_INHERITANCE = new Compil eTimeErrorCode('RECURSIVE_INTERFACE_INHERITANCE', 83, "");
753 /** 763 /**
754 * 7.6.2 Factories: It is a compile-time error if <i>k</i> is prefixed with th e const modifier but 764 * 7.6.2 Factories: It is a compile-time error if <i>k</i> is prefixed with th e const modifier but
755 * <i>k’</i> is not a constant constructor. 765 * <i>k’</i> is not a constant constructor.
756 */ 766 */
757 static final CompileTimeErrorCode REDIRECT_TO_NON_CONST_CONSTRUCTOR = new Comp ileTimeErrorCode('REDIRECT_TO_NON_CONST_CONSTRUCTOR', 82, ""); 767 static final CompileTimeErrorCode REDIRECT_TO_NON_CONST_CONSTRUCTOR = new Comp ileTimeErrorCode('REDIRECT_TO_NON_CONST_CONSTRUCTOR', 84, "");
758 /** 768 /**
759 * 13.3 Local Variable Declaration: It is a compile-time error if <i>e</i> ref ers to the name 769 * 13.3 Local Variable Declaration: It is a compile-time error if <i>e</i> ref ers to the name
760 * <i>v</i> or the name <i>v=</i>. 770 * <i>v</i> or the name <i>v=</i>.
761 */ 771 */
762 static final CompileTimeErrorCode REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZE R = new CompileTimeErrorCode('REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZER', 83 , ""); 772 static final CompileTimeErrorCode REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZE R = new CompileTimeErrorCode('REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZER', 85 , "");
763 /** 773 /**
764 * 16.1.1 Reserved Words: A reserved word may not be used as an identifier; it is a compile-time 774 * 16.1.1 Reserved Words: A reserved word may not be used as an identifier; it is a compile-time
765 * error if a reserved word is used where an identifier is expected. 775 * error if a reserved word is used where an identifier is expected.
766 */ 776 */
767 static final CompileTimeErrorCode RESERVED_WORD_AS_IDENTIFIER = new CompileTim eErrorCode('RESERVED_WORD_AS_IDENTIFIER', 84, ""); 777 static final CompileTimeErrorCode RESERVED_WORD_AS_IDENTIFIER = new CompileTim eErrorCode('RESERVED_WORD_AS_IDENTIFIER', 86, "");
768 /** 778 /**
769 * 13.11 Return: It is a compile-time error if a return statement of the form <i>return e;</i> 779 * 13.11 Return: It is a compile-time error if a return statement of the form <i>return e;</i>
770 * appears in a generative constructor. 780 * appears in a generative constructor.
771 */ 781 */
772 static final CompileTimeErrorCode RETURN_IN_GENERATIVE_CONSTRUCTOR = new Compi leTimeErrorCode('RETURN_IN_GENERATIVE_CONSTRUCTOR', 85, ""); 782 static final CompileTimeErrorCode RETURN_IN_GENERATIVE_CONSTRUCTOR = new Compi leTimeErrorCode('RETURN_IN_GENERATIVE_CONSTRUCTOR', 87, "");
773 /** 783 /**
774 * 6.1 Function Declarations: It is a compile-time error to preface a function declaration with 784 * 6.1 Function Declarations: It is a compile-time error to preface a function declaration with
775 * the built-in identifier static. 785 * the built-in identifier static.
776 */ 786 */
777 static final CompileTimeErrorCode STATIC_TOP_LEVEL_FUNCTION = new CompileTimeE rrorCode('STATIC_TOP_LEVEL_FUNCTION', 86, ""); 787 static final CompileTimeErrorCode STATIC_TOP_LEVEL_FUNCTION = new CompileTimeE rrorCode('STATIC_TOP_LEVEL_FUNCTION', 88, "");
778 /** 788 /**
779 * 5 Variables: It is a compile-time error to preface a top level variable dec laration with the 789 * 5 Variables: It is a compile-time error to preface a top level variable dec laration with the
780 * built-in identifier static. 790 * built-in identifier static.
781 */ 791 */
782 static final CompileTimeErrorCode STATIC_TOP_LEVEL_VARIABLE = new CompileTimeE rrorCode('STATIC_TOP_LEVEL_VARIABLE', 87, ""); 792 static final CompileTimeErrorCode STATIC_TOP_LEVEL_VARIABLE = new CompileTimeE rrorCode('STATIC_TOP_LEVEL_VARIABLE', 89, "");
783 /** 793 /**
784 * 12.15.4 Super Invocation: A super method invocation <i>i</i> has the form 794 * 12.15.4 Super Invocation: A super method invocation <i>i</i> has the form
785 * <i>super.m(a<sub>1</sub>, &hellip;, a<sub>n</sub>, x<sub>n+1</sub>: a<sub>n +1</sub>, &hellip; 795 * <i>super.m(a<sub>1</sub>, &hellip;, a<sub>n</sub>, x<sub>n+1</sub>: a<sub>n +1</sub>, &hellip;
786 * x<sub>n+k</sub>: a<sub>n+k</sub>)</i>. It is a compile-time error if a supe r method invocation 796 * x<sub>n+k</sub>: a<sub>n+k</sub>)</i>. It is a compile-time error if a supe r method invocation
787 * occurs in a top-level function or variable initializer, in an instance vari able initializer or 797 * occurs in a top-level function or variable initializer, in an instance vari able initializer or
788 * initializer list, in class Object, in a factory constructor, or in a static method or variable 798 * initializer list, in class Object, in a factory constructor, or in a static method or variable
789 * initializer. 799 * initializer.
790 */ 800 */
791 static final CompileTimeErrorCode SUPER_IN_INVALID_CONTEXT = new CompileTimeEr rorCode('SUPER_IN_INVALID_CONTEXT', 88, ""); 801 static final CompileTimeErrorCode SUPER_IN_INVALID_CONTEXT = new CompileTimeEr rorCode('SUPER_IN_INVALID_CONTEXT', 90, "");
792 /** 802 /**
793 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile-time 803 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. It is a compile-time
794 * error if a generative constructor of class Object includes a superinitializ er. 804 * error if a generative constructor of class Object includes a superinitializ er.
795 */ 805 */
796 static final CompileTimeErrorCode SUPER_INITIALIZER_IN_OBJECT = new CompileTim eErrorCode('SUPER_INITIALIZER_IN_OBJECT', 89, ""); 806 static final CompileTimeErrorCode SUPER_INITIALIZER_IN_OBJECT = new CompileTim eErrorCode('SUPER_INITIALIZER_IN_OBJECT', 91, "");
797 /** 807 /**
798 * 12.8 Throw: It is a compile-time error if an expression of the form throw; is not enclosed 808 * 12.8 Throw: It is a compile-time error if an expression of the form throw; is not enclosed
799 * within a on-catch clause. 809 * within a on-catch clause.
800 */ 810 */
801 static final CompileTimeErrorCode THROW_WITHOUT_VALUE_OUTSIDE_ON = new Compile TimeErrorCode('THROW_WITHOUT_VALUE_OUTSIDE_ON', 90, ""); 811 static final CompileTimeErrorCode THROW_WITHOUT_VALUE_OUTSIDE_ON = new Compile TimeErrorCode('THROW_WITHOUT_VALUE_OUTSIDE_ON', 92, "");
802 /** 812 /**
803 * 12.11 Instance Creation: It is a compile-time error if a constructor of a n on-generic type 813 * 12.11 Instance Creation: It is a compile-time error if a constructor of a n on-generic type
804 * invoked by a new expression or a constant object expression is passed any t ype arguments. 814 * invoked by a new expression or a constant object expression is passed any t ype arguments.
805 * <p> 815 * <p>
806 * 12.32 Type Cast: It is a compile-time error if <i>T</i> is a parameterized type of the form 816 * 12.32 Type Cast: It is a compile-time error if <i>T</i> is a parameterized type of the form
807 * <i>G&lt;T<sub>1</sub>, &hellip;, T<sub>n</sub>&gt;</i> and <i>G</i> is not a generic type with 817 * <i>G&lt;T<sub>1</sub>, &hellip;, T<sub>n</sub>&gt;</i> and <i>G</i> is not a generic type with
808 * <i>n</i> type parameters. 818 * <i>n</i> type parameters.
809 */ 819 */
810 static final CompileTimeErrorCode TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS = new C ompileTimeErrorCode('TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS', 91, ""); 820 static final CompileTimeErrorCode TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS = new C ompileTimeErrorCode('TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS', 93, "");
811 /** 821 /**
812 * 7.6.1 Generative Constructors: Let <i>C</i> be the class in which the super initializer appears 822 * 7.6.1 Generative Constructors: Let <i>C</i> be the class in which the super initializer appears
813 * and let <i>S</i> be the superclass of <i>C</i>. Let <i>k</i> be a generativ e constructor. It is 823 * and let <i>S</i> be the superclass of <i>C</i>. Let <i>k</i> be a generativ e constructor. It is
814 * a compile-time error if class <i>S</i> does not declare a generative constr uctor named <i>S</i> 824 * a compile-time error if class <i>S</i> does not declare a generative constr uctor named <i>S</i>
815 * (respectively <i>S.id</i>) 825 * (respectively <i>S.id</i>)
816 */ 826 */
817 static final CompileTimeErrorCode UNDEFINED_CONSTRUCTOR_IN_INITIALIZER = new C ompileTimeErrorCode('UNDEFINED_CONSTRUCTOR_IN_INITIALIZER', 92, ""); 827 static final CompileTimeErrorCode UNDEFINED_CONSTRUCTOR_IN_INITIALIZER = new C ompileTimeErrorCode('UNDEFINED_CONSTRUCTOR_IN_INITIALIZER', 94, "");
818 /** 828 /**
819 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. Ea ch final instance 829 * 7.6.1 Generative Constructors: Let <i>k</i> be a generative constructor. Ea ch final instance
820 * variable <i>f</i> declared in the immediately enclosing class must have an initializer in 830 * variable <i>f</i> declared in the immediately enclosing class must have an initializer in
821 * <i>k</i>'s initializer list unless it has already been initialized by one o f the following 831 * <i>k</i>'s initializer list unless it has already been initialized by one o f the following
822 * means: 832 * means:
823 * <ol> 833 * <ol>
824 * <li>Initialization at the declaration of <i>f</i>. 834 * <li>Initialization at the declaration of <i>f</i>.
825 * <li>Initialization by means of an initializing formal of <i>k</i>. 835 * <li>Initialization by means of an initializing formal of <i>k</i>.
826 * </ol> 836 * </ol>
827 * or a compile-time error occurs. 837 * or a compile-time error occurs.
828 */ 838 */
829 static final CompileTimeErrorCode UNINITIALIZED_FINAL_FIELD = new CompileTimeE rrorCode('UNINITIALIZED_FINAL_FIELD', 93, ""); 839 static final CompileTimeErrorCode UNINITIALIZED_FINAL_FIELD = new CompileTimeE rrorCode('UNINITIALIZED_FINAL_FIELD', 95, "");
830 /** 840 /**
831 * 14.1 Imports: It is a compile-time error if <i>x</i> is not a compile-time constant, or if 841 * 14.1 Imports: It is a compile-time error if <i>x</i> is not a compile-time constant, or if
832 * <i>x</i> involves string interpolation. 842 * <i>x</i> involves string interpolation.
833 * <p> 843 * <p>
834 * 14.3 Parts: It is a compile-time error if <i>s</i> is not a compile-time co nstant, or if 844 * 14.3 Parts: It is a compile-time error if <i>s</i> is not a compile-time co nstant, or if
835 * <i>s</i> involves string interpolation. 845 * <i>s</i> involves string interpolation.
836 * <p> 846 * <p>
837 * 14.5 URIs: It is a compile-time error if the string literal <i>x</i> that d escribes a URI is 847 * 14.5 URIs: It is a compile-time error if the string literal <i>x</i> that d escribes a URI is
838 * not a compile-time constant, or if <i>x</i> involves string interpolation. 848 * not a compile-time constant, or if <i>x</i> involves string interpolation.
839 */ 849 */
840 static final CompileTimeErrorCode URI_WITH_INTERPOLATION = new CompileTimeErro rCode('URI_WITH_INTERPOLATION', 94, "URIs cannot use string interpolation"); 850 static final CompileTimeErrorCode URI_WITH_INTERPOLATION = new CompileTimeErro rCode('URI_WITH_INTERPOLATION', 96, "URIs cannot use string interpolation");
841 /** 851 /**
842 * 7.1.1 Operators: It is a compile-time error if the arity of the user-declar ed operator []= is 852 * 7.1.1 Operators: It is a compile-time error if the arity of the user-declar ed operator []= is
843 * not 2. It is a compile time error if the arity of a user-declared operator with one of the 853 * not 2. It is a compile time error if the arity of a user-declared operator with one of the
844 * names: &lt;, &gt;, &lt;=, &gt;=, ==, +, /, ~/, *, %, |, ^, &, &lt;&lt;, &gt ;&gt;, [] is not 1. 854 * names: &lt;, &gt;, &lt;=, &gt;=, ==, +, /, ~/, *, %, |, ^, &, &lt;&lt;, &gt ;&gt;, [] is not 1.
845 * It is a compile time error if the arity of the user-declared operator - is not 0 or 1. It is a 855 * It is a compile time error if the arity of the user-declared operator - is not 0 or 1. It is a
846 * compile time error if the arity of the user-declared operator ~ is not 0. 856 * compile time error if the arity of the user-declared operator ~ is not 0.
847 */ 857 */
848 static final CompileTimeErrorCode WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR = ne w CompileTimeErrorCode('WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR', 95, ""); 858 static final CompileTimeErrorCode WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR = ne w CompileTimeErrorCode('WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR', 97, "");
849 /** 859 /**
850 * 7.3 Setters: It is a compile-time error if a setter’s formal parameter li st does not include 860 * 7.3 Setters: It is a compile-time error if a setter’s formal parameter li st does not include
851 * exactly one required formal parameter <i>p</i>. 861 * exactly one required formal parameter <i>p</i>.
852 */ 862 */
853 static final CompileTimeErrorCode WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER = new CompileTimeErrorCode('WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER', 96, ""); 863 static final CompileTimeErrorCode WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER = new CompileTimeErrorCode('WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER', 98, "");
854 /** 864 /**
855 * 12.11 Instance Creation: It is a compile-time error if a constructor of a g eneric type with 865 * 12.11 Instance Creation: It is a compile-time error if a constructor of a g eneric type with
856 * <i>n</i> type parameters invoked by a new expression or a constant object e xpression is passed 866 * <i>n</i> type parameters invoked by a new expression or a constant object e xpression is passed
857 * <i>m</i> type arguments where <i>m != n</i>. 867 * <i>m</i> type arguments where <i>m != n</i>.
858 * <p> 868 * <p>
859 * 12.31 Type Test: It is a compile-time error if <i>T</i> is a parameterized type of the form 869 * 12.31 Type Test: It is a compile-time error if <i>T</i> is a parameterized type of the form
860 * <i>G&lt;T<sub>1</sub>, &hellip;, T<sub>n</sub>&gt;</i> and <i>G</i> is not a generic type with 870 * <i>G&lt;T<sub>1</sub>, &hellip;, T<sub>n</sub>&gt;</i> and <i>G</i> is not a generic type with
861 * <i>n</i> type parameters. 871 * <i>n</i> type parameters.
862 */ 872 */
863 static final CompileTimeErrorCode WRONG_NUMBER_OF_TYPE_ARGUMENTS = new Compile TimeErrorCode('WRONG_NUMBER_OF_TYPE_ARGUMENTS', 97, ""); 873 static final CompileTimeErrorCode WRONG_NUMBER_OF_TYPE_ARGUMENTS = new Compile TimeErrorCode('WRONG_NUMBER_OF_TYPE_ARGUMENTS', 99, "");
864 static final List<CompileTimeErrorCode> values = [AMBIGUOUS_EXPORT, AMBIGUOUS_ IMPORT, ARGUMENT_DEFINITION_TEST_NON_PARAMETER, BUILT_IN_IDENTIFIER_AS_TYPE, BUI LT_IN_IDENTIFIER_AS_TYPE_NAME, CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS, COMPILE_T IME_CONSTANT_RAISES_EXCEPTION, CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER, CONST_CO NSTRUCTOR_WITH_NON_FINAL_FIELD, CONST_FORMAL_PARAMETER, CONST_INITIALIZED_WITH_N ON_CONSTANT_VALUE, CONST_EVAL_THROWS_EXCEPTION, CONST_WITH_INVALID_TYPE_PARAMETE RS, CONST_WITH_NON_CONST, CONST_WITH_NON_CONSTANT_ARGUMENT, CONST_WITH_NON_TYPE, CONST_WITH_TYPE_PARAMETERS, CONST_WITH_UNDEFINED_CONSTRUCTOR, DEFAULT_VALUE_IN_ FUNCTION_TYPE_ALIAS, DUPLICATE_DEFINITION, DUPLICATE_MEMBER_NAME, DUPLICATE_MEMB ER_NAME_INSTANCE_STATIC, DUPLICATE_NAMED_ARGUMENT, EXPORT_OF_NON_LIBRARY, EXTEND S_NON_CLASS, EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS, FIELD_INITIALIZED_BY_MULTIP LE_INITIALIZERS, FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION, FIELD_INITIAL IZED_IN_PARAMETER_AND_INITIALIZER, FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, FINAL_ INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR, FINAL_INITIALIZED_MULTIPLE_TIMES, FI NAL_NOT_INITIALIZED, GETTER_AND_METHOD_WITH_SAME_NAME, IMPLEMENTS_DYNAMIC, IMPLE MENTS_NON_CLASS, IMPLEMENTS_REPEATED, IMPLEMENTS_SELF, IMPORT_DUPLICATED_LIBRARY _NAME, IMPORT_OF_NON_LIBRARY, INCONSITENT_CASE_EXPRESSION_TYPES, INITIALIZER_FOR _NON_EXISTANT_FIELD, INVALID_CONSTRUCTOR_NAME, INVALID_FACTORY_NAME_NOT_A_CLASS, INVALID_OVERRIDE_DEFAULT_VALUE, INVALID_OVERRIDE_NAMED, INVALID_OVERRIDE_POSITI ONAL, INVALID_OVERRIDE_REQUIRED, INVALID_REFERENCE_TO_THIS, INVALID_TYPE_ARGUMEN T_FOR_KEY, INVALID_TYPE_ARGUMENT_IN_CONST_LIST, INVALID_TYPE_ARGUMENT_IN_CONST_M AP, INVALID_VARIABLE_IN_INITIALIZER, LABEL_IN_OUTER_SCOPE, LABEL_UNDEFINED, MEMB ER_WITH_CLASS_NAME, MIXIN_DECLARES_CONSTRUCTOR, MIXIN_INHERITS_FROM_NOT_OBJECT, MIXIN_OF_NON_CLASS, MIXIN_OF_NON_MIXIN, MIXIN_REFERENCES_SUPER, MIXIN_WITH_NON_C LASS_SUPERCLASS, MULTIPLE_SUPER_INITIALIZERS, NEW_WITH_INVALID_TYPE_PARAMETERS, NON_CONST_MAP_AS_EXPRESSION_STATEMENT, NON_CONSTANT_CASE_EXPRESSION, NON_CONSTAN T_DEFAULT_VALUE, NON_CONSTANT_LIST_ELEMENT, NON_CONSTANT_MAP_KEY, NON_CONSTANT_M AP_VALUE, NON_CONSTANT_VALUE_IN_INITIALIZER, OBJECT_CANNOT_EXTEND_ANOTHER_CLASS, OPTIONAL_PARAMETER_IN_OPERATOR, OVERRIDE_MISSING_NAMED_PARAMETERS, OVERRIDE_MIS SING_REQUIRED_PARAMETERS, PART_OF_NON_PART, PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBE R, PRIVATE_OPTIONAL_PARAMETER, RECURSIVE_COMPILE_TIME_CONSTANT, RECURSIVE_FACTOR Y_REDIRECT, RECURSIVE_FUNCTION_TYPE_ALIAS, RECURSIVE_INTERFACE_INHERITANCE, REDI RECT_TO_NON_CONST_CONSTRUCTOR, REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZER, RE SERVED_WORD_AS_IDENTIFIER, RETURN_IN_GENERATIVE_CONSTRUCTOR, STATIC_TOP_LEVEL_FU NCTION, STATIC_TOP_LEVEL_VARIABLE, SUPER_IN_INVALID_CONTEXT, SUPER_INITIALIZER_I N_OBJECT, THROW_WITHOUT_VALUE_OUTSIDE_ON, TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS, UNDEFINED_CONSTRUCTOR_IN_INITIALIZER, UNINITIALIZED_FINAL_FIELD, URI_WITH_INTERP OLATION, WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, WRONG_NUMBER_OF_PARAMETERS_FOR _SETTER, WRONG_NUMBER_OF_TYPE_ARGUMENTS]; 874 static final List<CompileTimeErrorCode> values = [AMBIGUOUS_EXPORT, AMBIGUOUS_ IMPORT, ARGUMENT_DEFINITION_TEST_NON_PARAMETER, BUILT_IN_IDENTIFIER_AS_TYPE, BUI LT_IN_IDENTIFIER_AS_TYPE_NAME, BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME, BUILT_IN_IDE NTIFIER_AS_TYPE_VARIABLE_NAME, CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS, COMPILE_T IME_CONSTANT_RAISES_EXCEPTION, CONFLICTING_CONSTRUCTOR_NAME_AND_MEMBER, CONST_CO NSTRUCTOR_WITH_NON_FINAL_FIELD, CONST_FORMAL_PARAMETER, CONST_INITIALIZED_WITH_N ON_CONSTANT_VALUE, CONST_EVAL_THROWS_EXCEPTION, CONST_WITH_INVALID_TYPE_PARAMETE RS, CONST_WITH_NON_CONST, CONST_WITH_NON_CONSTANT_ARGUMENT, CONST_WITH_NON_TYPE, CONST_WITH_TYPE_PARAMETERS, CONST_WITH_UNDEFINED_CONSTRUCTOR, DEFAULT_VALUE_IN_ FUNCTION_TYPE_ALIAS, DUPLICATE_DEFINITION, DUPLICATE_MEMBER_NAME, DUPLICATE_MEMB ER_NAME_INSTANCE_STATIC, DUPLICATE_NAMED_ARGUMENT, EXPORT_OF_NON_LIBRARY, EXTEND S_NON_CLASS, EXTENDS_OR_IMPLEMENTS_DISALLOWED_CLASS, FIELD_INITIALIZED_BY_MULTIP LE_INITIALIZERS, FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION, FIELD_INITIAL IZED_IN_PARAMETER_AND_INITIALIZER, FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, FINAL_ INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR, FINAL_INITIALIZED_MULTIPLE_TIMES, FI NAL_NOT_INITIALIZED, GETTER_AND_METHOD_WITH_SAME_NAME, IMPLEMENTS_DYNAMIC, IMPLE MENTS_NON_CLASS, IMPLEMENTS_REPEATED, IMPLEMENTS_SELF, IMPORT_DUPLICATED_LIBRARY _NAME, IMPORT_OF_NON_LIBRARY, INCONSITENT_CASE_EXPRESSION_TYPES, INITIALIZER_FOR _NON_EXISTANT_FIELD, INVALID_CONSTRUCTOR_NAME, INVALID_FACTORY_NAME_NOT_A_CLASS, INVALID_OVERRIDE_DEFAULT_VALUE, INVALID_OVERRIDE_NAMED, INVALID_OVERRIDE_POSITI ONAL, INVALID_OVERRIDE_REQUIRED, INVALID_REFERENCE_TO_THIS, INVALID_TYPE_ARGUMEN T_FOR_KEY, INVALID_TYPE_ARGUMENT_IN_CONST_LIST, INVALID_TYPE_ARGUMENT_IN_CONST_M AP, INVALID_VARIABLE_IN_INITIALIZER, LABEL_IN_OUTER_SCOPE, LABEL_UNDEFINED, MEMB ER_WITH_CLASS_NAME, MIXIN_DECLARES_CONSTRUCTOR, MIXIN_INHERITS_FROM_NOT_OBJECT, MIXIN_OF_NON_CLASS, MIXIN_OF_NON_MIXIN, MIXIN_REFERENCES_SUPER, MIXIN_WITH_NON_C LASS_SUPERCLASS, MULTIPLE_SUPER_INITIALIZERS, NEW_WITH_INVALID_TYPE_PARAMETERS, NON_CONST_MAP_AS_EXPRESSION_STATEMENT, NON_CONSTANT_CASE_EXPRESSION, NON_CONSTAN T_DEFAULT_VALUE, NON_CONSTANT_LIST_ELEMENT, NON_CONSTANT_MAP_KEY, NON_CONSTANT_M AP_VALUE, NON_CONSTANT_VALUE_IN_INITIALIZER, OBJECT_CANNOT_EXTEND_ANOTHER_CLASS, OPTIONAL_PARAMETER_IN_OPERATOR, OVERRIDE_MISSING_NAMED_PARAMETERS, OVERRIDE_MIS SING_REQUIRED_PARAMETERS, PART_OF_NON_PART, PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBE R, PRIVATE_OPTIONAL_PARAMETER, RECURSIVE_COMPILE_TIME_CONSTANT, RECURSIVE_FACTOR Y_REDIRECT, RECURSIVE_FUNCTION_TYPE_ALIAS, RECURSIVE_INTERFACE_INHERITANCE, REDI RECT_TO_NON_CONST_CONSTRUCTOR, REFERENCE_TO_DECLARED_VARIABLE_IN_INITIALIZER, RE SERVED_WORD_AS_IDENTIFIER, RETURN_IN_GENERATIVE_CONSTRUCTOR, STATIC_TOP_LEVEL_FU NCTION, STATIC_TOP_LEVEL_VARIABLE, SUPER_IN_INVALID_CONTEXT, SUPER_INITIALIZER_I N_OBJECT, THROW_WITHOUT_VALUE_OUTSIDE_ON, TYPE_ARGUMENTS_FOR_NON_GENERIC_CLASS, UNDEFINED_CONSTRUCTOR_IN_INITIALIZER, UNINITIALIZED_FINAL_FIELD, URI_WITH_INTERP OLATION, WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, WRONG_NUMBER_OF_PARAMETERS_FOR _SETTER, WRONG_NUMBER_OF_TYPE_ARGUMENTS];
865 final String __name; 875 final String __name;
866 final int __ordinal; 876 final int __ordinal;
867 /** 877 /**
868 * The message template used to create the message to be displayed for this er ror. 878 * The message template used to create the message to be displayed for this er ror.
869 */ 879 */
870 String _message; 880 String _message;
871 /** 881 /**
872 * Initialize a newly created error code to have the given message. 882 * Initialize a newly created error code to have the given message.
873 * @param message the message template used to create the message to be displa yed for the error 883 * @param message the message template used to create the message to be displa yed for the error
874 */ 884 */
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 */ 1385 */
1376 StaticTypeWarningCode(this.__name, this.__ordinal, String message) { 1386 StaticTypeWarningCode(this.__name, this.__ordinal, String message) {
1377 this._message = message; 1387 this._message = message;
1378 } 1388 }
1379 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity; 1389 ErrorSeverity get errorSeverity => ErrorType.STATIC_TYPE_WARNING.severity;
1380 String get message => _message; 1390 String get message => _message;
1381 ErrorType get type => ErrorType.STATIC_TYPE_WARNING; 1391 ErrorType get type => ErrorType.STATIC_TYPE_WARNING;
1382 bool needsRecompilation() => true; 1392 bool needsRecompilation() => true;
1383 String toString() => __name; 1393 String toString() => __name;
1384 } 1394 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698