| 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/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
| 10 import 'package:analyzer/dart/element/type.dart'; | 11 import 'package:analyzer/dart/element/type.dart'; |
| 11 import 'package:analyzer/source/error_processor.dart'; | 12 import 'package:analyzer/source/error_processor.dart'; |
| 12 import 'package:analyzer/src/generated/ast.dart' show AstNode; | |
| 13 import 'package:analyzer/src/generated/java_core.dart'; | 13 import 'package:analyzer/src/generated/java_core.dart'; |
| 14 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 14 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
| 15 import 'package:analyzer/src/generated/scanner.dart' | 15 import 'package:analyzer/src/generated/scanner.dart' |
| 16 show ScannerErrorCode, Token; | 16 show ScannerErrorCode, Token; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:analyzer/src/task/model.dart'; | 18 import 'package:analyzer/src/task/model.dart'; |
| 19 import 'package:analyzer/task/model.dart'; | 19 import 'package:analyzer/task/model.dart'; |
| 20 import 'package:source_span/source_span.dart'; | 20 import 'package:source_span/source_span.dart'; |
| 21 | 21 |
| 22 /** | 22 /** |
| (...skipping 5668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5691 * Initialize a newly created error code to have the given [name]. | 5691 * Initialize a newly created error code to have the given [name]. |
| 5692 */ | 5692 */ |
| 5693 const TodoCode(String name) : super(name, "{0}"); | 5693 const TodoCode(String name) : super(name, "{0}"); |
| 5694 | 5694 |
| 5695 @override | 5695 @override |
| 5696 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; | 5696 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; |
| 5697 | 5697 |
| 5698 @override | 5698 @override |
| 5699 ErrorType get type => ErrorType.TODO; | 5699 ErrorType get type => ErrorType.TODO; |
| 5700 } | 5700 } |
| OLD | NEW |