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); |