| 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/dart/ast/ast.dart' show AstNode; | 9 import 'package:analyzer/dart/ast/ast.dart' show AstNode; |
| 10 import 'package:analyzer/dart/ast/token.dart'; | 10 import 'package:analyzer/dart/ast/token.dart'; |
| (...skipping 2942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2953 ParserErrorCode.NATIVE_CLAUSE_IN_NON_SDK_CODE, | 2953 ParserErrorCode.NATIVE_CLAUSE_IN_NON_SDK_CODE, |
| 2954 ParserErrorCode.NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE, | 2954 ParserErrorCode.NATIVE_FUNCTION_BODY_IN_NON_SDK_CODE, |
| 2955 ParserErrorCode.NON_CONSTRUCTOR_FACTORY, | 2955 ParserErrorCode.NON_CONSTRUCTOR_FACTORY, |
| 2956 ParserErrorCode.NON_IDENTIFIER_LIBRARY_NAME, | 2956 ParserErrorCode.NON_IDENTIFIER_LIBRARY_NAME, |
| 2957 ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, | 2957 ParserErrorCode.NON_PART_OF_DIRECTIVE_IN_PART, |
| 2958 ParserErrorCode.NON_STRING_LITERAL_AS_URI, | 2958 ParserErrorCode.NON_STRING_LITERAL_AS_URI, |
| 2959 ParserErrorCode.NON_USER_DEFINABLE_OPERATOR, | 2959 ParserErrorCode.NON_USER_DEFINABLE_OPERATOR, |
| 2960 ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETERS, | 2960 ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETERS, |
| 2961 ParserErrorCode.POSITIONAL_AFTER_NAMED_ARGUMENT, | 2961 ParserErrorCode.POSITIONAL_AFTER_NAMED_ARGUMENT, |
| 2962 ParserErrorCode.POSITIONAL_PARAMETER_OUTSIDE_GROUP, | 2962 ParserErrorCode.POSITIONAL_PARAMETER_OUTSIDE_GROUP, |
| 2963 ParserErrorCode.REDIRECTING_CONSTRUCTOR_WITH_BODY, |
| 2963 ParserErrorCode.REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR, | 2964 ParserErrorCode.REDIRECTION_IN_NON_FACTORY_CONSTRUCTOR, |
| 2964 ParserErrorCode.SETTER_IN_FUNCTION, | 2965 ParserErrorCode.SETTER_IN_FUNCTION, |
| 2965 ParserErrorCode.STATIC_AFTER_CONST, | 2966 ParserErrorCode.STATIC_AFTER_CONST, |
| 2966 ParserErrorCode.STATIC_AFTER_FINAL, | 2967 ParserErrorCode.STATIC_AFTER_FINAL, |
| 2967 ParserErrorCode.STATIC_AFTER_VAR, | 2968 ParserErrorCode.STATIC_AFTER_VAR, |
| 2968 ParserErrorCode.STATIC_CONSTRUCTOR, | 2969 ParserErrorCode.STATIC_CONSTRUCTOR, |
| 2969 ParserErrorCode.STATIC_GETTER_WITHOUT_BODY, | 2970 ParserErrorCode.STATIC_GETTER_WITHOUT_BODY, |
| 2970 ParserErrorCode.STATIC_OPERATOR, | 2971 ParserErrorCode.STATIC_OPERATOR, |
| 2971 ParserErrorCode.STATIC_SETTER_WITHOUT_BODY, | 2972 ParserErrorCode.STATIC_SETTER_WITHOUT_BODY, |
| 2972 ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, | 2973 ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION, |
| (...skipping 2717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5690 * Initialize a newly created error code to have the given [name]. | 5691 * Initialize a newly created error code to have the given [name]. |
| 5691 */ | 5692 */ |
| 5692 const TodoCode(String name) : super(name, "{0}"); | 5693 const TodoCode(String name) : super(name, "{0}"); |
| 5693 | 5694 |
| 5694 @override | 5695 @override |
| 5695 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; | 5696 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; |
| 5696 | 5697 |
| 5697 @override | 5698 @override |
| 5698 ErrorType get type => ErrorType.TODO; | 5699 ErrorType get type => ErrorType.TODO; |
| 5699 } | 5700 } |
| OLD | NEW |