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 engine.error; | 5 library analyzer.src.generated.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'; |
11 import 'package:analyzer/src/generated/java_core.dart'; | 11 import 'package:analyzer/src/generated/java_core.dart'; |
12 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; | 12 import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode; |
13 import 'package:analyzer/src/generated/scanner.dart' | 13 import 'package:analyzer/src/generated/scanner.dart' |
14 show ScannerErrorCode, Token; | 14 show ScannerErrorCode, Token; |
15 import 'package:analyzer/src/generated/source.dart'; | 15 import 'package:analyzer/src/generated/source.dart'; |
(...skipping 5641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5657 * Initialize a newly created error code to have the given [name]. | 5657 * Initialize a newly created error code to have the given [name]. |
5658 */ | 5658 */ |
5659 const TodoCode(String name) : super(name, "{0}"); | 5659 const TodoCode(String name) : super(name, "{0}"); |
5660 | 5660 |
5661 @override | 5661 @override |
5662 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; | 5662 ErrorSeverity get errorSeverity => ErrorSeverity.INFO; |
5663 | 5663 |
5664 @override | 5664 @override |
5665 ErrorType get type => ErrorType.TODO; | 5665 ErrorType get type => ErrorType.TODO; |
5666 } | 5666 } |
OLD | NEW |