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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 return DeltaResult.KEEP_CONTINUE; | 894 return DeltaResult.KEEP_CONTINUE; |
895 } | 895 } |
896 } | 896 } |
897 if (isByTask(BuildCompilationUnitElementTask.DESCRIPTOR) || | 897 if (isByTask(BuildCompilationUnitElementTask.DESCRIPTOR) || |
898 isByTask(BuildDirectiveElementsTask.DESCRIPTOR) || | 898 isByTask(BuildDirectiveElementsTask.DESCRIPTOR) || |
899 isByTask(BuildEnumMemberElementsTask.DESCRIPTOR) || | 899 isByTask(BuildEnumMemberElementsTask.DESCRIPTOR) || |
900 isByTask(BuildExportNamespaceTask.DESCRIPTOR) || | 900 isByTask(BuildExportNamespaceTask.DESCRIPTOR) || |
901 isByTask(BuildLibraryElementTask.DESCRIPTOR) || | 901 isByTask(BuildLibraryElementTask.DESCRIPTOR) || |
902 isByTask(BuildPublicNamespaceTask.DESCRIPTOR) || | 902 isByTask(BuildPublicNamespaceTask.DESCRIPTOR) || |
903 isByTask(BuildSourceExportClosureTask.DESCRIPTOR) || | 903 isByTask(BuildSourceExportClosureTask.DESCRIPTOR) || |
904 isByTask(BuildSourceImportExportClosureTask.DESCRIPTOR) || | |
905 isByTask(ComputeConstantDependenciesTask.DESCRIPTOR) || | 904 isByTask(ComputeConstantDependenciesTask.DESCRIPTOR) || |
906 isByTask(ComputeConstantValueTask.DESCRIPTOR) || | 905 isByTask(ComputeConstantValueTask.DESCRIPTOR) || |
907 isByTask(ComputeLibraryCycleTask.DESCRIPTOR) || | 906 isByTask(ComputeLibraryCycleTask.DESCRIPTOR) || |
908 isByTask(DartErrorsTask.DESCRIPTOR) || | 907 isByTask(DartErrorsTask.DESCRIPTOR) || |
909 isByTask(ReadyLibraryElement2Task.DESCRIPTOR) || | 908 isByTask(ReadyLibraryElement2Task.DESCRIPTOR) || |
910 isByTask(ReadyLibraryElement5Task.DESCRIPTOR) || | 909 isByTask(ReadyLibraryElement5Task.DESCRIPTOR) || |
911 isByTask(ReadyResolvedUnitTask.DESCRIPTOR) || | 910 isByTask(ReadyResolvedUnitTask.DESCRIPTOR) || |
912 isByTask(ReadyResolvedUnit9Task.DESCRIPTOR) || | 911 isByTask(ReadyResolvedUnit9Task.DESCRIPTOR) || |
913 isByTask(ReadyResolvedUnit10Task.DESCRIPTOR) || | 912 isByTask(ReadyResolvedUnit10Task.DESCRIPTOR) || |
914 isByTask(EvaluateUnitConstantsTask.DESCRIPTOR) || | 913 isByTask(EvaluateUnitConstantsTask.DESCRIPTOR) || |
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2149 @override | 2148 @override |
2150 String toString() => name; | 2149 String toString() => name; |
2151 } | 2150 } |
2152 | 2151 |
2153 class _TokenPair { | 2152 class _TokenPair { |
2154 final _TokenDifferenceKind kind; | 2153 final _TokenDifferenceKind kind; |
2155 final Token oldToken; | 2154 final Token oldToken; |
2156 final Token newToken; | 2155 final Token newToken; |
2157 _TokenPair(this.kind, this.oldToken, this.newToken); | 2156 _TokenPair(this.kind, this.oldToken, this.newToken); |
2158 } | 2157 } |
OLD | NEW |