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

Unified Diff: sdk/lib/_internal/compiler/implementation/tree/nodes.dart

Issue 201613006: Introduces the new syntax for deferred loading (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: sdk/lib/_internal/compiler/implementation/tree/nodes.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tree/nodes.dart b/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
index 40ec287f84ceee86e5c1c5851e93e7734ccb49ca..d97e697a4dc886dd52b3f169b578c3fee7e73403 100644
--- a/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
+++ b/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
@@ -1801,10 +1801,12 @@ abstract class LibraryDependency extends LibraryTag {
class Import extends LibraryDependency {
final Identifier prefix;
final Token importKeyword;
+ final bool isDeferred;
Import(this.importKeyword, StringNode uri,
this.prefix, NodeList combinators,
- Link<MetadataAnnotation> metadata)
+ Link<MetadataAnnotation> metadata,
+ {this.isDeferred})
Johnni Winther 2014/03/18 12:29:14 You need to update the Unparser and the PrettyPrin
sigurdm 2014/03/19 12:46:30 Done.
: super(uri, combinators, metadata);
bool get isImport => true;

Powered by Google App Engine
This is Rietveld 408576698