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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 12094103: Added MappedListIterable/Iterator to implement map() on Lists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding missing EmptyIteartor/Iterable Created 7 years, 10 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:
Download patch
« no previous file with comments | « sdk/lib/collection_dev/iterable.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 83d534601aef600d6234b87a33725fdef675978b..9fab304947c2e7d16f89dded7d097e65db4106b2 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -7211,7 +7211,7 @@ class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(DomMimeType element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(DomMimeType element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -7465,7 +7465,7 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(DomPlugin element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(DomPlugin element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -7826,7 +7826,7 @@ class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(String element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(String element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -8085,7 +8085,7 @@ class _ChildrenElementList implements List {
}
Iterable map(f(Element element)) {
- return IterableMixinWorkaround.map(this, f);
+ return IterableMixinWorkaround.mapList(this, f);
}
List mappedBy(f(Element element)) {
@@ -8302,7 +8302,7 @@ class _FrozenElementList implements List {
}
Iterable map(f(Element element)) {
- return IterableMixinWorkaround.map(this, f);
+ return IterableMixinWorkaround.mapList(this, f);
}
List mappedBy(f(Element element)) {
@@ -10746,7 +10746,7 @@ class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(File element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(File element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -11361,7 +11361,7 @@ class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(num element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(num element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -11577,7 +11577,7 @@ class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(num element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(num element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -12092,7 +12092,7 @@ class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Node element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Node element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -12299,7 +12299,7 @@ class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Node element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Node element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -14318,7 +14318,7 @@ class Int16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -14534,7 +14534,7 @@ class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -14750,7 +14750,7 @@ class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -17039,7 +17039,7 @@ class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Node element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Node element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -17509,7 +17509,7 @@ class _ChildNodeListLazy implements List {
}
Iterable map(f(Node element)) {
- return IterableMixinWorkaround.map(this, f);
+ return IterableMixinWorkaround.mapList(this, f);
}
List mappedBy(f(Node element)) {
@@ -17901,7 +17901,7 @@ class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Node element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Node element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -20284,7 +20284,7 @@ class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(SourceBuffer element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(SourceBuffer element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -20564,7 +20564,7 @@ class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(SpeechGrammar element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(SpeechGrammar element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -21178,7 +21178,7 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Map element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Map element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -22268,7 +22268,7 @@ class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(TextTrackCue element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(TextTrackCue element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -22479,7 +22479,7 @@ class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(TextTrack element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(TextTrack element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -22877,7 +22877,7 @@ class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Touch element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Touch element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -23318,7 +23318,7 @@ class Uint16Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -23534,7 +23534,7 @@ class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -23750,7 +23750,7 @@ class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -23963,7 +23963,7 @@ class Uint8ClampedArray extends Uint8Array implements JavaScriptIndexingBehavior
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(int element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(int element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -27816,7 +27816,7 @@ class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(ClientRect element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(ClientRect element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -28013,7 +28013,7 @@ class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(CssRule element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(CssRule element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -28210,7 +28210,7 @@ class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(CssValue element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(CssValue element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -28407,7 +28407,7 @@ class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Entry element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Entry element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -28604,7 +28604,7 @@ class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(EntrySync element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(EntrySync element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -28801,7 +28801,7 @@ class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(Gamepad element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(Gamepad element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -29113,7 +29113,7 @@ class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(MediaStream element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(MediaStream element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -29310,7 +29310,7 @@ class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(SpeechInputResult element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(SpeechInputResult element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -29507,7 +29507,7 @@ class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(SpeechRecognitionResult element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(SpeechRecognitionResult element)) =>
IterableMixinWorkaround.mappedByList(this, f);
@@ -29704,7 +29704,7 @@ class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
IterableMixinWorkaround.joinList(this, separator);
Iterable map(f(StyleSheet element)) =>
- IterableMixinWorkaround.map(this, f);
+ IterableMixinWorkaround.mapList(this, f);
List mappedBy(f(StyleSheet element)) =>
IterableMixinWorkaround.mappedByList(this, f);
« no previous file with comments | « sdk/lib/collection_dev/iterable.dart ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698