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

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: Updated after breaking changes 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 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/src/context/cache.dart'; 10 import 'package:analyzer/src/context/cache.dart';
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) || 909 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) ||
910 isByTask(ParseDartTask.DESCRIPTOR) || 910 isByTask(ParseDartTask.DESCRIPTOR) ||
911 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) || 911 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) ||
912 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) || 912 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) ||
913 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) || 913 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) ||
914 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) || 914 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) ||
915 isByTask(PropagateVariableTypeTask.DESCRIPTOR) || 915 isByTask(PropagateVariableTypeTask.DESCRIPTOR) ||
916 isByTask(ScanDartTask.DESCRIPTOR) || 916 isByTask(ScanDartTask.DESCRIPTOR) ||
917 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) || 917 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) ||
918 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) || 918 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) ||
919 isByTask(ResolveLibraryTask.DESCRIPTOR) ||
919 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) || 920 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) ||
920 isByTask(ResolveUnitTask.DESCRIPTOR) || 921 isByTask(ResolveUnitTask.DESCRIPTOR) ||
921 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) || 922 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) ||
922 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) || 923 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) ||
923 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) || 924 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) ||
924 isByTask(VerifyUnitTask.DESCRIPTOR)) { 925 isByTask(VerifyUnitTask.DESCRIPTOR)) {
925 return DeltaResult.KEEP_CONTINUE; 926 return DeltaResult.KEEP_CONTINUE;
926 } 927 }
927 // invalidate all the other results 928 // invalidate all the other results
928 return DeltaResult.INVALIDATE_NO_DELTA; 929 return DeltaResult.INVALIDATE_NO_DELTA;
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 @override 2074 @override
2074 String toString() => name; 2075 String toString() => name;
2075 } 2076 }
2076 2077
2077 class _TokenPair { 2078 class _TokenPair {
2078 final _TokenDifferenceKind kind; 2079 final _TokenDifferenceKind kind;
2079 final Token oldToken; 2080 final Token oldToken;
2080 final Token newToken; 2081 final Token newToken;
2081 _TokenPair(this.kind, this.oldToken, this.newToken); 2082 _TokenPair(this.kind, this.oldToken, this.newToken);
2082 } 2083 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698