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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2110323003: Support serialization of loadLibrary (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 6 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/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 06e0d002bab79654e60b3ac5d745f4dcaa8ce12a..52f5f309efe87a5334399ab7b5a49b7e4baa9f99 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -941,6 +941,9 @@ abstract class PrefixElement extends Element {
/// Import that declared this deferred prefix.
ImportElement get deferredImport;
+
+ /// The `loadLibrary` getter implicitly defined on deferred prefixes.
+ GetterElement get loadLibrary;
}
/// A type alias definition.
@@ -1691,6 +1694,10 @@ enum ResolvedAstKind {
/// The element is an implicit forwarding constructor on a mixin application.
/// No AST or [TreeElements] are provided.
FORWARDING_CONSTRUCTOR,
+
+ /// The element is the `loadLibrary` getter implicitly defined on a deferred
+ /// prefix.
+ DEFERRED_LOAD_LIBRARY,
}
/// [ResolvedAst] contains info that define the semantics of an element.

Powered by Google App Engine
This is Rietveld 408576698