| Index: pkg/analyzer/lib/src/generated/error.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
|
| index 5f7e3f68b267a65ef034d2799334fc637ca688ed..b61bbc479c451eeac1080286ec613ac3aed7c2db 100644
|
| --- a/pkg/analyzer/lib/src/generated/error.dart
|
| +++ b/pkg/analyzer/lib/src/generated/error.dart
|
| @@ -350,15 +350,53 @@ class AnalysisOptionsErrorCode extends ErrorCode {
|
| class AnalysisOptionsWarningCode extends ErrorCode {
|
| /**
|
| * An error code indicating that a plugin is being configured with an
|
| - * unsupported option.
|
| + * unsupported option and legal options are provided.
|
| *
|
| * Parameters:
|
| * 0: the plugin name
|
| * 1: the unsupported option key
|
| + * 2: legal values
|
| */
|
| - static const AnalysisOptionsWarningCode UNSUPPORTED_OPTION =
|
| - const AnalysisOptionsWarningCode('UNSUPPORTED_OPTION_ERROR',
|
| - "The option '{1}' is not supported by {0}");
|
| + static const AnalysisOptionsWarningCode UNSUPPORTED_OPTION_WITH_LEGAL_VALUES =
|
| + const AnalysisOptionsWarningCode('UNSUPPORTED_OPTION_WITH_LEGAL_VALUES',
|
| + "The option '{1}' is not supported by {0}, supported values are {2}");
|
| +
|
| + /**
|
| + * An error code indicating that a plugin is being configured with an
|
| + * unsupported option where there is just one legal value.
|
| + *
|
| + * Parameters:
|
| + * 0: the plugin name
|
| + * 1: the unsupported option key
|
| + * 2: the legal value
|
| + */
|
| + static const AnalysisOptionsWarningCode UNSUPPORTED_OPTION_WITH_LEGAL_VALUE =
|
| + const AnalysisOptionsWarningCode('UNSUPPORTED_OPTION_WITH_LEGAL_VALUE',
|
| + "The option '{1}' is not supported by {0}, did you mean {2}?");
|
| +
|
| + /**
|
| + * An error code indicating that an option entry is being configured with an
|
| + * unsupported value.
|
| + *
|
| + * Parameters:
|
| + * 0: the option name
|
| + * 1: the unsupported value
|
| + * 2: legal values
|
| + */
|
| + static const AnalysisOptionsWarningCode UNSUPPORTED_VALUE =
|
| + const AnalysisOptionsWarningCode('UNSUPPORTED_VALUE',
|
| + "The value '{1}' is not supported by {0}, legal values are {2}");
|
| +
|
| + /**
|
| + * An error code indicating that an unrecognized error code is being used to
|
| + * specify an error filter.
|
| + *
|
| + * Parameters:
|
| + * 0: the unrecognized error code
|
| + */
|
| + static const AnalysisOptionsWarningCode UNRECOGNIZED_ERROR_CODE =
|
| + const AnalysisOptionsWarningCode('UNRECOGNIZED_ERROR_CODE',
|
| + "'{0}' is not a recognized error code");
|
|
|
| /**
|
| * Initialize a newly created warning code to have the given [name].
|
| @@ -2505,6 +2543,360 @@ class DisablableErrorListener implements AnalysisErrorListener {
|
| */
|
| abstract class ErrorCode {
|
| /**
|
| + * Engine error code values.
|
| + */
|
| + static const List<ErrorCode> values = const [
|
| + //
|
| + // Manually generated. FWIW, this get's you most of the way there:
|
| + //
|
| + // > grep 'static const .*Code' error.dart | awk '{print $3"."$4","}'
|
| + //
|
| + AnalysisOptionsErrorCode.PARSE_ERROR,
|
| + AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUE,
|
| + AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES,
|
| + CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH,
|
| + CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH,
|
| + CheckedModeCompileTimeErrorCode.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE,
|
| + CheckedModeCompileTimeErrorCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE,
|
| + CheckedModeCompileTimeErrorCode.MAP_KEY_TYPE_NOT_ASSIGNABLE,
|
| + CheckedModeCompileTimeErrorCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE,
|
| + CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH,
|
| + CompileTimeErrorCode.ACCESS_PRIVATE_ENUM_FIELD,
|
| + CompileTimeErrorCode.AMBIGUOUS_EXPORT,
|
| + CompileTimeErrorCode.ARGUMENT_DEFINITION_TEST_NON_PARAMETER,
|
| + CompileTimeErrorCode.ASYNC_FOR_IN_WRONG_CONTEXT,
|
| + CompileTimeErrorCode.AWAIT_IN_WRONG_CONTEXT,
|
| + CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE,
|
| + CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_NAME,
|
| + CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME,
|
| + CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_PARAMETER_NAME,
|
| + CompileTimeErrorCode.CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS,
|
| + CompileTimeErrorCode.COMPILE_TIME_CONSTANT_RAISES_EXCEPTION,
|
| + CompileTimeErrorCode.CONFLICTING_GETTER_AND_METHOD,
|
| + CompileTimeErrorCode.CONFLICTING_METHOD_AND_GETTER,
|
| + CompileTimeErrorCode.CONFLICTING_CONSTRUCTOR_NAME_AND_FIELD,
|
| + CompileTimeErrorCode.CONFLICTING_CONSTRUCTOR_NAME_AND_METHOD,
|
| + CompileTimeErrorCode.CONFLICTING_TYPE_VARIABLE_AND_CLASS,
|
| + CompileTimeErrorCode.CONFLICTING_TYPE_VARIABLE_AND_MEMBER,
|
| + CompileTimeErrorCode.CONST_CONSTRUCTOR_THROWS_EXCEPTION,
|
| + CompileTimeErrorCode.CONST_CONSTRUCTOR_WITH_FIELD_INITIALIZED_BY_NON_CONST,
|
| + CompileTimeErrorCode.CONST_CONSTRUCTOR_WITH_MIXIN,
|
| + CompileTimeErrorCode.CONST_CONSTRUCTOR_WITH_NON_CONST_SUPER,
|
| + CompileTimeErrorCode.CONST_CONSTRUCTOR_WITH_NON_FINAL_FIELD,
|
| + CompileTimeErrorCode.CONST_DEFERRED_CLASS,
|
| + CompileTimeErrorCode.CONST_FORMAL_PARAMETER,
|
| + CompileTimeErrorCode.CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE,
|
| + CompileTimeErrorCode.CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.CONST_INSTANCE_FIELD,
|
| + CompileTimeErrorCode.CONST_MAP_KEY_EXPRESSION_TYPE_IMPLEMENTS_EQUALS,
|
| + CompileTimeErrorCode.CONST_NOT_INITIALIZED,
|
| + CompileTimeErrorCode.CONST_EVAL_TYPE_BOOL,
|
| + CompileTimeErrorCode.CONST_EVAL_TYPE_BOOL_NUM_STRING,
|
| + CompileTimeErrorCode.CONST_EVAL_TYPE_INT,
|
| + CompileTimeErrorCode.CONST_EVAL_TYPE_NUM,
|
| + CompileTimeErrorCode.CONST_EVAL_THROWS_EXCEPTION,
|
| + CompileTimeErrorCode.CONST_EVAL_THROWS_IDBZE,
|
| + CompileTimeErrorCode.CONST_WITH_INVALID_TYPE_PARAMETERS,
|
| + CompileTimeErrorCode.CONST_WITH_NON_CONST,
|
| + CompileTimeErrorCode.CONST_WITH_NON_CONSTANT_ARGUMENT,
|
| + CompileTimeErrorCode.CONST_WITH_NON_TYPE,
|
| + CompileTimeErrorCode.CONST_WITH_TYPE_PARAMETERS,
|
| + CompileTimeErrorCode.CONST_WITH_UNDEFINED_CONSTRUCTOR,
|
| + CompileTimeErrorCode.CONST_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT,
|
| + CompileTimeErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPE_ALIAS,
|
| + CompileTimeErrorCode.DEFAULT_VALUE_IN_FUNCTION_TYPED_PARAMETER,
|
| + CompileTimeErrorCode.DEFAULT_VALUE_IN_REDIRECTING_FACTORY_CONSTRUCTOR,
|
| + CompileTimeErrorCode.DUPLICATE_CONSTRUCTOR_DEFAULT,
|
| + CompileTimeErrorCode.DUPLICATE_CONSTRUCTOR_NAME,
|
| + CompileTimeErrorCode.DUPLICATE_DEFINITION,
|
| + CompileTimeErrorCode.DUPLICATE_DEFINITION_INHERITANCE,
|
| + CompileTimeErrorCode.DUPLICATE_NAMED_ARGUMENT,
|
| + CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY,
|
| + CompileTimeErrorCode.EXPORT_OF_NON_LIBRARY,
|
| + CompileTimeErrorCode.EXTENDS_ENUM,
|
| + CompileTimeErrorCode.EXTENDS_NON_CLASS,
|
| + CompileTimeErrorCode.EXTENDS_DISALLOWED_CLASS,
|
| + CompileTimeErrorCode.EXTENDS_DEFERRED_CLASS,
|
| + CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS,
|
| + CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS,
|
| + CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER,
|
| + CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES,
|
| + CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR,
|
| + CompileTimeErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR,
|
| + CompileTimeErrorCode.FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR,
|
| + CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME,
|
| + CompileTimeErrorCode.IMPLEMENTS_DEFERRED_CLASS,
|
| + CompileTimeErrorCode.IMPLEMENTS_DISALLOWED_CLASS,
|
| + CompileTimeErrorCode.IMPLEMENTS_DYNAMIC,
|
| + CompileTimeErrorCode.IMPLEMENTS_ENUM,
|
| + CompileTimeErrorCode.IMPLEMENTS_NON_CLASS,
|
| + CompileTimeErrorCode.IMPLEMENTS_REPEATED,
|
| + CompileTimeErrorCode.IMPLEMENTS_SUPER_CLASS,
|
| + CompileTimeErrorCode.IMPLICIT_THIS_REFERENCE_IN_INITIALIZER,
|
| + CompileTimeErrorCode.IMPORT_INTERNAL_LIBRARY,
|
| + CompileTimeErrorCode.IMPORT_OF_NON_LIBRARY,
|
| + CompileTimeErrorCode.INCONSISTENT_CASE_EXPRESSION_TYPES,
|
| + CompileTimeErrorCode.INITIALIZER_FOR_NON_EXISTENT_FIELD,
|
| + CompileTimeErrorCode.INITIALIZER_FOR_STATIC_FIELD,
|
| + CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD,
|
| + CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_STATIC_FIELD,
|
| + CompileTimeErrorCode.INSTANCE_MEMBER_ACCESS_FROM_FACTORY,
|
| + CompileTimeErrorCode.INSTANCE_MEMBER_ACCESS_FROM_STATIC,
|
| + CompileTimeErrorCode.INSTANTIATE_ENUM,
|
| + CompileTimeErrorCode.INVALID_ANNOTATION,
|
| + CompileTimeErrorCode.INVALID_ANNOTATION_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.INVALID_IDENTIFIER_IN_ASYNC,
|
| + CompileTimeErrorCode.INVALID_MODIFIER_ON_CONSTRUCTOR,
|
| + CompileTimeErrorCode.INVALID_MODIFIER_ON_SETTER,
|
| + CompileTimeErrorCode.INVALID_CONSTANT,
|
| + CompileTimeErrorCode.INVALID_CONSTRUCTOR_NAME,
|
| + CompileTimeErrorCode.INVALID_FACTORY_NAME_NOT_A_CLASS,
|
| + CompileTimeErrorCode.INVALID_REFERENCE_TO_THIS,
|
| + CompileTimeErrorCode.INVALID_TYPE_ARGUMENT_IN_CONST_LIST,
|
| + CompileTimeErrorCode.INVALID_TYPE_ARGUMENT_IN_CONST_MAP,
|
| + CompileTimeErrorCode.INVALID_URI,
|
| + CompileTimeErrorCode.LABEL_IN_OUTER_SCOPE,
|
| + CompileTimeErrorCode.LABEL_UNDEFINED,
|
| + CompileTimeErrorCode.MEMBER_WITH_CLASS_NAME,
|
| + CompileTimeErrorCode.METHOD_AND_GETTER_WITH_SAME_NAME,
|
| + CompileTimeErrorCode.MISSING_CONST_IN_LIST_LITERAL,
|
| + CompileTimeErrorCode.MISSING_CONST_IN_MAP_LITERAL,
|
| + CompileTimeErrorCode.MISSING_ENUM_CONSTANT_IN_SWITCH,
|
| + CompileTimeErrorCode.MIXIN_DECLARES_CONSTRUCTOR,
|
| + CompileTimeErrorCode.MIXIN_DEFERRED_CLASS,
|
| + CompileTimeErrorCode.MIXIN_HAS_NO_CONSTRUCTORS,
|
| + CompileTimeErrorCode.MIXIN_INHERITS_FROM_NOT_OBJECT,
|
| + CompileTimeErrorCode.MIXIN_OF_DISALLOWED_CLASS,
|
| + CompileTimeErrorCode.MIXIN_OF_ENUM,
|
| + CompileTimeErrorCode.MIXIN_OF_NON_CLASS,
|
| + CompileTimeErrorCode.MIXIN_REFERENCES_SUPER,
|
| + CompileTimeErrorCode.MIXIN_WITH_NON_CLASS_SUPERCLASS,
|
| + CompileTimeErrorCode.MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS,
|
| + CompileTimeErrorCode.MULTIPLE_SUPER_INITIALIZERS,
|
| + CompileTimeErrorCode.NO_ANNOTATION_CONSTRUCTOR_ARGUMENTS,
|
| + CompileTimeErrorCode.NO_DEFAULT_SUPER_CONSTRUCTOR_EXPLICIT,
|
| + CompileTimeErrorCode.NO_DEFAULT_SUPER_CONSTRUCTOR_IMPLICIT,
|
| + CompileTimeErrorCode.NON_CONST_MAP_AS_EXPRESSION_STATEMENT,
|
| + CompileTimeErrorCode.NON_CONSTANT_CASE_EXPRESSION,
|
| + CompileTimeErrorCode.NON_CONSTANT_CASE_EXPRESSION_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NON_CONSTANT_DEFAULT_VALUE,
|
| + CompileTimeErrorCode.NON_CONSTANT_DEFAULT_VALUE_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NON_CONSTANT_LIST_ELEMENT,
|
| + CompileTimeErrorCode.NON_CONSTANT_LIST_ELEMENT_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NON_CONSTANT_MAP_KEY,
|
| + CompileTimeErrorCode.NON_CONSTANT_MAP_KEY_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NON_CONSTANT_MAP_VALUE,
|
| + CompileTimeErrorCode.NON_CONSTANT_MAP_VALUE_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NON_CONSTANT_ANNOTATION_CONSTRUCTOR,
|
| + CompileTimeErrorCode.NON_CONSTANT_VALUE_IN_INITIALIZER,
|
| + CompileTimeErrorCode.NON_CONSTANT_VALUE_IN_INITIALIZER_FROM_DEFERRED_LIBRARY,
|
| + CompileTimeErrorCode.NOT_ENOUGH_REQUIRED_ARGUMENTS,
|
| + CompileTimeErrorCode.NON_GENERATIVE_CONSTRUCTOR,
|
| + CompileTimeErrorCode.OBJECT_CANNOT_EXTEND_ANOTHER_CLASS,
|
| + CompileTimeErrorCode.OPTIONAL_PARAMETER_IN_OPERATOR,
|
| + CompileTimeErrorCode.PART_OF_NON_PART,
|
| + CompileTimeErrorCode.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER,
|
| + CompileTimeErrorCode.PREFIX_IDENTIFIER_NOT_FOLLOWED_BY_DOT,
|
| + CompileTimeErrorCode.PRIVATE_OPTIONAL_PARAMETER,
|
| + CompileTimeErrorCode.RECURSIVE_COMPILE_TIME_CONSTANT,
|
| + CompileTimeErrorCode.RECURSIVE_CONSTRUCTOR_REDIRECT,
|
| + CompileTimeErrorCode.RECURSIVE_FACTORY_REDIRECT,
|
| + CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE,
|
| + CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE_BASE_CASE_EXTENDS,
|
| + CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE_BASE_CASE_IMPLEMENTS,
|
| + CompileTimeErrorCode.RECURSIVE_INTERFACE_INHERITANCE_BASE_CASE_WITH,
|
| + CompileTimeErrorCode.REDIRECT_TO_MISSING_CONSTRUCTOR,
|
| + CompileTimeErrorCode.REDIRECT_TO_NON_CLASS,
|
| + CompileTimeErrorCode.REDIRECT_TO_NON_CONST_CONSTRUCTOR,
|
| + CompileTimeErrorCode.REDIRECT_GENERATIVE_TO_MISSING_CONSTRUCTOR,
|
| + CompileTimeErrorCode.REDIRECT_GENERATIVE_TO_NON_GENERATIVE_CONSTRUCTOR,
|
| + CompileTimeErrorCode.REFERENCED_BEFORE_DECLARATION,
|
| + CompileTimeErrorCode.RETHROW_OUTSIDE_CATCH,
|
| + CompileTimeErrorCode.RETURN_IN_GENERATIVE_CONSTRUCTOR,
|
| + CompileTimeErrorCode.RETURN_IN_GENERATOR,
|
| + CompileTimeErrorCode.SHARED_DEFERRED_PREFIX,
|
| + CompileTimeErrorCode.SUPER_IN_INVALID_CONTEXT,
|
| + CompileTimeErrorCode.SUPER_IN_REDIRECTING_CONSTRUCTOR,
|
| + CompileTimeErrorCode.SUPER_INITIALIZER_IN_OBJECT,
|
| + CompileTimeErrorCode.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS,
|
| + CompileTimeErrorCode.TYPE_ALIAS_CANNOT_REFERENCE_ITSELF,
|
| + CompileTimeErrorCode.UNDEFINED_CLASS,
|
| + CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER,
|
| + CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT,
|
| + CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER,
|
| + CompileTimeErrorCode.URI_DOES_NOT_EXIST,
|
| + CompileTimeErrorCode.URI_WITH_INTERPOLATION,
|
| + CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR,
|
| + CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS,
|
| + CompileTimeErrorCode.WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER,
|
| + CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR,
|
| + CompileTimeErrorCode.YIELD_IN_NON_GENERATOR,
|
| + HintCode.ARGUMENT_TYPE_NOT_ASSIGNABLE,
|
| + HintCode.DEAD_CODE,
|
| + HintCode.DEAD_CODE_CATCH_FOLLOWING_CATCH,
|
| + HintCode.DEAD_CODE_ON_CATCH_SUBTYPE,
|
| + HintCode.DEPRECATED_MEMBER_USE,
|
| + HintCode.DUPLICATE_IMPORT,
|
| + HintCode.DIVISION_OPTIMIZATION,
|
| + HintCode.IS_DOUBLE,
|
| + HintCode.IS_INT,
|
| + HintCode.IS_NOT_DOUBLE,
|
| + HintCode.IS_NOT_INT,
|
| + HintCode.IMPORT_DEFERRED_LIBRARY_WITH_LOAD_FUNCTION,
|
| + HintCode.INVALID_ASSIGNMENT,
|
| + HintCode.MISSING_RETURN,
|
| + HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER,
|
| + HintCode.OVERRIDE_ON_NON_OVERRIDING_METHOD,
|
| + HintCode.OVERRIDE_ON_NON_OVERRIDING_SETTER,
|
| + HintCode.OVERRIDE_EQUALS_BUT_NOT_HASH_CODE,
|
| + HintCode.TYPE_CHECK_IS_NOT_NULL,
|
| + HintCode.TYPE_CHECK_IS_NULL,
|
| + HintCode.UNDEFINED_GETTER,
|
| + HintCode.UNDEFINED_METHOD,
|
| + HintCode.UNDEFINED_OPERATOR,
|
| + HintCode.UNDEFINED_SETTER,
|
| + HintCode.UNNECESSARY_CAST,
|
| + HintCode.UNNECESSARY_TYPE_CHECK_FALSE,
|
| + HintCode.UNNECESSARY_TYPE_CHECK_TRUE,
|
| + HintCode.UNUSED_ELEMENT,
|
| + HintCode.UNUSED_FIELD,
|
| + HintCode.UNUSED_IMPORT,
|
| + HintCode.UNUSED_CATCH_CLAUSE,
|
| + HintCode.UNUSED_CATCH_STACK,
|
| + HintCode.UNUSED_LOCAL_VARIABLE,
|
| + HintCode.USE_OF_VOID_RESULT,
|
| + HintCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE,
|
| + HintCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE,
|
| + HintCode.NULL_AWARE_IN_CONDITION,
|
| + HintCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT,
|
| + HtmlErrorCode.PARSE_ERROR,
|
| + HtmlWarningCode.INVALID_URI,
|
| + HtmlWarningCode.URI_DOES_NOT_EXIST,
|
| + StaticTypeWarningCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS,
|
| + StaticTypeWarningCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS,
|
| + StaticTypeWarningCode.ILLEGAL_ASYNC_GENERATOR_RETURN_TYPE,
|
| + StaticTypeWarningCode.ILLEGAL_ASYNC_RETURN_TYPE,
|
| + StaticTypeWarningCode.ILLEGAL_SYNC_GENERATOR_RETURN_TYPE,
|
| + StaticTypeWarningCode.INACCESSIBLE_SETTER,
|
| + StaticTypeWarningCode.INCONSISTENT_METHOD_INHERITANCE,
|
| + StaticTypeWarningCode.INSTANCE_ACCESS_TO_STATIC_MEMBER,
|
| + StaticTypeWarningCode.INVALID_ASSIGNMENT,
|
| + StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION,
|
| + StaticTypeWarningCode.INVOCATION_OF_NON_FUNCTION_EXPRESSION,
|
| + StaticTypeWarningCode.NON_BOOL_CONDITION,
|
| + StaticTypeWarningCode.NON_BOOL_EXPRESSION,
|
| + StaticTypeWarningCode.NON_BOOL_NEGATION_EXPRESSION,
|
| + StaticTypeWarningCode.NON_BOOL_OPERAND,
|
| + StaticTypeWarningCode.NON_TYPE_AS_TYPE_ARGUMENT,
|
| + StaticTypeWarningCode.RETURN_OF_INVALID_TYPE,
|
| + StaticTypeWarningCode.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS,
|
| + StaticTypeWarningCode.TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND,
|
| + StaticTypeWarningCode.UNDEFINED_ENUM_CONSTANT,
|
| + StaticTypeWarningCode.UNDEFINED_FUNCTION,
|
| + StaticTypeWarningCode.UNDEFINED_GETTER,
|
| + StaticTypeWarningCode.UNDEFINED_METHOD,
|
| + StaticTypeWarningCode.UNDEFINED_OPERATOR,
|
| + StaticTypeWarningCode.UNDEFINED_SETTER,
|
| + StaticTypeWarningCode.UNDEFINED_SUPER_GETTER,
|
| + StaticTypeWarningCode.UNDEFINED_SUPER_METHOD,
|
| + StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR,
|
| + StaticTypeWarningCode.UNDEFINED_SUPER_SETTER,
|
| + StaticTypeWarningCode.UNQUALIFIED_REFERENCE_TO_NON_LOCAL_STATIC_MEMBER,
|
| + StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS,
|
| + StaticTypeWarningCode.YIELD_OF_INVALID_TYPE,
|
| + StaticWarningCode.AMBIGUOUS_IMPORT,
|
| + StaticWarningCode.ARGUMENT_TYPE_NOT_ASSIGNABLE,
|
| + StaticWarningCode.ASSIGNMENT_TO_CONST,
|
| + StaticWarningCode.ASSIGNMENT_TO_FINAL,
|
| + StaticWarningCode.ASSIGNMENT_TO_FINAL_NO_SETTER,
|
| + StaticWarningCode.ASSIGNMENT_TO_FUNCTION,
|
| + StaticWarningCode.ASSIGNMENT_TO_METHOD,
|
| + StaticWarningCode.ASSIGNMENT_TO_TYPE,
|
| + StaticWarningCode.CASE_BLOCK_NOT_TERMINATED,
|
| + StaticWarningCode.CAST_TO_NON_TYPE,
|
| + StaticWarningCode.CONCRETE_CLASS_WITH_ABSTRACT_MEMBER,
|
| + StaticWarningCode.CONFLICTING_DART_IMPORT,
|
| + StaticWarningCode.CONFLICTING_INSTANCE_GETTER_AND_SUPERCLASS_MEMBER,
|
| + StaticWarningCode.CONFLICTING_INSTANCE_METHOD_SETTER,
|
| + StaticWarningCode.CONFLICTING_INSTANCE_METHOD_SETTER2,
|
| + StaticWarningCode.CONFLICTING_INSTANCE_SETTER_AND_SUPERCLASS_MEMBER,
|
| + StaticWarningCode.CONFLICTING_STATIC_GETTER_AND_INSTANCE_SETTER,
|
| + StaticWarningCode.CONFLICTING_STATIC_SETTER_AND_INSTANCE_MEMBER,
|
| + StaticWarningCode.CONST_WITH_ABSTRACT_CLASS,
|
| + StaticWarningCode.EQUAL_KEYS_IN_MAP,
|
| + StaticWarningCode.EXPORT_DUPLICATED_LIBRARY_NAMED,
|
| + StaticWarningCode.EXTRA_POSITIONAL_ARGUMENTS,
|
| + StaticWarningCode.FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION,
|
| + StaticWarningCode.FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR,
|
| + StaticWarningCode.FIELD_INITIALIZER_NOT_ASSIGNABLE,
|
| + StaticWarningCode.FIELD_INITIALIZING_FORMAL_NOT_ASSIGNABLE,
|
| + StaticWarningCode.FINAL_NOT_INITIALIZED,
|
| + StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_1,
|
| + StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_2,
|
| + StaticWarningCode.FINAL_NOT_INITIALIZED_CONSTRUCTOR_3_PLUS,
|
| + StaticWarningCode.FUNCTION_WITHOUT_CALL,
|
| + StaticWarningCode.IMPORT_DUPLICATED_LIBRARY_NAMED,
|
| + StaticWarningCode.IMPORT_OF_NON_LIBRARY,
|
| + StaticWarningCode.INCONSISTENT_METHOD_INHERITANCE_GETTER_AND_METHOD,
|
| + StaticWarningCode.INSTANCE_METHOD_NAME_COLLIDES_WITH_SUPERCLASS_STATIC,
|
| + StaticWarningCode.INVALID_GETTER_OVERRIDE_RETURN_TYPE,
|
| + StaticWarningCode.INVALID_METHOD_OVERRIDE_NAMED_PARAM_TYPE,
|
| + StaticWarningCode.INVALID_METHOD_OVERRIDE_NORMAL_PARAM_TYPE,
|
| + StaticWarningCode.INVALID_METHOD_OVERRIDE_OPTIONAL_PARAM_TYPE,
|
| + StaticWarningCode.INVALID_METHOD_OVERRIDE_RETURN_TYPE,
|
| + StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_NAMED,
|
| + StaticWarningCode.INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_POSITIONAL,
|
| + StaticWarningCode.INVALID_OVERRIDE_NAMED,
|
| + StaticWarningCode.INVALID_OVERRIDE_POSITIONAL,
|
| + StaticWarningCode.INVALID_OVERRIDE_REQUIRED,
|
| + StaticWarningCode.INVALID_SETTER_OVERRIDE_NORMAL_PARAM_TYPE,
|
| + StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE,
|
| + StaticWarningCode.MAP_KEY_TYPE_NOT_ASSIGNABLE,
|
| + StaticWarningCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE,
|
| + StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES,
|
| + StaticWarningCode.MISMATCHED_GETTER_AND_SETTER_TYPES_FROM_SUPERTYPE,
|
| + StaticWarningCode.MIXED_RETURN_TYPES,
|
| + StaticWarningCode.NEW_WITH_ABSTRACT_CLASS,
|
| + StaticWarningCode.NEW_WITH_INVALID_TYPE_PARAMETERS,
|
| + StaticWarningCode.NEW_WITH_NON_TYPE,
|
| + StaticWarningCode.NEW_WITH_UNDEFINED_CONSTRUCTOR,
|
| + StaticWarningCode.NEW_WITH_UNDEFINED_CONSTRUCTOR_DEFAULT,
|
| + StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_FIVE_PLUS,
|
| + StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_FOUR,
|
| + StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_ONE,
|
| + StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_THREE,
|
| + StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_TWO,
|
| + StaticWarningCode.NON_TYPE_IN_CATCH_CLAUSE,
|
| + StaticWarningCode.NON_VOID_RETURN_FOR_OPERATOR,
|
| + StaticWarningCode.NON_VOID_RETURN_FOR_SETTER,
|
| + StaticWarningCode.NOT_A_TYPE,
|
| + StaticWarningCode.NOT_ENOUGH_REQUIRED_ARGUMENTS,
|
| + StaticWarningCode.PART_OF_DIFFERENT_LIBRARY,
|
| + StaticWarningCode.REDIRECT_TO_INVALID_FUNCTION_TYPE,
|
| + StaticWarningCode.REDIRECT_TO_INVALID_RETURN_TYPE,
|
| + StaticWarningCode.REDIRECT_TO_MISSING_CONSTRUCTOR,
|
| + StaticWarningCode.REDIRECT_TO_NON_CLASS,
|
| + StaticWarningCode.RETURN_WITHOUT_VALUE,
|
| + StaticWarningCode.STATIC_ACCESS_TO_INSTANCE_MEMBER,
|
| + StaticWarningCode.SWITCH_EXPRESSION_NOT_ASSIGNABLE,
|
| + StaticWarningCode.TYPE_ANNOTATION_DEFERRED_CLASS,
|
| + StaticWarningCode.TYPE_TEST_WITH_NON_TYPE,
|
| + StaticWarningCode.TYPE_TEST_WITH_UNDEFINED_NAME,
|
| + StaticWarningCode.TYPE_PARAMETER_REFERENCED_BY_STATIC,
|
| + StaticWarningCode.UNDEFINED_CLASS,
|
| + StaticWarningCode.UNDEFINED_CLASS_BOOLEAN,
|
| + StaticWarningCode.UNDEFINED_GETTER,
|
| + StaticWarningCode.UNDEFINED_IDENTIFIER,
|
| + StaticWarningCode.UNDEFINED_NAMED_PARAMETER,
|
| + StaticWarningCode.UNDEFINED_SETTER,
|
| + StaticWarningCode.UNDEFINED_STATIC_METHOD_OR_GETTER,
|
| + StaticWarningCode.UNDEFINED_SUPER_GETTER,
|
| + StaticWarningCode.UNDEFINED_SUPER_SETTER,
|
| + StaticWarningCode.VOID_RETURN_FOR_GETTER,
|
| + TodoCode.TODO
|
| + ];
|
| +
|
| + /**
|
| * An empty list of error codes.
|
| */
|
| static const List<ErrorCode> EMPTY_LIST = const <ErrorCode>[];
|
|
|