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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 1873573004: Serialize TreeElements (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/library_loader.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index 7c675afe9413ad947702acacc926ce0b9494ff88..88035c19037d1e1b37081db9f0cb06f087145d84 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -25,6 +25,7 @@ import '../elements/elements.dart' show
LocalFunctionElement,
MetadataAnnotation,
MethodElement,
+ ResolvedAst,
TypedefElement,
TypeVariableElement;
import '../enqueue.dart' show
@@ -204,6 +205,12 @@ abstract class Resolution {
ResolutionWorkItem createWorkItem(
Element element, ItemCompilationContext compilationContext);
+ /// Returns `true` if [element] as a fully computed [ResolvedAst].
+ bool hasResolvedAst(Element element);
+
+ /// Returns the `ResolvedAst` for the [element].
+ ResolvedAst getResolvedAst(Element element);
+
/// Returns `true` if the [ResolutionImpact] for [element] is cached.
bool hasResolutionImpact(Element element);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/library_loader.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698