Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: pkg/analyzer/lib/src/generated/error.dart

Issue 1421773005: ErrorCode values "enum" update. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 engine.error; 5 library engine.error;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/generated/ast.dart' show AstNode; 9 import 'package:analyzer/src/generated/ast.dart' show AstNode;
10 import 'package:analyzer/src/generated/element.dart'; 10 import 'package:analyzer/src/generated/element.dart';
(...skipping 2513 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES, 2524 AnalysisOptionsWarningCode.UNSUPPORTED_OPTION_WITH_LEGAL_VALUES,
2525 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH, 2525 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH,
2526 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH, 2526 CheckedModeCompileTimeErrorCode.CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH,
2527 CheckedModeCompileTimeErrorCode.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE, 2527 CheckedModeCompileTimeErrorCode.CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE,
2528 CheckedModeCompileTimeErrorCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE, 2528 CheckedModeCompileTimeErrorCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE,
2529 CheckedModeCompileTimeErrorCode.MAP_KEY_TYPE_NOT_ASSIGNABLE, 2529 CheckedModeCompileTimeErrorCode.MAP_KEY_TYPE_NOT_ASSIGNABLE,
2530 CheckedModeCompileTimeErrorCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE, 2530 CheckedModeCompileTimeErrorCode.MAP_VALUE_TYPE_NOT_ASSIGNABLE,
2531 CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH, 2531 CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH,
2532 CompileTimeErrorCode.ACCESS_PRIVATE_ENUM_FIELD, 2532 CompileTimeErrorCode.ACCESS_PRIVATE_ENUM_FIELD,
2533 CompileTimeErrorCode.AMBIGUOUS_EXPORT, 2533 CompileTimeErrorCode.AMBIGUOUS_EXPORT,
2534 CompileTimeErrorCode.ANNOTATION_WITH_NON_CLASS,
2534 CompileTimeErrorCode.ARGUMENT_DEFINITION_TEST_NON_PARAMETER, 2535 CompileTimeErrorCode.ARGUMENT_DEFINITION_TEST_NON_PARAMETER,
2535 CompileTimeErrorCode.ASYNC_FOR_IN_WRONG_CONTEXT, 2536 CompileTimeErrorCode.ASYNC_FOR_IN_WRONG_CONTEXT,
2536 CompileTimeErrorCode.AWAIT_IN_WRONG_CONTEXT, 2537 CompileTimeErrorCode.AWAIT_IN_WRONG_CONTEXT,
2537 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE, 2538 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE,
2538 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_NAME, 2539 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_NAME,
2539 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME, 2540 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME,
2540 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_PARAMETER_NAME, 2541 CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPE_PARAMETER_NAME,
2541 CompileTimeErrorCode.CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS, 2542 CompileTimeErrorCode.CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS,
2542 CompileTimeErrorCode.COMPILE_TIME_CONSTANT_RAISES_EXCEPTION, 2543 CompileTimeErrorCode.COMPILE_TIME_CONSTANT_RAISES_EXCEPTION,
2543 CompileTimeErrorCode.CONFLICTING_GETTER_AND_METHOD, 2544 CompileTimeErrorCode.CONFLICTING_GETTER_AND_METHOD,
(...skipping 3108 matching lines...) Expand 10 before | Expand all | Expand 10 after
5652 * Initialize a newly created error code to have the given [name]. 5653 * Initialize a newly created error code to have the given [name].
5653 */ 5654 */
5654 const TodoCode(String name) : super(name, "{0}"); 5655 const TodoCode(String name) : super(name, "{0}");
5655 5656
5656 @override 5657 @override
5657 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; 5658 ErrorSeverity get errorSeverity => ErrorSeverity.INFO;
5658 5659
5659 @override 5660 @override
5660 ErrorType get type => ErrorType.TODO; 5661 ErrorType get type => ErrorType.TODO;
5661 } 5662 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698