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.incremental_resolver; | 5 library engine.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/src/context/cache.dart' | 10 import 'package:analyzer/src/context/cache.dart' |
11 show CacheEntry, TargetedResult; | 11 show CacheEntry, TargetedResult; |
12 import 'package:analyzer/src/generated/constant.dart'; | 12 import 'package:analyzer/src/generated/constant.dart'; |
13 import 'package:analyzer/src/services/lint.dart'; | |
14 import 'package:analyzer/src/task/dart.dart' | 13 import 'package:analyzer/src/task/dart.dart' |
15 show | 14 show |
16 HINTS, | 15 HINTS, |
17 PARSE_ERRORS, | 16 PARSE_ERRORS, |
18 RESOLVE_REFERENCES_ERRORS, | 17 RESOLVE_REFERENCES_ERRORS, |
19 RESOLVE_TYPE_NAMES_ERRORS, | 18 RESOLVE_TYPE_NAMES_ERRORS, |
20 SCAN_ERRORS, | 19 SCAN_ERRORS, |
21 USED_IMPORTED_ELEMENTS, | 20 USED_IMPORTED_ELEMENTS, |
22 USED_LOCAL_ELEMENTS, | 21 USED_LOCAL_ELEMENTS, |
23 VARIABLE_REFERENCE_ERRORS, | 22 VARIABLE_REFERENCE_ERRORS, |
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1981 @override | 1980 @override |
1982 String toString() => name; | 1981 String toString() => name; |
1983 } | 1982 } |
1984 | 1983 |
1985 class _TokenPair { | 1984 class _TokenPair { |
1986 final _TokenDifferenceKind kind; | 1985 final _TokenDifferenceKind kind; |
1987 final Token oldToken; | 1986 final Token oldToken; |
1988 final Token newToken; | 1987 final Token newToken; |
1989 _TokenPair(this.kind, this.oldToken, this.newToken); | 1988 _TokenPair(this.kind, this.oldToken, this.newToken); |
1990 } | 1989 } |
OLD | NEW |