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.incremental_resolver; | 5 library analyzer.src.generated.incremental_resolver; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'dart:math' as math; | 8 import 'dart:math' as math; |
9 | 9 |
10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
11 import 'package:analyzer/dart/ast/token.dart'; | 11 import 'package:analyzer/dart/ast/token.dart'; |
12 import 'package:analyzer/dart/element/element.dart'; | 12 import 'package:analyzer/dart/element/element.dart'; |
13 import 'package:analyzer/dart/element/visitor.dart'; | 13 import 'package:analyzer/dart/element/visitor.dart'; |
| 14 import 'package:analyzer/error/error.dart'; |
| 15 import 'package:analyzer/error/listener.dart'; |
14 import 'package:analyzer/exception/exception.dart'; | 16 import 'package:analyzer/exception/exception.dart'; |
15 import 'package:analyzer/src/context/cache.dart'; | 17 import 'package:analyzer/src/context/cache.dart'; |
16 import 'package:analyzer/src/dart/ast/token.dart'; | 18 import 'package:analyzer/src/dart/ast/token.dart'; |
17 import 'package:analyzer/src/dart/ast/utilities.dart'; | 19 import 'package:analyzer/src/dart/ast/utilities.dart'; |
18 import 'package:analyzer/src/dart/element/builder.dart'; | 20 import 'package:analyzer/src/dart/element/builder.dart'; |
19 import 'package:analyzer/src/dart/element/element.dart'; | 21 import 'package:analyzer/src/dart/element/element.dart'; |
20 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; | 22 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; |
21 import 'package:analyzer/src/dart/scanner/reader.dart'; | 23 import 'package:analyzer/src/dart/scanner/reader.dart'; |
22 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 24 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
23 import 'package:analyzer/src/generated/constant.dart'; | 25 import 'package:analyzer/src/generated/constant.dart'; |
24 import 'package:analyzer/src/generated/engine.dart'; | 26 import 'package:analyzer/src/generated/engine.dart'; |
25 import 'package:analyzer/src/generated/error.dart'; | |
26 import 'package:analyzer/src/generated/error_verifier.dart'; | 27 import 'package:analyzer/src/generated/error_verifier.dart'; |
27 import 'package:analyzer/src/generated/incremental_logger.dart' | 28 import 'package:analyzer/src/generated/incremental_logger.dart' |
28 show logger, LoggingTimer; | 29 show logger, LoggingTimer; |
29 import 'package:analyzer/src/generated/parser.dart'; | 30 import 'package:analyzer/src/generated/parser.dart'; |
30 import 'package:analyzer/src/generated/resolver.dart'; | 31 import 'package:analyzer/src/generated/resolver.dart'; |
31 import 'package:analyzer/src/generated/source.dart'; | 32 import 'package:analyzer/src/generated/source.dart'; |
32 import 'package:analyzer/src/generated/utilities_dart.dart'; | 33 import 'package:analyzer/src/generated/utilities_dart.dart'; |
33 import 'package:analyzer/src/task/dart.dart'; | 34 import 'package:analyzer/src/task/dart.dart'; |
34 import 'package:analyzer/task/dart.dart'; | 35 import 'package:analyzer/task/dart.dart'; |
35 import 'package:analyzer/task/general.dart' show CONTENT, LINE_INFO; | 36 import 'package:analyzer/task/general.dart' show CONTENT, LINE_INFO; |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 @override | 1305 @override |
1305 String toString() => name; | 1306 String toString() => name; |
1306 } | 1307 } |
1307 | 1308 |
1308 class _TokenPair { | 1309 class _TokenPair { |
1309 final _TokenDifferenceKind kind; | 1310 final _TokenDifferenceKind kind; |
1310 final Token oldToken; | 1311 final Token oldToken; |
1311 final Token newToken; | 1312 final Token newToken; |
1312 _TokenPair(this.kind, this.oldToken, this.newToken); | 1313 _TokenPair(this.kind, this.oldToken, this.newToken); |
1313 } | 1314 } |
OLD | NEW |