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 d04947126dc63ad6927ca5afbd1df2c8cb940831..e4b1f9fe43f43a566b40beffaf77c98b59b5fa88 100644 |
--- a/pkg/compiler/lib/src/common/resolution.dart |
+++ b/pkg/compiler/lib/src/common/resolution.dart |
@@ -188,6 +188,9 @@ class ListLiteralUse { |
/// Interface for the accessing the front-end analysis. |
// TODO(johnniwinther): Find a better name for this. |
abstract class Frontend { |
+ /// Returns `true` if [element] has a [ResolvedAst]. |
+ bool hasResolvedAst(Element element); |
+ |
/// Returns the `ResolvedAst` for the [element]. |
ResolvedAst getResolvedAst(Element element); |