| 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' |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 */ | 829 */ |
| 830 class IncrementalResolver { | 830 class IncrementalResolver { |
| 831 /** | 831 /** |
| 832 * The element of the compilation unit being resolved. | 832 * The element of the compilation unit being resolved. |
| 833 */ | 833 */ |
| 834 final CompilationUnitElementImpl _definingUnit; | 834 final CompilationUnitElementImpl _definingUnit; |
| 835 | 835 |
| 836 /** | 836 /** |
| 837 * The context the compilation unit being resolved in. | 837 * The context the compilation unit being resolved in. |
| 838 */ | 838 */ |
| 839 AnalysisContextImpl _context; | 839 AnalysisContext _context; |
| 840 | 840 |
| 841 /** | 841 /** |
| 842 * The object used to access the types from the core library. | 842 * The object used to access the types from the core library. |
| 843 */ | 843 */ |
| 844 TypeProvider _typeProvider; | 844 TypeProvider _typeProvider; |
| 845 | 845 |
| 846 /** | 846 /** |
| 847 * The element for the library containing the compilation unit being resolved. | 847 * The element for the library containing the compilation unit being resolved. |
| 848 */ | 848 */ |
| 849 LibraryElementImpl _definingLibrary; | 849 LibraryElementImpl _definingLibrary; |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1991 @override | 1991 @override |
| 1992 String toString() => name; | 1992 String toString() => name; |
| 1993 } | 1993 } |
| 1994 | 1994 |
| 1995 class _TokenPair { | 1995 class _TokenPair { |
| 1996 final _TokenDifferenceKind kind; | 1996 final _TokenDifferenceKind kind; |
| 1997 final Token oldToken; | 1997 final Token oldToken; |
| 1998 final Token newToken; | 1998 final Token newToken; |
| 1999 _TokenPair(this.kind, this.oldToken, this.newToken); | 1999 _TokenPair(this.kind, this.oldToken, this.newToken); |
| 2000 } | 2000 } |
| OLD | NEW |