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

Side by Side Diff: lib/runtime/dart/collection.js

Issue 1144303003: Use signature inheritance when method types are unchanged (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 var collection = dart.defineLibrary(collection, {}); 1 var collection = dart.defineLibrary(collection, {});
2 var _internal = dart.lazyImport(_internal); 2 var _internal = dart.lazyImport(_internal);
3 var core = dart.import(core); 3 var core = dart.import(core);
4 var _js_helper = dart.lazyImport(_js_helper); 4 var _js_helper = dart.lazyImport(_js_helper);
5 var math = dart.lazyImport(math); 5 var math = dart.lazyImport(math);
6 (function(exports, _internal, core, _js_helper, math) { 6 (function(exports, _internal, core, _js_helper, math) {
7 'use strict'; 7 'use strict';
8 let _source = Symbol('_source'); 8 let _source = Symbol('_source');
9 let UnmodifiableListView$ = dart.generic(function(E) { 9 let UnmodifiableListView$ = dart.generic(function(E) {
10 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { 10 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) {
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]), 381 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
382 retainAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]), 382 retainAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
383 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 383 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
384 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 384 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
385 containsAll: dart.functionType(core.bool, [core.Iterable$(core.Object)]) , 385 containsAll: dart.functionType(core.bool, [core.Iterable$(core.Object)]) ,
386 union: dart.functionType(core.Set$(E), [core.Set$(E)]), 386 union: dart.functionType(core.Set$(E), [core.Set$(E)]),
387 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 387 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
388 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 388 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
389 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 389 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
390 [core.$map]: dart.functionType(core.Iterable, [dart.functionType(dart.dy namic, [E])]), 390 [core.$map]: dart.functionType(core.Iterable, [dart.functionType(dart.dy namic, [E])]),
391 toString: dart.functionType(core.String, []),
392 [core.$where]: dart.functionType(core.Iterable$(E), [dart.functionType(c ore.bool, [E])]), 391 [core.$where]: dart.functionType(core.Iterable$(E), [dart.functionType(c ore.bool, [E])]),
393 [core.$expand]: dart.functionType(core.Iterable, [dart.functionType(core .Iterable, [E])]), 392 [core.$expand]: dart.functionType(core.Iterable, [dart.functionType(core .Iterable, [E])]),
394 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]), 393 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
395 [core.$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), 394 [core.$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]),
396 [core.$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functi onType(dart.dynamic, [dart.dynamic, E])]), 395 [core.$fold]: dart.functionType(dart.dynamic, [dart.dynamic, dart.functi onType(dart.dynamic, [dart.dynamic, E])]),
397 [core.$every]: dart.functionType(core.bool, [dart.functionType(core.bool , [E])]), 396 [core.$every]: dart.functionType(core.bool, [dart.functionType(core.bool , [E])]),
398 [core.$join]: dart.functionType(core.String, [], [core.String]), 397 [core.$join]: dart.functionType(core.String, [], [core.String]),
399 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]), 398 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
400 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 399 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
401 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 400 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]), 734 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
736 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 735 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
737 [core.$toSet]: dart.functionType(core.Set$(E), []), 736 [core.$toSet]: dart.functionType(core.Set$(E), []),
738 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 737 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
739 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 738 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
740 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), 739 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]),
741 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 740 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
742 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [ E])], {rEls: dart.functionType(E, [])}), 741 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [ E])], {rEls: dart.functionType(E, [])}),
743 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E ])], {rEls: dart.functionType(E, [])}), 742 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E ])], {rEls: dart.functionType(E, [])}),
744 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]), 743 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]),
745 [core.$elementAt]: dart.functionType(E, [core.int]), 744 [core.$elementAt]: dart.functionType(E, [core.int])
746 toString: dart.functionType(core.String, [])
747 }) 745 })
748 }); 746 });
749 return IterableMixin; 747 return IterableMixin;
750 }); 748 });
751 let IterableMixin = IterableMixin$(); 749 let IterableMixin = IterableMixin$();
752 let IterableBase$ = dart.generic(function(E) { 750 let IterableBase$ = dart.generic(function(E) {
753 class IterableBase extends core.Object { 751 class IterableBase extends core.Object {
754 IterableBase() { 752 IterableBase() {
755 } 753 }
756 [core.$map](f) { 754 [core.$map](f) {
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]), 1104 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
1107 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 1105 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
1108 [core.$toSet]: dart.functionType(core.Set$(E), []), 1106 [core.$toSet]: dart.functionType(core.Set$(E), []),
1109 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 1107 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
1110 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 1108 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
1111 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), 1109 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]),
1112 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 1110 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
1113 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [ E])], {rEls: dart.functionType(E, [])}), 1111 [core.$firstWhere]: dart.functionType(E, [dart.functionType(core.bool, [ E])], {rEls: dart.functionType(E, [])}),
1114 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E ])], {rEls: dart.functionType(E, [])}), 1112 [core.$lastWhere]: dart.functionType(E, [dart.functionType(core.bool, [E ])], {rEls: dart.functionType(E, [])}),
1115 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]), 1113 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]),
1116 [core.$elementAt]: dart.functionType(E, [core.int]), 1114 [core.$elementAt]: dart.functionType(E, [core.int])
1117 toString: dart.functionType(core.String, [])
1118 }), 1115 }),
1119 statics: () => ({ 1116 statics: () => ({
1120 iterableToShortString: dart.functionType(core.String, [core.Iterable], [ core.String, core.String]), 1117 iterableToShortString: dart.functionType(core.String, [core.Iterable], [ core.String, core.String]),
1121 iterableToFullString: dart.functionType(core.String, [core.Iterable], [c ore.String, core.String]), 1118 iterableToFullString: dart.functionType(core.String, [core.Iterable], [c ore.String, core.String]),
1122 _isToStringVisiting: dart.functionType(core.bool, [core.Object]), 1119 _isToStringVisiting: dart.functionType(core.bool, [core.Object]),
1123 _iterablePartsToStrings: dart.functionType(dart.void, [core.Iterable, co re.List]) 1120 _iterablePartsToStrings: dart.functionType(dart.void, [core.Iterable, co re.List])
1124 }), 1121 }),
1125 names: ['iterableToShortString', 'iterableToFullString', '_isToStringVisit ing', '_iterablePartsToStrings'] 1122 names: ['iterableToShortString', 'iterableToFullString', '_isToStringVisit ing', '_iterablePartsToStrings']
1126 }); 1123 });
1127 return IterableBase; 1124 return IterableBase;
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
2027 [core.$getRange]: dart.functionType(core.Iterable$(E), [core.int, core.i nt]), 2024 [core.$getRange]: dart.functionType(core.Iterable$(E), [core.int, core.i nt]),
2028 [core.$removeRange]: dart.functionType(dart.void, [core.int, core.int]), 2025 [core.$removeRange]: dart.functionType(dart.void, [core.int, core.int]),
2029 [core.$fillRange]: dart.functionType(dart.void, [core.int, core.int], [E ]), 2026 [core.$fillRange]: dart.functionType(dart.void, [core.int, core.int], [E ]),
2030 [core.$setRange]: dart.functionType(dart.void, [core.int, core.int, core .Iterable$(E)], [core.int]), 2027 [core.$setRange]: dart.functionType(dart.void, [core.int, core.int, core .Iterable$(E)], [core.int]),
2031 [core.$replaceRange]: dart.functionType(dart.void, [core.int, core.int, core.Iterable$(E)]), 2028 [core.$replaceRange]: dart.functionType(dart.void, [core.int, core.int, core.Iterable$(E)]),
2032 [core.$indexOf]: dart.functionType(core.int, [core.Object], [core.int]), 2029 [core.$indexOf]: dart.functionType(core.int, [core.Object], [core.int]),
2033 [core.$lastIndexOf]: dart.functionType(core.int, [core.Object], [core.in t]), 2030 [core.$lastIndexOf]: dart.functionType(core.int, [core.Object], [core.in t]),
2034 [core.$insert]: dart.functionType(dart.void, [core.int, E]), 2031 [core.$insert]: dart.functionType(dart.void, [core.int, E]),
2035 [core.$removeAt]: dart.functionType(E, [core.int]), 2032 [core.$removeAt]: dart.functionType(E, [core.int]),
2036 [core.$insertAll]: dart.functionType(dart.void, [core.int, core.Iterable $(E)]), 2033 [core.$insertAll]: dart.functionType(dart.void, [core.int, core.Iterable $(E)]),
2037 [core.$setAll]: dart.functionType(dart.void, [core.int, core.Iterable$(E )]), 2034 [core.$setAll]: dart.functionType(dart.void, [core.int, core.Iterable$(E )])
2038 [core.$toString]: dart.functionType(core.String, [])
2039 }), 2035 }),
2040 statics: () => ({_filter: dart.functionType(dart.void, [core.List, dart.fu nctionType(core.bool, [dart.dynamic]), core.bool])}), 2036 statics: () => ({_filter: dart.functionType(dart.void, [core.List, dart.fu nctionType(core.bool, [dart.dynamic]), core.bool])}),
2041 names: ['_filter'] 2037 names: ['_filter']
2042 }); 2038 });
2043 return ListMixin; 2039 return ListMixin;
2044 }); 2040 });
2045 let ListMixin = ListMixin$(); 2041 let ListMixin = ListMixin$();
2046 let ListBase$ = dart.generic(function(E) { 2042 let ListBase$ = dart.generic(function(E) {
2047 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) { 2043 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) {
2048 static listToString(list) { 2044 static listToString(list) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 return Maps.mapToString(this); 2100 return Maps.mapToString(this);
2105 } 2101 }
2106 } 2102 }
2107 MapMixin[dart.implements] = () => [core.Map$(K, V)]; 2103 MapMixin[dart.implements] = () => [core.Map$(K, V)];
2108 dart.setSignature(MapMixin, { 2104 dart.setSignature(MapMixin, {
2109 methods: () => ({ 2105 methods: () => ({
2110 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 2106 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
2111 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 2107 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
2112 containsValue: dart.functionType(core.bool, [core.Object]), 2108 containsValue: dart.functionType(core.bool, [core.Object]),
2113 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 2109 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
2114 containsKey: dart.functionType(core.bool, [core.Object]), 2110 containsKey: dart.functionType(core.bool, [core.Object])
2115 toString: dart.functionType(core.String, [])
2116 }) 2111 })
2117 }); 2112 });
2118 return MapMixin; 2113 return MapMixin;
2119 }); 2114 });
2120 let MapMixin = MapMixin$(); 2115 let MapMixin = MapMixin$();
2121 let MapBase$ = dart.generic(function(K, V) { 2116 let MapBase$ = dart.generic(function(K, V) {
2122 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} 2117 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {}
2123 return MapBase; 2118 return MapBase;
2124 }); 2119 });
2125 let MapBase = MapBase$(); 2120 let MapBase = MapBase$();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 dart.setSignature(MapView, { 2281 dart.setSignature(MapView, {
2287 methods: () => ({ 2282 methods: () => ({
2288 get: dart.functionType(V, [core.Object]), 2283 get: dart.functionType(V, [core.Object]),
2289 set: dart.functionType(dart.void, [K, V]), 2284 set: dart.functionType(dart.void, [K, V]),
2290 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 2285 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
2291 clear: dart.functionType(dart.void, []), 2286 clear: dart.functionType(dart.void, []),
2292 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 2287 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
2293 containsKey: dart.functionType(core.bool, [core.Object]), 2288 containsKey: dart.functionType(core.bool, [core.Object]),
2294 containsValue: dart.functionType(core.bool, [core.Object]), 2289 containsValue: dart.functionType(core.bool, [core.Object]),
2295 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 2290 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
2296 remove: dart.functionType(V, [core.Object]), 2291 remove: dart.functionType(V, [core.Object])
2297 toString: dart.functionType(core.String, [])
2298 }) 2292 })
2299 }); 2293 });
2300 return MapView; 2294 return MapView;
2301 }); 2295 });
2302 let MapView = MapView$(); 2296 let MapView = MapView$();
2303 let UnmodifiableMapView$ = dart.generic(function(K, V) { 2297 let UnmodifiableMapView$ = dart.generic(function(K, V) {
2304 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {} 2298 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {}
2305 return UnmodifiableMapView; 2299 return UnmodifiableMapView;
2306 }); 2300 });
2307 let UnmodifiableMapView = UnmodifiableMapView$(); 2301 let UnmodifiableMapView = UnmodifiableMapView$();
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 2664 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
2671 removeLast: dart.functionType(E, []), 2665 removeLast: dart.functionType(E, []),
2672 removeFirst: dart.functionType(E, []), 2666 removeFirst: dart.functionType(E, []),
2673 remove: dart.functionType(core.bool, [core.Object]), 2667 remove: dart.functionType(core.bool, [core.Object]),
2674 [_filter]: dart.functionType(dart.void, [dart.functionType(core.bool, [E ]), core.bool]), 2668 [_filter]: dart.functionType(dart.void, [dart.functionType(core.bool, [E ]), core.bool]),
2675 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 2669 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
2676 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 2670 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
2677 lastEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []), 2671 lastEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []),
2678 firstEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []), 2672 firstEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []),
2679 clear: dart.functionType(dart.void, []), 2673 clear: dart.functionType(dart.void, []),
2680 forEachEntry: dart.functionType(dart.void, [dart.functionType(dart.void, [DoubleLinkedQueueEntry$(E)])]), 2674 forEachEntry: dart.functionType(dart.void, [dart.functionType(dart.void, [DoubleLinkedQueueEntry$(E)])])
2681 toString: dart.functionType(core.String, [])
2682 }) 2675 })
2683 }); 2676 });
2684 return DoubleLinkedQueue; 2677 return DoubleLinkedQueue;
2685 }); 2678 });
2686 let DoubleLinkedQueue = DoubleLinkedQueue$(); 2679 let DoubleLinkedQueue = DoubleLinkedQueue$();
2687 let _nextEntry = Symbol('_nextEntry'); 2680 let _nextEntry = Symbol('_nextEntry');
2688 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) { 2681 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) {
2689 class _DoubleLinkedQueueIterator extends core.Object { 2682 class _DoubleLinkedQueueIterator extends core.Object {
2690 _DoubleLinkedQueueIterator(sentinel) { 2683 _DoubleLinkedQueueIterator(sentinel) {
2691 this[_sentinel] = sentinel; 2684 this[_sentinel] = sentinel;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
3014 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]), 3007 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
3015 [core.$elementAt]: dart.functionType(E, [core.int]), 3008 [core.$elementAt]: dart.functionType(E, [core.int]),
3016 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 3009 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
3017 add: dart.functionType(dart.void, [E]), 3010 add: dart.functionType(dart.void, [E]),
3018 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 3011 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
3019 remove: dart.functionType(core.bool, [core.Object]), 3012 remove: dart.functionType(core.bool, [core.Object]),
3020 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]), 3013 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]),
3021 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 3014 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
3022 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 3015 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
3023 clear: dart.functionType(dart.void, []), 3016 clear: dart.functionType(dart.void, []),
3024 toString: dart.functionType(core.String, []),
3025 addLast: dart.functionType(dart.void, [E]), 3017 addLast: dart.functionType(dart.void, [E]),
3026 addFirst: dart.functionType(dart.void, [E]), 3018 addFirst: dart.functionType(dart.void, [E]),
3027 removeFirst: dart.functionType(E, []), 3019 removeFirst: dart.functionType(E, []),
3028 removeLast: dart.functionType(E, []), 3020 removeLast: dart.functionType(E, []),
3029 [_checkModification]: dart.functionType(dart.void, [core.int]), 3021 [_checkModification]: dart.functionType(dart.void, [core.int]),
3030 [_add]: dart.functionType(dart.void, [E]), 3022 [_add]: dart.functionType(dart.void, [E]),
3031 [_remove]: dart.functionType(core.int, [core.int]), 3023 [_remove]: dart.functionType(core.int, [core.int]),
3032 [_grow]: dart.functionType(dart.void, []), 3024 [_grow]: dart.functionType(dart.void, []),
3033 [_writeToList]: dart.functionType(core.int, [core.List$(E)]), 3025 [_writeToList]: dart.functionType(core.int, [core.List$(E)]),
3034 [_preGrow]: dart.functionType(dart.void, [core.int]) 3026 [_preGrow]: dart.functionType(dart.void, [core.int])
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
3494 [_compare]: dart.functionType(core.int, [K, K]), 3486 [_compare]: dart.functionType(core.int, [K, K]),
3495 get: dart.functionType(V, [core.Object]), 3487 get: dart.functionType(V, [core.Object]),
3496 remove: dart.functionType(V, [core.Object]), 3488 remove: dart.functionType(V, [core.Object]),
3497 set: dart.functionType(dart.void, [K, V]), 3489 set: dart.functionType(dart.void, [K, V]),
3498 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 3490 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
3499 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 3491 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
3500 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 3492 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
3501 clear: dart.functionType(dart.void, []), 3493 clear: dart.functionType(dart.void, []),
3502 containsKey: dart.functionType(core.bool, [core.Object]), 3494 containsKey: dart.functionType(core.bool, [core.Object]),
3503 containsValue: dart.functionType(core.bool, [core.Object]), 3495 containsValue: dart.functionType(core.bool, [core.Object]),
3504 toString: dart.functionType(core.String, []),
3505 firstKey: dart.functionType(K, []), 3496 firstKey: dart.functionType(K, []),
3506 lastKey: dart.functionType(K, []), 3497 lastKey: dart.functionType(K, []),
3507 lastKeyBefore: dart.functionType(K, [K]), 3498 lastKeyBefore: dart.functionType(K, [K]),
3508 firstKeyAfter: dart.functionType(K, [K]) 3499 firstKeyAfter: dart.functionType(K, [K])
3509 }) 3500 })
3510 }); 3501 });
3511 return SplayTreeMap; 3502 return SplayTreeMap;
3512 }); 3503 });
3513 let SplayTreeMap = SplayTreeMap$(); 3504 let SplayTreeMap = SplayTreeMap$();
3514 let _workList = Symbol('_workList'); 3505 let _workList = Symbol('_workList');
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
3854 } 3845 }
3855 } 3846 }
3856 dart.defineNamedConstructor(SplayTreeSet, 'from'); 3847 dart.defineNamedConstructor(SplayTreeSet, 'from');
3857 dart.setSignature(SplayTreeSet, { 3848 dart.setSignature(SplayTreeSet, {
3858 methods: () => ({ 3849 methods: () => ({
3859 [_compare]: dart.functionType(core.int, [E, E]), 3850 [_compare]: dart.functionType(core.int, [E, E]),
3860 [core.$contains]: dart.functionType(core.bool, [core.Object]), 3851 [core.$contains]: dart.functionType(core.bool, [core.Object]),
3861 add: dart.functionType(core.bool, [E]), 3852 add: dart.functionType(core.bool, [E]),
3862 remove: dart.functionType(core.bool, [core.Object]), 3853 remove: dart.functionType(core.bool, [core.Object]),
3863 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 3854 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
3864 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
3865 retainAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
3866 lookup: dart.functionType(E, [core.Object]), 3855 lookup: dart.functionType(E, [core.Object]),
3867 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 3856 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
3868 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 3857 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
3869 union: dart.functionType(core.Set$(E), [core.Set$(E)]), 3858 union: dart.functionType(core.Set$(E), [core.Set$(E)]),
3870 [_clone]: dart.functionType(SplayTreeSet$(E), []), 3859 [_clone]: dart.functionType(SplayTreeSet$(E), []),
3871 [_copyNode]: dart.functionType(_SplayTreeNode$(E), [_SplayTreeNode$(E)]) , 3860 [_copyNode]: dart.functionType(_SplayTreeNode$(E), [_SplayTreeNode$(E)]) ,
3872 clear: dart.functionType(dart.void, []), 3861 [core.$toSet]: dart.functionType(core.Set$(E), [])
3873 [core.$toSet]: dart.functionType(core.Set$(E), []),
3874 toString: dart.functionType(core.String, [])
3875 }) 3862 })
3876 }); 3863 });
3877 return SplayTreeSet; 3864 return SplayTreeSet;
3878 }); 3865 });
3879 let SplayTreeSet = SplayTreeSet$(); 3866 let SplayTreeSet = SplayTreeSet$();
3880 let __CastType0$ = dart.generic(function(K) { 3867 let __CastType0$ = dart.generic(function(K) {
3881 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [K, K])); 3868 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [K, K]));
3882 return __CastType0; 3869 return __CastType0;
3883 }); 3870 });
3884 let __CastType0 = __CastType0$(); 3871 let __CastType0 = __CastType0$();
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
4215 if (bucket == null) 4202 if (bucket == null)
4216 return -1; 4203 return -1;
4217 let length = bucket.length; 4204 let length = bucket.length;
4218 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) { 4205 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) {
4219 if (core.identical(bucket[i], key)) 4206 if (core.identical(bucket[i], key))
4220 return i; 4207 return i;
4221 } 4208 }
4222 return -1; 4209 return -1;
4223 } 4210 }
4224 } 4211 }
4225 dart.setSignature(_IdentityHashMap, { 4212 dart.setSignature(_IdentityHashMap, {});
4226 methods: () => ({
4227 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4228 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
4229 })
4230 });
4231 return _IdentityHashMap; 4213 return _IdentityHashMap;
4232 }); 4214 });
4233 let _IdentityHashMap = _IdentityHashMap$(); 4215 let _IdentityHashMap = _IdentityHashMap$();
4234 let _equals = Symbol('_equals'); 4216 let _equals = Symbol('_equals');
4235 let _hashCode = Symbol('_hashCode'); 4217 let _hashCode = Symbol('_hashCode');
4236 let _CustomHashMap$ = dart.generic(function(K, V) { 4218 let _CustomHashMap$ = dart.generic(function(K, V) {
4237 class _CustomHashMap extends _HashMap$(K, V) { 4219 class _CustomHashMap extends _HashMap$(K, V) {
4238 _CustomHashMap(equals, hashCode, validKey) { 4220 _CustomHashMap(equals, hashCode, validKey) {
4239 this[_equals] = equals; 4221 this[_equals] = equals;
4240 this[_hashCode] = hashCode; 4222 this[_hashCode] = hashCode;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 return -1; 4257 return -1;
4276 } 4258 }
4277 toString() { 4259 toString() {
4278 return Maps.mapToString(this); 4260 return Maps.mapToString(this);
4279 } 4261 }
4280 } 4262 }
4281 dart.setSignature(_CustomHashMap, { 4263 dart.setSignature(_CustomHashMap, {
4282 methods: () => ({ 4264 methods: () => ({
4283 get: dart.functionType(V, [core.Object]), 4265 get: dart.functionType(V, [core.Object]),
4284 set: dart.functionType(dart.void, [K, V]), 4266 set: dart.functionType(dart.void, [K, V]),
4285 containsKey: dart.functionType(core.bool, [core.Object]), 4267 remove: dart.functionType(V, [core.Object])
4286 remove: dart.functionType(V, [core.Object]),
4287 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4288 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]),
4289 toString: dart.functionType(core.String, [])
4290 }) 4268 })
4291 }); 4269 });
4292 return _CustomHashMap; 4270 return _CustomHashMap;
4293 }); 4271 });
4294 let _CustomHashMap = _CustomHashMap$(); 4272 let _CustomHashMap = _CustomHashMap$();
4295 let HashMapKeyIterable$ = dart.generic(function(E) { 4273 let HashMapKeyIterable$ = dart.generic(function(E) {
4296 class HashMapKeyIterable extends IterableBase$(E) { 4274 class HashMapKeyIterable extends IterableBase$(E) {
4297 HashMapKeyIterable(map) { 4275 HashMapKeyIterable(map) {
4298 this[_map] = map; 4276 this[_map] = map;
4299 super.IterableBase(); 4277 super.IterableBase();
(...skipping 16 matching lines...) Expand all
4316 for (let i = 0, length = keys.length; dart.notNull(i) < dart.notNull(len gth); i = dart.notNull(i) + 1) { 4294 for (let i = 0, length = keys.length; dart.notNull(i) < dart.notNull(len gth); i = dart.notNull(i) + 1) {
4317 f(dart.as(keys[i], E)); 4295 f(dart.as(keys[i], E));
4318 if (keys !== dart.dload(this[_map], _keys)) { 4296 if (keys !== dart.dload(this[_map], _keys)) {
4319 throw new core.ConcurrentModificationError(this[_map]); 4297 throw new core.ConcurrentModificationError(this[_map]);
4320 } 4298 }
4321 } 4299 }
4322 } 4300 }
4323 } 4301 }
4324 HashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength]; 4302 HashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength];
4325 dart.setSignature(HashMapKeyIterable, { 4303 dart.setSignature(HashMapKeyIterable, {
4326 methods: () => ({ 4304 methods: () => ({[core.$forEach]: dart.functionType(dart.void, [dart.funct ionType(dart.void, [E])])})
4327 [core.$contains]: dart.functionType(core.bool, [core.Object]),
4328 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])])
4329 })
4330 }); 4305 });
4331 return HashMapKeyIterable; 4306 return HashMapKeyIterable;
4332 }); 4307 });
4333 let HashMapKeyIterable = HashMapKeyIterable$(); 4308 let HashMapKeyIterable = HashMapKeyIterable$();
4334 let _offset = Symbol('_offset'); 4309 let _offset = Symbol('_offset');
4335 let HashMapKeyIterator$ = dart.generic(function(E) { 4310 let HashMapKeyIterator$ = dart.generic(function(E) {
4336 class HashMapKeyIterator extends core.Object { 4311 class HashMapKeyIterator extends core.Object {
4337 HashMapKeyIterator(map, keys) { 4312 HashMapKeyIterator(map, keys) {
4338 this[_map] = map; 4313 this[_map] = map;
4339 this[_keys] = keys; 4314 this[_keys] = keys;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
4665 [_remove]: dart.functionType(V, [core.Object]), 4640 [_remove]: dart.functionType(V, [core.Object]),
4666 clear: dart.functionType(dart.void, []), 4641 clear: dart.functionType(dart.void, []),
4667 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 4642 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
4668 [_addHashTableEntry]: dart.functionType(dart.void, [dart.dynamic, K, V]) , 4643 [_addHashTableEntry]: dart.functionType(dart.void, [dart.dynamic, K, V]) ,
4669 [_removeHashTableEntry]: dart.functionType(V, [dart.dynamic, core.Object ]), 4644 [_removeHashTableEntry]: dart.functionType(V, [dart.dynamic, core.Object ]),
4670 [_modified]: dart.functionType(dart.void, []), 4645 [_modified]: dart.functionType(dart.void, []),
4671 [_newLinkedCell]: dart.functionType(LinkedHashMapCell, [K, V]), 4646 [_newLinkedCell]: dart.functionType(LinkedHashMapCell, [K, V]),
4672 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashMapCell]), 4647 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashMapCell]),
4673 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 4648 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4674 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 4649 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
4675 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]), 4650 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
4676 toString: dart.functionType(core.String, [])
4677 }), 4651 }),
4678 statics: () => ({ 4652 statics: () => ({
4679 _isStringKey: dart.functionType(core.bool, [dart.dynamic]), 4653 _isStringKey: dart.functionType(core.bool, [dart.dynamic]),
4680 _isNumericKey: dart.functionType(core.bool, [dart.dynamic]), 4654 _isNumericKey: dart.functionType(core.bool, [dart.dynamic]),
4681 _getTableEntry: dart.functionType(dart.dynamic, [dart.dynamic, dart.dyna mic]), 4655 _getTableEntry: dart.functionType(dart.dynamic, [dart.dynamic, dart.dyna mic]),
4682 _setTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dynamic , dart.dynamic]), 4656 _setTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dynamic , dart.dynamic]),
4683 _deleteTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dyna mic]), 4657 _deleteTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dyna mic]),
4684 _newHashTable: dart.functionType(dart.dynamic, []) 4658 _newHashTable: dart.functionType(dart.dynamic, [])
4685 }), 4659 }),
4686 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable'] 4660 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable']
(...skipping 14 matching lines...) Expand all
4701 return -1; 4675 return -1;
4702 let length = bucket.length; 4676 let length = bucket.length;
4703 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 4677 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
4704 let cell = dart.as(bucket[i], LinkedHashMapCell); 4678 let cell = dart.as(bucket[i], LinkedHashMapCell);
4705 if (core.identical(cell[_key], key)) 4679 if (core.identical(cell[_key], key))
4706 return i; 4680 return i;
4707 } 4681 }
4708 return -1; 4682 return -1;
4709 } 4683 }
4710 } 4684 }
4711 dart.setSignature(_LinkedIdentityHashMap, { 4685 dart.setSignature(_LinkedIdentityHashMap, {});
4712 methods: () => ({
4713 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4714 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
4715 })
4716 });
4717 return _LinkedIdentityHashMap; 4686 return _LinkedIdentityHashMap;
4718 }); 4687 });
4719 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(); 4688 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$();
4720 let _LinkedCustomHashMap$ = dart.generic(function(K, V) { 4689 let _LinkedCustomHashMap$ = dart.generic(function(K, V) {
4721 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { 4690 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) {
4722 _LinkedCustomHashMap(equals, hashCode, validKey) { 4691 _LinkedCustomHashMap(equals, hashCode, validKey) {
4723 this[_equals] = equals; 4692 this[_equals] = equals;
4724 this[_hashCode] = hashCode; 4693 this[_hashCode] = hashCode;
4725 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v, K), core.bool, [dart.dynamic]); 4694 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v, K), core.bool, [dart.dynamic]);
4726 super._LinkedHashMap(); 4695 super._LinkedHashMap();
(...skipping 30 matching lines...) Expand all
4757 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K))) 4726 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K)))
4758 return i; 4727 return i;
4759 } 4728 }
4760 return -1; 4729 return -1;
4761 } 4730 }
4762 } 4731 }
4763 dart.setSignature(_LinkedCustomHashMap, { 4732 dart.setSignature(_LinkedCustomHashMap, {
4764 methods: () => ({ 4733 methods: () => ({
4765 get: dart.functionType(V, [core.Object]), 4734 get: dart.functionType(V, [core.Object]),
4766 set: dart.functionType(dart.void, [K, V]), 4735 set: dart.functionType(dart.void, [K, V]),
4767 containsKey: dart.functionType(core.bool, [core.Object]), 4736 remove: dart.functionType(V, [core.Object])
4768 remove: dart.functionType(V, [core.Object]),
4769 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4770 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
4771 }) 4737 })
4772 }); 4738 });
4773 return _LinkedCustomHashMap; 4739 return _LinkedCustomHashMap;
4774 }); 4740 });
4775 let _LinkedCustomHashMap = _LinkedCustomHashMap$(); 4741 let _LinkedCustomHashMap = _LinkedCustomHashMap$();
4776 class LinkedHashMapCell extends core.Object { 4742 class LinkedHashMapCell extends core.Object {
4777 LinkedHashMapCell(key, value) { 4743 LinkedHashMapCell(key, value) {
4778 this[_key] = key; 4744 this[_key] = key;
4779 this[_value] = value; 4745 this[_value] = value;
4780 this[_next] = null; 4746 this[_next] = null;
(...skipping 27 matching lines...) Expand all
4808 f(dart.as(cell[_key], E)); 4774 f(dart.as(cell[_key], E));
4809 if (!dart.equals(modifications, dart.dload(this[_map], _modifications) )) { 4775 if (!dart.equals(modifications, dart.dload(this[_map], _modifications) )) {
4810 throw new core.ConcurrentModificationError(this[_map]); 4776 throw new core.ConcurrentModificationError(this[_map]);
4811 } 4777 }
4812 cell = cell[_next]; 4778 cell = cell[_next];
4813 } 4779 }
4814 } 4780 }
4815 } 4781 }
4816 LinkedHashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength ]; 4782 LinkedHashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength ];
4817 dart.setSignature(LinkedHashMapKeyIterable, { 4783 dart.setSignature(LinkedHashMapKeyIterable, {
4818 methods: () => ({ 4784 methods: () => ({[core.$forEach]: dart.functionType(dart.void, [dart.funct ionType(dart.void, [E])])})
4819 [core.$contains]: dart.functionType(core.bool, [core.Object]),
4820 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])])
4821 })
4822 }); 4785 });
4823 return LinkedHashMapKeyIterable; 4786 return LinkedHashMapKeyIterable;
4824 }); 4787 });
4825 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(); 4788 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$();
4826 let _cell = Symbol('_cell'); 4789 let _cell = Symbol('_cell');
4827 let LinkedHashMapKeyIterator$ = dart.generic(function(E) { 4790 let LinkedHashMapKeyIterator$ = dart.generic(function(E) {
4828 class LinkedHashMapKeyIterator extends core.Object { 4791 class LinkedHashMapKeyIterator extends core.Object {
4829 LinkedHashMapKeyIterator(map, modifications) { 4792 LinkedHashMapKeyIterator(map, modifications) {
4830 this[_map] = map; 4793 this[_map] = map;
4831 this[_modifications] = modifications; 4794 this[_modifications] = modifications;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
5096 [_newSet]: dart.functionType(core.Set$(E), []), 5059 [_newSet]: dart.functionType(core.Set$(E), []),
5097 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5060 [core.$contains]: dart.functionType(core.bool, [core.Object]),
5098 [_contains]: dart.functionType(core.bool, [core.Object]), 5061 [_contains]: dart.functionType(core.bool, [core.Object]),
5099 lookup: dart.functionType(E, [core.Object]), 5062 lookup: dart.functionType(E, [core.Object]),
5100 [_lookup]: dart.functionType(E, [core.Object]), 5063 [_lookup]: dart.functionType(E, [core.Object]),
5101 add: dart.functionType(core.bool, [E]), 5064 add: dart.functionType(core.bool, [E]),
5102 [_add]: dart.functionType(core.bool, [E]), 5065 [_add]: dart.functionType(core.bool, [E]),
5103 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 5066 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
5104 remove: dart.functionType(core.bool, [core.Object]), 5067 remove: dart.functionType(core.bool, [core.Object]),
5105 [_remove]: dart.functionType(core.bool, [core.Object]), 5068 [_remove]: dart.functionType(core.bool, [core.Object]),
5106 clear: dart.functionType(dart.void, []),
5107 [_computeElements]: dart.functionType(core.List, []), 5069 [_computeElements]: dart.functionType(core.List, []),
5108 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]), 5070 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]),
5109 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]), 5071 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]),
5110 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 5072 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5111 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 5073 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
5112 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]) 5074 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5113 }), 5075 }),
5114 statics: () => ({ 5076 statics: () => ({
5115 _isStringElement: dart.functionType(core.bool, [dart.dynamic]), 5077 _isStringElement: dart.functionType(core.bool, [dart.dynamic]),
5116 _isNumericElement: dart.functionType(core.bool, [dart.dynamic]), 5078 _isNumericElement: dart.functionType(core.bool, [dart.dynamic]),
(...skipping 23 matching lines...) Expand all
5140 return -1; 5102 return -1;
5141 let length = bucket.length; 5103 let length = bucket.length;
5142 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5104 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5143 if (core.identical(bucket[i], element)) 5105 if (core.identical(bucket[i], element))
5144 return i; 5106 return i;
5145 } 5107 }
5146 return -1; 5108 return -1;
5147 } 5109 }
5148 } 5110 }
5149 dart.setSignature(_IdentityHashSet, { 5111 dart.setSignature(_IdentityHashSet, {
5150 methods: () => ({ 5112 methods: () => ({[_newSet]: dart.functionType(core.Set$(E), [])})
5151 [_newSet]: dart.functionType(core.Set$(E), []),
5152 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5153 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5154 })
5155 }); 5113 });
5156 return _IdentityHashSet; 5114 return _IdentityHashSet;
5157 }); 5115 });
5158 let _IdentityHashSet = _IdentityHashSet$(); 5116 let _IdentityHashSet = _IdentityHashSet$();
5159 let _equality = Symbol('_equality'); 5117 let _equality = Symbol('_equality');
5160 let _hasher = Symbol('_hasher'); 5118 let _hasher = Symbol('_hasher');
5161 let _CustomHashSet$ = dart.generic(function(E) { 5119 let _CustomHashSet$ = dart.generic(function(E) {
5162 class _CustomHashSet extends _HashSet$(E) { 5120 class _CustomHashSet extends _HashSet$(E) {
5163 _CustomHashSet(equality, hasher, validKey) { 5121 _CustomHashSet(equality, hasher, validKey) {
5164 this[_equality] = equality; 5122 this[_equality] = equality;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5198 } 5156 }
5199 remove(object) { 5157 remove(object) {
5200 if (!dart.notNull(this[_validKey](object))) 5158 if (!dart.notNull(this[_validKey](object)))
5201 return false; 5159 return false;
5202 return super[_remove](object); 5160 return super[_remove](object);
5203 } 5161 }
5204 } 5162 }
5205 dart.setSignature(_CustomHashSet, { 5163 dart.setSignature(_CustomHashSet, {
5206 methods: () => ({ 5164 methods: () => ({
5207 [_newSet]: dart.functionType(core.Set$(E), []), 5165 [_newSet]: dart.functionType(core.Set$(E), []),
5208 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]),
5209 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5210 add: dart.functionType(core.bool, [E]), 5166 add: dart.functionType(core.bool, [E]),
5211 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5167 lookup: dart.functionType(E, [core.Object])
5212 lookup: dart.functionType(E, [core.Object]),
5213 remove: dart.functionType(core.bool, [core.Object])
5214 }) 5168 })
5215 }); 5169 });
5216 return _CustomHashSet; 5170 return _CustomHashSet;
5217 }); 5171 });
5218 let _CustomHashSet = _CustomHashSet$(); 5172 let _CustomHashSet = _CustomHashSet$();
5219 let HashSetIterator$ = dart.generic(function(E) { 5173 let HashSetIterator$ = dart.generic(function(E) {
5220 class HashSetIterator extends core.Object { 5174 class HashSetIterator extends core.Object {
5221 HashSetIterator(set, elements) { 5175 HashSetIterator(set, elements) {
5222 this[_set] = set; 5176 this[_set] = set;
5223 this[_elements] = elements; 5177 this[_elements] = elements;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
5534 lookup: dart.functionType(E, [core.Object]), 5488 lookup: dart.functionType(E, [core.Object]),
5535 [_lookup]: dart.functionType(E, [core.Object]), 5489 [_lookup]: dart.functionType(E, [core.Object]),
5536 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]), 5490 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
5537 add: dart.functionType(core.bool, [E]), 5491 add: dart.functionType(core.bool, [E]),
5538 [_add]: dart.functionType(core.bool, [E]), 5492 [_add]: dart.functionType(core.bool, [E]),
5539 remove: dart.functionType(core.bool, [core.Object]), 5493 remove: dart.functionType(core.bool, [core.Object]),
5540 [_remove]: dart.functionType(core.bool, [core.Object]), 5494 [_remove]: dart.functionType(core.bool, [core.Object]),
5541 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 5495 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
5542 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 5496 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
5543 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]), 5497 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]),
5544 clear: dart.functionType(dart.void, []),
5545 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]), 5498 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]),
5546 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]), 5499 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]),
5547 [_modified]: dart.functionType(dart.void, []), 5500 [_modified]: dart.functionType(dart.void, []),
5548 [_newLinkedCell]: dart.functionType(LinkedHashSetCell, [E]), 5501 [_newLinkedCell]: dart.functionType(LinkedHashSetCell, [E]),
5549 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashSetCell]), 5502 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashSetCell]),
5550 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 5503 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5551 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 5504 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
5552 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]) 5505 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5553 }), 5506 }),
5554 statics: () => ({ 5507 statics: () => ({
(...skipping 26 matching lines...) Expand all
5581 let length = bucket.length; 5534 let length = bucket.length;
5582 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5535 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5583 let cell = dart.as(bucket[i], LinkedHashSetCell); 5536 let cell = dart.as(bucket[i], LinkedHashSetCell);
5584 if (core.identical(cell[_element], element)) 5537 if (core.identical(cell[_element], element))
5585 return i; 5538 return i;
5586 } 5539 }
5587 return -1; 5540 return -1;
5588 } 5541 }
5589 } 5542 }
5590 dart.setSignature(_LinkedIdentityHashSet, { 5543 dart.setSignature(_LinkedIdentityHashSet, {
5591 methods: () => ({ 5544 methods: () => ({[_newSet]: dart.functionType(core.Set$(E), [])})
5592 [_newSet]: dart.functionType(core.Set$(E), []),
5593 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5594 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5595 })
5596 }); 5545 });
5597 return _LinkedIdentityHashSet; 5546 return _LinkedIdentityHashSet;
5598 }); 5547 });
5599 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$(); 5548 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$();
5600 let _LinkedCustomHashSet$ = dart.generic(function(E) { 5549 let _LinkedCustomHashSet$ = dart.generic(function(E) {
5601 class _LinkedCustomHashSet extends _LinkedHashSet$(E) { 5550 class _LinkedCustomHashSet extends _LinkedHashSet$(E) {
5602 _LinkedCustomHashSet(equality, hasher, validKey) { 5551 _LinkedCustomHashSet(equality, hasher, validKey) {
5603 this[_equality] = equality; 5552 this[_equality] = equality;
5604 this[_hasher] = hasher; 5553 this[_hasher] = hasher;
5605 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x, E), core.bool, [dart.dynamic]); 5554 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x, E), core.bool, [dart.dynamic]);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
5652 for (let element of elements) { 5601 for (let element of elements) {
5653 if (this[_validKey](element)) { 5602 if (this[_validKey](element)) {
5654 super[_remove](element); 5603 super[_remove](element);
5655 } 5604 }
5656 } 5605 }
5657 } 5606 }
5658 } 5607 }
5659 dart.setSignature(_LinkedCustomHashSet, { 5608 dart.setSignature(_LinkedCustomHashSet, {
5660 methods: () => ({ 5609 methods: () => ({
5661 [_newSet]: dart.functionType(core.Set$(E), []), 5610 [_newSet]: dart.functionType(core.Set$(E), []),
5662 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]),
5663 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5664 add: dart.functionType(core.bool, [E]), 5611 add: dart.functionType(core.bool, [E]),
5665 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5612 lookup: dart.functionType(E, [core.Object])
5666 lookup: dart.functionType(E, [core.Object]),
5667 remove: dart.functionType(core.bool, [core.Object]),
5668 containsAll: dart.functionType(core.bool, [core.Iterable$(core.Object)]) ,
5669 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)])
5670 }) 5613 })
5671 }); 5614 });
5672 return _LinkedCustomHashSet; 5615 return _LinkedCustomHashSet;
5673 }); 5616 });
5674 let _LinkedCustomHashSet = _LinkedCustomHashSet$(); 5617 let _LinkedCustomHashSet = _LinkedCustomHashSet$();
5675 class LinkedHashSetCell extends core.Object { 5618 class LinkedHashSetCell extends core.Object {
5676 LinkedHashSetCell(element) { 5619 LinkedHashSetCell(element) {
5677 this[_element] = element; 5620 this[_element] = element;
5678 this[_next] = null; 5621 this[_next] = null;
5679 this[_previous] = null; 5622 this[_previous] = null;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
5771 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; 5714 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$;
5772 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; 5715 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable;
5773 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; 5716 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$;
5774 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; 5717 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator;
5775 exports.HashSetIterator$ = HashSetIterator$; 5718 exports.HashSetIterator$ = HashSetIterator$;
5776 exports.HashSetIterator = HashSetIterator; 5719 exports.HashSetIterator = HashSetIterator;
5777 exports.LinkedHashSetCell = LinkedHashSetCell; 5720 exports.LinkedHashSetCell = LinkedHashSetCell;
5778 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; 5721 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
5779 exports.LinkedHashSetIterator = LinkedHashSetIterator; 5722 exports.LinkedHashSetIterator = LinkedHashSetIterator;
5780 })(collection, _internal, core, _js_helper, math); 5723 })(collection, _internal, core, _js_helper, math);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698