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

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: Remove empty signatures 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
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 let map = new (HashMap$(K, V))(); 93 let map = new (HashMap$(K, V))();
94 Maps._fillMapWithIterables(map, keys, values); 94 Maps._fillMapWithIterables(map, keys, values);
95 return map; 95 return map;
96 } 96 }
97 } 97 }
98 HashMap[dart.implements] = () => [core.Map$(K, V)]; 98 HashMap[dart.implements] = () => [core.Map$(K, V)];
99 dart.defineNamedConstructor(HashMap, 'identity'); 99 dart.defineNamedConstructor(HashMap, 'identity');
100 dart.defineNamedConstructor(HashMap, 'from'); 100 dart.defineNamedConstructor(HashMap, 'from');
101 dart.defineNamedConstructor(HashMap, 'fromIterable'); 101 dart.defineNamedConstructor(HashMap, 'fromIterable');
102 dart.defineNamedConstructor(HashMap, 'fromIterables'); 102 dart.defineNamedConstructor(HashMap, 'fromIterables');
103 dart.setSignature(HashMap, {});
104 return HashMap; 103 return HashMap;
105 }); 104 });
106 let HashMap = HashMap$(); 105 let HashMap = HashMap$();
107 let SetMixin$ = dart.generic(function(E) { 106 let SetMixin$ = dart.generic(function(E) {
108 class SetMixin extends core.Object { 107 class SetMixin extends core.Object {
109 [Symbol.iterator]() { 108 [Symbol.iterator]() {
110 return new dart.JsIterator(this[core.$iterator]); 109 return new dart.JsIterator(this[core.$iterator]);
111 } 110 }
112 get [core.$isEmpty]() { 111 get [core.$isEmpty]() {
113 return this[core.$length] == 0; 112 return this[core.$length] == 0;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]), 380 removeAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
382 retainAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]), 381 retainAll: dart.functionType(dart.void, [core.Iterable$(core.Object)]),
383 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 382 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
384 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 383 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
385 containsAll: dart.functionType(core.bool, [core.Iterable$(core.Object)]) , 384 containsAll: dart.functionType(core.bool, [core.Iterable$(core.Object)]) ,
386 union: dart.functionType(core.Set$(E), [core.Set$(E)]), 385 union: dart.functionType(core.Set$(E), [core.Set$(E)]),
387 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 386 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
388 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 387 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
389 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 388 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
390 [core.$map]: dart.functionType(core.Iterable, [dart.functionType(dart.dy namic, [E])]), 389 [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])]), 390 [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])]), 391 [core.$expand]: dart.functionType(core.Iterable, [dart.functionType(core .Iterable, [E])]),
394 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]), 392 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
395 [core.$reduce]: dart.functionType(E, [dart.functionType(E, [E, E])]), 393 [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])]), 394 [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])]), 395 [core.$every]: dart.functionType(core.bool, [dart.functionType(core.bool , [E])]),
398 [core.$join]: dart.functionType(core.String, [], [core.String]), 396 [core.$join]: dart.functionType(core.String, [], [core.String]),
399 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]), 397 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
400 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 398 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
401 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 399 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 result.add(e); 497 result.add(e);
500 return result; 498 return result;
501 } 499 }
502 [Symbol.iterator]() { 500 [Symbol.iterator]() {
503 return new dart.JsIterator(this[core.$iterator]); 501 return new dart.JsIterator(this[core.$iterator]);
504 } 502 }
505 } 503 }
506 HashSet[dart.implements] = () => [core.Set$(E)]; 504 HashSet[dart.implements] = () => [core.Set$(E)];
507 dart.defineNamedConstructor(HashSet, 'identity'); 505 dart.defineNamedConstructor(HashSet, 'identity');
508 dart.defineNamedConstructor(HashSet, 'from'); 506 dart.defineNamedConstructor(HashSet, 'from');
509 dart.setSignature(HashSet, {});
510 return HashSet; 507 return HashSet;
511 }); 508 });
512 let HashSet = HashSet$(); 509 let HashSet = HashSet$();
513 let IterableMixin$ = dart.generic(function(E) { 510 let IterableMixin$ = dart.generic(function(E) {
514 class IterableMixin extends core.Object { 511 class IterableMixin extends core.Object {
515 [core.$map](f) { 512 [core.$map](f) {
516 dart.as(f, dart.functionType(dart.dynamic, [E])); 513 dart.as(f, dart.functionType(dart.dynamic, [E]));
517 return new (_internal.MappedIterable$(E, dart.dynamic))(this, f); 514 return new (_internal.MappedIterable$(E, dart.dynamic))(this, f);
518 } 515 }
519 [core.$where](f) { 516 [core.$where](f) {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]), 732 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
736 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 733 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
737 [core.$toSet]: dart.functionType(core.Set$(E), []), 734 [core.$toSet]: dart.functionType(core.Set$(E), []),
738 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 735 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
739 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 736 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
740 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), 737 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]),
741 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 738 [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, [])}), 739 [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, [])}), 740 [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])]), 741 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]),
745 [core.$elementAt]: dart.functionType(E, [core.int]), 742 [core.$elementAt]: dart.functionType(E, [core.int])
746 toString: dart.functionType(core.String, [])
747 }) 743 })
748 }); 744 });
749 return IterableMixin; 745 return IterableMixin;
750 }); 746 });
751 let IterableMixin = IterableMixin$(); 747 let IterableMixin = IterableMixin$();
752 let IterableBase$ = dart.generic(function(E) { 748 let IterableBase$ = dart.generic(function(E) {
753 class IterableBase extends core.Object { 749 class IterableBase extends core.Object {
754 IterableBase() { 750 IterableBase() {
755 } 751 }
756 [core.$map](f) { 752 [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])]), 1102 [core.$any]: dart.functionType(core.bool, [dart.functionType(core.bool, [E])]),
1107 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 1103 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
1108 [core.$toSet]: dart.functionType(core.Set$(E), []), 1104 [core.$toSet]: dart.functionType(core.Set$(E), []),
1109 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]), 1105 [core.$take]: dart.functionType(core.Iterable$(E), [core.int]),
1110 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 1106 [core.$takeWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]),
1111 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]), 1107 [core.$skip]: dart.functionType(core.Iterable$(E), [core.int]),
1112 [core.$skipWhile]: dart.functionType(core.Iterable$(E), [dart.functionTy pe(core.bool, [E])]), 1108 [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, [])}), 1109 [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, [])}), 1110 [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])]), 1111 [core.$singleWhere]: dart.functionType(E, [dart.functionType(core.bool, [E])]),
1116 [core.$elementAt]: dart.functionType(E, [core.int]), 1112 [core.$elementAt]: dart.functionType(E, [core.int])
1117 toString: dart.functionType(core.String, [])
1118 }), 1113 }),
1119 statics: () => ({ 1114 statics: () => ({
1120 iterableToShortString: dart.functionType(core.String, [core.Iterable], [ core.String, core.String]), 1115 iterableToShortString: dart.functionType(core.String, [core.Iterable], [ core.String, core.String]),
1121 iterableToFullString: dart.functionType(core.String, [core.Iterable], [c ore.String, core.String]), 1116 iterableToFullString: dart.functionType(core.String, [core.Iterable], [c ore.String, core.String]),
1122 _isToStringVisiting: dart.functionType(core.bool, [core.Object]), 1117 _isToStringVisiting: dart.functionType(core.bool, [core.Object]),
1123 _iterablePartsToStrings: dart.functionType(dart.void, [core.Iterable, co re.List]) 1118 _iterablePartsToStrings: dart.functionType(dart.void, [core.Iterable, co re.List])
1124 }), 1119 }),
1125 names: ['iterableToShortString', 'iterableToFullString', '_isToStringVisit ing', '_iterablePartsToStrings'] 1120 names: ['iterableToShortString', 'iterableToFullString', '_isToStringVisit ing', '_iterablePartsToStrings']
1126 }); 1121 });
1127 return IterableBase; 1122 return IterableBase;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 return new (_LinkedHashMap$(K, V))(); 1228 return new (_LinkedHashMap$(K, V))();
1234 } 1229 }
1235 } 1230 }
1236 LinkedHashMap[dart.implements] = () => [HashMap$(K, V)]; 1231 LinkedHashMap[dart.implements] = () => [HashMap$(K, V)];
1237 dart.defineNamedConstructor(LinkedHashMap, 'identity'); 1232 dart.defineNamedConstructor(LinkedHashMap, 'identity');
1238 dart.defineNamedConstructor(LinkedHashMap, 'from'); 1233 dart.defineNamedConstructor(LinkedHashMap, 'from');
1239 dart.defineNamedConstructor(LinkedHashMap, 'fromIterable'); 1234 dart.defineNamedConstructor(LinkedHashMap, 'fromIterable');
1240 dart.defineNamedConstructor(LinkedHashMap, 'fromIterables'); 1235 dart.defineNamedConstructor(LinkedHashMap, 'fromIterables');
1241 dart.defineNamedConstructor(LinkedHashMap, '_literal'); 1236 dart.defineNamedConstructor(LinkedHashMap, '_literal');
1242 dart.defineNamedConstructor(LinkedHashMap, '_empty'); 1237 dart.defineNamedConstructor(LinkedHashMap, '_empty');
1243 dart.setSignature(LinkedHashMap, {});
1244 return LinkedHashMap; 1238 return LinkedHashMap;
1245 }); 1239 });
1246 let LinkedHashMap = LinkedHashMap$(); 1240 let LinkedHashMap = LinkedHashMap$();
1247 let LinkedHashSet$ = dart.generic(function(E) { 1241 let LinkedHashSet$ = dart.generic(function(E) {
1248 class LinkedHashSet extends core.Object { 1242 class LinkedHashSet extends core.Object {
1249 LinkedHashSet(opts) { 1243 LinkedHashSet(opts) {
1250 let equals = opts && 'equals' in opts ? opts.equals : null; 1244 let equals = opts && 'equals' in opts ? opts.equals : null;
1251 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; 1245 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null;
1252 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 1246 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
1253 if (isValidKey == null) { 1247 if (isValidKey == null) {
(...skipping 30 matching lines...) Expand all
1284 } 1278 }
1285 return result; 1279 return result;
1286 } 1280 }
1287 [Symbol.iterator]() { 1281 [Symbol.iterator]() {
1288 return new dart.JsIterator(this[core.$iterator]); 1282 return new dart.JsIterator(this[core.$iterator]);
1289 } 1283 }
1290 } 1284 }
1291 LinkedHashSet[dart.implements] = () => [HashSet$(E)]; 1285 LinkedHashSet[dart.implements] = () => [HashSet$(E)];
1292 dart.defineNamedConstructor(LinkedHashSet, 'identity'); 1286 dart.defineNamedConstructor(LinkedHashSet, 'identity');
1293 dart.defineNamedConstructor(LinkedHashSet, 'from'); 1287 dart.defineNamedConstructor(LinkedHashSet, 'from');
1294 dart.setSignature(LinkedHashSet, {});
1295 return LinkedHashSet; 1288 return LinkedHashSet;
1296 }); 1289 });
1297 let LinkedHashSet = LinkedHashSet$(); 1290 let LinkedHashSet = LinkedHashSet$();
1298 let _modificationCount = Symbol('_modificationCount'); 1291 let _modificationCount = Symbol('_modificationCount');
1299 let _length = Symbol('_length'); 1292 let _length = Symbol('_length');
1300 let _next = Symbol('_next'); 1293 let _next = Symbol('_next');
1301 let _previous = Symbol('_previous'); 1294 let _previous = Symbol('_previous');
1302 let _insertAfter = Symbol('_insertAfter'); 1295 let _insertAfter = Symbol('_insertAfter');
1303 let _list = Symbol('_list'); 1296 let _list = Symbol('_list');
1304 let _unlink = Symbol('_unlink'); 1297 let _unlink = Symbol('_unlink');
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 }); 1448 });
1456 return _LinkedListIterator; 1449 return _LinkedListIterator;
1457 }); 1450 });
1458 let _LinkedListIterator = _LinkedListIterator$(); 1451 let _LinkedListIterator = _LinkedListIterator$();
1459 class _LinkedListLink extends core.Object { 1452 class _LinkedListLink extends core.Object {
1460 _LinkedListLink() { 1453 _LinkedListLink() {
1461 this[_next] = null; 1454 this[_next] = null;
1462 this[_previous] = null; 1455 this[_previous] = null;
1463 } 1456 }
1464 } 1457 }
1465 dart.setSignature(_LinkedListLink, {});
1466 let LinkedListEntry$ = dart.generic(function(E) { 1458 let LinkedListEntry$ = dart.generic(function(E) {
1467 class LinkedListEntry extends core.Object { 1459 class LinkedListEntry extends core.Object {
1468 LinkedListEntry() { 1460 LinkedListEntry() {
1469 this[_list] = null; 1461 this[_list] = null;
1470 this[_next] = null; 1462 this[_next] = null;
1471 this[_previous] = null; 1463 this[_previous] = null;
1472 } 1464 }
1473 get list() { 1465 get list() {
1474 return this[_list]; 1466 return this[_list];
1475 } 1467 }
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
2027 [core.$getRange]: dart.functionType(core.Iterable$(E), [core.int, core.i nt]), 2019 [core.$getRange]: dart.functionType(core.Iterable$(E), [core.int, core.i nt]),
2028 [core.$removeRange]: dart.functionType(dart.void, [core.int, core.int]), 2020 [core.$removeRange]: dart.functionType(dart.void, [core.int, core.int]),
2029 [core.$fillRange]: dart.functionType(dart.void, [core.int, core.int], [E ]), 2021 [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]), 2022 [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)]), 2023 [core.$replaceRange]: dart.functionType(dart.void, [core.int, core.int, core.Iterable$(E)]),
2032 [core.$indexOf]: dart.functionType(core.int, [core.Object], [core.int]), 2024 [core.$indexOf]: dart.functionType(core.int, [core.Object], [core.int]),
2033 [core.$lastIndexOf]: dart.functionType(core.int, [core.Object], [core.in t]), 2025 [core.$lastIndexOf]: dart.functionType(core.int, [core.Object], [core.in t]),
2034 [core.$insert]: dart.functionType(dart.void, [core.int, E]), 2026 [core.$insert]: dart.functionType(dart.void, [core.int, E]),
2035 [core.$removeAt]: dart.functionType(E, [core.int]), 2027 [core.$removeAt]: dart.functionType(E, [core.int]),
2036 [core.$insertAll]: dart.functionType(dart.void, [core.int, core.Iterable $(E)]), 2028 [core.$insertAll]: dart.functionType(dart.void, [core.int, core.Iterable $(E)]),
2037 [core.$setAll]: dart.functionType(dart.void, [core.int, core.Iterable$(E )]), 2029 [core.$setAll]: dart.functionType(dart.void, [core.int, core.Iterable$(E )])
2038 [core.$toString]: dart.functionType(core.String, [])
2039 }), 2030 }),
2040 statics: () => ({_filter: dart.functionType(dart.void, [core.List, dart.fu nctionType(core.bool, [dart.dynamic]), core.bool])}), 2031 statics: () => ({_filter: dart.functionType(dart.void, [core.List, dart.fu nctionType(core.bool, [dart.dynamic]), core.bool])}),
2041 names: ['_filter'] 2032 names: ['_filter']
2042 }); 2033 });
2043 return ListMixin; 2034 return ListMixin;
2044 }); 2035 });
2045 let ListMixin = ListMixin$(); 2036 let ListMixin = ListMixin$();
2046 let ListBase$ = dart.generic(function(E) { 2037 let ListBase$ = dart.generic(function(E) {
2047 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) { 2038 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) {
2048 static listToString(list) { 2039 static listToString(list) {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 return Maps.mapToString(this); 2095 return Maps.mapToString(this);
2105 } 2096 }
2106 } 2097 }
2107 MapMixin[dart.implements] = () => [core.Map$(K, V)]; 2098 MapMixin[dart.implements] = () => [core.Map$(K, V)];
2108 dart.setSignature(MapMixin, { 2099 dart.setSignature(MapMixin, {
2109 methods: () => ({ 2100 methods: () => ({
2110 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 2101 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
2111 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 2102 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
2112 containsValue: dart.functionType(core.bool, [core.Object]), 2103 containsValue: dart.functionType(core.bool, [core.Object]),
2113 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 2104 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
2114 containsKey: dart.functionType(core.bool, [core.Object]), 2105 containsKey: dart.functionType(core.bool, [core.Object])
2115 toString: dart.functionType(core.String, [])
2116 }) 2106 })
2117 }); 2107 });
2118 return MapMixin; 2108 return MapMixin;
2119 }); 2109 });
2120 let MapMixin = MapMixin$(); 2110 let MapMixin = MapMixin$();
2121 let MapBase$ = dart.generic(function(K, V) { 2111 let MapBase$ = dart.generic(function(K, V) {
2122 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} 2112 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {}
2123 return MapBase; 2113 return MapBase;
2124 }); 2114 });
2125 let MapBase = MapBase$(); 2115 let MapBase = MapBase$();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2187 return dart.as(this[_map].get(this[_map].keys[core.$single]), V); 2177 return dart.as(this[_map].get(this[_map].keys[core.$single]), V);
2188 } 2178 }
2189 get [core.$last]() { 2179 get [core.$last]() {
2190 return dart.as(this[_map].get(this[_map].keys[core.$last]), V); 2180 return dart.as(this[_map].get(this[_map].keys[core.$last]), V);
2191 } 2181 }
2192 get [core.$iterator]() { 2182 get [core.$iterator]() {
2193 return new (_MapBaseValueIterator$(V))(this[_map]); 2183 return new (_MapBaseValueIterator$(V))(this[_map]);
2194 } 2184 }
2195 } 2185 }
2196 _MapBaseValueIterable[dart.implements] = () => [_internal.EfficientLength]; 2186 _MapBaseValueIterable[dart.implements] = () => [_internal.EfficientLength];
2197 dart.setSignature(_MapBaseValueIterable, {});
2198 return _MapBaseValueIterable; 2187 return _MapBaseValueIterable;
2199 }); 2188 });
2200 let _MapBaseValueIterable = _MapBaseValueIterable$(); 2189 let _MapBaseValueIterable = _MapBaseValueIterable$();
2201 let _keys = Symbol('_keys'); 2190 let _keys = Symbol('_keys');
2202 let _MapBaseValueIterator$ = dart.generic(function(V) { 2191 let _MapBaseValueIterator$ = dart.generic(function(V) {
2203 class _MapBaseValueIterator extends core.Object { 2192 class _MapBaseValueIterator extends core.Object {
2204 _MapBaseValueIterator(map) { 2193 _MapBaseValueIterator(map) {
2205 this[_map] = map; 2194 this[_map] = map;
2206 this[_keys] = map.keys[core.$iterator]; 2195 this[_keys] = map.keys[core.$iterator];
2207 this[_current] = null; 2196 this[_current] = null;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 dart.setSignature(MapView, { 2275 dart.setSignature(MapView, {
2287 methods: () => ({ 2276 methods: () => ({
2288 get: dart.functionType(V, [core.Object]), 2277 get: dart.functionType(V, [core.Object]),
2289 set: dart.functionType(dart.void, [K, V]), 2278 set: dart.functionType(dart.void, [K, V]),
2290 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 2279 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
2291 clear: dart.functionType(dart.void, []), 2280 clear: dart.functionType(dart.void, []),
2292 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 2281 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
2293 containsKey: dart.functionType(core.bool, [core.Object]), 2282 containsKey: dart.functionType(core.bool, [core.Object]),
2294 containsValue: dart.functionType(core.bool, [core.Object]), 2283 containsValue: dart.functionType(core.bool, [core.Object]),
2295 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 2284 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
2296 remove: dart.functionType(V, [core.Object]), 2285 remove: dart.functionType(V, [core.Object])
2297 toString: dart.functionType(core.String, [])
2298 }) 2286 })
2299 }); 2287 });
2300 return MapView; 2288 return MapView;
2301 }); 2289 });
2302 let MapView = MapView$(); 2290 let MapView = MapView$();
2303 let UnmodifiableMapView$ = dart.generic(function(K, V) { 2291 let UnmodifiableMapView$ = dart.generic(function(K, V) {
2304 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {} 2292 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {}
2305 return UnmodifiableMapView; 2293 return UnmodifiableMapView;
2306 }); 2294 });
2307 let UnmodifiableMapView = UnmodifiableMapView$(); 2295 let UnmodifiableMapView = UnmodifiableMapView$();
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
2429 } 2417 }
2430 from(elements) { 2418 from(elements) {
2431 return new (ListQueue$(E)).from(elements); 2419 return new (ListQueue$(E)).from(elements);
2432 } 2420 }
2433 [Symbol.iterator]() { 2421 [Symbol.iterator]() {
2434 return new dart.JsIterator(this[core.$iterator]); 2422 return new dart.JsIterator(this[core.$iterator]);
2435 } 2423 }
2436 } 2424 }
2437 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength ]; 2425 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength ];
2438 dart.defineNamedConstructor(Queue, 'from'); 2426 dart.defineNamedConstructor(Queue, 'from');
2439 dart.setSignature(Queue, {});
2440 return Queue; 2427 return Queue;
2441 }); 2428 });
2442 let Queue = Queue$(); 2429 let Queue = Queue$();
2443 let _element = Symbol('_element'); 2430 let _element = Symbol('_element');
2444 let _link = Symbol('_link'); 2431 let _link = Symbol('_link');
2445 let _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); 2432 let _asNonSentinelEntry = Symbol('_asNonSentinelEntry');
2446 let DoubleLinkedQueueEntry$ = dart.generic(function(E) { 2433 let DoubleLinkedQueueEntry$ = dart.generic(function(E) {
2447 class DoubleLinkedQueueEntry extends core.Object { 2434 class DoubleLinkedQueueEntry extends core.Object {
2448 DoubleLinkedQueueEntry(e) { 2435 DoubleLinkedQueueEntry(e) {
2449 this[_element] = e; 2436 this[_element] = e;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 2657 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
2671 removeLast: dart.functionType(E, []), 2658 removeLast: dart.functionType(E, []),
2672 removeFirst: dart.functionType(E, []), 2659 removeFirst: dart.functionType(E, []),
2673 remove: dart.functionType(core.bool, [core.Object]), 2660 remove: dart.functionType(core.bool, [core.Object]),
2674 [_filter]: dart.functionType(dart.void, [dart.functionType(core.bool, [E ]), core.bool]), 2661 [_filter]: dart.functionType(dart.void, [dart.functionType(core.bool, [E ]), core.bool]),
2675 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 2662 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
2676 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 2663 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
2677 lastEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []), 2664 lastEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []),
2678 firstEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []), 2665 firstEntry: dart.functionType(DoubleLinkedQueueEntry$(E), []),
2679 clear: dart.functionType(dart.void, []), 2666 clear: dart.functionType(dart.void, []),
2680 forEachEntry: dart.functionType(dart.void, [dart.functionType(dart.void, [DoubleLinkedQueueEntry$(E)])]), 2667 forEachEntry: dart.functionType(dart.void, [dart.functionType(dart.void, [DoubleLinkedQueueEntry$(E)])])
2681 toString: dart.functionType(core.String, [])
2682 }) 2668 })
2683 }); 2669 });
2684 return DoubleLinkedQueue; 2670 return DoubleLinkedQueue;
2685 }); 2671 });
2686 let DoubleLinkedQueue = DoubleLinkedQueue$(); 2672 let DoubleLinkedQueue = DoubleLinkedQueue$();
2687 let _nextEntry = Symbol('_nextEntry'); 2673 let _nextEntry = Symbol('_nextEntry');
2688 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) { 2674 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) {
2689 class _DoubleLinkedQueueIterator extends core.Object { 2675 class _DoubleLinkedQueueIterator extends core.Object {
2690 _DoubleLinkedQueueIterator(sentinel) { 2676 _DoubleLinkedQueueIterator(sentinel) {
2691 this[_sentinel] = sentinel; 2677 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])]), 3000 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
3015 [core.$elementAt]: dart.functionType(E, [core.int]), 3001 [core.$elementAt]: dart.functionType(E, [core.int]),
3016 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ), 3002 [core.$toList]: dart.functionType(core.List$(E), [], {rowabl: core.bool} ),
3017 add: dart.functionType(dart.void, [E]), 3003 add: dart.functionType(dart.void, [E]),
3018 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 3004 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
3019 remove: dart.functionType(core.bool, [core.Object]), 3005 remove: dart.functionType(core.bool, [core.Object]),
3020 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]), 3006 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]),
3021 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 3007 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
3022 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 3008 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
3023 clear: dart.functionType(dart.void, []), 3009 clear: dart.functionType(dart.void, []),
3024 toString: dart.functionType(core.String, []),
3025 addLast: dart.functionType(dart.void, [E]), 3010 addLast: dart.functionType(dart.void, [E]),
3026 addFirst: dart.functionType(dart.void, [E]), 3011 addFirst: dart.functionType(dart.void, [E]),
3027 removeFirst: dart.functionType(E, []), 3012 removeFirst: dart.functionType(E, []),
3028 removeLast: dart.functionType(E, []), 3013 removeLast: dart.functionType(E, []),
3029 [_checkModification]: dart.functionType(dart.void, [core.int]), 3014 [_checkModification]: dart.functionType(dart.void, [core.int]),
3030 [_add]: dart.functionType(dart.void, [E]), 3015 [_add]: dart.functionType(dart.void, [E]),
3031 [_remove]: dart.functionType(core.int, [core.int]), 3016 [_remove]: dart.functionType(core.int, [core.int]),
3032 [_grow]: dart.functionType(dart.void, []), 3017 [_grow]: dart.functionType(dart.void, []),
3033 [_writeToList]: dart.functionType(core.int, [core.List$(E)]), 3018 [_writeToList]: dart.functionType(core.int, [core.List$(E)]),
3034 [_preGrow]: dart.functionType(dart.void, [core.int]) 3019 [_preGrow]: dart.functionType(dart.void, [core.int])
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3082 }); 3067 });
3083 let _Predicate = _Predicate$(); 3068 let _Predicate = _Predicate$();
3084 let _SplayTreeNode$ = dart.generic(function(K) { 3069 let _SplayTreeNode$ = dart.generic(function(K) {
3085 class _SplayTreeNode extends core.Object { 3070 class _SplayTreeNode extends core.Object {
3086 _SplayTreeNode(key) { 3071 _SplayTreeNode(key) {
3087 this.key = key; 3072 this.key = key;
3088 this.left = null; 3073 this.left = null;
3089 this.right = null; 3074 this.right = null;
3090 } 3075 }
3091 } 3076 }
3092 dart.setSignature(_SplayTreeNode, {});
3093 return _SplayTreeNode; 3077 return _SplayTreeNode;
3094 }); 3078 });
3095 let _SplayTreeNode = _SplayTreeNode$(); 3079 let _SplayTreeNode = _SplayTreeNode$();
3096 let _SplayTreeMapNode$ = dart.generic(function(K, V) { 3080 let _SplayTreeMapNode$ = dart.generic(function(K, V) {
3097 class _SplayTreeMapNode extends _SplayTreeNode$(K) { 3081 class _SplayTreeMapNode extends _SplayTreeNode$(K) {
3098 _SplayTreeMapNode(key, value) { 3082 _SplayTreeMapNode(key, value) {
3099 this.value = value; 3083 this.value = value;
3100 super._SplayTreeNode(key); 3084 super._SplayTreeNode(key);
3101 } 3085 }
3102 } 3086 }
3103 dart.setSignature(_SplayTreeMapNode, {});
3104 return _SplayTreeMapNode; 3087 return _SplayTreeMapNode;
3105 }); 3088 });
3106 let _SplayTreeMapNode = _SplayTreeMapNode$(); 3089 let _SplayTreeMapNode = _SplayTreeMapNode$();
3107 let _dummy = Symbol('_dummy'); 3090 let _dummy = Symbol('_dummy');
3108 let _root = Symbol('_root'); 3091 let _root = Symbol('_root');
3109 let _count = Symbol('_count'); 3092 let _count = Symbol('_count');
3110 let _splayCount = Symbol('_splayCount'); 3093 let _splayCount = Symbol('_splayCount');
3111 let _splay = Symbol('_splay'); 3094 let _splay = Symbol('_splay');
3112 let _compare = Symbol('_compare'); 3095 let _compare = Symbol('_compare');
3113 let _splayMin = Symbol('_splayMin'); 3096 let _splayMin = Symbol('_splayMin');
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
3494 [_compare]: dart.functionType(core.int, [K, K]), 3477 [_compare]: dart.functionType(core.int, [K, K]),
3495 get: dart.functionType(V, [core.Object]), 3478 get: dart.functionType(V, [core.Object]),
3496 remove: dart.functionType(V, [core.Object]), 3479 remove: dart.functionType(V, [core.Object]),
3497 set: dart.functionType(dart.void, [K, V]), 3480 set: dart.functionType(dart.void, [K, V]),
3498 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]), 3481 putIfAbsent: dart.functionType(V, [K, dart.functionType(V, [])]),
3499 addAll: dart.functionType(dart.void, [core.Map$(K, V)]), 3482 addAll: dart.functionType(dart.void, [core.Map$(K, V)]),
3500 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 3483 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
3501 clear: dart.functionType(dart.void, []), 3484 clear: dart.functionType(dart.void, []),
3502 containsKey: dart.functionType(core.bool, [core.Object]), 3485 containsKey: dart.functionType(core.bool, [core.Object]),
3503 containsValue: dart.functionType(core.bool, [core.Object]), 3486 containsValue: dart.functionType(core.bool, [core.Object]),
3504 toString: dart.functionType(core.String, []),
3505 firstKey: dart.functionType(K, []), 3487 firstKey: dart.functionType(K, []),
3506 lastKey: dart.functionType(K, []), 3488 lastKey: dart.functionType(K, []),
3507 lastKeyBefore: dart.functionType(K, [K]), 3489 lastKeyBefore: dart.functionType(K, [K]),
3508 firstKeyAfter: dart.functionType(K, [K]) 3490 firstKeyAfter: dart.functionType(K, [K])
3509 }) 3491 })
3510 }); 3492 });
3511 return SplayTreeMap; 3493 return SplayTreeMap;
3512 }); 3494 });
3513 let SplayTreeMap = SplayTreeMap$(); 3495 let SplayTreeMap = SplayTreeMap$();
3514 let _workList = Symbol('_workList'); 3496 let _workList = Symbol('_workList');
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
3634 return this[_map][_count]; 3616 return this[_map][_count];
3635 } 3617 }
3636 get [core.$isEmpty]() { 3618 get [core.$isEmpty]() {
3637 return this[_map][_count] == 0; 3619 return this[_map][_count] == 0;
3638 } 3620 }
3639 get [core.$iterator]() { 3621 get [core.$iterator]() {
3640 return new (_SplayTreeValueIterator$(K, V))(this[_map]); 3622 return new (_SplayTreeValueIterator$(K, V))(this[_map]);
3641 } 3623 }
3642 } 3624 }
3643 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength] ; 3625 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength] ;
3644 dart.setSignature(_SplayTreeValueIterable, {});
3645 return _SplayTreeValueIterable; 3626 return _SplayTreeValueIterable;
3646 }); 3627 });
3647 let _SplayTreeValueIterable = _SplayTreeValueIterable$(); 3628 let _SplayTreeValueIterable = _SplayTreeValueIterable$();
3648 let _SplayTreeKeyIterator$ = dart.generic(function(K) { 3629 let _SplayTreeKeyIterator$ = dart.generic(function(K) {
3649 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { 3630 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) {
3650 _SplayTreeKeyIterator(map) { 3631 _SplayTreeKeyIterator(map) {
3651 super._SplayTreeIterator(map); 3632 super._SplayTreeIterator(map);
3652 } 3633 }
3653 [_getValue](node) { 3634 [_getValue](node) {
3654 return dart.as(node.key, K); 3635 return dart.as(node.key, K);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
3854 } 3835 }
3855 } 3836 }
3856 dart.defineNamedConstructor(SplayTreeSet, 'from'); 3837 dart.defineNamedConstructor(SplayTreeSet, 'from');
3857 dart.setSignature(SplayTreeSet, { 3838 dart.setSignature(SplayTreeSet, {
3858 methods: () => ({ 3839 methods: () => ({
3859 [_compare]: dart.functionType(core.int, [E, E]), 3840 [_compare]: dart.functionType(core.int, [E, E]),
3860 [core.$contains]: dart.functionType(core.bool, [core.Object]), 3841 [core.$contains]: dart.functionType(core.bool, [core.Object]),
3861 add: dart.functionType(core.bool, [E]), 3842 add: dart.functionType(core.bool, [E]),
3862 remove: dart.functionType(core.bool, [core.Object]), 3843 remove: dart.functionType(core.bool, [core.Object]),
3863 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 3844 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]), 3845 lookup: dart.functionType(E, [core.Object]),
3867 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 3846 intersection: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
3868 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]), 3847 difference: dart.functionType(core.Set$(E), [core.Set$(core.Object)]),
3869 union: dart.functionType(core.Set$(E), [core.Set$(E)]), 3848 union: dart.functionType(core.Set$(E), [core.Set$(E)]),
3870 [_clone]: dart.functionType(SplayTreeSet$(E), []), 3849 [_clone]: dart.functionType(SplayTreeSet$(E), []),
3871 [_copyNode]: dart.functionType(_SplayTreeNode$(E), [_SplayTreeNode$(E)]) , 3850 [_copyNode]: dart.functionType(_SplayTreeNode$(E), [_SplayTreeNode$(E)]) ,
3872 clear: dart.functionType(dart.void, []), 3851 [core.$toSet]: dart.functionType(core.Set$(E), [])
3873 [core.$toSet]: dart.functionType(core.Set$(E), []),
3874 toString: dart.functionType(core.String, [])
3875 }) 3852 })
3876 }); 3853 });
3877 return SplayTreeSet; 3854 return SplayTreeSet;
3878 }); 3855 });
3879 let SplayTreeSet = SplayTreeSet$(); 3856 let SplayTreeSet = SplayTreeSet$();
3880 let __CastType0$ = dart.generic(function(K) { 3857 let __CastType0$ = dart.generic(function(K) {
3881 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [K, K])); 3858 let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [K, K]));
3882 return __CastType0; 3859 return __CastType0;
3883 }); 3860 });
3884 let __CastType0 = __CastType0$(); 3861 let __CastType0 = __CastType0$();
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
4215 if (bucket == null) 4192 if (bucket == null)
4216 return -1; 4193 return -1;
4217 let length = bucket.length; 4194 let length = bucket.length;
4218 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) { 4195 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) {
4219 if (core.identical(bucket[i], key)) 4196 if (core.identical(bucket[i], key))
4220 return i; 4197 return i;
4221 } 4198 }
4222 return -1; 4199 return -1;
4223 } 4200 }
4224 } 4201 }
4225 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; 4202 return _IdentityHashMap;
4232 }); 4203 });
4233 let _IdentityHashMap = _IdentityHashMap$(); 4204 let _IdentityHashMap = _IdentityHashMap$();
4234 let _equals = Symbol('_equals'); 4205 let _equals = Symbol('_equals');
4235 let _hashCode = Symbol('_hashCode'); 4206 let _hashCode = Symbol('_hashCode');
4236 let _CustomHashMap$ = dart.generic(function(K, V) { 4207 let _CustomHashMap$ = dart.generic(function(K, V) {
4237 class _CustomHashMap extends _HashMap$(K, V) { 4208 class _CustomHashMap extends _HashMap$(K, V) {
4238 _CustomHashMap(equals, hashCode, validKey) { 4209 _CustomHashMap(equals, hashCode, validKey) {
4239 this[_equals] = equals; 4210 this[_equals] = equals;
4240 this[_hashCode] = hashCode; 4211 this[_hashCode] = hashCode;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 return -1; 4246 return -1;
4276 } 4247 }
4277 toString() { 4248 toString() {
4278 return Maps.mapToString(this); 4249 return Maps.mapToString(this);
4279 } 4250 }
4280 } 4251 }
4281 dart.setSignature(_CustomHashMap, { 4252 dart.setSignature(_CustomHashMap, {
4282 methods: () => ({ 4253 methods: () => ({
4283 get: dart.functionType(V, [core.Object]), 4254 get: dart.functionType(V, [core.Object]),
4284 set: dart.functionType(dart.void, [K, V]), 4255 set: dart.functionType(dart.void, [K, V]),
4285 containsKey: dart.functionType(core.bool, [core.Object]), 4256 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 }) 4257 })
4291 }); 4258 });
4292 return _CustomHashMap; 4259 return _CustomHashMap;
4293 }); 4260 });
4294 let _CustomHashMap = _CustomHashMap$(); 4261 let _CustomHashMap = _CustomHashMap$();
4295 let HashMapKeyIterable$ = dart.generic(function(E) { 4262 let HashMapKeyIterable$ = dart.generic(function(E) {
4296 class HashMapKeyIterable extends IterableBase$(E) { 4263 class HashMapKeyIterable extends IterableBase$(E) {
4297 HashMapKeyIterable(map) { 4264 HashMapKeyIterable(map) {
4298 this[_map] = map; 4265 this[_map] = map;
4299 super.IterableBase(); 4266 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) { 4283 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)); 4284 f(dart.as(keys[i], E));
4318 if (keys !== dart.dload(this[_map], _keys)) { 4285 if (keys !== dart.dload(this[_map], _keys)) {
4319 throw new core.ConcurrentModificationError(this[_map]); 4286 throw new core.ConcurrentModificationError(this[_map]);
4320 } 4287 }
4321 } 4288 }
4322 } 4289 }
4323 } 4290 }
4324 HashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength]; 4291 HashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength];
4325 dart.setSignature(HashMapKeyIterable, { 4292 dart.setSignature(HashMapKeyIterable, {
4326 methods: () => ({ 4293 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 }); 4294 });
4331 return HashMapKeyIterable; 4295 return HashMapKeyIterable;
4332 }); 4296 });
4333 let HashMapKeyIterable = HashMapKeyIterable$(); 4297 let HashMapKeyIterable = HashMapKeyIterable$();
4334 let _offset = Symbol('_offset'); 4298 let _offset = Symbol('_offset');
4335 let HashMapKeyIterator$ = dart.generic(function(E) { 4299 let HashMapKeyIterator$ = dart.generic(function(E) {
4336 class HashMapKeyIterator extends core.Object { 4300 class HashMapKeyIterator extends core.Object {
4337 HashMapKeyIterator(map, keys) { 4301 HashMapKeyIterator(map, keys) {
4338 this[_map] = map; 4302 this[_map] = map;
4339 this[_keys] = keys; 4303 this[_keys] = keys;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
4665 [_remove]: dart.functionType(V, [core.Object]), 4629 [_remove]: dart.functionType(V, [core.Object]),
4666 clear: dart.functionType(dart.void, []), 4630 clear: dart.functionType(dart.void, []),
4667 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]), 4631 forEach: dart.functionType(dart.void, [dart.functionType(dart.void, [K, V])]),
4668 [_addHashTableEntry]: dart.functionType(dart.void, [dart.dynamic, K, V]) , 4632 [_addHashTableEntry]: dart.functionType(dart.void, [dart.dynamic, K, V]) ,
4669 [_removeHashTableEntry]: dart.functionType(V, [dart.dynamic, core.Object ]), 4633 [_removeHashTableEntry]: dart.functionType(V, [dart.dynamic, core.Object ]),
4670 [_modified]: dart.functionType(dart.void, []), 4634 [_modified]: dart.functionType(dart.void, []),
4671 [_newLinkedCell]: dart.functionType(LinkedHashMapCell, [K, V]), 4635 [_newLinkedCell]: dart.functionType(LinkedHashMapCell, [K, V]),
4672 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashMapCell]), 4636 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashMapCell]),
4673 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 4637 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
4674 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 4638 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
4675 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]), 4639 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
4676 toString: dart.functionType(core.String, [])
4677 }), 4640 }),
4678 statics: () => ({ 4641 statics: () => ({
4679 _isStringKey: dart.functionType(core.bool, [dart.dynamic]), 4642 _isStringKey: dart.functionType(core.bool, [dart.dynamic]),
4680 _isNumericKey: dart.functionType(core.bool, [dart.dynamic]), 4643 _isNumericKey: dart.functionType(core.bool, [dart.dynamic]),
4681 _getTableEntry: dart.functionType(dart.dynamic, [dart.dynamic, dart.dyna mic]), 4644 _getTableEntry: dart.functionType(dart.dynamic, [dart.dynamic, dart.dyna mic]),
4682 _setTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dynamic , dart.dynamic]), 4645 _setTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dynamic , dart.dynamic]),
4683 _deleteTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dyna mic]), 4646 _deleteTableEntry: dart.functionType(dart.void, [dart.dynamic, dart.dyna mic]),
4684 _newHashTable: dart.functionType(dart.dynamic, []) 4647 _newHashTable: dart.functionType(dart.dynamic, [])
4685 }), 4648 }),
4686 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable'] 4649 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable']
(...skipping 14 matching lines...) Expand all
4701 return -1; 4664 return -1;
4702 let length = bucket.length; 4665 let length = bucket.length;
4703 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 4666 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
4704 let cell = dart.as(bucket[i], LinkedHashMapCell); 4667 let cell = dart.as(bucket[i], LinkedHashMapCell);
4705 if (core.identical(cell[_key], key)) 4668 if (core.identical(cell[_key], key))
4706 return i; 4669 return i;
4707 } 4670 }
4708 return -1; 4671 return -1;
4709 } 4672 }
4710 } 4673 }
4711 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; 4674 return _LinkedIdentityHashMap;
4718 }); 4675 });
4719 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(); 4676 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$();
4720 let _LinkedCustomHashMap$ = dart.generic(function(K, V) { 4677 let _LinkedCustomHashMap$ = dart.generic(function(K, V) {
4721 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { 4678 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) {
4722 _LinkedCustomHashMap(equals, hashCode, validKey) { 4679 _LinkedCustomHashMap(equals, hashCode, validKey) {
4723 this[_equals] = equals; 4680 this[_equals] = equals;
4724 this[_hashCode] = hashCode; 4681 this[_hashCode] = hashCode;
4725 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v, K), core.bool, [dart.dynamic]); 4682 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v, K), core.bool, [dart.dynamic]);
4726 super._LinkedHashMap(); 4683 super._LinkedHashMap();
(...skipping 30 matching lines...) Expand all
4757 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K))) 4714 if (this[_equals](dart.as(cell[_key], K), dart.as(key, K)))
4758 return i; 4715 return i;
4759 } 4716 }
4760 return -1; 4717 return -1;
4761 } 4718 }
4762 } 4719 }
4763 dart.setSignature(_LinkedCustomHashMap, { 4720 dart.setSignature(_LinkedCustomHashMap, {
4764 methods: () => ({ 4721 methods: () => ({
4765 get: dart.functionType(V, [core.Object]), 4722 get: dart.functionType(V, [core.Object]),
4766 set: dart.functionType(dart.void, [K, V]), 4723 set: dart.functionType(dart.void, [K, V]),
4767 containsKey: dart.functionType(core.bool, [core.Object]), 4724 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 }) 4725 })
4772 }); 4726 });
4773 return _LinkedCustomHashMap; 4727 return _LinkedCustomHashMap;
4774 }); 4728 });
4775 let _LinkedCustomHashMap = _LinkedCustomHashMap$(); 4729 let _LinkedCustomHashMap = _LinkedCustomHashMap$();
4776 class LinkedHashMapCell extends core.Object { 4730 class LinkedHashMapCell extends core.Object {
4777 LinkedHashMapCell(key, value) { 4731 LinkedHashMapCell(key, value) {
4778 this[_key] = key; 4732 this[_key] = key;
4779 this[_value] = value; 4733 this[_value] = value;
4780 this[_next] = null; 4734 this[_next] = null;
4781 this[_previous] = null; 4735 this[_previous] = null;
4782 } 4736 }
4783 } 4737 }
4784 dart.setSignature(LinkedHashMapCell, {});
4785 let LinkedHashMapKeyIterable$ = dart.generic(function(E) { 4738 let LinkedHashMapKeyIterable$ = dart.generic(function(E) {
4786 class LinkedHashMapKeyIterable extends IterableBase$(E) { 4739 class LinkedHashMapKeyIterable extends IterableBase$(E) {
4787 LinkedHashMapKeyIterable(map) { 4740 LinkedHashMapKeyIterable(map) {
4788 this[_map] = map; 4741 this[_map] = map;
4789 super.IterableBase(); 4742 super.IterableBase();
4790 } 4743 }
4791 get [core.$length]() { 4744 get [core.$length]() {
4792 return dart.as(dart.dload(this[_map], _length), core.int); 4745 return dart.as(dart.dload(this[_map], _length), core.int);
4793 } 4746 }
4794 get [core.$isEmpty]() { 4747 get [core.$isEmpty]() {
(...skipping 13 matching lines...) Expand all
4808 f(dart.as(cell[_key], E)); 4761 f(dart.as(cell[_key], E));
4809 if (!dart.equals(modifications, dart.dload(this[_map], _modifications) )) { 4762 if (!dart.equals(modifications, dart.dload(this[_map], _modifications) )) {
4810 throw new core.ConcurrentModificationError(this[_map]); 4763 throw new core.ConcurrentModificationError(this[_map]);
4811 } 4764 }
4812 cell = cell[_next]; 4765 cell = cell[_next];
4813 } 4766 }
4814 } 4767 }
4815 } 4768 }
4816 LinkedHashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength ]; 4769 LinkedHashMapKeyIterable[dart.implements] = () => [_internal.EfficientLength ];
4817 dart.setSignature(LinkedHashMapKeyIterable, { 4770 dart.setSignature(LinkedHashMapKeyIterable, {
4818 methods: () => ({ 4771 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 }); 4772 });
4823 return LinkedHashMapKeyIterable; 4773 return LinkedHashMapKeyIterable;
4824 }); 4774 });
4825 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(); 4775 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$();
4826 let _cell = Symbol('_cell'); 4776 let _cell = Symbol('_cell');
4827 let LinkedHashMapKeyIterator$ = dart.generic(function(E) { 4777 let LinkedHashMapKeyIterator$ = dart.generic(function(E) {
4828 class LinkedHashMapKeyIterator extends core.Object { 4778 class LinkedHashMapKeyIterator extends core.Object {
4829 LinkedHashMapKeyIterator(map, modifications) { 4779 LinkedHashMapKeyIterator(map, modifications) {
4830 this[_map] = map; 4780 this[_map] = map;
4831 this[_modifications] = modifications; 4781 this[_modifications] = modifications;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
5096 [_newSet]: dart.functionType(core.Set$(E), []), 5046 [_newSet]: dart.functionType(core.Set$(E), []),
5097 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5047 [core.$contains]: dart.functionType(core.bool, [core.Object]),
5098 [_contains]: dart.functionType(core.bool, [core.Object]), 5048 [_contains]: dart.functionType(core.bool, [core.Object]),
5099 lookup: dart.functionType(E, [core.Object]), 5049 lookup: dart.functionType(E, [core.Object]),
5100 [_lookup]: dart.functionType(E, [core.Object]), 5050 [_lookup]: dart.functionType(E, [core.Object]),
5101 add: dart.functionType(core.bool, [E]), 5051 add: dart.functionType(core.bool, [E]),
5102 [_add]: dart.functionType(core.bool, [E]), 5052 [_add]: dart.functionType(core.bool, [E]),
5103 addAll: dart.functionType(dart.void, [core.Iterable$(E)]), 5053 addAll: dart.functionType(dart.void, [core.Iterable$(E)]),
5104 remove: dart.functionType(core.bool, [core.Object]), 5054 remove: dart.functionType(core.bool, [core.Object]),
5105 [_remove]: dart.functionType(core.bool, [core.Object]), 5055 [_remove]: dart.functionType(core.bool, [core.Object]),
5106 clear: dart.functionType(dart.void, []),
5107 [_computeElements]: dart.functionType(core.List, []), 5056 [_computeElements]: dart.functionType(core.List, []),
5108 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]), 5057 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]),
5109 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]), 5058 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]),
5110 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 5059 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5111 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 5060 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
5112 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]) 5061 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5113 }), 5062 }),
5114 statics: () => ({ 5063 statics: () => ({
5115 _isStringElement: dart.functionType(core.bool, [dart.dynamic]), 5064 _isStringElement: dart.functionType(core.bool, [dart.dynamic]),
5116 _isNumericElement: dart.functionType(core.bool, [dart.dynamic]), 5065 _isNumericElement: dart.functionType(core.bool, [dart.dynamic]),
(...skipping 23 matching lines...) Expand all
5140 return -1; 5089 return -1;
5141 let length = bucket.length; 5090 let length = bucket.length;
5142 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5091 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5143 if (core.identical(bucket[i], element)) 5092 if (core.identical(bucket[i], element))
5144 return i; 5093 return i;
5145 } 5094 }
5146 return -1; 5095 return -1;
5147 } 5096 }
5148 } 5097 }
5149 dart.setSignature(_IdentityHashSet, { 5098 dart.setSignature(_IdentityHashSet, {
5150 methods: () => ({ 5099 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 }); 5100 });
5156 return _IdentityHashSet; 5101 return _IdentityHashSet;
5157 }); 5102 });
5158 let _IdentityHashSet = _IdentityHashSet$(); 5103 let _IdentityHashSet = _IdentityHashSet$();
5159 let _equality = Symbol('_equality'); 5104 let _equality = Symbol('_equality');
5160 let _hasher = Symbol('_hasher'); 5105 let _hasher = Symbol('_hasher');
5161 let _CustomHashSet$ = dart.generic(function(E) { 5106 let _CustomHashSet$ = dart.generic(function(E) {
5162 class _CustomHashSet extends _HashSet$(E) { 5107 class _CustomHashSet extends _HashSet$(E) {
5163 _CustomHashSet(equality, hasher, validKey) { 5108 _CustomHashSet(equality, hasher, validKey) {
5164 this[_equality] = equality; 5109 this[_equality] = equality;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5198 } 5143 }
5199 remove(object) { 5144 remove(object) {
5200 if (!dart.notNull(this[_validKey](object))) 5145 if (!dart.notNull(this[_validKey](object)))
5201 return false; 5146 return false;
5202 return super[_remove](object); 5147 return super[_remove](object);
5203 } 5148 }
5204 } 5149 }
5205 dart.setSignature(_CustomHashSet, { 5150 dart.setSignature(_CustomHashSet, {
5206 methods: () => ({ 5151 methods: () => ({
5207 [_newSet]: dart.functionType(core.Set$(E), []), 5152 [_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]), 5153 add: dart.functionType(core.bool, [E]),
5211 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5154 lookup: dart.functionType(E, [core.Object])
5212 lookup: dart.functionType(E, [core.Object]),
5213 remove: dart.functionType(core.bool, [core.Object])
5214 }) 5155 })
5215 }); 5156 });
5216 return _CustomHashSet; 5157 return _CustomHashSet;
5217 }); 5158 });
5218 let _CustomHashSet = _CustomHashSet$(); 5159 let _CustomHashSet = _CustomHashSet$();
5219 let HashSetIterator$ = dart.generic(function(E) { 5160 let HashSetIterator$ = dart.generic(function(E) {
5220 class HashSetIterator extends core.Object { 5161 class HashSetIterator extends core.Object {
5221 HashSetIterator(set, elements) { 5162 HashSetIterator(set, elements) {
5222 this[_set] = set; 5163 this[_set] = set;
5223 this[_elements] = elements; 5164 this[_elements] = elements;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
5534 lookup: dart.functionType(E, [core.Object]), 5475 lookup: dart.functionType(E, [core.Object]),
5535 [_lookup]: dart.functionType(E, [core.Object]), 5476 [_lookup]: dart.functionType(E, [core.Object]),
5536 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]), 5477 [core.$forEach]: dart.functionType(dart.void, [dart.functionType(dart.vo id, [E])]),
5537 add: dart.functionType(core.bool, [E]), 5478 add: dart.functionType(core.bool, [E]),
5538 [_add]: dart.functionType(core.bool, [E]), 5479 [_add]: dart.functionType(core.bool, [E]),
5539 remove: dart.functionType(core.bool, [core.Object]), 5480 remove: dart.functionType(core.bool, [core.Object]),
5540 [_remove]: dart.functionType(core.bool, [core.Object]), 5481 [_remove]: dart.functionType(core.bool, [core.Object]),
5541 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 5482 removeWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
5542 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]), 5483 retainWhere: dart.functionType(dart.void, [dart.functionType(core.bool, [E])]),
5543 [_filterWhere]: dart.functionType(dart.void, [dart.functionType(core.boo l, [E]), core.bool]), 5484 [_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]), 5485 [_addHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, E]),
5546 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]), 5486 [_removeHashTableEntry]: dart.functionType(core.bool, [dart.dynamic, cor e.Object]),
5547 [_modified]: dart.functionType(dart.void, []), 5487 [_modified]: dart.functionType(dart.void, []),
5548 [_newLinkedCell]: dart.functionType(LinkedHashSetCell, [E]), 5488 [_newLinkedCell]: dart.functionType(LinkedHashSetCell, [E]),
5549 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashSetCell]), 5489 [_unlinkCell]: dart.functionType(dart.void, [LinkedHashSetCell]),
5550 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]), 5490 [_computeHashCode]: dart.functionType(core.int, [dart.dynamic]),
5551 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) , 5491 [_getBucket]: dart.functionType(core.List, [dart.dynamic, dart.dynamic]) ,
5552 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic]) 5492 [_findBucketIndex]: dart.functionType(core.int, [dart.dynamic, dart.dyna mic])
5553 }), 5493 }),
5554 statics: () => ({ 5494 statics: () => ({
(...skipping 26 matching lines...) Expand all
5581 let length = bucket.length; 5521 let length = bucket.length;
5582 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5522 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5583 let cell = dart.as(bucket[i], LinkedHashSetCell); 5523 let cell = dart.as(bucket[i], LinkedHashSetCell);
5584 if (core.identical(cell[_element], element)) 5524 if (core.identical(cell[_element], element))
5585 return i; 5525 return i;
5586 } 5526 }
5587 return -1; 5527 return -1;
5588 } 5528 }
5589 } 5529 }
5590 dart.setSignature(_LinkedIdentityHashSet, { 5530 dart.setSignature(_LinkedIdentityHashSet, {
5591 methods: () => ({ 5531 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 }); 5532 });
5597 return _LinkedIdentityHashSet; 5533 return _LinkedIdentityHashSet;
5598 }); 5534 });
5599 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$(); 5535 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$();
5600 let _LinkedCustomHashSet$ = dart.generic(function(E) { 5536 let _LinkedCustomHashSet$ = dart.generic(function(E) {
5601 class _LinkedCustomHashSet extends _LinkedHashSet$(E) { 5537 class _LinkedCustomHashSet extends _LinkedHashSet$(E) {
5602 _LinkedCustomHashSet(equality, hasher, validKey) { 5538 _LinkedCustomHashSet(equality, hasher, validKey) {
5603 this[_equality] = equality; 5539 this[_equality] = equality;
5604 this[_hasher] = hasher; 5540 this[_hasher] = hasher;
5605 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x, E), core.bool, [dart.dynamic]); 5541 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) { 5588 for (let element of elements) {
5653 if (this[_validKey](element)) { 5589 if (this[_validKey](element)) {
5654 super[_remove](element); 5590 super[_remove](element);
5655 } 5591 }
5656 } 5592 }
5657 } 5593 }
5658 } 5594 }
5659 dart.setSignature(_LinkedCustomHashSet, { 5595 dart.setSignature(_LinkedCustomHashSet, {
5660 methods: () => ({ 5596 methods: () => ({
5661 [_newSet]: dart.functionType(core.Set$(E), []), 5597 [_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]), 5598 add: dart.functionType(core.bool, [E]),
5665 [core.$contains]: dart.functionType(core.bool, [core.Object]), 5599 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 }) 5600 })
5671 }); 5601 });
5672 return _LinkedCustomHashSet; 5602 return _LinkedCustomHashSet;
5673 }); 5603 });
5674 let _LinkedCustomHashSet = _LinkedCustomHashSet$(); 5604 let _LinkedCustomHashSet = _LinkedCustomHashSet$();
5675 class LinkedHashSetCell extends core.Object { 5605 class LinkedHashSetCell extends core.Object {
5676 LinkedHashSetCell(element) { 5606 LinkedHashSetCell(element) {
5677 this[_element] = element; 5607 this[_element] = element;
5678 this[_next] = null; 5608 this[_next] = null;
5679 this[_previous] = null; 5609 this[_previous] = null;
5680 } 5610 }
5681 } 5611 }
5682 dart.setSignature(LinkedHashSetCell, {});
5683 let LinkedHashSetIterator$ = dart.generic(function(E) { 5612 let LinkedHashSetIterator$ = dart.generic(function(E) {
5684 class LinkedHashSetIterator extends core.Object { 5613 class LinkedHashSetIterator extends core.Object {
5685 LinkedHashSetIterator(set, modifications) { 5614 LinkedHashSetIterator(set, modifications) {
5686 this[_set] = set; 5615 this[_set] = set;
5687 this[_modifications] = modifications; 5616 this[_modifications] = modifications;
5688 this[_cell] = null; 5617 this[_cell] = null;
5689 this[_current] = null; 5618 this[_current] = null;
5690 this[_cell] = dart.as(dart.dload(this[_set], _first), LinkedHashSetCell) ; 5619 this[_cell] = dart.as(dart.dload(this[_set], _first), LinkedHashSetCell) ;
5691 } 5620 }
5692 get current() { 5621 get current() {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
5771 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; 5700 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$;
5772 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; 5701 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable;
5773 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; 5702 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$;
5774 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; 5703 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator;
5775 exports.HashSetIterator$ = HashSetIterator$; 5704 exports.HashSetIterator$ = HashSetIterator$;
5776 exports.HashSetIterator = HashSetIterator; 5705 exports.HashSetIterator = HashSetIterator;
5777 exports.LinkedHashSetCell = LinkedHashSetCell; 5706 exports.LinkedHashSetCell = LinkedHashSetCell;
5778 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; 5707 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
5779 exports.LinkedHashSetIterator = LinkedHashSetIterator; 5708 exports.LinkedHashSetIterator = LinkedHashSetIterator;
5780 })(collection, _internal, core, _js_helper, math); 5709 })(collection, _internal, core, _js_helper, math);
OLDNEW
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698