Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 1486663003: Ensure that a complete library element has constants evaluated (issue 24890) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) || 920 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) ||
921 isByTask(ParseDartTask.DESCRIPTOR) || 921 isByTask(ParseDartTask.DESCRIPTOR) ||
922 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) || 922 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) ||
923 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) || 923 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) ||
924 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) || 924 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) ||
925 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) || 925 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) ||
926 isByTask(PropagateVariableTypeTask.DESCRIPTOR) || 926 isByTask(PropagateVariableTypeTask.DESCRIPTOR) ||
927 isByTask(ScanDartTask.DESCRIPTOR) || 927 isByTask(ScanDartTask.DESCRIPTOR) ||
928 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) || 928 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) ||
929 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) || 929 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) ||
930 isByTask(ResolveLibraryTask.DESCRIPTOR) ||
930 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) || 931 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) ||
931 isByTask(ResolveUnitTask.DESCRIPTOR) || 932 isByTask(ResolveUnitTask.DESCRIPTOR) ||
932 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) || 933 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) ||
933 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) || 934 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) ||
934 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) || 935 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) ||
935 isByTask(VerifyUnitTask.DESCRIPTOR)) { 936 isByTask(VerifyUnitTask.DESCRIPTOR)) {
936 return DeltaResult.KEEP_CONTINUE; 937 return DeltaResult.KEEP_CONTINUE;
937 } 938 }
938 // invalidate all the other results 939 // invalidate all the other results
939 return DeltaResult.INVALIDATE_NO_DELTA; 940 return DeltaResult.INVALIDATE_NO_DELTA;
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
2154 @override 2155 @override
2155 String toString() => name; 2156 String toString() => name;
2156 } 2157 }
2157 2158
2158 class _TokenPair { 2159 class _TokenPair {
2159 final _TokenDifferenceKind kind; 2160 final _TokenDifferenceKind kind;
2160 final Token oldToken; 2161 final Token oldToken;
2161 final Token newToken; 2162 final Token newToken;
2162 _TokenPair(this.kind, this.oldToken, this.newToken); 2163 _TokenPair(this.kind, this.oldToken, this.newToken);
2163 } 2164 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698