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

Unified Diff: pkg/analyzer2dart/lib/src/closed_world.dart

Issue 609783002: Support static field access in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 3 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
« no previous file with comments | « no previous file | pkg/analyzer2dart/lib/src/converted_world.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer2dart/lib/src/closed_world.dart
diff --git a/pkg/analyzer2dart/lib/src/closed_world.dart b/pkg/analyzer2dart/lib/src/closed_world.dart
index 4c21271c89336a2f94a388bfc7b82de84f443b98..fbcdaa47eb671c573cec3322cdb34fc7cfb18276 100644
--- a/pkg/analyzer2dart/lib/src/closed_world.dart
+++ b/pkg/analyzer2dart/lib/src/closed_world.dart
@@ -33,6 +33,14 @@ class ClosedWorld {
new HashMap<FieldElement, VariableDeclaration>();
/**
+ * Top-level variables that are reachable.
+ */
+ // TODO(johnniwinther): Is there value in splitting fields and top-level
+ // variables?
+ Map<TopLevelVariableElement, VariableDeclaration> variables =
+ new HashMap<TopLevelVariableElement, VariableDeclaration>();
+
+ /**
* Classes that are instantiated from reachable code.
*
* TODO(paulberry): Also keep track of classes that are reachable but not
« no previous file with comments | « no previous file | pkg/analyzer2dart/lib/src/converted_world.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698