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

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

Issue 1932183003: Handle deserialized compilation of closures (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
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);

Powered by Google App Engine
This is Rietveld 408576698