| 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 2464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2475 static const List<ErrorCode> values = const [ | 2475 static const List<ErrorCode> values = const [ |
| 2476 // | 2476 // |
| 2477 // Manually generated. FWIW, this get's you most of the way there: | 2477 // Manually generated. FWIW, this get's you most of the way there: |
| 2478 // | 2478 // |
| 2479 // > grep 'static const .*Code' (error.dart|parser|scanner.dart) | 2479 // > grep 'static const .*Code' (error.dart|parser|scanner.dart) |
| 2480 // | awk '{print $3"."$4","}' | 2480 // | awk '{print $3"."$4","}' |
| 2481 // | 2481 // |
| 2482 // error.dart: | 2482 // error.dart: |
| 2483 // | 2483 // |
| 2484 AnalysisOptionsErrorCode.PARSE_ERROR, | 2484 AnalysisOptionsErrorCode.PARSE_ERROR, |
| 2485 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES, |
| 2485 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUE, | 2486 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUE, |
| 2486 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES, | 2487 AnalysisOptionsWarningCode.UNSUPPORTED_VALUE, |
| 2488 AnalysisOptionsWarningCode.UNRECOGNIZED_ERROR_CODE, |
| 2487 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH, | 2489 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH, |
| 2488 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH, | 2490 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH, |
| 2489 CheckedModeCompileTimeErrorCode.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE, | 2491 CheckedModeCompileTimeErrorCode.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE, |
| 2490 CheckedModeCompileTimeErrorCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, | 2492 CheckedModeCompileTimeErrorCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, |
| 2491 CheckedModeCompileTimeErrorCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, | 2493 CheckedModeCompileTimeErrorCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, |
| 2492 CheckedModeCompileTimeErrorCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, | 2494 CheckedModeCompileTimeErrorCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, |
| 2493 CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH, | 2495 CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH, |
| 2494 CompileTimeErrorCode.ACCESS_PRIVATE_ENUM_FIELD, | 2496 CompileTimeErrorCode.ACCESS_PRIVATE_ENUM_FIELD, |
| 2495 CompileTimeErrorCode.AMBIGUOUS_EXPORT, | 2497 CompileTimeErrorCode.AMBIGUOUS_EXPORT, |
| 2496 CompileTimeErrorCode.ANNOTATION_WITH_NON_CLASS, | 2498 CompileTimeErrorCode.ANNOTATION_WITH_NON_CLASS, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2542 CompileTimeErrorCode.DUPLICATE_CONSTRUCTOR_NAME, | 2544 CompileTimeErrorCode.DUPLICATE_CONSTRUCTOR_NAME, |
| 2543 CompileTimeErrorCode.DUPLICATE_DEFINITION, | 2545 CompileTimeErrorCode.DUPLICATE_DEFINITION, |
| 2544 CompileTimeErrorCode.DUPLICATE_DEFINITION_INHERITANCE, | 2546 CompileTimeErrorCode.DUPLICATE_DEFINITION_INHERITANCE, |
| 2545 CompileTimeErrorCode.DUPLICATE_NAMED_ARGUMENT, | 2547 CompileTimeErrorCode.DUPLICATE_NAMED_ARGUMENT, |
| 2546 CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY, | 2548 CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY, |
| 2547 CompileTimeErrorCode.EXPORT_OF_NON_LIBRARY, | 2549 CompileTimeErrorCode.EXPORT_OF_NON_LIBRARY, |
| 2548 CompileTimeErrorCode.EXTENDS_ENUM, | 2550 CompileTimeErrorCode.EXTENDS_ENUM, |
| 2549 CompileTimeErrorCode.EXTENDS_NON_CLASS, | 2551 CompileTimeErrorCode.EXTENDS_NON_CLASS, |
| 2550 CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS, | 2552 CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS, |
| 2551 CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS, | 2553 CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS, |
| 2554 CompileTimeErrorCode.EXTRA_ARGUMENT_TO_ASSERT, |
| 2552 CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS, | 2555 CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS, |
| 2553 CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS, | 2556 CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS, |
| 2554 CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER, | 2557 CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER, |
| 2555 CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES, | 2558 CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES, |
| 2556 CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR, | 2559 CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR, |
| 2557 CompileTimeErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, | 2560 CompileTimeErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR, |
| 2558 CompileTimeErrorCode.FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR, | 2561 CompileTimeErrorCode.FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR, |
| 2559 CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME, | 2562 CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME, |
| 2560 CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS, | 2563 CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS, |
| 2561 CompileTimeErrorCode.IMPLEMENTS_DISALLOWED_CLASS, | 2564 CompileTimeErrorCode.IMPLEMENTS_DISALLOWED_CLASS, |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2657 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT, | 2660 CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT, |
| 2658 CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER, | 2661 CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER, |
| 2659 CompileTimeErrorCode.URI_DOES_NOT_EXIST, | 2662 CompileTimeErrorCode.URI_DOES_NOT_EXIST, |
| 2660 CompileTimeErrorCode.URI_WITH_INTERPOLATION, | 2663 CompileTimeErrorCode.URI_WITH_INTERPOLATION, |
| 2661 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, | 2664 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR, |
| 2662 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS, | 2665 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS, |
| 2663 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER, | 2666 CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER, |
| 2664 CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR, | 2667 CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR, |
| 2665 CompileTimeErrorCode.YIELD_IN_NON_GENERATOR, | 2668 CompileTimeErrorCode.YIELD_IN_NON_GENERATOR, |
| 2666 HintCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, | 2669 HintCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, |
| 2670 HintCode.CAN_BE_NULL_AFTER_NULL_AWARE, |
| 2667 HintCode.DEAD_CODE, | 2671 HintCode.DEAD_CODE, |
| 2668 HintCode.DEAD_CODE_CATCH_FOLLOWING_CATCH, | 2672 HintCode.DEAD_CODE_CATCH_FOLLOWING_CATCH, |
| 2669 HintCode.DEAD_CODE_ON_CATCH_SUBTYPE, | 2673 HintCode.DEAD_CODE_ON_CATCH_SUBTYPE, |
| 2670 HintCode.DEPRECATED_MEMBER_USE, | 2674 HintCode.DEPRECATED_MEMBER_USE, |
| 2671 HintCode.DUPLICATE_IMPORT, | 2675 HintCode.DUPLICATE_IMPORT, |
| 2672 HintCode.DIVISION_OPTIMIZATION, | 2676 HintCode.DIVISION_OPTIMIZATION, |
| 2673 HintCode.IS_DOUBLE, | 2677 HintCode.IS_DOUBLE, |
| 2674 HintCode.IS_INT, | 2678 HintCode.IS_INT, |
| 2675 HintCode.IS_NOT_DOUBLE, | 2679 HintCode.IS_NOT_DOUBLE, |
| 2676 HintCode.IS_NOT_INT, | 2680 HintCode.IS_NOT_INT, |
| 2677 HintCode.IMPORT_DEFERRED_LIBRARY_WITH_LOAD_FUNCTION, | 2681 HintCode.IMPORT_DEFERRED_LIBRARY_WITH_LOAD_FUNCTION, |
| 2678 HintCode.INVALID_ASSIGNMENT, | 2682 HintCode.INVALID_ASSIGNMENT, |
| 2683 HintCode.INVALID_USE_OF_PROTECTED_MEMBER, |
| 2679 HintCode.MISSING_RETURN, | 2684 HintCode.MISSING_RETURN, |
| 2685 HintCode.NULL_AWARE_IN_CONDITION, |
| 2680 HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER, | 2686 HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER, |
| 2681 HintCode.OVERRIDE_ON_NON_OVERRIDING_METHOD, | 2687 HintCode.OVERRIDE_ON_NON_OVERRIDING_METHOD, |
| 2682 HintCode.OVERRIDE_ON_NON_OVERRIDING_SETTER, | 2688 HintCode.OVERRIDE_ON_NON_OVERRIDING_SETTER, |
| 2683 HintCode.OVERRIDE_EQUALS_BUT_NOT_HASH_CODE, | 2689 HintCode.OVERRIDE_EQUALS_BUT_NOT_HASH_CODE, |
| 2684 HintCode.TYPE_CHECK_IS_NOT_NULL, | 2690 HintCode.TYPE_CHECK_IS_NOT_NULL, |
| 2685 HintCode.TYPE_CHECK_IS_NULL, | 2691 HintCode.TYPE_CHECK_IS_NULL, |
| 2686 HintCode.UNDEFINED_GETTER, | 2692 HintCode.UNDEFINED_GETTER, |
| 2687 HintCode.UNDEFINED_METHOD, | 2693 HintCode.UNDEFINED_METHOD, |
| 2688 HintCode.UNDEFINED_OPERATOR, | 2694 HintCode.UNDEFINED_OPERATOR, |
| 2689 HintCode.UNDEFINED_SETTER, | 2695 HintCode.UNDEFINED_SETTER, |
| 2690 HintCode.UNNECESSARY_CAST, | 2696 HintCode.UNNECESSARY_CAST, |
| 2697 HintCode.UNNECESSARY_NO_SUCH_METHOD, |
| 2691 HintCode.UNNECESSARY_TYPE_CHECK_FALSE, | 2698 HintCode.UNNECESSARY_TYPE_CHECK_FALSE, |
| 2692 HintCode.UNNECESSARY_TYPE_CHECK_TRUE, | 2699 HintCode.UNNECESSARY_TYPE_CHECK_TRUE, |
| 2693 HintCode.UNUSED_ELEMENT, | 2700 HintCode.UNUSED_ELEMENT, |
| 2694 HintCode.UNUSED_FIELD, | 2701 HintCode.UNUSED_FIELD, |
| 2695 HintCode.UNUSED_IMPORT, | 2702 HintCode.UNUSED_IMPORT, |
| 2696 HintCode.UNUSED_CATCH_CLAUSE, | 2703 HintCode.UNUSED_CATCH_CLAUSE, |
| 2697 HintCode.UNUSED_CATCH_STACK, | 2704 HintCode.UNUSED_CATCH_STACK, |
| 2698 HintCode.UNUSED_LOCAL_VARIABLE, | 2705 HintCode.UNUSED_LOCAL_VARIABLE, |
| 2699 HintCode.USE_OF_VOID_RESULT, | 2706 HintCode.USE_OF_VOID_RESULT, |
| 2700 HintCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE, | 2707 HintCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE, |
| 2701 HintCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE, | 2708 HintCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE, |
| 2702 HintCode.NULL_AWARE_IN_CONDITION, | |
| 2703 HintCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT, | 2709 HintCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT, |
| 2704 HtmlErrorCode.PARSE_ERROR, | 2710 HtmlErrorCode.PARSE_ERROR, |
| 2705 HtmlWarningCode.INVALID_URI, | 2711 HtmlWarningCode.INVALID_URI, |
| 2706 HtmlWarningCode.URI_DOES_NOT_EXIST, | 2712 HtmlWarningCode.URI_DOES_NOT_EXIST, |
| 2707 StaticTypeWarningCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS, | 2713 StaticTypeWarningCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS, |
| 2708 StaticTypeWarningCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS, | 2714 StaticTypeWarningCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS, |
| 2709 StaticTypeWarningCode.ILLEGAL_ASYNC_GENERATOR_RETURN_TYPE, | 2715 StaticTypeWarningCode.ILLEGAL_ASYNC_GENERATOR_RETURN_TYPE, |
| 2710 StaticTypeWarningCode.ILLEGAL_ASYNC_RETURN_TYPE, | 2716 StaticTypeWarningCode.ILLEGAL_ASYNC_RETURN_TYPE, |
| 2711 StaticTypeWarningCode.ILLEGAL_SYNC_GENERATOR_RETURN_TYPE, | 2717 StaticTypeWarningCode.ILLEGAL_SYNC_GENERATOR_RETURN_TYPE, |
| 2712 StaticTypeWarningCode.INACCESSIBLE_SETTER, | 2718 StaticTypeWarningCode.INACCESSIBLE_SETTER, |
| 2713 StaticTypeWarningCode.INCONSISTENT_METHOD_INHERITANCE, | 2719 StaticTypeWarningCode.INCONSISTENT_METHOD_INHERITANCE, |
| 2714 StaticTypeWarningCode.INSTANCE_ACCESS_TO_STATIC_MEMBER, | 2720 StaticTypeWarningCode.INSTANCE_ACCESS_TO_STATIC_MEMBER, |
| 2715 StaticTypeWarningCode.INVALID_ASSIGNMENT, | 2721 StaticTypeWarningCode.INVALID_ASSIGNMENT, |
| 2716 StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION, | 2722 StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION, |
| 2717 StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION_EXPRESSION, | 2723 StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION_EXPRESSION, |
| 2718 StaticTypeWarningCode.NON_BOOL_CONDITION, | 2724 StaticTypeWarningCode.NON_BOOL_CONDITION, |
| 2719 StaticTypeWarningCode.NON_BOOL_EXPRESSION, | 2725 StaticTypeWarningCode.NON_BOOL_EXPRESSION, |
| 2720 StaticTypeWarningCode.NON_BOOL_NEGATION_EXPRESSION, | 2726 StaticTypeWarningCode.NON_BOOL_NEGATION_EXPRESSION, |
| 2721 StaticTypeWarningCode.NON_BOOL_OPERAND, | 2727 StaticTypeWarningCode.NON_BOOL_OPERAND, |
| 2722 StaticTypeWarningCode.NON_TYPE_AS_TYPE_ARGUMENT, | 2728 StaticTypeWarningCode.NON_TYPE_AS_TYPE_ARGUMENT, |
| 2723 StaticTypeWarningCode.RETURN_OF_INVALID_TYPE, | 2729 StaticTypeWarningCode.RETURN_OF_INVALID_TYPE, |
| 2724 StaticTypeWarningCode.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, | 2730 StaticTypeWarningCode.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, |
| 2725 StaticTypeWarningCode.TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND, | 2731 StaticTypeWarningCode.TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND, |
| 2726 StaticTypeWarningCode.UNDEFINED_ENUM_CONSTANT, | 2732 StaticTypeWarningCode.UNDEFINED_ENUM_CONSTANT, |
| 2727 StaticTypeWarningCode.UNDEFINED_FUNCTION, | 2733 StaticTypeWarningCode.UNDEFINED_FUNCTION, |
| 2728 StaticTypeWarningCode.UNDEFINED_GETTER, | 2734 StaticTypeWarningCode.UNDEFINED_GETTER, |
| 2729 StaticTypeWarningCode.UNDEFINED_METHOD, | 2735 StaticTypeWarningCode.UNDEFINED_METHOD, |
| 2736 StaticTypeWarningCode.UNDEFINED_METHOD_WITH_CONSTRUCTOR, |
| 2730 StaticTypeWarningCode.UNDEFINED_OPERATOR, | 2737 StaticTypeWarningCode.UNDEFINED_OPERATOR, |
| 2731 StaticTypeWarningCode.UNDEFINED_SETTER, | 2738 StaticTypeWarningCode.UNDEFINED_SETTER, |
| 2732 StaticTypeWarningCode.UNDEFINED_SUPER_GETTER, | 2739 StaticTypeWarningCode.UNDEFINED_SUPER_GETTER, |
| 2733 StaticTypeWarningCode.UNDEFINED_SUPER_METHOD, | 2740 StaticTypeWarningCode.UNDEFINED_SUPER_METHOD, |
| 2734 StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR, | 2741 StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR, |
| 2735 StaticTypeWarningCode.UNDEFINED_SUPER_SETTER, | 2742 StaticTypeWarningCode.UNDEFINED_SUPER_SETTER, |
| 2736 StaticTypeWarningCode.UNQUALIFIED_REFERENCE_TO_NON_LOCAL_STATIC_MEMBER, | 2743 StaticTypeWarningCode.UNQUALIFIED_REFERENCE_TO_NON_LOCAL_STATIC_MEMBER, |
| 2737 StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS, | 2744 StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS, |
| 2738 StaticTypeWarningCode.YIELD_OF_INVALID_TYPE, | 2745 StaticTypeWarningCode.YIELD_OF_INVALID_TYPE, |
| 2739 StaticWarningCode.AMBIGUOUS_IMPORT, | 2746 StaticWarningCode.AMBIGUOUS_IMPORT, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 2766 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_1, | 2773 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_1, |
| 2767 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_2, | 2774 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_2, |
| 2768 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_3_PLUS, | 2775 StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_3_PLUS, |
| 2769 StaticWarningCode.FUNCTION_WITHOUT_CALL, | 2776 StaticWarningCode.FUNCTION_WITHOUT_CALL, |
| 2770 StaticWarningCode.IMPORT_DUPLICATED_LIBRARY_NAMED, | 2777 StaticWarningCode.IMPORT_DUPLICATED_LIBRARY_NAMED, |
| 2771 StaticWarningCode.IMPORT_OF_NON_LIBRARY, | 2778 StaticWarningCode.IMPORT_OF_NON_LIBRARY, |
| 2772 StaticWarningCode.INCONSISTENT_METHOD_INHERITANCE_GETTER_AND_METHOD, | 2779 StaticWarningCode.INCONSISTENT_METHOD_INHERITANCE_GETTER_AND_METHOD, |
| 2773 StaticWarningCode.INSTANCE_METHOD_NAME_COLLIDES_WITH_SUPERCLASS_STATIC, | 2780 StaticWarningCode.INSTANCE_METHOD_NAME_COLLIDES_WITH_SUPERCLASS_STATIC, |
| 2774 StaticWarningCode.INVALID_GETTER_OVERRIDE_RETURN_TYPE, | 2781 StaticWarningCode.INVALID_GETTER_OVERRIDE_RETURN_TYPE, |
| 2775 StaticWarningCode.INVALID_METHOD_OVERRIDE_NAMED_PARAM_TYPE, | 2782 StaticWarningCode.INVALID_METHOD_OVERRIDE_NAMED_PARAM_TYPE, |
| 2783 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS, |
| 2784 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETER_BOUND, |
| 2776 StaticWarningCode.INVALID_METHOD_OVERRIDE_NORMAL_PARAM_TYPE, | 2785 StaticWarningCode.INVALID_METHOD_OVERRIDE_NORMAL_PARAM_TYPE, |
| 2777 StaticWarningCode.INVALID_METHOD_OVERRIDE_OPTIONAL_PARAM_TYPE, | 2786 StaticWarningCode.INVALID_METHOD_OVERRIDE_OPTIONAL_PARAM_TYPE, |
| 2778 StaticWarningCode.INVALID_METHOD_OVERRIDE_RETURN_TYPE, | 2787 StaticWarningCode.INVALID_METHOD_OVERRIDE_RETURN_TYPE, |
| 2779 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETER_BOUND, | |
| 2780 StaticWarningCode.INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS, | |
| 2781 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_NAMED, | 2788 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_NAMED, |
| 2782 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_POSITIONAL, | 2789 StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_POSITIONAL, |
| 2783 StaticWarningCode.INVALID_OVERRIDE_NAMED, | 2790 StaticWarningCode.INVALID_OVERRIDE_NAMED, |
| 2784 StaticWarningCode.INVALID_OVERRIDE_POSITIONAL, | 2791 StaticWarningCode.INVALID_OVERRIDE_POSITIONAL, |
| 2785 StaticWarningCode.INVALID_OVERRIDE_REQUIRED, | 2792 StaticWarningCode.INVALID_OVERRIDE_REQUIRED, |
| 2786 StaticWarningCode.INVALID_SETTER_OVERRIDE_NORMAL_PARAM_TYPE, | 2793 StaticWarningCode.INVALID_SETTER_OVERRIDE_NORMAL_PARAM_TYPE, |
| 2787 StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, | 2794 StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, |
| 2788 StaticWarningCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, | 2795 StaticWarningCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, |
| 2789 StaticWarningCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, | 2796 StaticWarningCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, |
| 2790 StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES, | 2797 StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2838 ParserErrorCode.ABSTRACT_STATIC_METHOD, | 2845 ParserErrorCode.ABSTRACT_STATIC_METHOD, |
| 2839 ParserErrorCode.ABSTRACT_TOP_LEVEL_FUNCTION, | 2846 ParserErrorCode.ABSTRACT_TOP_LEVEL_FUNCTION, |
| 2840 ParserErrorCode.ABSTRACT_TOP_LEVEL_VARIABLE, | 2847 ParserErrorCode.ABSTRACT_TOP_LEVEL_VARIABLE, |
| 2841 ParserErrorCode.ABSTRACT_TYPEDEF, | 2848 ParserErrorCode.ABSTRACT_TYPEDEF, |
| 2842 ParserErrorCode.ANNOTATION_ON_ENUM_CONSTANT, | 2849 ParserErrorCode.ANNOTATION_ON_ENUM_CONSTANT, |
| 2843 ParserErrorCode.ASSERT_DOES_NOT_TAKE_ASSIGNMENT, | 2850 ParserErrorCode.ASSERT_DOES_NOT_TAKE_ASSIGNMENT, |
| 2844 ParserErrorCode.ASSERT_DOES_NOT_TAKE_CASCADE, | 2851 ParserErrorCode.ASSERT_DOES_NOT_TAKE_CASCADE, |
| 2845 ParserErrorCode.ASSERT_DOES_NOT_TAKE_THROW, | 2852 ParserErrorCode.ASSERT_DOES_NOT_TAKE_THROW, |
| 2846 ParserErrorCode.ASSERT_DOES_NOT_TAKE_RETHROW, | 2853 ParserErrorCode.ASSERT_DOES_NOT_TAKE_RETHROW, |
| 2847 ParserErrorCode.ASYNC_KEYWORD_USED_AS_IDENTIFIER, | 2854 ParserErrorCode.ASYNC_KEYWORD_USED_AS_IDENTIFIER, |
| 2855 ParserErrorCode.ASYNC_NOT_SUPPORTED, |
| 2848 ParserErrorCode.BREAK_OUTSIDE_OF_LOOP, | 2856 ParserErrorCode.BREAK_OUTSIDE_OF_LOOP, |
| 2849 ParserErrorCode.CLASS_IN_CLASS, | 2857 ParserErrorCode.CLASS_IN_CLASS, |
| 2850 ParserErrorCode.COLON_IN_PLACE_OF_IN, | 2858 ParserErrorCode.COLON_IN_PLACE_OF_IN, |
| 2851 ParserErrorCode.CONST_AND_FINAL, | 2859 ParserErrorCode.CONST_AND_FINAL, |
| 2852 ParserErrorCode.CONST_AND_VAR, | 2860 ParserErrorCode.CONST_AND_VAR, |
| 2853 ParserErrorCode.CONST_CLASS, | 2861 ParserErrorCode.CONST_CLASS, |
| 2854 ParserErrorCode.CONST_CONSTRUCTOR_WITH_BODY, | 2862 ParserErrorCode.CONST_CONSTRUCTOR_WITH_BODY, |
| 2855 ParserErrorCode.CONST_ENUM, | 2863 ParserErrorCode.CONST_ENUM, |
| 2856 ParserErrorCode.CONST_FACTORY, | 2864 ParserErrorCode.CONST_FACTORY, |
| 2857 ParserErrorCode.CONST_METHOD, | 2865 ParserErrorCode.CONST_METHOD, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2901 ParserErrorCode.GETTER_WITH_PARAMETERS, | 2909 ParserErrorCode.GETTER_WITH_PARAMETERS, |
| 2902 ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, | 2910 ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSIGNABLE, |
| 2903 ParserErrorCode.IMPLEMENTS_BEFORE_EXTENDS, | 2911 ParserErrorCode.IMPLEMENTS_BEFORE_EXTENDS, |
| 2904 ParserErrorCode.IMPLEMENTS_BEFORE_WITH, | 2912 ParserErrorCode.IMPLEMENTS_BEFORE_WITH, |
| 2905 ParserErrorCode.IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, | 2913 ParserErrorCode.IMPORT_DIRECTIVE_AFTER_PART_DIRECTIVE, |
| 2906 ParserErrorCode.INITIALIZED_VARIABLE_IN_FOR_EACH, | 2914 ParserErrorCode.INITIALIZED_VARIABLE_IN_FOR_EACH, |
| 2907 ParserErrorCode.INVALID_AWAIT_IN_FOR, | 2915 ParserErrorCode.INVALID_AWAIT_IN_FOR, |
| 2908 ParserErrorCode.INVALID_CODE_POINT, | 2916 ParserErrorCode.INVALID_CODE_POINT, |
| 2909 ParserErrorCode.INVALID_COMMENT_REFERENCE, | 2917 ParserErrorCode.INVALID_COMMENT_REFERENCE, |
| 2910 ParserErrorCode.INVALID_HEX_ESCAPE, | 2918 ParserErrorCode.INVALID_HEX_ESCAPE, |
| 2919 ParserErrorCode.INVALID_LITERAL_IN_CONFIGURATION, |
| 2911 ParserErrorCode.INVALID_OPERATOR, | 2920 ParserErrorCode.INVALID_OPERATOR, |
| 2912 ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, | 2921 ParserErrorCode.INVALID_OPERATOR_FOR_SUPER, |
| 2913 ParserErrorCode.INVALID_STAR_AFTER_ASYNC, | 2922 ParserErrorCode.INVALID_STAR_AFTER_ASYNC, |
| 2914 ParserErrorCode.INVALID_SYNC, | 2923 ParserErrorCode.INVALID_SYNC, |
| 2915 ParserErrorCode.INVALID_UNICODE_ESCAPE, | 2924 ParserErrorCode.INVALID_UNICODE_ESCAPE, |
| 2916 ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, | 2925 ParserErrorCode.LIBRARY_DIRECTIVE_NOT_FIRST, |
| 2917 ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, | 2926 ParserErrorCode.LOCAL_FUNCTION_DECLARATION_MODIFIER, |
| 2918 ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, | 2927 ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR, |
| 2919 ParserErrorCode.MISSING_ASSIGNMENT_IN_INITIALIZER, | 2928 ParserErrorCode.MISSING_ASSIGNMENT_IN_INITIALIZER, |
| 2920 ParserErrorCode.MISSING_CATCH_OR_FINALLY, | 2929 ParserErrorCode.MISSING_CATCH_OR_FINALLY, |
| (...skipping 2782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5703 * Initialize a newly created error code to have the given [name]. | 5712 * Initialize a newly created error code to have the given [name]. |
| 5704 */ | 5713 */ |
| 5705 const TodoCode(String name) : super(name, "{0}"); | 5714 const TodoCode(String name) : super(name, "{0}"); |
| 5706 | 5715 |
| 5707 @override | 5716 @override |
| 5708 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; | 5717 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; |
| 5709 | 5718 |
| 5710 @override | 5719 @override |
| 5711 ErrorType get type => ErrorType.TODO; | 5720 ErrorType get type => ErrorType.TODO; |
| 5712 } | 5721 } |
| OLD | NEW |