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'; |
| 11 import 'package:analyzer/dart/ast/visitor.dart'; |
10 import 'package:analyzer/dart/element/element.dart'; | 12 import 'package:analyzer/dart/element/element.dart'; |
11 import 'package:analyzer/dart/element/type.dart'; | 13 import 'package:analyzer/dart/element/type.dart'; |
12 import 'package:analyzer/dart/element/visitor.dart'; | 14 import 'package:analyzer/dart/element/visitor.dart'; |
13 import 'package:analyzer/src/context/cache.dart'; | 15 import 'package:analyzer/src/context/cache.dart'; |
| 16 import 'package:analyzer/src/dart/ast/utilities.dart'; |
14 import 'package:analyzer/src/dart/element/element.dart'; | 17 import 'package:analyzer/src/dart/element/element.dart'; |
15 import 'package:analyzer/src/generated/ast.dart'; | |
16 import 'package:analyzer/src/generated/constant.dart'; | 18 import 'package:analyzer/src/generated/constant.dart'; |
17 import 'package:analyzer/src/generated/engine.dart'; | 19 import 'package:analyzer/src/generated/engine.dart'; |
18 import 'package:analyzer/src/generated/error.dart'; | 20 import 'package:analyzer/src/generated/error.dart'; |
19 import 'package:analyzer/src/generated/error_verifier.dart'; | 21 import 'package:analyzer/src/generated/error_verifier.dart'; |
20 import 'package:analyzer/src/generated/incremental_logger.dart' | 22 import 'package:analyzer/src/generated/incremental_logger.dart' |
21 show logger, LoggingTimer; | 23 show logger, LoggingTimer; |
22 import 'package:analyzer/src/generated/java_engine.dart'; | 24 import 'package:analyzer/src/generated/java_engine.dart'; |
23 import 'package:analyzer/src/generated/parser.dart'; | 25 import 'package:analyzer/src/generated/parser.dart'; |
24 import 'package:analyzer/src/generated/resolver.dart'; | 26 import 'package:analyzer/src/generated/resolver.dart'; |
25 import 'package:analyzer/src/generated/scanner.dart'; | 27 import 'package:analyzer/src/generated/scanner.dart'; |
(...skipping 2083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2109 @override | 2111 @override |
2110 String toString() => name; | 2112 String toString() => name; |
2111 } | 2113 } |
2112 | 2114 |
2113 class _TokenPair { | 2115 class _TokenPair { |
2114 final _TokenDifferenceKind kind; | 2116 final _TokenDifferenceKind kind; |
2115 final Token oldToken; | 2117 final Token oldToken; |
2116 final Token newToken; | 2118 final Token newToken; |
2117 _TokenPair(this.kind, this.oldToken, this.newToken); | 2119 _TokenPair(this.kind, this.oldToken, this.newToken); |
2118 } | 2120 } |
OLD | NEW |