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

Unified Diff: tools/dom/templates/html/impl/impl_Node.darttemplate

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 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
Index: tools/dom/templates/html/impl/impl_Node.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate
index 018494ddb89ba8e50aa696314c3b2b2baec666fa..005888eca4ba58b09bb6754258f13eae8c0545c6 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -115,12 +115,12 @@ $endif
IterableMixinWorkaround.retainAll(this, elements);
}
- void removeMatching(bool test(Node node)) {
- IterableMixinWorkaround.removeMatching(this, test);
+ void removeWhere(bool test(Node node)) {
+ IterableMixinWorkaround.removeWhere(this, test);
}
- void retainMatching(bool test(Node node)) {
- IterableMixinWorkaround.retainMatching(this, test);
+ void retainWhere(bool test(Node node)) {
+ IterableMixinWorkaround.retainWhere(this, test);
}
void clear() {
@@ -188,16 +188,16 @@ $endif
return IterableMixinWorkaround.skipWhile(this, test);
}
- Node firstMatching(bool test(Node value), {Node orElse()}) {
- return IterableMixinWorkaround.firstMatching(this, test, orElse);
+ Node firstWhere(bool test(Node value), {Node orElse()}) {
+ return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- Node lastMatching(bool test(Node value), {Node orElse()}) {
- return IterableMixinWorkaround.lastMatchingInList(this, test, orElse);
+ Node lastWhere(bool test(Node value), {Node orElse()}) {
+ return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- Node singleMatching(bool test(Node value)) {
- return IterableMixinWorkaround.singleMatching(this, test);
+ Node singleWhere(bool test(Node value)) {
+ return IterableMixinWorkaround.singleWhere(this, test);
}
Node elementAt(int index) {
« no previous file with comments | « tools/dom/templates/html/impl/impl_Element.darttemplate ('k') | tools/dom/templates/immutable_list_mixin.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698