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

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: Created 7 years, 11 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
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 a80a9f83f9d57f6f83c669463e093c420b0aa6fd..1eda53411f757b99f604c5e3e204f25d9f2a399d 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -7158,7 +7158,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);
@@ -7411,7 +7411,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);
@@ -7771,7 +7771,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);
@@ -8030,7 +8030,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)) {
@@ -8247,7 +8247,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)) {
@@ -10709,7 +10709,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);
@@ -11316,7 +11316,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);
@@ -11526,7 +11526,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);
@@ -12031,7 +12031,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);
@@ -12238,7 +12238,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);
@@ -14040,7 +14040,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);
@@ -14250,7 +14250,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);
@@ -14460,7 +14460,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);
@@ -16732,7 +16732,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);
@@ -17202,7 +17202,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)) {
@@ -17594,7 +17594,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);
@@ -19968,7 +19968,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);
@@ -20244,7 +20244,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);
@@ -20858,7 +20858,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);
@@ -21940,7 +21940,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);
@@ -22151,7 +22151,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);
@@ -22548,7 +22548,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);
@@ -22981,7 +22981,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);
@@ -23191,7 +23191,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);
@@ -23401,7 +23401,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);
@@ -23608,7 +23608,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);
@@ -27473,7 +27473,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);
@@ -27670,7 +27670,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);
@@ -27867,7 +27867,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);
@@ -28073,7 +28073,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);
@@ -28270,7 +28270,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);
@@ -28546,7 +28546,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);
@@ -28752,7 +28752,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);
@@ -28949,7 +28949,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);
@@ -29146,7 +29146,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);
@@ -29343,7 +29343,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);

Powered by Google App Engine
This is Rietveld 408576698