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.src.generated.error; | 5 library analyzer.src.generated.error; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analyzer/source/error_processor.dart'; | 9 import 'package:analyzer/source/error_processor.dart'; |
10 import 'package:analyzer/src/generated/ast.dart' show AstNode; | 10 import 'package:analyzer/src/generated/ast.dart' show AstNode; |
(...skipping 2755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2766 StaticWarningCode.FUNCTION_WITHOUT_CALL, | 2766 StaticWarningCode.FUNCTION_WITHOUT_CALL, |
2767 StaticWarningCode.IMPORT_DUPLICATED_LIBRARY_NAMED, | 2767 StaticWarningCode.IMPORT_DUPLICATED_LIBRARY_NAMED, |
2768 StaticWarningCode.IMPORT_OF_NON_LIBRARY, | 2768 StaticWarningCode.IMPORT_OF_NON_LIBRARY, |
2769 StaticWarningCode.INCONSISTENT_METHOD_INHERITANCE_GETTER_AND_METHOD, | 2769 StaticWarningCode.INCONSISTENT_METHOD_INHERITANCE_GETTER_AND_METHOD, |
2770 StaticWarningCode.INSTANCE_METHOD_NAME_COLLIDES_WITH_SUPERCLASS_STATIC, | 2770 StaticWarningCode.INSTANCE_METHOD_NAME_COLLIDES_WITH_SUPERCLASS_STATIC, |
2771 StaticWarningCode.INVALID_GETTER_OVERRIDE_RETURN_TYPE, | 2771 StaticWarningCode.INVALID_GETTER_OVERRIDE_RETURN_TYPE, |
2772 StaticWarningCode.INVALID_METHOD_OVERRIDE_NAMED_PARAM_TYPE, | 2772 StaticWarningCode.INVALID_METHOD_OVERRIDE_NAMED_PARAM_TYPE, |
2773 StaticWarningCode.INVALID_METHOD_OVERRIDE_NORMAL_PARAM_TYPE, | 2773 StaticWarningCode.INVALID_METHOD_OVERRIDE_NORMAL_PARAM_TYPE, |
2774 StaticWarningCode.INVALID_METHOD_OVERRIDE_OPTIONAL_PARAM_TYPE, | 2774 StaticWarningCode.INVALID_METHOD_OVERRIDE_OPTIONAL_PARAM_TYPE, |
2775 StaticWarningCode.INVALID_METHOD_OVERRIDE_RETURN_TYPE, | 2775 StaticWarningCode.INVALID_METHOD_OVERRIDE_RETURN_TYPE, |
| 2776 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETER_BOUND, |
| 2777 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS, |
2776 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_NAMED, | 2778 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_NAMED, |
2777 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_POSITIONAL, | 2779 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_POSITIONAL, |
2778 StaticWarningCode.INVALID_OVERRIDE_NAMED, | 2780 StaticWarningCode.INVALID_OVERRIDE_NAMED, |
2779 StaticWarningCode.INVALID_OVERRIDE_POSITIONAL, | 2781 StaticWarningCode.INVALID_OVERRIDE_POSITIONAL, |
2780 StaticWarningCode.INVALID_OVERRIDE_REQUIRED, | 2782 StaticWarningCode.INVALID_OVERRIDE_REQUIRED, |
2781 StaticWarningCode.INVALID_SETTER_OVERRIDE_NORMAL_PARAM_TYPE, | 2783 StaticWarningCode.INVALID_SETTER_OVERRIDE_NORMAL_PARAM_TYPE, |
2782 StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, | 2784 StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, |
2783 StaticWarningCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, | 2785 StaticWarningCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, |
2784 StaticWarningCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, | 2786 StaticWarningCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, |
2785 StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES, | 2787 StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES, |
(...skipping 2865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5651 * Initialize a newly created error code to have the given [name]. | 5653 * Initialize a newly created error code to have the given [name]. |
5652 */ | 5654 */ |
5653 const TodoCode(String name) : super(name, "{0}"); | 5655 const TodoCode(String name) : super(name, "{0}"); |
5654 | 5656 |
5655 @override | 5657 @override |
5656 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; | 5658 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; |
5657 | 5659 |
5658 @override | 5660 @override |
5659 ErrorType get type => ErrorType.TODO; | 5661 ErrorType get type => ErrorType.TODO; |
5660 } | 5662 } |
OLD | NEW |