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

Unified Diff: dart/lib/compiler/implementation/elements/elements.dart

Issue 10831332: Support new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/lib/compiler/implementation/elements/elements.dart
diff --git a/dart/lib/compiler/implementation/elements/elements.dart b/dart/lib/compiler/implementation/elements/elements.dart
index 65b42a1b9becd8db7a27af80c5e6aa4c264bb15a..5c9cbe69ef004e8e8e0a51ae88ebe6f0329dad13 100644
--- a/dart/lib/compiler/implementation/elements/elements.dart
+++ b/dart/lib/compiler/implementation/elements/elements.dart
@@ -469,6 +469,8 @@ class LibraryElement extends ScopeContainerElement {
}
Scope buildEnclosingScope() => new TopScope(this);
+
+ bool get isPlatformLibrary => uri.scheme == "dart";
}
class PrefixElement extends Element {
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/lib/native_helper.dart » ('j') | dart/lib/compiler/implementation/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698