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

Unified Diff: lib/html/scripts/idlrenderer.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 | « lib/html/dartium/html_dartium.dart ('k') | lib/html/src/Serialization.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/scripts/idlrenderer.dart
diff --git a/lib/html/scripts/idlrenderer.dart b/lib/html/scripts/idlrenderer.dart
index 77801757f8503692ea3bdfe92579384bd4402afb..9bfcd4f4fdfc369d8a6cd8605b8a8feb5a4abce0 100644
--- a/lib/html/scripts/idlrenderer.dart
+++ b/lib/html/scripts/idlrenderer.dart
@@ -97,14 +97,14 @@ render(idl_node, [indent_str=' ']) {
w(node.annotations);
w(node.type.id);
} else if (node is IDLAnnotations) {
- for (var name in sorted(node.map.getKeys())) {
+ for (var name in sorted(node.map.keys)) {
IDLAnnotation annotation = node.map[name];
var args = annotation.map;
if (args.isEmpty) {
w('@$name');
} else {
var formattedArgs = [];
- for (var argName in sorted(args.getKeys())) {
+ for (var argName in sorted(args.keys)) {
var argValue = args[argName];
if (argValue == null)
formattedArgs.add(argName);
@@ -119,7 +119,7 @@ render(idl_node, [indent_str=' ']) {
if(!node.map.isEmpty) {
w('[');
var sep = null;
- for (var name in sorted(node.map.getKeys())) {
+ for (var name in sorted(node.map.keys)) {
w(sep);
sep = ', ';
w(name);
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | lib/html/src/Serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698