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

Unified Diff: utils/pub/yaml/visitor.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « utils/pub/yaml/model.dart ('k') | utils/pub/yaml/yaml_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/visitor.dart
diff --git a/utils/pub/yaml/visitor.dart b/utils/pub/yaml/visitor.dart
index 744bcd7388e7be1f74170f06ce1b62f043db56a3..22ada8b2daabdddc3c10632188d2ab90afa32326 100644
--- a/utils/pub/yaml/visitor.dart
+++ b/utils/pub/yaml/visitor.dart
@@ -16,7 +16,7 @@ class _Visitor {
/** Visits each key and value in [map] and returns a map of the results. */
visitMapping(_MappingNode map) {
var out = new YamlMap();
- for (var key in map.content.getKeys()) {
+ for (var key in map.content.keys) {
out[key.visit(this)] = map.content[key].visit(this);
}
return out;
« no previous file with comments | « utils/pub/yaml/model.dart ('k') | utils/pub/yaml/yaml_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698