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

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

Issue 1802883002: Use JS backend in serialization_analysis_test (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Serialize ClassElement.isUnnamedMixinApplication and test added properties. Created 4 years, 9 months 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 void resolveTypedef(TypedefElement typdef); 181 void resolveTypedef(TypedefElement typdef);
182 void resolveClass(ClassElement cls); 182 void resolveClass(ClassElement cls);
183 void registerClass(ClassElement cls); 183 void registerClass(ClassElement cls);
184 void resolveMetadataAnnotation(MetadataAnnotation metadataAnnotation); 184 void resolveMetadataAnnotation(MetadataAnnotation metadataAnnotation);
185 FunctionSignature resolveSignature(FunctionElement function); 185 FunctionSignature resolveSignature(FunctionElement function);
186 DartType resolveTypeAnnotation(Element element, TypeAnnotation node); 186 DartType resolveTypeAnnotation(Element element, TypeAnnotation node);
187 187
188 bool hasBeenResolved(Element element); 188 bool hasBeenResolved(Element element);
189 189
190 ResolutionWorkItem createWorkItem(
191 Element element, ItemCompilationContext compilationContext);
192
190 /// Returns the precomputed [WorldImpact] for [element]. 193 /// Returns the precomputed [WorldImpact] for [element].
191 WorldImpact getWorldImpact(Element element); 194 WorldImpact getWorldImpact(Element element);
192 195
193 /// Computes the [WorldImpact] for [element]. 196 /// Computes the [WorldImpact] for [element].
194 WorldImpact computeWorldImpact(Element element); 197 WorldImpact computeWorldImpact(Element element);
195 198
196 /// Removes the [WorldImpact] for [element] from the resolution cache. Later 199 /// Removes the [WorldImpact] for [element] from the resolution cache. Later
197 /// calls to [getWorldImpact] or [computeWorldImpact] returns an empty impact. 200 /// calls to [getWorldImpact] or [computeWorldImpact] returns an empty impact.
198 void uncacheWorldImpact(Element element); 201 void uncacheWorldImpact(Element element);
199 202
200 /// Removes the [WorldImpact]s for all [Element]s in the resolution cache. , 203 /// Removes the [WorldImpact]s for all [Element]s in the resolution cache. ,
201 /// Later calls to [getWorldImpact] or [computeWorldImpact] returns an empty 204 /// Later calls to [getWorldImpact] or [computeWorldImpact] returns an empty
202 /// impact. 205 /// impact.
203 void emptyCache(); 206 void emptyCache();
204 } 207 }
205 208
206 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. 209 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`.
207 abstract class Parsing { 210 abstract class Parsing {
208 DiagnosticReporter get reporter; 211 DiagnosticReporter get reporter;
209 void parsePatchClass(ClassElement cls); 212 void parsePatchClass(ClassElement cls);
210 measure(f()); 213 measure(f());
211 ScannerOptions getScannerOptionsFor(Element element); 214 ScannerOptions getScannerOptionsFor(Element element);
212 } 215 }
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