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

Unified Diff: utils/apidoc/mdn/prettyPrint.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/apidoc/mdn/postProcess.dart ('k') | utils/apidoc/mdn/util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/prettyPrint.dart
diff --git a/utils/apidoc/mdn/prettyPrint.dart b/utils/apidoc/mdn/prettyPrint.dart
index 032b581782c34185065c80489721404f1763e53b..c770ae5a4525487f0ab930369c8a6afbe524059d 100644
--- a/utils/apidoc/mdn/prettyPrint.dart
+++ b/utils/apidoc/mdn/prettyPrint.dart
@@ -28,7 +28,7 @@ int addMissing(StringBuffer sb, String type, Map members) {
void addMissingHelper(String propType) {
Map expected = allProps[type][propType];
if (expected != null) {
- for(final name in sortStringCollection(expected.getKeys())) {
+ for(final name in sortStringCollection(expected.keys)) {
if (!members.containsKey(name)) {
total++;
sb.add("""
@@ -152,7 +152,7 @@ void main() {
<li><a href="#dart_summary">Summary</a></li>
</li>
""");
- for (String type in sortStringCollection(database.getKeys())) {
+ for (String type in sortStringCollection(database.keys)) {
final entry = database[type];
if (entry == null || entry.containsKey('skipped')) {
numSkipped++;
@@ -187,7 +187,7 @@ void main() {
<th>Name</th><th>Description</th><th>IDL</th><th>Status</th>
</tr>
""");
- for (String name in sortStringCollection(members.getKeys())) {
+ for (String name in sortStringCollection(members.keys)) {
Map memberData = members[name];
bool unknown = !hasAny(type, name);
StringBuffer classes = new StringBuffer();
@@ -294,7 +294,7 @@ $sbMembers
}
}
- for (String type in sortStringCollection(allProps.getKeys())) {
+ for (String type in sortStringCollection(allProps.keys)) {
if (!matchedTypes.contains(type) &&
!database.containsKey(type)) {
numSkipped++;
@@ -313,7 +313,7 @@ $sbMembers
<h2>Summary</h2>
<h3>
Generated docs for $numGen classes out of a possible
- ${allProps.getKeys().length}
+ ${allProps.keys.length}
</h3>
<h3>Found documentation for $numFoundMethods methods listed in WebKit</h3>
<h3>
« no previous file with comments | « utils/apidoc/mdn/postProcess.dart ('k') | utils/apidoc/mdn/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698