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

Side by Side Diff: sdk/lib/_collection_dev/to_string.dart

Issue 11938036: Hide collection-dev library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Allow dart:_collection-dev in dartc. Other fixes. Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.collection.dev; 5 part of dart._collection.dev;
6 6
7 /** 7 /**
8 * Temporary move `toString` methods into this class. 8 * Temporary move `toString` methods into this class.
9 */ 9 */
10 class ToString { 10 class ToString {
11 // TODO(jjb): visiting list should be an identityHashSet when it exists 11 // TODO(jjb): visiting list should be an identityHashSet when it exists
12 12
13 /** 13 /**
14 * Returns a string representing the specified collection. If the 14 * Returns a string representing the specified collection. If the
15 * collection is a [List], the returned string looks like this: 15 * collection is a [List], the returned string looks like this:
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 first = false; 152 first = false;
153 _emitObject(k, result, visiting); 153 _emitObject(k, result, visiting);
154 result.add(': '); 154 result.add(': ');
155 _emitObject(v, result, visiting); 155 _emitObject(v, result, visiting);
156 }); 156 });
157 157
158 result.add('}'); 158 result.add('}');
159 visiting.removeLast(); 159 visiting.removeLast();
160 } 160 }
161 } 161 }
OLDNEW
« no previous file with comments | « sdk/lib/_collection_dev/sort.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/interceptors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698