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

Unified Diff: runtime/vm/object.h

Issue 10657048: Debugger support to display global variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 9118)
+++ runtime/vm/object.h (working copy)
@@ -1778,6 +1778,7 @@
int next_ix_; // Index of next element.
friend class ClassDictionaryIterator;
+ friend class LibraryPrefixIterator;
DISALLOW_COPY_AND_ASSIGN(DictionaryIterator);
};
@@ -1796,6 +1797,16 @@
};
+class LibraryPrefixIterator : public DictionaryIterator {
+ public:
+ explicit LibraryPrefixIterator(const Library& library);
+ RawLibraryPrefix* GetNext();
+ private:
+ void MoveToNext();
+ DISALLOW_COPY_AND_ASSIGN(LibraryPrefixIterator);
+};
+
+
class Library : public Object {
public:
RawString* name() const { return raw_ptr()->name_; }

Powered by Google App Engine
This is Rietveld 408576698