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

Side by Side Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 1436223002: Forget elements from resolution also. (Closed) Base URL: https://github.com/dart-lang/sdk.git@_temporary_fletch_patches
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 library dart2js.common.resolution; 6 library dart2js.common.resolution;
7 7
8 import '../common.dart'; 8 import '../common.dart';
9 import '../compiler.dart' show 9 import '../compiler.dart' show
10 Compiler; 10 Compiler;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void resolveTypedef(TypedefElement typdef); 179 void resolveTypedef(TypedefElement typdef);
180 void resolveClass(ClassElement cls); 180 void resolveClass(ClassElement cls);
181 void registerClass(ClassElement cls); 181 void registerClass(ClassElement cls);
182 void resolveMetadataAnnotation(MetadataAnnotation metadataAnnotation); 182 void resolveMetadataAnnotation(MetadataAnnotation metadataAnnotation);
183 FunctionSignature resolveSignature(FunctionElement function); 183 FunctionSignature resolveSignature(FunctionElement function);
184 DartType resolveTypeAnnotation(Element element, TypeAnnotation node); 184 DartType resolveTypeAnnotation(Element element, TypeAnnotation node);
185 185
186 bool hasBeenResolved(Element element); 186 bool hasBeenResolved(Element element);
187 WorldImpact getWorldImpact(Element element); 187 WorldImpact getWorldImpact(Element element);
188 WorldImpact computeWorldImpact(Element element); 188 WorldImpact computeWorldImpact(Element element);
189 void forgetElement(Element element);
189 } 190 }
190 191
191 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. 192 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`.
192 abstract class Parsing { 193 abstract class Parsing {
193 DiagnosticReporter get reporter; 194 DiagnosticReporter get reporter;
194 void parsePatchClass(ClassElement cls); 195 void parsePatchClass(ClassElement cls);
195 measure(f()); 196 measure(f());
196 ScannerOptions getScannerOptionsFor(Element element); 197 ScannerOptions getScannerOptionsFor(Element element);
197 } 198 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698