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

Side by Side Diff: utils/pub/yaml/yaml_map.dart

Issue 10339009: Move Yaml into utils/pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
« no previous file with comments | « utils/pub/yaml/yaml.dart ('k') | utils/tests/pub/pub.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * This class wraps behaves almost identically to the normal Dart Map 6 * This class wraps behaves almost identically to the normal Dart Map
7 * implementation, with the following differences: 7 * implementation, with the following differences:
8 * 8 *
9 * * It allows null, NaN, boolean, list, and map keys. 9 * * It allows null, NaN, boolean, list, and map keys.
10 * * It is itself Hashable. 10 * * It is itself Hashable.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 for (var e in obj) { 101 for (var e in obj) {
102 hash ^= _hashCode(e, parents); 102 hash ^= _hashCode(e, parents);
103 } 103 }
104 return hash; 104 return hash;
105 } 105 }
106 return obj.hashCode(); 106 return obj.hashCode();
107 } finally { 107 } finally {
108 parents.removeLast(); 108 parents.removeLast();
109 } 109 }
110 } 110 }
OLDNEW
« no previous file with comments | « utils/pub/yaml/yaml.dart ('k') | utils/tests/pub/pub.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698