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

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

Issue 14175013: Add setAll, insertAll, replaceRange and fillRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 0fde760019c29000182a18527f22081244f9b4a7..b555d0112c6ee7ca93f1d35eb84299b7d2f24400 100644
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
@@ -82,6 +82,14 @@ $endif
}
}
+ void insertAll(int index, Iterable<Node> iterable) {
+ throw new UnimplementedError();
+ }
+
+ void setAll(int index, Iterable<Node> iterable) {
+ throw new UnimplementedError();
+ }
+
Node removeLast() {
final result = last;
if (result != null) {
@@ -166,6 +174,14 @@ $endif
throw new UnimplementedError("NodeList.getRange");
}
+ void replaceRange(int start, int end, Iterable<Node> iterable) {
+ throw new UnimplementedError("NodeList.replaceRange");
+ }
+
+ void fillRange(int start, int end, [Node fillValue]) {
+ throw new UnimplementedError("NodeList.fillRange");
+ }
+
List<Node> sublist(int start, [int end]) {
if (end == null) end == length;
return Lists.getRange(this, start, end, <Node>[]);

Powered by Google App Engine
This is Rietveld 408576698