OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 library analyzer.error.error; | 5 library analyzer.error.error; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
10 import 'package:analyzer/error/listener.dart'; | 10 import 'package:analyzer/error/listener.dart'; |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER, | 432 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER, |
433 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT, | 433 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT, |
434 CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER, | 434 CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER, |
435 CompileTimeErrorCode.URI_DOES_NOT_EXIST, | 435 CompileTimeErrorCode.URI_DOES_NOT_EXIST, |
436 CompileTimeErrorCode.URI_WITH_INTERPOLATION, | 436 CompileTimeErrorCode.URI_WITH_INTERPOLATION, |
437 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, | 437 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, |
438 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS, | 438 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS, |
439 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER, | 439 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER, |
440 CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR, | 440 CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR, |
441 CompileTimeErrorCode.YIELD_IN_NON_GENERATOR, | 441 CompileTimeErrorCode.YIELD_IN_NON_GENERATOR, |
| 442 HintCode.ABSTRACT_SUPER_MEMBER_REFERENCE, |
442 HintCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, | 443 HintCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, |
443 HintCode.CAN_BE_NULL_AFTER_NULL_AWARE, | 444 HintCode.CAN_BE_NULL_AFTER_NULL_AWARE, |
444 HintCode.DEAD_CODE, | 445 HintCode.DEAD_CODE, |
445 HintCode.DEAD_CODE_CATCH_FOLLOWING_CATCH, | 446 HintCode.DEAD_CODE_CATCH_FOLLOWING_CATCH, |
446 HintCode.DEAD_CODE_ON_CATCH_SUBTYPE, | 447 HintCode.DEAD_CODE_ON_CATCH_SUBTYPE, |
447 HintCode.DEPRECATED_MEMBER_USE, | 448 HintCode.DEPRECATED_MEMBER_USE, |
448 HintCode.DUPLICATE_IMPORT, | 449 HintCode.DUPLICATE_IMPORT, |
449 HintCode.DIVISION_OPTIMIZATION, | 450 HintCode.DIVISION_OPTIMIZATION, |
450 HintCode.INVALID_FACTORY_ANNOTATION, | 451 HintCode.INVALID_FACTORY_ANNOTATION, |
451 HintCode.INVALID_FACTORY_METHOD_DECL, | 452 HintCode.INVALID_FACTORY_METHOD_DECL, |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 | 1110 |
1110 @override | 1111 @override |
1111 int get hashCode => ordinal; | 1112 int get hashCode => ordinal; |
1112 | 1113 |
1113 @override | 1114 @override |
1114 int compareTo(ErrorType other) => ordinal - other.ordinal; | 1115 int compareTo(ErrorType other) => ordinal - other.ordinal; |
1115 | 1116 |
1116 @override | 1117 @override |
1117 String toString() => name; | 1118 String toString() => name; |
1118 } | 1119 } |
OLD | NEW |