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

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

Issue 1423333002: Option support for `enableSuperMixins` (and more). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merge with master. 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 | « pkg/analyzer/CHANGELOG.md ('k') | pkg/analyzer/lib/src/generated/utilities_general.dart » ('j') | 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/task/model.dart'; 9 import 'package:analyzer/src/task/model.dart';
10 import 'package:analyzer/task/model.dart'; 10 import 'package:analyzer/task/model.dart';
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 "The value '{1}' is not supported by {0}, legal values are {2}"); 388 "The value '{1}' is not supported by {0}, legal values are {2}");
389 389
390 /** 390 /**
391 * An error code indicating that an unrecognized error code is being used to 391 * An error code indicating that an unrecognized error code is being used to
392 * specify an error filter. 392 * specify an error filter.
393 * 393 *
394 * Parameters: 394 * Parameters:
395 * 0: the unrecognized error code 395 * 0: the unrecognized error code
396 */ 396 */
397 static const AnalysisOptionsWarningCode UNRECOGNIZED_ERROR_CODE = 397 static const AnalysisOptionsWarningCode UNRECOGNIZED_ERROR_CODE =
398 const AnalysisOptionsWarningCode('UNRECOGNIZED_ERROR_CODE', 398 const AnalysisOptionsWarningCode(
399 "'{0}' is not a recognized error code"); 399 'UNRECOGNIZED_ERROR_CODE', "'{0}' is not a recognized error code");
400 400
401 /** 401 /**
402 * Initialize a newly created warning code to have the given [name]. 402 * Initialize a newly created warning code to have the given [name].
403 */ 403 */
404 const AnalysisOptionsWarningCode(String name, String message, 404 const AnalysisOptionsWarningCode(String name, String message,
405 [String correction]) 405 [String correction])
406 : super(name, message, correction); 406 : super(name, message, correction);
407 407
408 @override 408 @override
409 ErrorSeverity get errorSeverity => ErrorSeverity.WARNING; 409 ErrorSeverity get errorSeverity => ErrorSeverity.WARNING;
(...skipping 5088 matching lines...) Expand 10 before | Expand all | Expand 10 after
5498 * Initialize a newly created error code to have the given [name]. 5498 * Initialize a newly created error code to have the given [name].
5499 */ 5499 */
5500 const TodoCode(String name) : super(name, "{0}"); 5500 const TodoCode(String name) : super(name, "{0}");
5501 5501
5502 @override 5502 @override
5503 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; 5503 ErrorSeverity get errorSeverity => ErrorSeverity.INFO;
5504 5504
5505 @override 5505 @override
5506 ErrorType get type => ErrorType.TODO; 5506 ErrorType get type => ErrorType.TODO;
5507 } 5507 }
OLDNEW
« no previous file with comments | « pkg/analyzer/CHANGELOG.md ('k') | pkg/analyzer/lib/src/generated/utilities_general.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698