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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 dart_library.library('dart/collection', null, /* Imports */[ 1 dart_library.library('dart/collection', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 'dart/_internal', 5 'dart/_internal',
6 'dart/_js_helper', 6 'dart/_js_helper',
7 'dart/math' 7 'dart/math'
8 ], function(exports, dart, core, _internal, _js_helper, math) { 8 ], function(exports, dart, core, _internal, _js_helper, math) {
9 'use strict'; 9 'use strict';
10 let dartx = dart.dartx; 10 let dartx = dart.dartx;
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 dart.fn(_defaultEquals, core.bool, [core.Object, core.Object]); 35 dart.fn(_defaultEquals, core.bool, [core.Object, core.Object]);
36 function _defaultHashCode(a) { 36 function _defaultHashCode(a) {
37 return dart.hashCode(a); 37 return dart.hashCode(a);
38 } 38 }
39 dart.fn(_defaultHashCode, core.int, [core.Object]); 39 dart.fn(_defaultHashCode, core.int, [core.Object]);
40 const _Equality$ = dart.generic(function(K) { 40 const _Equality$ = dart.generic(function(K) {
41 const _Equality = dart.typedef('_Equality', () => dart.functionType(core.boo l, [K, K])); 41 const _Equality = dart.typedef('_Equality', () => dart.functionType(core.boo l, [K, K]));
42 return _Equality; 42 return _Equality;
43 }); 43 });
44 let _Equality = _Equality$(); 44 const _Equality = _Equality$();
45 const _Hasher$ = dart.generic(function(K) { 45 const _Hasher$ = dart.generic(function(K) {
46 const _Hasher = dart.typedef('_Hasher', () => dart.functionType(core.int, [K ])); 46 const _Hasher = dart.typedef('_Hasher', () => dart.functionType(core.int, [K ]));
47 return _Hasher; 47 return _Hasher;
48 }); 48 });
49 let _Hasher = _Hasher$(); 49 const _Hasher = _Hasher$();
50 const HashMap$ = dart.generic(function(K, V) { 50 const HashMap$ = dart.generic(function(K, V) {
51 class HashMap extends core.Object { 51 class HashMap extends core.Object {
52 static new(opts) { 52 static new(opts) {
53 let equals = opts && 'equals' in opts ? opts.equals : null; 53 let equals = opts && 'equals' in opts ? opts.equals : null;
54 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; 54 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null;
55 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 55 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
56 if (isValidKey == null) { 56 if (isValidKey == null) {
57 if (hashCode == null) { 57 if (hashCode == null) {
58 if (equals == null) { 58 if (equals == null) {
59 return new (_HashMap$(K, V))(); 59 return new (_HashMap$(K, V))();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 constructors: () => ({ 105 constructors: () => ({
106 new: [HashMap$(K, V), [], {equals: dart.functionType(core.bool, [K, K]), hashCode: dart.functionType(core.int, [K]), isValidKey: dart.functionType(core. bool, [core.Object])}], 106 new: [HashMap$(K, V), [], {equals: dart.functionType(core.bool, [K, K]), hashCode: dart.functionType(core.int, [K]), isValidKey: dart.functionType(core. bool, [core.Object])}],
107 identity: [HashMap$(K, V), []], 107 identity: [HashMap$(K, V), []],
108 from: [HashMap$(K, V), [core.Map]], 108 from: [HashMap$(K, V), [core.Map]],
109 fromIterable: [HashMap$(K, V), [core.Iterable], {key: dart.functionType( K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}], 109 fromIterable: [HashMap$(K, V), [core.Iterable], {key: dart.functionType( K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}],
110 fromIterables: [HashMap$(K, V), [core.Iterable$(K), core.Iterable$(V)]] 110 fromIterables: [HashMap$(K, V), [core.Iterable$(K), core.Iterable$(V)]]
111 }) 111 })
112 }); 112 });
113 return HashMap; 113 return HashMap;
114 }); 114 });
115 let HashMap = HashMap$(); 115 const HashMap = HashMap$();
116 const SetMixin$ = dart.generic(function(E) { 116 const SetMixin$ = dart.generic(function(E) {
117 class SetMixin extends core.Object { 117 class SetMixin extends core.Object {
118 [Symbol.iterator]() { 118 [Symbol.iterator]() {
119 return new dart.JsIterator(this.iterator); 119 return new dart.JsIterator(this.iterator);
120 } 120 }
121 get isEmpty() { 121 get isEmpty() {
122 return this.length == 0; 122 return this.length == 0;
123 } 123 }
124 get isNotEmpty() { 124 get isNotEmpty() {
125 return this.length != 0; 125 return this.length != 0;
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 'singleWhere', 417 'singleWhere',
418 'elementAt', 418 'elementAt',
419 'isEmpty', 419 'isEmpty',
420 'isNotEmpty', 420 'isNotEmpty',
421 'single', 421 'single',
422 'first', 422 'first',
423 'last' 423 'last'
424 ]); 424 ]);
425 return SetMixin; 425 return SetMixin;
426 }); 426 });
427 let SetMixin = SetMixin$(); 427 const SetMixin = SetMixin$();
428 const SetBase$ = dart.generic(function(E) { 428 const SetBase$ = dart.generic(function(E) {
429 class SetBase extends SetMixin$(E) { 429 class SetBase extends SetMixin$(E) {
430 static setToString(set) { 430 static setToString(set) {
431 return IterableBase.iterableToFullString(set, '{', '}'); 431 return IterableBase.iterableToFullString(set, '{', '}');
432 } 432 }
433 } 433 }
434 dart.setSignature(SetBase, { 434 dart.setSignature(SetBase, {
435 statics: () => ({setToString: [core.String, [core.Set]]}), 435 statics: () => ({setToString: [core.String, [core.Set]]}),
436 names: ['setToString'] 436 names: ['setToString']
437 }); 437 });
438 return SetBase; 438 return SetBase;
439 }); 439 });
440 let SetBase = SetBase$(); 440 const SetBase = SetBase$();
441 const _newSet = Symbol('_newSet'); 441 const _newSet = Symbol('_newSet');
442 const _HashSetBase$ = dart.generic(function(E) { 442 const _HashSetBase$ = dart.generic(function(E) {
443 class _HashSetBase extends SetBase$(E) { 443 class _HashSetBase extends SetBase$(E) {
444 difference(other) { 444 difference(other) {
445 let result = this[_newSet](); 445 let result = this[_newSet]();
446 for (let element of this) { 446 for (let element of this) {
447 if (!dart.notNull(other.contains(element))) result.add(element); 447 if (!dart.notNull(other.contains(element))) result.add(element);
448 } 448 }
449 return result; 449 return result;
450 } 450 }
(...skipping 15 matching lines...) Expand all
466 dart.setSignature(_HashSetBase, { 466 dart.setSignature(_HashSetBase, {
467 methods: () => ({ 467 methods: () => ({
468 difference: [core.Set$(E), [core.Set$(core.Object)]], 468 difference: [core.Set$(E), [core.Set$(core.Object)]],
469 intersection: [core.Set$(E), [core.Set$(core.Object)]], 469 intersection: [core.Set$(E), [core.Set$(core.Object)]],
470 toSet: [core.Set$(E), []] 470 toSet: [core.Set$(E), []]
471 }) 471 })
472 }); 472 });
473 dart.defineExtensionMembers(_HashSetBase, ['toSet']); 473 dart.defineExtensionMembers(_HashSetBase, ['toSet']);
474 return _HashSetBase; 474 return _HashSetBase;
475 }); 475 });
476 let _HashSetBase = _HashSetBase$(); 476 const _HashSetBase = _HashSetBase$();
477 const HashSet$ = dart.generic(function(E) { 477 const HashSet$ = dart.generic(function(E) {
478 class HashSet extends core.Object { 478 class HashSet extends core.Object {
479 static new(opts) { 479 static new(opts) {
480 let equals = opts && 'equals' in opts ? opts.equals : null; 480 let equals = opts && 'equals' in opts ? opts.equals : null;
481 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; 481 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null;
482 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 482 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
483 if (isValidKey == null) { 483 if (isValidKey == null) {
484 if (hashCode == null) { 484 if (hashCode == null) {
485 if (equals == null) { 485 if (equals == null) {
486 return new (_HashSet$(E))(); 486 return new (_HashSet$(E))();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 HashSet[dart.implements] = () => [core.Set$(E)]; 520 HashSet[dart.implements] = () => [core.Set$(E)];
521 dart.setSignature(HashSet, { 521 dart.setSignature(HashSet, {
522 constructors: () => ({ 522 constructors: () => ({
523 new: [HashSet$(E), [], {equals: dart.functionType(core.bool, [E, E]), ha shCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(core.boo l, [core.Object])}], 523 new: [HashSet$(E), [], {equals: dart.functionType(core.bool, [E, E]), ha shCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(core.boo l, [core.Object])}],
524 identity: [HashSet$(E), []], 524 identity: [HashSet$(E), []],
525 from: [HashSet$(E), [core.Iterable]] 525 from: [HashSet$(E), [core.Iterable]]
526 }) 526 })
527 }); 527 });
528 return HashSet; 528 return HashSet;
529 }); 529 });
530 let HashSet = HashSet$(); 530 const HashSet = HashSet$();
531 const IterableMixin$ = dart.generic(function(E) { 531 const IterableMixin$ = dart.generic(function(E) {
532 class IterableMixin extends core.Object { 532 class IterableMixin extends core.Object {
533 map(f) { 533 map(f) {
534 dart.as(f, dart.functionType(dart.dynamic, [E])); 534 dart.as(f, dart.functionType(dart.dynamic, [E]));
535 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); 535 return _internal.MappedIterable$(E, dart.dynamic).new(this, f);
536 } 536 }
537 where(f) { 537 where(f) {
538 dart.as(f, dart.functionType(core.bool, [E])); 538 dart.as(f, dart.functionType(core.bool, [E]));
539 return new (_internal.WhereIterable$(E))(this, f); 539 return new (_internal.WhereIterable$(E))(this, f);
540 } 540 }
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 'elementAt', 772 'elementAt',
773 'length', 773 'length',
774 'isEmpty', 774 'isEmpty',
775 'isNotEmpty', 775 'isNotEmpty',
776 'first', 776 'first',
777 'last', 777 'last',
778 'single' 778 'single'
779 ]); 779 ]);
780 return IterableMixin; 780 return IterableMixin;
781 }); 781 });
782 let IterableMixin = IterableMixin$(); 782 const IterableMixin = IterableMixin$();
783 const IterableBase$ = dart.generic(function(E) { 783 const IterableBase$ = dart.generic(function(E) {
784 class IterableBase extends core.Object { 784 class IterableBase extends core.Object {
785 IterableBase() { 785 IterableBase() {
786 } 786 }
787 map(f) { 787 map(f) {
788 dart.as(f, dart.functionType(dart.dynamic, [E])); 788 dart.as(f, dart.functionType(dart.dynamic, [E]));
789 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); 789 return _internal.MappedIterable$(E, dart.dynamic).new(this, f);
790 } 790 }
791 where(f) { 791 where(f) {
792 dart.as(f, dart.functionType(core.bool, [E])); 792 dart.as(f, dart.functionType(core.bool, [E]));
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 'elementAt', 1157 'elementAt',
1158 'length', 1158 'length',
1159 'isEmpty', 1159 'isEmpty',
1160 'isNotEmpty', 1160 'isNotEmpty',
1161 'first', 1161 'first',
1162 'last', 1162 'last',
1163 'single' 1163 'single'
1164 ]); 1164 ]);
1165 return IterableBase; 1165 return IterableBase;
1166 }); 1166 });
1167 let IterableBase = IterableBase$(); 1167 const IterableBase = IterableBase$();
1168 dart.defineLazyProperties(IterableBase, { 1168 dart.defineLazyProperties(IterableBase, {
1169 get _toStringVisiting() { 1169 get _toStringVisiting() {
1170 return []; 1170 return [];
1171 } 1171 }
1172 }); 1172 });
1173 const _iterator = Symbol('_iterator'); 1173 const _iterator = Symbol('_iterator');
1174 const _state = Symbol('_state'); 1174 const _state = Symbol('_state');
1175 const _move = Symbol('_move'); 1175 const _move = Symbol('_move');
1176 const HasNextIterator$ = dart.generic(function(E) { 1176 const HasNextIterator$ = dart.generic(function(E) {
1177 class HasNextIterator extends core.Object { 1177 class HasNextIterator extends core.Object {
(...skipping 22 matching lines...) Expand all
1200 } 1200 }
1201 dart.setSignature(HasNextIterator, { 1201 dart.setSignature(HasNextIterator, {
1202 constructors: () => ({HasNextIterator: [HasNextIterator$(E), [core.Iterato r]]}), 1202 constructors: () => ({HasNextIterator: [HasNextIterator$(E), [core.Iterato r]]}),
1203 methods: () => ({ 1203 methods: () => ({
1204 next: [E, []], 1204 next: [E, []],
1205 [_move]: [dart.void, []] 1205 [_move]: [dart.void, []]
1206 }) 1206 })
1207 }); 1207 });
1208 return HasNextIterator; 1208 return HasNextIterator;
1209 }); 1209 });
1210 let HasNextIterator = HasNextIterator$(); 1210 const HasNextIterator = HasNextIterator$();
1211 HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0; 1211 HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0;
1212 HasNextIterator._NO_NEXT = 1; 1212 HasNextIterator._NO_NEXT = 1;
1213 HasNextIterator._NOT_MOVED_YET = 2; 1213 HasNextIterator._NOT_MOVED_YET = 2;
1214 const LinkedHashMap$ = dart.generic(function(K, V) { 1214 const LinkedHashMap$ = dart.generic(function(K, V) {
1215 class LinkedHashMap extends core.Object { 1215 class LinkedHashMap extends core.Object {
1216 static new(opts) { 1216 static new(opts) {
1217 let equals = opts && 'equals' in opts ? opts.equals : null; 1217 let equals = opts && 'equals' in opts ? opts.equals : null;
1218 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; 1218 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null;
1219 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 1219 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
1220 if (isValidKey == null) { 1220 if (isValidKey == null) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 identity: [LinkedHashMap$(K, V), []], 1277 identity: [LinkedHashMap$(K, V), []],
1278 from: [LinkedHashMap$(K, V), [core.Map]], 1278 from: [LinkedHashMap$(K, V), [core.Map]],
1279 fromIterable: [LinkedHashMap$(K, V), [core.Iterable], {key: dart.functio nType(K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}], 1279 fromIterable: [LinkedHashMap$(K, V), [core.Iterable], {key: dart.functio nType(K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}],
1280 fromIterables: [LinkedHashMap$(K, V), [core.Iterable$(K), core.Iterable$ (V)]], 1280 fromIterables: [LinkedHashMap$(K, V), [core.Iterable$(K), core.Iterable$ (V)]],
1281 _literal: [LinkedHashMap$(K, V), [core.List]], 1281 _literal: [LinkedHashMap$(K, V), [core.List]],
1282 _empty: [LinkedHashMap$(K, V), []] 1282 _empty: [LinkedHashMap$(K, V), []]
1283 }) 1283 })
1284 }); 1284 });
1285 return LinkedHashMap; 1285 return LinkedHashMap;
1286 }); 1286 });
1287 let LinkedHashMap = LinkedHashMap$(); 1287 const LinkedHashMap = LinkedHashMap$();
1288 const LinkedHashSet$ = dart.generic(function(E) { 1288 const LinkedHashSet$ = dart.generic(function(E) {
1289 class LinkedHashSet extends core.Object { 1289 class LinkedHashSet extends core.Object {
1290 static new(opts) { 1290 static new(opts) {
1291 let equals = opts && 'equals' in opts ? opts.equals : null; 1291 let equals = opts && 'equals' in opts ? opts.equals : null;
1292 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; 1292 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null;
1293 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; 1293 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null;
1294 if (isValidKey == null) { 1294 if (isValidKey == null) {
1295 if (hashCode == null) { 1295 if (hashCode == null) {
1296 if (equals == null) { 1296 if (equals == null) {
1297 return new (_LinkedHashSet$(E))(); 1297 return new (_LinkedHashSet$(E))();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 LinkedHashSet[dart.implements] = () => [HashSet$(E)]; 1332 LinkedHashSet[dart.implements] = () => [HashSet$(E)];
1333 dart.setSignature(LinkedHashSet, { 1333 dart.setSignature(LinkedHashSet, {
1334 constructors: () => ({ 1334 constructors: () => ({
1335 new: [LinkedHashSet$(E), [], {equals: dart.functionType(core.bool, [E, E ]), hashCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(co re.bool, [core.Object])}], 1335 new: [LinkedHashSet$(E), [], {equals: dart.functionType(core.bool, [E, E ]), hashCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(co re.bool, [core.Object])}],
1336 identity: [LinkedHashSet$(E), []], 1336 identity: [LinkedHashSet$(E), []],
1337 from: [LinkedHashSet$(E), [core.Iterable$(E)]] 1337 from: [LinkedHashSet$(E), [core.Iterable$(E)]]
1338 }) 1338 })
1339 }); 1339 });
1340 return LinkedHashSet; 1340 return LinkedHashSet;
1341 }); 1341 });
1342 let LinkedHashSet = LinkedHashSet$(); 1342 const LinkedHashSet = LinkedHashSet$();
1343 const _modificationCount = Symbol('_modificationCount'); 1343 const _modificationCount = Symbol('_modificationCount');
1344 const _length = Symbol('_length'); 1344 const _length = Symbol('_length');
1345 const _next = Symbol('_next'); 1345 const _next = Symbol('_next');
1346 const _previous = Symbol('_previous'); 1346 const _previous = Symbol('_previous');
1347 const _insertAfter = Symbol('_insertAfter'); 1347 const _insertAfter = Symbol('_insertAfter');
1348 const _list = Symbol('_list'); 1348 const _list = Symbol('_list');
1349 const _unlink = Symbol('_unlink'); 1349 const _unlink = Symbol('_unlink');
1350 const LinkedList$ = dart.generic(function(E) { 1350 const LinkedList$ = dart.generic(function(E) {
1351 class LinkedList extends IterableBase$(E) { 1351 class LinkedList extends IterableBase$(E) {
1352 LinkedList() { 1352 LinkedList() {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 'forEach', 1470 'forEach',
1471 'iterator', 1471 'iterator',
1472 'length', 1472 'length',
1473 'first', 1473 'first',
1474 'last', 1474 'last',
1475 'single', 1475 'single',
1476 'isEmpty' 1476 'isEmpty'
1477 ]); 1477 ]);
1478 return LinkedList; 1478 return LinkedList;
1479 }); 1479 });
1480 let LinkedList = LinkedList$(); 1480 const LinkedList = LinkedList$();
1481 const _current = Symbol('_current'); 1481 const _current = Symbol('_current');
1482 const _LinkedListIterator$ = dart.generic(function(E) { 1482 const _LinkedListIterator$ = dart.generic(function(E) {
1483 class _LinkedListIterator extends core.Object { 1483 class _LinkedListIterator extends core.Object {
1484 _LinkedListIterator(list) { 1484 _LinkedListIterator(list) {
1485 this[_list] = list; 1485 this[_list] = list;
1486 this[_modificationCount] = list[_modificationCount]; 1486 this[_modificationCount] = list[_modificationCount];
1487 this[_next] = list[_next]; 1487 this[_next] = list[_next];
1488 this[_current] = null; 1488 this[_current] = null;
1489 } 1489 }
1490 get current() { 1490 get current() {
(...skipping 12 matching lines...) Expand all
1503 return true; 1503 return true;
1504 } 1504 }
1505 } 1505 }
1506 _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; 1506 _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)];
1507 dart.setSignature(_LinkedListIterator, { 1507 dart.setSignature(_LinkedListIterator, {
1508 constructors: () => ({_LinkedListIterator: [_LinkedListIterator$(E), [Link edList$(E)]]}), 1508 constructors: () => ({_LinkedListIterator: [_LinkedListIterator$(E), [Link edList$(E)]]}),
1509 methods: () => ({moveNext: [core.bool, []]}) 1509 methods: () => ({moveNext: [core.bool, []]})
1510 }); 1510 });
1511 return _LinkedListIterator; 1511 return _LinkedListIterator;
1512 }); 1512 });
1513 let _LinkedListIterator = _LinkedListIterator$(); 1513 const _LinkedListIterator = _LinkedListIterator$();
1514 class _LinkedListLink extends core.Object { 1514 class _LinkedListLink extends core.Object {
1515 _LinkedListLink() { 1515 _LinkedListLink() {
1516 this[_next] = null; 1516 this[_next] = null;
1517 this[_previous] = null; 1517 this[_previous] = null;
1518 } 1518 }
1519 } 1519 }
1520 const LinkedListEntry$ = dart.generic(function(E) { 1520 const LinkedListEntry$ = dart.generic(function(E) {
1521 class LinkedListEntry extends core.Object { 1521 class LinkedListEntry extends core.Object {
1522 LinkedListEntry() { 1522 LinkedListEntry() {
1523 this[_list] = null; 1523 this[_list] = null;
(...skipping 27 matching lines...) Expand all
1551 LinkedListEntry[dart.implements] = () => [_LinkedListLink]; 1551 LinkedListEntry[dart.implements] = () => [_LinkedListLink];
1552 dart.setSignature(LinkedListEntry, { 1552 dart.setSignature(LinkedListEntry, {
1553 methods: () => ({ 1553 methods: () => ({
1554 unlink: [dart.void, []], 1554 unlink: [dart.void, []],
1555 insertAfter: [dart.void, [E]], 1555 insertAfter: [dart.void, [E]],
1556 insertBefore: [dart.void, [E]] 1556 insertBefore: [dart.void, [E]]
1557 }) 1557 })
1558 }); 1558 });
1559 return LinkedListEntry; 1559 return LinkedListEntry;
1560 }); 1560 });
1561 let LinkedListEntry = LinkedListEntry$(); 1561 const LinkedListEntry = LinkedListEntry$();
1562 const ListMixin$ = dart.generic(function(E) { 1562 const ListMixin$ = dart.generic(function(E) {
1563 class ListMixin extends core.Object { 1563 class ListMixin extends core.Object {
1564 get iterator() { 1564 get iterator() {
1565 return new (_internal.ListIterator$(E))(this); 1565 return new (_internal.ListIterator$(E))(this);
1566 } 1566 }
1567 [Symbol.iterator]() { 1567 [Symbol.iterator]() {
1568 return new dart.JsIterator(this.iterator); 1568 return new dart.JsIterator(this.iterator);
1569 } 1569 }
1570 elementAt(index) { 1570 elementAt(index) {
1571 return this.get(index); 1571 return this.get(index);
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 'iterator', 2111 'iterator',
2112 'isEmpty', 2112 'isEmpty',
2113 'isNotEmpty', 2113 'isNotEmpty',
2114 'first', 2114 'first',
2115 'last', 2115 'last',
2116 'single', 2116 'single',
2117 'reversed' 2117 'reversed'
2118 ]); 2118 ]);
2119 return ListMixin; 2119 return ListMixin;
2120 }); 2120 });
2121 let ListMixin = ListMixin$(); 2121 const ListMixin = ListMixin$();
2122 const ListBase$ = dart.generic(function(E) { 2122 const ListBase$ = dart.generic(function(E) {
2123 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) { 2123 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) {
2124 static listToString(list) { 2124 static listToString(list) {
2125 return IterableBase.iterableToFullString(list, '[', ']'); 2125 return IterableBase.iterableToFullString(list, '[', ']');
2126 } 2126 }
2127 } 2127 }
2128 dart.setSignature(ListBase, { 2128 dart.setSignature(ListBase, {
2129 statics: () => ({listToString: [core.String, [core.List]]}), 2129 statics: () => ({listToString: [core.String, [core.List]]}),
2130 names: ['listToString'] 2130 names: ['listToString']
2131 }); 2131 });
2132 return ListBase; 2132 return ListBase;
2133 }); 2133 });
2134 let ListBase = ListBase$(); 2134 const ListBase = ListBase$();
2135 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [dart.dynamic, dart.dynamic])); 2135 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.i nt, [dart.dynamic, dart.dynamic]));
2136 const MapMixin$ = dart.generic(function(K, V) { 2136 const MapMixin$ = dart.generic(function(K, V) {
2137 class MapMixin extends core.Object { 2137 class MapMixin extends core.Object {
2138 forEach(action) { 2138 forEach(action) {
2139 dart.as(action, dart.functionType(dart.void, [K, V])); 2139 dart.as(action, dart.functionType(dart.void, [K, V]));
2140 for (let key of this.keys) { 2140 for (let key of this.keys) {
2141 action(key, this.get(key)); 2141 action(key, this.get(key));
2142 } 2142 }
2143 } 2143 }
2144 addAll(other) { 2144 addAll(other) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 methods: () => ({ 2185 methods: () => ({
2186 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], 2186 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]],
2187 addAll: [dart.void, [core.Map$(K, V)]], 2187 addAll: [dart.void, [core.Map$(K, V)]],
2188 containsValue: [core.bool, [core.Object]], 2188 containsValue: [core.bool, [core.Object]],
2189 putIfAbsent: [V, [K, dart.functionType(V, [])]], 2189 putIfAbsent: [V, [K, dart.functionType(V, [])]],
2190 containsKey: [core.bool, [core.Object]] 2190 containsKey: [core.bool, [core.Object]]
2191 }) 2191 })
2192 }); 2192 });
2193 return MapMixin; 2193 return MapMixin;
2194 }); 2194 });
2195 let MapMixin = MapMixin$(); 2195 const MapMixin = MapMixin$();
2196 const MapBase$ = dart.generic(function(K, V) { 2196 const MapBase$ = dart.generic(function(K, V) {
2197 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} 2197 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {}
2198 return MapBase; 2198 return MapBase;
2199 }); 2199 });
2200 let MapBase = MapBase$(); 2200 const MapBase = MapBase$();
2201 const _UnmodifiableMapMixin$ = dart.generic(function(K, V) { 2201 const _UnmodifiableMapMixin$ = dart.generic(function(K, V) {
2202 class _UnmodifiableMapMixin extends core.Object { 2202 class _UnmodifiableMapMixin extends core.Object {
2203 set(key, value) { 2203 set(key, value) {
2204 dart.as(key, K); 2204 dart.as(key, K);
2205 dart.as(value, V); 2205 dart.as(value, V);
2206 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map")); 2206 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map"));
2207 return value; 2207 return value;
2208 } 2208 }
2209 addAll(other) { 2209 addAll(other) {
2210 dart.as(other, core.Map$(K, V)); 2210 dart.as(other, core.Map$(K, V));
(...skipping 16 matching lines...) Expand all
2227 methods: () => ({ 2227 methods: () => ({
2228 set: [dart.void, [K, V]], 2228 set: [dart.void, [K, V]],
2229 addAll: [dart.void, [core.Map$(K, V)]], 2229 addAll: [dart.void, [core.Map$(K, V)]],
2230 clear: [dart.void, []], 2230 clear: [dart.void, []],
2231 remove: [V, [core.Object]], 2231 remove: [V, [core.Object]],
2232 putIfAbsent: [V, [K, dart.functionType(V, [])]] 2232 putIfAbsent: [V, [K, dart.functionType(V, [])]]
2233 }) 2233 })
2234 }); 2234 });
2235 return _UnmodifiableMapMixin; 2235 return _UnmodifiableMapMixin;
2236 }); 2236 });
2237 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); 2237 const _UnmodifiableMapMixin = _UnmodifiableMapMixin$();
2238 const UnmodifiableMapBase$ = dart.generic(function(K, V) { 2238 const UnmodifiableMapBase$ = dart.generic(function(K, V) {
2239 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa pMixin$(K, V)) { 2239 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa pMixin$(K, V)) {
2240 UnmodifiableMapBase() { 2240 UnmodifiableMapBase() {
2241 super.MapBase(...arguments); 2241 super.MapBase(...arguments);
2242 } 2242 }
2243 } 2243 }
2244 return UnmodifiableMapBase; 2244 return UnmodifiableMapBase;
2245 }); 2245 });
2246 let UnmodifiableMapBase = UnmodifiableMapBase$(); 2246 const UnmodifiableMapBase = UnmodifiableMapBase$();
2247 const _map = Symbol('_map'); 2247 const _map = Symbol('_map');
2248 const _MapBaseValueIterable$ = dart.generic(function(V) { 2248 const _MapBaseValueIterable$ = dart.generic(function(V) {
2249 class _MapBaseValueIterable extends IterableBase$(V) { 2249 class _MapBaseValueIterable extends IterableBase$(V) {
2250 _MapBaseValueIterable(map) { 2250 _MapBaseValueIterable(map) {
2251 this[_map] = map; 2251 this[_map] = map;
2252 super.IterableBase(); 2252 super.IterableBase();
2253 } 2253 }
2254 get length() { 2254 get length() {
2255 return this[_map].length; 2255 return this[_map].length;
2256 } 2256 }
(...skipping 24 matching lines...) Expand all
2281 'length', 2281 'length',
2282 'isEmpty', 2282 'isEmpty',
2283 'isNotEmpty', 2283 'isNotEmpty',
2284 'first', 2284 'first',
2285 'single', 2285 'single',
2286 'last', 2286 'last',
2287 'iterator' 2287 'iterator'
2288 ]); 2288 ]);
2289 return _MapBaseValueIterable; 2289 return _MapBaseValueIterable;
2290 }); 2290 });
2291 let _MapBaseValueIterable = _MapBaseValueIterable$(); 2291 const _MapBaseValueIterable = _MapBaseValueIterable$();
2292 const _keys = Symbol('_keys'); 2292 const _keys = Symbol('_keys');
2293 const _MapBaseValueIterator$ = dart.generic(function(V) { 2293 const _MapBaseValueIterator$ = dart.generic(function(V) {
2294 class _MapBaseValueIterator extends core.Object { 2294 class _MapBaseValueIterator extends core.Object {
2295 _MapBaseValueIterator(map) { 2295 _MapBaseValueIterator(map) {
2296 this[_map] = map; 2296 this[_map] = map;
2297 this[_keys] = map.keys[dartx.iterator]; 2297 this[_keys] = map.keys[dartx.iterator];
2298 this[_current] = null; 2298 this[_current] = null;
2299 } 2299 }
2300 moveNext() { 2300 moveNext() {
2301 if (dart.notNull(this[_keys].moveNext())) { 2301 if (dart.notNull(this[_keys].moveNext())) {
2302 this[_current] = dart.as(this[_map].get(this[_keys].current), V); 2302 this[_current] = dart.as(this[_map].get(this[_keys].current), V);
2303 return true; 2303 return true;
2304 } 2304 }
2305 this[_current] = null; 2305 this[_current] = null;
2306 return false; 2306 return false;
2307 } 2307 }
2308 get current() { 2308 get current() {
2309 return this[_current]; 2309 return this[_current];
2310 } 2310 }
2311 } 2311 }
2312 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; 2312 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)];
2313 dart.setSignature(_MapBaseValueIterator, { 2313 dart.setSignature(_MapBaseValueIterator, {
2314 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [ core.Map]]}), 2314 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [ core.Map]]}),
2315 methods: () => ({moveNext: [core.bool, []]}) 2315 methods: () => ({moveNext: [core.bool, []]})
2316 }); 2316 });
2317 return _MapBaseValueIterator; 2317 return _MapBaseValueIterator;
2318 }); 2318 });
2319 let _MapBaseValueIterator = _MapBaseValueIterator$(); 2319 const _MapBaseValueIterator = _MapBaseValueIterator$();
2320 const MapView$ = dart.generic(function(K, V) { 2320 const MapView$ = dart.generic(function(K, V) {
2321 class MapView extends core.Object { 2321 class MapView extends core.Object {
2322 MapView(map) { 2322 MapView(map) {
2323 this[_map] = map; 2323 this[_map] = map;
2324 } 2324 }
2325 get(key) { 2325 get(key) {
2326 return this[_map].get(key); 2326 return this[_map].get(key);
2327 } 2327 }
2328 set(key, value) { 2328 set(key, value) {
2329 dart.as(key, K); 2329 dart.as(key, K);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 clear: [dart.void, []], 2385 clear: [dart.void, []],
2386 putIfAbsent: [V, [K, dart.functionType(V, [])]], 2386 putIfAbsent: [V, [K, dart.functionType(V, [])]],
2387 containsKey: [core.bool, [core.Object]], 2387 containsKey: [core.bool, [core.Object]],
2388 containsValue: [core.bool, [core.Object]], 2388 containsValue: [core.bool, [core.Object]],
2389 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], 2389 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]],
2390 remove: [V, [core.Object]] 2390 remove: [V, [core.Object]]
2391 }) 2391 })
2392 }); 2392 });
2393 return MapView; 2393 return MapView;
2394 }); 2394 });
2395 let MapView = MapView$(); 2395 const MapView = MapView$();
2396 const UnmodifiableMapView$ = dart.generic(function(K, V) { 2396 const UnmodifiableMapView$ = dart.generic(function(K, V) {
2397 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) { 2397 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa pMixin$(K, V)) {
2398 UnmodifiableMapView() { 2398 UnmodifiableMapView() {
2399 super.MapView(...arguments); 2399 super.MapView(...arguments);
2400 } 2400 }
2401 } 2401 }
2402 return UnmodifiableMapView; 2402 return UnmodifiableMapView;
2403 }); 2403 });
2404 let UnmodifiableMapView = UnmodifiableMapView$(); 2404 const UnmodifiableMapView = UnmodifiableMapView$();
2405 class Maps extends core.Object { 2405 class Maps extends core.Object {
2406 static containsValue(map, value) { 2406 static containsValue(map, value) {
2407 for (let v of map.values) { 2407 for (let v of map.values) {
2408 if (dart.equals(value, v)) { 2408 if (dart.equals(value, v)) {
2409 return true; 2409 return true;
2410 } 2410 }
2411 } 2411 }
2412 return false; 2412 return false;
2413 } 2413 }
2414 static containsKey(map, key) { 2414 static containsKey(map, key) {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 } 2531 }
2532 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength ]; 2532 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength ];
2533 dart.setSignature(Queue, { 2533 dart.setSignature(Queue, {
2534 constructors: () => ({ 2534 constructors: () => ({
2535 new: [Queue$(E), []], 2535 new: [Queue$(E), []],
2536 from: [Queue$(E), [core.Iterable]] 2536 from: [Queue$(E), [core.Iterable]]
2537 }) 2537 })
2538 }); 2538 });
2539 return Queue; 2539 return Queue;
2540 }); 2540 });
2541 let Queue = Queue$(); 2541 const Queue = Queue$();
2542 const _element = Symbol('_element'); 2542 const _element = Symbol('_element');
2543 const _link = Symbol('_link'); 2543 const _link = Symbol('_link');
2544 const _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); 2544 const _asNonSentinelEntry = Symbol('_asNonSentinelEntry');
2545 const DoubleLinkedQueueEntry$ = dart.generic(function(E) { 2545 const DoubleLinkedQueueEntry$ = dart.generic(function(E) {
2546 class DoubleLinkedQueueEntry extends core.Object { 2546 class DoubleLinkedQueueEntry extends core.Object {
2547 DoubleLinkedQueueEntry(e) { 2547 DoubleLinkedQueueEntry(e) {
2548 this[_element] = e; 2548 this[_element] = e;
2549 this[_previous] = null; 2549 this[_previous] = null;
2550 this[_next] = null; 2550 this[_next] = null;
2551 } 2551 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2596 append: [dart.void, [E]], 2596 append: [dart.void, [E]],
2597 prepend: [dart.void, [E]], 2597 prepend: [dart.void, [E]],
2598 remove: [E, []], 2598 remove: [E, []],
2599 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []], 2599 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []],
2600 previousEntry: [DoubleLinkedQueueEntry$(E), []], 2600 previousEntry: [DoubleLinkedQueueEntry$(E), []],
2601 nextEntry: [DoubleLinkedQueueEntry$(E), []] 2601 nextEntry: [DoubleLinkedQueueEntry$(E), []]
2602 }) 2602 })
2603 }); 2603 });
2604 return DoubleLinkedQueueEntry; 2604 return DoubleLinkedQueueEntry;
2605 }); 2605 });
2606 let DoubleLinkedQueueEntry = DoubleLinkedQueueEntry$(); 2606 const DoubleLinkedQueueEntry = DoubleLinkedQueueEntry$();
2607 const _DoubleLinkedQueueEntrySentinel$ = dart.generic(function(E) { 2607 const _DoubleLinkedQueueEntrySentinel$ = dart.generic(function(E) {
2608 class _DoubleLinkedQueueEntrySentinel extends DoubleLinkedQueueEntry$(E) { 2608 class _DoubleLinkedQueueEntrySentinel extends DoubleLinkedQueueEntry$(E) {
2609 _DoubleLinkedQueueEntrySentinel() { 2609 _DoubleLinkedQueueEntrySentinel() {
2610 super.DoubleLinkedQueueEntry(null); 2610 super.DoubleLinkedQueueEntry(null);
2611 this[_link](this, this); 2611 this[_link](this, this);
2612 } 2612 }
2613 remove() { 2613 remove() {
2614 dart.throw(_internal.IterableElementError.noElement()); 2614 dart.throw(_internal.IterableElementError.noElement());
2615 } 2615 }
2616 [_asNonSentinelEntry]() { 2616 [_asNonSentinelEntry]() {
2617 return null; 2617 return null;
2618 } 2618 }
2619 set element(e) { 2619 set element(e) {
2620 dart.as(e, E); 2620 dart.as(e, E);
2621 dart.assert(false); 2621 dart.assert(false);
2622 } 2622 }
2623 get element() { 2623 get element() {
2624 dart.throw(_internal.IterableElementError.noElement()); 2624 dart.throw(_internal.IterableElementError.noElement());
2625 } 2625 }
2626 } 2626 }
2627 dart.setSignature(_DoubleLinkedQueueEntrySentinel, { 2627 dart.setSignature(_DoubleLinkedQueueEntrySentinel, {
2628 constructors: () => ({_DoubleLinkedQueueEntrySentinel: [_DoubleLinkedQueue EntrySentinel$(E), []]}), 2628 constructors: () => ({_DoubleLinkedQueueEntrySentinel: [_DoubleLinkedQueue EntrySentinel$(E), []]}),
2629 methods: () => ({ 2629 methods: () => ({
2630 remove: [E, []], 2630 remove: [E, []],
2631 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []] 2631 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []]
2632 }) 2632 })
2633 }); 2633 });
2634 return _DoubleLinkedQueueEntrySentinel; 2634 return _DoubleLinkedQueueEntrySentinel;
2635 }); 2635 });
2636 let _DoubleLinkedQueueEntrySentinel = _DoubleLinkedQueueEntrySentinel$(); 2636 const _DoubleLinkedQueueEntrySentinel = _DoubleLinkedQueueEntrySentinel$();
2637 const _sentinel = Symbol('_sentinel'); 2637 const _sentinel = Symbol('_sentinel');
2638 const _elementCount = Symbol('_elementCount'); 2638 const _elementCount = Symbol('_elementCount');
2639 const _filter = Symbol('_filter'); 2639 const _filter = Symbol('_filter');
2640 const DoubleLinkedQueue$ = dart.generic(function(E) { 2640 const DoubleLinkedQueue$ = dart.generic(function(E) {
2641 class DoubleLinkedQueue extends IterableBase$(E) { 2641 class DoubleLinkedQueue extends IterableBase$(E) {
2642 DoubleLinkedQueue() { 2642 DoubleLinkedQueue() {
2643 this[_sentinel] = null; 2643 this[_sentinel] = null;
2644 this[_elementCount] = 0; 2644 this[_elementCount] = 0;
2645 super.IterableBase(); 2645 super.IterableBase();
2646 this[_sentinel] = new (_DoubleLinkedQueueEntrySentinel$(E))(); 2646 this[_sentinel] = new (_DoubleLinkedQueueEntrySentinel$(E))();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 dart.defineExtensionMembers(DoubleLinkedQueue, [ 2787 dart.defineExtensionMembers(DoubleLinkedQueue, [
2788 'length', 2788 'length',
2789 'first', 2789 'first',
2790 'last', 2790 'last',
2791 'single', 2791 'single',
2792 'isEmpty', 2792 'isEmpty',
2793 'iterator' 2793 'iterator'
2794 ]); 2794 ]);
2795 return DoubleLinkedQueue; 2795 return DoubleLinkedQueue;
2796 }); 2796 });
2797 let DoubleLinkedQueue = DoubleLinkedQueue$(); 2797 const DoubleLinkedQueue = DoubleLinkedQueue$();
2798 const _nextEntry = Symbol('_nextEntry'); 2798 const _nextEntry = Symbol('_nextEntry');
2799 const _DoubleLinkedQueueIterator$ = dart.generic(function(E) { 2799 const _DoubleLinkedQueueIterator$ = dart.generic(function(E) {
2800 class _DoubleLinkedQueueIterator extends core.Object { 2800 class _DoubleLinkedQueueIterator extends core.Object {
2801 _DoubleLinkedQueueIterator(sentinel) { 2801 _DoubleLinkedQueueIterator(sentinel) {
2802 this[_sentinel] = sentinel; 2802 this[_sentinel] = sentinel;
2803 this[_nextEntry] = sentinel[_next]; 2803 this[_nextEntry] = sentinel[_next];
2804 this[_current] = null; 2804 this[_current] = null;
2805 } 2805 }
2806 moveNext() { 2806 moveNext() {
2807 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) { 2807 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) {
2808 this[_current] = this[_nextEntry][_element]; 2808 this[_current] = this[_nextEntry][_element];
2809 this[_nextEntry] = this[_nextEntry][_next]; 2809 this[_nextEntry] = this[_nextEntry][_next];
2810 return true; 2810 return true;
2811 } 2811 }
2812 this[_current] = null; 2812 this[_current] = null;
2813 this[_nextEntry] = this[_sentinel] = null; 2813 this[_nextEntry] = this[_sentinel] = null;
2814 return false; 2814 return false;
2815 } 2815 }
2816 get current() { 2816 get current() {
2817 return this[_current]; 2817 return this[_current];
2818 } 2818 }
2819 } 2819 }
2820 _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; 2820 _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)];
2821 dart.setSignature(_DoubleLinkedQueueIterator, { 2821 dart.setSignature(_DoubleLinkedQueueIterator, {
2822 constructors: () => ({_DoubleLinkedQueueIterator: [_DoubleLinkedQueueItera tor$(E), [_DoubleLinkedQueueEntrySentinel$(E)]]}), 2822 constructors: () => ({_DoubleLinkedQueueIterator: [_DoubleLinkedQueueItera tor$(E), [_DoubleLinkedQueueEntrySentinel$(E)]]}),
2823 methods: () => ({moveNext: [core.bool, []]}) 2823 methods: () => ({moveNext: [core.bool, []]})
2824 }); 2824 });
2825 return _DoubleLinkedQueueIterator; 2825 return _DoubleLinkedQueueIterator;
2826 }); 2826 });
2827 let _DoubleLinkedQueueIterator = _DoubleLinkedQueueIterator$(); 2827 const _DoubleLinkedQueueIterator = _DoubleLinkedQueueIterator$();
2828 const _head = Symbol('_head'); 2828 const _head = Symbol('_head');
2829 const _tail = Symbol('_tail'); 2829 const _tail = Symbol('_tail');
2830 const _table = Symbol('_table'); 2830 const _table = Symbol('_table');
2831 const _checkModification = Symbol('_checkModification'); 2831 const _checkModification = Symbol('_checkModification');
2832 const _writeToList = Symbol('_writeToList'); 2832 const _writeToList = Symbol('_writeToList');
2833 const _add = Symbol('_add'); 2833 const _add = Symbol('_add');
2834 const _preGrow = Symbol('_preGrow'); 2834 const _preGrow = Symbol('_preGrow');
2835 const _remove = Symbol('_remove'); 2835 const _remove = Symbol('_remove');
2836 const _filterWhere = Symbol('_filterWhere'); 2836 const _filterWhere = Symbol('_filterWhere');
2837 const _grow = Symbol('_grow'); 2837 const _grow = Symbol('_grow');
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
3149 'toList', 3149 'toList',
3150 'iterator', 3150 'iterator',
3151 'isEmpty', 3151 'isEmpty',
3152 'length', 3152 'length',
3153 'first', 3153 'first',
3154 'last', 3154 'last',
3155 'single' 3155 'single'
3156 ]); 3156 ]);
3157 return ListQueue; 3157 return ListQueue;
3158 }); 3158 });
3159 let ListQueue = ListQueue$(); 3159 const ListQueue = ListQueue$();
3160 ListQueue._INITIAL_CAPACITY = 8; 3160 ListQueue._INITIAL_CAPACITY = 8;
3161 const _queue = Symbol('_queue'); 3161 const _queue = Symbol('_queue');
3162 const _end = Symbol('_end'); 3162 const _end = Symbol('_end');
3163 const _position = Symbol('_position'); 3163 const _position = Symbol('_position');
3164 const _ListQueueIterator$ = dart.generic(function(E) { 3164 const _ListQueueIterator$ = dart.generic(function(E) {
3165 class _ListQueueIterator extends core.Object { 3165 class _ListQueueIterator extends core.Object {
3166 _ListQueueIterator(queue) { 3166 _ListQueueIterator(queue) {
3167 this[_queue] = queue; 3167 this[_queue] = queue;
3168 this[_end] = queue[_tail]; 3168 this[_end] = queue[_tail];
3169 this[_modificationCount] = queue[_modificationCount]; 3169 this[_modificationCount] = queue[_modificationCount];
(...skipping 14 matching lines...) Expand all
3184 return true; 3184 return true;
3185 } 3185 }
3186 } 3186 }
3187 _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; 3187 _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)];
3188 dart.setSignature(_ListQueueIterator, { 3188 dart.setSignature(_ListQueueIterator, {
3189 constructors: () => ({_ListQueueIterator: [_ListQueueIterator$(E), [ListQu eue]]}), 3189 constructors: () => ({_ListQueueIterator: [_ListQueueIterator$(E), [ListQu eue]]}),
3190 methods: () => ({moveNext: [core.bool, []]}) 3190 methods: () => ({moveNext: [core.bool, []]})
3191 }); 3191 });
3192 return _ListQueueIterator; 3192 return _ListQueueIterator;
3193 }); 3193 });
3194 let _ListQueueIterator = _ListQueueIterator$(); 3194 const _ListQueueIterator = _ListQueueIterator$();
3195 const _Predicate$ = dart.generic(function(T) { 3195 const _Predicate$ = dart.generic(function(T) {
3196 const _Predicate = dart.typedef('_Predicate', () => dart.functionType(core.b ool, [T])); 3196 const _Predicate = dart.typedef('_Predicate', () => dart.functionType(core.b ool, [T]));
3197 return _Predicate; 3197 return _Predicate;
3198 }); 3198 });
3199 let _Predicate = _Predicate$(); 3199 const _Predicate = _Predicate$();
3200 const _SplayTreeNode$ = dart.generic(function(K) { 3200 const _SplayTreeNode$ = dart.generic(function(K) {
3201 class _SplayTreeNode extends core.Object { 3201 class _SplayTreeNode extends core.Object {
3202 _SplayTreeNode(key) { 3202 _SplayTreeNode(key) {
3203 this.key = key; 3203 this.key = key;
3204 this.left = null; 3204 this.left = null;
3205 this.right = null; 3205 this.right = null;
3206 } 3206 }
3207 } 3207 }
3208 dart.setSignature(_SplayTreeNode, { 3208 dart.setSignature(_SplayTreeNode, {
3209 constructors: () => ({_SplayTreeNode: [_SplayTreeNode$(K), [K]]}) 3209 constructors: () => ({_SplayTreeNode: [_SplayTreeNode$(K), [K]]})
3210 }); 3210 });
3211 return _SplayTreeNode; 3211 return _SplayTreeNode;
3212 }); 3212 });
3213 let _SplayTreeNode = _SplayTreeNode$(); 3213 const _SplayTreeNode = _SplayTreeNode$();
3214 const _SplayTreeMapNode$ = dart.generic(function(K, V) { 3214 const _SplayTreeMapNode$ = dart.generic(function(K, V) {
3215 class _SplayTreeMapNode extends _SplayTreeNode$(K) { 3215 class _SplayTreeMapNode extends _SplayTreeNode$(K) {
3216 _SplayTreeMapNode(key, value) { 3216 _SplayTreeMapNode(key, value) {
3217 this.value = value; 3217 this.value = value;
3218 super._SplayTreeNode(key); 3218 super._SplayTreeNode(key);
3219 } 3219 }
3220 } 3220 }
3221 dart.setSignature(_SplayTreeMapNode, { 3221 dart.setSignature(_SplayTreeMapNode, {
3222 constructors: () => ({_SplayTreeMapNode: [_SplayTreeMapNode$(K, V), [K, V] ]}) 3222 constructors: () => ({_SplayTreeMapNode: [_SplayTreeMapNode$(K, V), [K, V] ]})
3223 }); 3223 });
3224 return _SplayTreeMapNode; 3224 return _SplayTreeMapNode;
3225 }); 3225 });
3226 let _SplayTreeMapNode = _SplayTreeMapNode$(); 3226 const _SplayTreeMapNode = _SplayTreeMapNode$();
3227 const _dummy = Symbol('_dummy'); 3227 const _dummy = Symbol('_dummy');
3228 const _root = Symbol('_root'); 3228 const _root = Symbol('_root');
3229 const _count = Symbol('_count'); 3229 const _count = Symbol('_count');
3230 const _splayCount = Symbol('_splayCount'); 3230 const _splayCount = Symbol('_splayCount');
3231 const _compare = Symbol('_compare'); 3231 const _compare = Symbol('_compare');
3232 const _splay = Symbol('_splay'); 3232 const _splay = Symbol('_splay');
3233 const _splayMin = Symbol('_splayMin'); 3233 const _splayMin = Symbol('_splayMin');
3234 const _splayMax = Symbol('_splayMax'); 3234 const _splayMax = Symbol('_splayMax');
3235 const _addNewRoot = Symbol('_addNewRoot'); 3235 const _addNewRoot = Symbol('_addNewRoot');
3236 const _first = Symbol('_first'); 3236 const _first = Symbol('_first');
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
3373 [_splay]: [core.int, [K]], 3373 [_splay]: [core.int, [K]],
3374 [_splayMin]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], 3374 [_splayMin]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]],
3375 [_splayMax]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], 3375 [_splayMax]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]],
3376 [_remove]: [_SplayTreeNode, [K]], 3376 [_remove]: [_SplayTreeNode, [K]],
3377 [_addNewRoot]: [dart.void, [_SplayTreeNode$(K), core.int]], 3377 [_addNewRoot]: [dart.void, [_SplayTreeNode$(K), core.int]],
3378 [_clear]: [dart.void, []] 3378 [_clear]: [dart.void, []]
3379 }) 3379 })
3380 }); 3380 });
3381 return _SplayTree; 3381 return _SplayTree;
3382 }); 3382 });
3383 let _SplayTree = _SplayTree$(); 3383 const _SplayTree = _SplayTree$();
3384 const _comparator = Symbol('_comparator'); 3384 const _comparator = Symbol('_comparator');
3385 const _validKey = Symbol('_validKey'); 3385 const _validKey = Symbol('_validKey');
3386 const SplayTreeMap$ = dart.generic(function(K, V) { 3386 const SplayTreeMap$ = dart.generic(function(K, V) {
3387 class SplayTreeMap extends _SplayTree$(K) { 3387 class SplayTreeMap extends _SplayTree$(K) {
3388 SplayTreeMap(compare, isValidKey) { 3388 SplayTreeMap(compare, isValidKey) {
3389 if (compare === void 0) compare = null; 3389 if (compare === void 0) compare = null;
3390 if (isValidKey === void 0) isValidKey = null; 3390 if (isValidKey === void 0) isValidKey = null;
3391 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K)); 3391 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K));
3392 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object)); 3392 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object));
3393 super._SplayTree(); 3393 super._SplayTree();
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
3596 containsKey: [core.bool, [core.Object]], 3596 containsKey: [core.bool, [core.Object]],
3597 containsValue: [core.bool, [core.Object]], 3597 containsValue: [core.bool, [core.Object]],
3598 firstKey: [K, []], 3598 firstKey: [K, []],
3599 lastKey: [K, []], 3599 lastKey: [K, []],
3600 lastKeyBefore: [K, [K]], 3600 lastKeyBefore: [K, [K]],
3601 firstKeyAfter: [K, [K]] 3601 firstKeyAfter: [K, [K]]
3602 }) 3602 })
3603 }); 3603 });
3604 return SplayTreeMap; 3604 return SplayTreeMap;
3605 }); 3605 });
3606 let SplayTreeMap = SplayTreeMap$(); 3606 const SplayTreeMap = SplayTreeMap$();
3607 const _workList = Symbol('_workList'); 3607 const _workList = Symbol('_workList');
3608 const _tree = Symbol('_tree'); 3608 const _tree = Symbol('_tree');
3609 const _currentNode = Symbol('_currentNode'); 3609 const _currentNode = Symbol('_currentNode');
3610 const _findLeftMostDescendent = Symbol('_findLeftMostDescendent'); 3610 const _findLeftMostDescendent = Symbol('_findLeftMostDescendent');
3611 const _getValue = Symbol('_getValue'); 3611 const _getValue = Symbol('_getValue');
3612 const _rebuildWorkList = Symbol('_rebuildWorkList'); 3612 const _rebuildWorkList = Symbol('_rebuildWorkList');
3613 const _SplayTreeIterator$ = dart.generic(function(T) { 3613 const _SplayTreeIterator$ = dart.generic(function(T) {
3614 class _SplayTreeIterator extends core.Object { 3614 class _SplayTreeIterator extends core.Object {
3615 _SplayTreeIterator(tree) { 3615 _SplayTreeIterator(tree) {
3616 this[_workList] = dart.list([], _SplayTreeNode); 3616 this[_workList] = dart.list([], _SplayTreeNode);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
3680 startAt: [_SplayTreeIterator$(T), [_SplayTree, dart.dynamic]] 3680 startAt: [_SplayTreeIterator$(T), [_SplayTree, dart.dynamic]]
3681 }), 3681 }),
3682 methods: () => ({ 3682 methods: () => ({
3683 [_findLeftMostDescendent]: [dart.void, [_SplayTreeNode]], 3683 [_findLeftMostDescendent]: [dart.void, [_SplayTreeNode]],
3684 [_rebuildWorkList]: [dart.void, [_SplayTreeNode]], 3684 [_rebuildWorkList]: [dart.void, [_SplayTreeNode]],
3685 moveNext: [core.bool, []] 3685 moveNext: [core.bool, []]
3686 }) 3686 })
3687 }); 3687 });
3688 return _SplayTreeIterator; 3688 return _SplayTreeIterator;
3689 }); 3689 });
3690 let _SplayTreeIterator = _SplayTreeIterator$(); 3690 const _SplayTreeIterator = _SplayTreeIterator$();
3691 const _copyNode = Symbol('_copyNode'); 3691 const _copyNode = Symbol('_copyNode');
3692 const _SplayTreeKeyIterable$ = dart.generic(function(K) { 3692 const _SplayTreeKeyIterable$ = dart.generic(function(K) {
3693 class _SplayTreeKeyIterable extends IterableBase$(K) { 3693 class _SplayTreeKeyIterable extends IterableBase$(K) {
3694 _SplayTreeKeyIterable(tree) { 3694 _SplayTreeKeyIterable(tree) {
3695 this[_tree] = tree; 3695 this[_tree] = tree;
3696 super.IterableBase(); 3696 super.IterableBase();
3697 } 3697 }
3698 get length() { 3698 get length() {
3699 return this[_tree][_count]; 3699 return this[_tree][_count];
3700 } 3700 }
(...skipping 12 matching lines...) Expand all
3713 } 3713 }
3714 } 3714 }
3715 _SplayTreeKeyIterable[dart.implements] = () => [_internal.EfficientLength]; 3715 _SplayTreeKeyIterable[dart.implements] = () => [_internal.EfficientLength];
3716 dart.setSignature(_SplayTreeKeyIterable, { 3716 dart.setSignature(_SplayTreeKeyIterable, {
3717 constructors: () => ({_SplayTreeKeyIterable: [_SplayTreeKeyIterable$(K), [ _SplayTree$(K)]]}), 3717 constructors: () => ({_SplayTreeKeyIterable: [_SplayTreeKeyIterable$(K), [ _SplayTree$(K)]]}),
3718 methods: () => ({toSet: [core.Set$(K), []]}) 3718 methods: () => ({toSet: [core.Set$(K), []]})
3719 }); 3719 });
3720 dart.defineExtensionMembers(_SplayTreeKeyIterable, ['toSet', 'length', 'isEm pty', 'iterator']); 3720 dart.defineExtensionMembers(_SplayTreeKeyIterable, ['toSet', 'length', 'isEm pty', 'iterator']);
3721 return _SplayTreeKeyIterable; 3721 return _SplayTreeKeyIterable;
3722 }); 3722 });
3723 let _SplayTreeKeyIterable = _SplayTreeKeyIterable$(); 3723 const _SplayTreeKeyIterable = _SplayTreeKeyIterable$();
3724 const _SplayTreeValueIterable$ = dart.generic(function(K, V) { 3724 const _SplayTreeValueIterable$ = dart.generic(function(K, V) {
3725 class _SplayTreeValueIterable extends IterableBase$(V) { 3725 class _SplayTreeValueIterable extends IterableBase$(V) {
3726 _SplayTreeValueIterable(map) { 3726 _SplayTreeValueIterable(map) {
3727 this[_map] = map; 3727 this[_map] = map;
3728 super.IterableBase(); 3728 super.IterableBase();
3729 } 3729 }
3730 get length() { 3730 get length() {
3731 return this[_map][_count]; 3731 return this[_map][_count];
3732 } 3732 }
3733 get isEmpty() { 3733 get isEmpty() {
3734 return this[_map][_count] == 0; 3734 return this[_map][_count] == 0;
3735 } 3735 }
3736 get iterator() { 3736 get iterator() {
3737 return new (_SplayTreeValueIterator$(K, V))(this[_map]); 3737 return new (_SplayTreeValueIterator$(K, V))(this[_map]);
3738 } 3738 }
3739 } 3739 }
3740 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength] ; 3740 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength] ;
3741 dart.setSignature(_SplayTreeValueIterable, { 3741 dart.setSignature(_SplayTreeValueIterable, {
3742 constructors: () => ({_SplayTreeValueIterable: [_SplayTreeValueIterable$(K , V), [SplayTreeMap$(K, V)]]}) 3742 constructors: () => ({_SplayTreeValueIterable: [_SplayTreeValueIterable$(K , V), [SplayTreeMap$(K, V)]]})
3743 }); 3743 });
3744 dart.defineExtensionMembers(_SplayTreeValueIterable, ['length', 'isEmpty', ' iterator']); 3744 dart.defineExtensionMembers(_SplayTreeValueIterable, ['length', 'isEmpty', ' iterator']);
3745 return _SplayTreeValueIterable; 3745 return _SplayTreeValueIterable;
3746 }); 3746 });
3747 let _SplayTreeValueIterable = _SplayTreeValueIterable$(); 3747 const _SplayTreeValueIterable = _SplayTreeValueIterable$();
3748 const _SplayTreeKeyIterator$ = dart.generic(function(K) { 3748 const _SplayTreeKeyIterator$ = dart.generic(function(K) {
3749 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { 3749 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) {
3750 _SplayTreeKeyIterator(map) { 3750 _SplayTreeKeyIterator(map) {
3751 super._SplayTreeIterator(map); 3751 super._SplayTreeIterator(map);
3752 } 3752 }
3753 [_getValue](node) { 3753 [_getValue](node) {
3754 return dart.as(node.key, K); 3754 return dart.as(node.key, K);
3755 } 3755 }
3756 } 3756 }
3757 dart.setSignature(_SplayTreeKeyIterator, { 3757 dart.setSignature(_SplayTreeKeyIterator, {
3758 constructors: () => ({_SplayTreeKeyIterator: [_SplayTreeKeyIterator$(K), [ _SplayTree$(K)]]}), 3758 constructors: () => ({_SplayTreeKeyIterator: [_SplayTreeKeyIterator$(K), [ _SplayTree$(K)]]}),
3759 methods: () => ({[_getValue]: [K, [_SplayTreeNode]]}) 3759 methods: () => ({[_getValue]: [K, [_SplayTreeNode]]})
3760 }); 3760 });
3761 return _SplayTreeKeyIterator; 3761 return _SplayTreeKeyIterator;
3762 }); 3762 });
3763 let _SplayTreeKeyIterator = _SplayTreeKeyIterator$(); 3763 const _SplayTreeKeyIterator = _SplayTreeKeyIterator$();
3764 const _SplayTreeValueIterator$ = dart.generic(function(K, V) { 3764 const _SplayTreeValueIterator$ = dart.generic(function(K, V) {
3765 class _SplayTreeValueIterator extends _SplayTreeIterator$(V) { 3765 class _SplayTreeValueIterator extends _SplayTreeIterator$(V) {
3766 _SplayTreeValueIterator(map) { 3766 _SplayTreeValueIterator(map) {
3767 super._SplayTreeIterator(map); 3767 super._SplayTreeIterator(map);
3768 } 3768 }
3769 [_getValue](node) { 3769 [_getValue](node) {
3770 return dart.as(node.value, V); 3770 return dart.as(node.value, V);
3771 } 3771 }
3772 } 3772 }
3773 dart.setSignature(_SplayTreeValueIterator, { 3773 dart.setSignature(_SplayTreeValueIterator, {
3774 constructors: () => ({_SplayTreeValueIterator: [_SplayTreeValueIterator$(K , V), [SplayTreeMap$(K, V)]]}), 3774 constructors: () => ({_SplayTreeValueIterator: [_SplayTreeValueIterator$(K , V), [SplayTreeMap$(K, V)]]}),
3775 methods: () => ({[_getValue]: [V, [_SplayTreeMapNode]]}) 3775 methods: () => ({[_getValue]: [V, [_SplayTreeMapNode]]})
3776 }); 3776 });
3777 return _SplayTreeValueIterator; 3777 return _SplayTreeValueIterator;
3778 }); 3778 });
3779 let _SplayTreeValueIterator = _SplayTreeValueIterator$(); 3779 const _SplayTreeValueIterator = _SplayTreeValueIterator$();
3780 const _SplayTreeNodeIterator$ = dart.generic(function(K) { 3780 const _SplayTreeNodeIterator$ = dart.generic(function(K) {
3781 class _SplayTreeNodeIterator extends _SplayTreeIterator$(_SplayTreeNode$(K)) { 3781 class _SplayTreeNodeIterator extends _SplayTreeIterator$(_SplayTreeNode$(K)) {
3782 _SplayTreeNodeIterator(tree) { 3782 _SplayTreeNodeIterator(tree) {
3783 super._SplayTreeIterator(tree); 3783 super._SplayTreeIterator(tree);
3784 } 3784 }
3785 startAt(tree, startKey) { 3785 startAt(tree, startKey) {
3786 super.startAt(tree, startKey); 3786 super.startAt(tree, startKey);
3787 } 3787 }
3788 [_getValue](node) { 3788 [_getValue](node) {
3789 return dart.as(node, _SplayTreeNode$(K)); 3789 return dart.as(node, _SplayTreeNode$(K));
3790 } 3790 }
3791 } 3791 }
3792 dart.defineNamedConstructor(_SplayTreeNodeIterator, 'startAt'); 3792 dart.defineNamedConstructor(_SplayTreeNodeIterator, 'startAt');
3793 dart.setSignature(_SplayTreeNodeIterator, { 3793 dart.setSignature(_SplayTreeNodeIterator, {
3794 constructors: () => ({ 3794 constructors: () => ({
3795 _SplayTreeNodeIterator: [_SplayTreeNodeIterator$(K), [_SplayTree$(K)]], 3795 _SplayTreeNodeIterator: [_SplayTreeNodeIterator$(K), [_SplayTree$(K)]],
3796 startAt: [_SplayTreeNodeIterator$(K), [_SplayTree$(K), dart.dynamic]] 3796 startAt: [_SplayTreeNodeIterator$(K), [_SplayTree$(K), dart.dynamic]]
3797 }), 3797 }),
3798 methods: () => ({[_getValue]: [_SplayTreeNode$(K), [_SplayTreeNode]]}) 3798 methods: () => ({[_getValue]: [_SplayTreeNode$(K), [_SplayTreeNode]]})
3799 }); 3799 });
3800 return _SplayTreeNodeIterator; 3800 return _SplayTreeNodeIterator;
3801 }); 3801 });
3802 let _SplayTreeNodeIterator = _SplayTreeNodeIterator$(); 3802 const _SplayTreeNodeIterator = _SplayTreeNodeIterator$();
3803 const _clone = Symbol('_clone'); 3803 const _clone = Symbol('_clone');
3804 const SplayTreeSet$ = dart.generic(function(E) { 3804 const SplayTreeSet$ = dart.generic(function(E) {
3805 class SplayTreeSet extends dart.mixin(_SplayTree$(E), IterableMixin$(E), Set Mixin$(E)) { 3805 class SplayTreeSet extends dart.mixin(_SplayTree$(E), IterableMixin$(E), Set Mixin$(E)) {
3806 SplayTreeSet(compare, isValidKey) { 3806 SplayTreeSet(compare, isValidKey) {
3807 if (compare === void 0) compare = null; 3807 if (compare === void 0) compare = null;
3808 if (isValidKey === void 0) isValidKey = null; 3808 if (isValidKey === void 0) isValidKey = null;
3809 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(E)); 3809 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(E));
3810 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, E), core.bool, [core.Object]), _Predicate$(core.Object)); 3810 this[_validKey] = dart.as(isValidKey != null ? isValidKey : dart.fn(v => dart.is(v, E), core.bool, [core.Object]), _Predicate$(core.Object));
3811 super._SplayTree(); 3811 super._SplayTree();
3812 } 3812 }
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
3968 'iterator', 3968 'iterator',
3969 'length', 3969 'length',
3970 'isEmpty', 3970 'isEmpty',
3971 'isNotEmpty', 3971 'isNotEmpty',
3972 'first', 3972 'first',
3973 'last', 3973 'last',
3974 'single' 3974 'single'
3975 ]); 3975 ]);
3976 return SplayTreeSet; 3976 return SplayTreeSet;
3977 }); 3977 });
3978 let SplayTreeSet = SplayTreeSet$(); 3978 const SplayTreeSet = SplayTreeSet$();
3979 const _strings = Symbol('_strings'); 3979 const _strings = Symbol('_strings');
3980 const _nums = Symbol('_nums'); 3980 const _nums = Symbol('_nums');
3981 const _rest = Symbol('_rest'); 3981 const _rest = Symbol('_rest');
3982 const _containsKey = Symbol('_containsKey'); 3982 const _containsKey = Symbol('_containsKey');
3983 const _getBucket = Symbol('_getBucket'); 3983 const _getBucket = Symbol('_getBucket');
3984 const _findBucketIndex = Symbol('_findBucketIndex'); 3984 const _findBucketIndex = Symbol('_findBucketIndex');
3985 const _computeKeys = Symbol('_computeKeys'); 3985 const _computeKeys = Symbol('_computeKeys');
3986 const _get = Symbol('_get'); 3986 const _get = Symbol('_get');
3987 const _addHashTableEntry = Symbol('_addHashTableEntry'); 3987 const _addHashTableEntry = Symbol('_addHashTableEntry');
3988 const _set = Symbol('_set'); 3988 const _set = Symbol('_set');
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
4279 _hasTableEntry: [core.bool, [dart.dynamic, dart.dynamic]], 4279 _hasTableEntry: [core.bool, [dart.dynamic, dart.dynamic]],
4280 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], 4280 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]],
4281 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], 4281 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]],
4282 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], 4282 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]],
4283 _newHashTable: [dart.dynamic, []] 4283 _newHashTable: [dart.dynamic, []]
4284 }), 4284 }),
4285 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry ', '_setTableEntry', '_deleteTableEntry', '_newHashTable'] 4285 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry ', '_setTableEntry', '_deleteTableEntry', '_newHashTable']
4286 }); 4286 });
4287 return _HashMap; 4287 return _HashMap;
4288 }); 4288 });
4289 let _HashMap = _HashMap$(); 4289 const _HashMap = _HashMap$();
4290 const _IdentityHashMap$ = dart.generic(function(K, V) { 4290 const _IdentityHashMap$ = dart.generic(function(K, V) {
4291 class _IdentityHashMap extends _HashMap$(K, V) { 4291 class _IdentityHashMap extends _HashMap$(K, V) {
4292 _IdentityHashMap() { 4292 _IdentityHashMap() {
4293 super._HashMap(); 4293 super._HashMap();
4294 } 4294 }
4295 [_computeHashCode](key) { 4295 [_computeHashCode](key) {
4296 return core.identityHashCode(key) & 0x3ffffff; 4296 return core.identityHashCode(key) & 0x3ffffff;
4297 } 4297 }
4298 [_findBucketIndex](bucket, key) { 4298 [_findBucketIndex](bucket, key) {
4299 if (bucket == null) return -1; 4299 if (bucket == null) return -1;
4300 let length = bucket.length; 4300 let length = bucket.length;
4301 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) { 4301 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 2) {
4302 if (dart.notNull(core.identical(bucket[i], key))) return i; 4302 if (dart.notNull(core.identical(bucket[i], key))) return i;
4303 } 4303 }
4304 return -1; 4304 return -1;
4305 } 4305 }
4306 } 4306 }
4307 return _IdentityHashMap; 4307 return _IdentityHashMap;
4308 }); 4308 });
4309 let _IdentityHashMap = _IdentityHashMap$(); 4309 const _IdentityHashMap = _IdentityHashMap$();
4310 const _equals = Symbol('_equals'); 4310 const _equals = Symbol('_equals');
4311 const _hashCode = Symbol('_hashCode'); 4311 const _hashCode = Symbol('_hashCode');
4312 const _CustomHashMap$ = dart.generic(function(K, V) { 4312 const _CustomHashMap$ = dart.generic(function(K, V) {
4313 class _CustomHashMap extends _HashMap$(K, V) { 4313 class _CustomHashMap extends _HashMap$(K, V) {
4314 _CustomHashMap(equals, hashCode, validKey) { 4314 _CustomHashMap(equals, hashCode, validKey) {
4315 this[_equals] = equals; 4315 this[_equals] = equals;
4316 this[_hashCode] = hashCode; 4316 this[_hashCode] = hashCode;
4317 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(v => dar t.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object)); 4317 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(v => dar t.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object));
4318 super._HashMap(); 4318 super._HashMap();
4319 } 4319 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4353 dart.setSignature(_CustomHashMap, { 4353 dart.setSignature(_CustomHashMap, {
4354 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$( K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), 4354 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$( K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}),
4355 methods: () => ({ 4355 methods: () => ({
4356 get: [V, [core.Object]], 4356 get: [V, [core.Object]],
4357 set: [dart.void, [K, V]], 4357 set: [dart.void, [K, V]],
4358 remove: [V, [core.Object]] 4358 remove: [V, [core.Object]]
4359 }) 4359 })
4360 }); 4360 });
4361 return _CustomHashMap; 4361 return _CustomHashMap;
4362 }); 4362 });
4363 let _CustomHashMap = _CustomHashMap$(); 4363 const _CustomHashMap = _CustomHashMap$();
4364 const HashMapKeyIterable$ = dart.generic(function(E) { 4364 const HashMapKeyIterable$ = dart.generic(function(E) {
4365 class HashMapKeyIterable extends IterableBase$(E) { 4365 class HashMapKeyIterable extends IterableBase$(E) {
4366 HashMapKeyIterable(map) { 4366 HashMapKeyIterable(map) {
4367 this[_map] = map; 4367 this[_map] = map;
4368 super.IterableBase(); 4368 super.IterableBase();
4369 } 4369 }
4370 get length() { 4370 get length() {
4371 return dart.as(dart.dload(this[_map], _length), core.int); 4371 return dart.as(dart.dload(this[_map], _length), core.int);
4372 } 4372 }
4373 get isEmpty() { 4373 get isEmpty() {
(...skipping 23 matching lines...) Expand all
4397 }); 4397 });
4398 dart.defineExtensionMembers(HashMapKeyIterable, [ 4398 dart.defineExtensionMembers(HashMapKeyIterable, [
4399 'contains', 4399 'contains',
4400 'forEach', 4400 'forEach',
4401 'length', 4401 'length',
4402 'isEmpty', 4402 'isEmpty',
4403 'iterator' 4403 'iterator'
4404 ]); 4404 ]);
4405 return HashMapKeyIterable; 4405 return HashMapKeyIterable;
4406 }); 4406 });
4407 let HashMapKeyIterable = HashMapKeyIterable$(); 4407 const HashMapKeyIterable = HashMapKeyIterable$();
4408 const _offset = Symbol('_offset'); 4408 const _offset = Symbol('_offset');
4409 const HashMapKeyIterator$ = dart.generic(function(E) { 4409 const HashMapKeyIterator$ = dart.generic(function(E) {
4410 class HashMapKeyIterator extends core.Object { 4410 class HashMapKeyIterator extends core.Object {
4411 HashMapKeyIterator(map, keys) { 4411 HashMapKeyIterator(map, keys) {
4412 this[_map] = map; 4412 this[_map] = map;
4413 this[_keys] = keys; 4413 this[_keys] = keys;
4414 this[_offset] = 0; 4414 this[_offset] = 0;
4415 this[_current] = null; 4415 this[_current] = null;
4416 } 4416 }
4417 get current() { 4417 get current() {
(...skipping 14 matching lines...) Expand all
4432 } 4432 }
4433 } 4433 }
4434 } 4434 }
4435 HashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; 4435 HashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)];
4436 dart.setSignature(HashMapKeyIterator, { 4436 dart.setSignature(HashMapKeyIterator, {
4437 constructors: () => ({HashMapKeyIterator: [HashMapKeyIterator$(E), [dart.d ynamic, core.List]]}), 4437 constructors: () => ({HashMapKeyIterator: [HashMapKeyIterator$(E), [dart.d ynamic, core.List]]}),
4438 methods: () => ({moveNext: [core.bool, []]}) 4438 methods: () => ({moveNext: [core.bool, []]})
4439 }); 4439 });
4440 return HashMapKeyIterator; 4440 return HashMapKeyIterator;
4441 }); 4441 });
4442 let HashMapKeyIterator = HashMapKeyIterator$(); 4442 const HashMapKeyIterator = HashMapKeyIterator$();
4443 const _modifications = Symbol('_modifications'); 4443 const _modifications = Symbol('_modifications');
4444 const _value = Symbol('_value'); 4444 const _value = Symbol('_value');
4445 const _newLinkedCell = Symbol('_newLinkedCell'); 4445 const _newLinkedCell = Symbol('_newLinkedCell');
4446 const _unlinkCell = Symbol('_unlinkCell'); 4446 const _unlinkCell = Symbol('_unlinkCell');
4447 const _modified = Symbol('_modified'); 4447 const _modified = Symbol('_modified');
4448 const _key = Symbol('_key'); 4448 const _key = Symbol('_key');
4449 const _LinkedHashMap$ = dart.generic(function(K, V) { 4449 const _LinkedHashMap$ = dart.generic(function(K, V) {
4450 class _LinkedHashMap extends core.Object { 4450 class _LinkedHashMap extends core.Object {
4451 _LinkedHashMap() { 4451 _LinkedHashMap() {
4452 this[_length] = 0; 4452 this[_length] = 0;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
4739 _isNumericKey: [core.bool, [dart.dynamic]], 4739 _isNumericKey: [core.bool, [dart.dynamic]],
4740 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], 4740 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]],
4741 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], 4741 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]],
4742 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], 4742 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]],
4743 _newHashTable: [dart.dynamic, []] 4743 _newHashTable: [dart.dynamic, []]
4744 }), 4744 }),
4745 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable'] 4745 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry ', '_deleteTableEntry', '_newHashTable']
4746 }); 4746 });
4747 return _LinkedHashMap; 4747 return _LinkedHashMap;
4748 }); 4748 });
4749 let _LinkedHashMap = _LinkedHashMap$(); 4749 const _LinkedHashMap = _LinkedHashMap$();
4750 const _LinkedIdentityHashMap$ = dart.generic(function(K, V) { 4750 const _LinkedIdentityHashMap$ = dart.generic(function(K, V) {
4751 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) { 4751 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) {
4752 _LinkedIdentityHashMap() { 4752 _LinkedIdentityHashMap() {
4753 super._LinkedHashMap(); 4753 super._LinkedHashMap();
4754 } 4754 }
4755 [_computeHashCode](key) { 4755 [_computeHashCode](key) {
4756 return core.identityHashCode(key) & 0x3ffffff; 4756 return core.identityHashCode(key) & 0x3ffffff;
4757 } 4757 }
4758 [_findBucketIndex](bucket, key) { 4758 [_findBucketIndex](bucket, key) {
4759 if (bucket == null) return -1; 4759 if (bucket == null) return -1;
4760 let length = bucket.length; 4760 let length = bucket.length;
4761 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 4761 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
4762 let cell = dart.as(bucket[i], LinkedHashMapCell); 4762 let cell = dart.as(bucket[i], LinkedHashMapCell);
4763 if (dart.notNull(core.identical(cell[_key], key))) return i; 4763 if (dart.notNull(core.identical(cell[_key], key))) return i;
4764 } 4764 }
4765 return -1; 4765 return -1;
4766 } 4766 }
4767 } 4767 }
4768 return _LinkedIdentityHashMap; 4768 return _LinkedIdentityHashMap;
4769 }); 4769 });
4770 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(); 4770 const _LinkedIdentityHashMap = _LinkedIdentityHashMap$();
4771 const _LinkedCustomHashMap$ = dart.generic(function(K, V) { 4771 const _LinkedCustomHashMap$ = dart.generic(function(K, V) {
4772 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { 4772 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) {
4773 _LinkedCustomHashMap(equals, hashCode, validKey) { 4773 _LinkedCustomHashMap(equals, hashCode, validKey) {
4774 this[_equals] = equals; 4774 this[_equals] = equals;
4775 this[_hashCode] = hashCode; 4775 this[_hashCode] = hashCode;
4776 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(v => dar t.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object)); 4776 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(v => dar t.is(v, K), core.bool, [core.Object]), _Predicate$(core.Object));
4777 super._LinkedHashMap(); 4777 super._LinkedHashMap();
4778 } 4778 }
4779 get(key) { 4779 get(key) {
4780 if (!dart.notNull(this[_validKey](key))) return null; 4780 if (!dart.notNull(this[_validKey](key))) return null;
(...skipping 29 matching lines...) Expand all
4810 dart.setSignature(_LinkedCustomHashMap, { 4810 dart.setSignature(_LinkedCustomHashMap, {
4811 constructors: () => ({_LinkedCustomHashMap: [_LinkedCustomHashMap$(K, V), [_Equality$(K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), 4811 constructors: () => ({_LinkedCustomHashMap: [_LinkedCustomHashMap$(K, V), [_Equality$(K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}),
4812 methods: () => ({ 4812 methods: () => ({
4813 get: [V, [core.Object]], 4813 get: [V, [core.Object]],
4814 set: [dart.void, [K, V]], 4814 set: [dart.void, [K, V]],
4815 remove: [V, [core.Object]] 4815 remove: [V, [core.Object]]
4816 }) 4816 })
4817 }); 4817 });
4818 return _LinkedCustomHashMap; 4818 return _LinkedCustomHashMap;
4819 }); 4819 });
4820 let _LinkedCustomHashMap = _LinkedCustomHashMap$(); 4820 const _LinkedCustomHashMap = _LinkedCustomHashMap$();
4821 class LinkedHashMapCell extends core.Object { 4821 class LinkedHashMapCell extends core.Object {
4822 LinkedHashMapCell(key, value) { 4822 LinkedHashMapCell(key, value) {
4823 this[_key] = key; 4823 this[_key] = key;
4824 this[_value] = value; 4824 this[_value] = value;
4825 this[_next] = null; 4825 this[_next] = null;
4826 this[_previous] = null; 4826 this[_previous] = null;
4827 } 4827 }
4828 } 4828 }
4829 dart.setSignature(LinkedHashMapCell, { 4829 dart.setSignature(LinkedHashMapCell, {
4830 constructors: () => ({LinkedHashMapCell: [LinkedHashMapCell, [dart.dynamic, dart.dynamic]]}) 4830 constructors: () => ({LinkedHashMapCell: [LinkedHashMapCell, [dart.dynamic, dart.dynamic]]})
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
4867 }); 4867 });
4868 dart.defineExtensionMembers(LinkedHashMapKeyIterable, [ 4868 dart.defineExtensionMembers(LinkedHashMapKeyIterable, [
4869 'contains', 4869 'contains',
4870 'forEach', 4870 'forEach',
4871 'length', 4871 'length',
4872 'isEmpty', 4872 'isEmpty',
4873 'iterator' 4873 'iterator'
4874 ]); 4874 ]);
4875 return LinkedHashMapKeyIterable; 4875 return LinkedHashMapKeyIterable;
4876 }); 4876 });
4877 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(); 4877 const LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$();
4878 const _cell = Symbol('_cell'); 4878 const _cell = Symbol('_cell');
4879 const LinkedHashMapKeyIterator$ = dart.generic(function(E) { 4879 const LinkedHashMapKeyIterator$ = dart.generic(function(E) {
4880 class LinkedHashMapKeyIterator extends core.Object { 4880 class LinkedHashMapKeyIterator extends core.Object {
4881 LinkedHashMapKeyIterator(map, modifications) { 4881 LinkedHashMapKeyIterator(map, modifications) {
4882 this[_map] = map; 4882 this[_map] = map;
4883 this[_modifications] = modifications; 4883 this[_modifications] = modifications;
4884 this[_cell] = null; 4884 this[_cell] = null;
4885 this[_current] = null; 4885 this[_current] = null;
4886 this[_cell] = dart.as(dart.dload(this[_map], _first), LinkedHashMapCell) ; 4886 this[_cell] = dart.as(dart.dload(this[_map], _first), LinkedHashMapCell) ;
4887 } 4887 }
(...skipping 13 matching lines...) Expand all
4901 } 4901 }
4902 } 4902 }
4903 } 4903 }
4904 LinkedHashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; 4904 LinkedHashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)];
4905 dart.setSignature(LinkedHashMapKeyIterator, { 4905 dart.setSignature(LinkedHashMapKeyIterator, {
4906 constructors: () => ({LinkedHashMapKeyIterator: [LinkedHashMapKeyIterator$ (E), [dart.dynamic, core.int]]}), 4906 constructors: () => ({LinkedHashMapKeyIterator: [LinkedHashMapKeyIterator$ (E), [dart.dynamic, core.int]]}),
4907 methods: () => ({moveNext: [core.bool, []]}) 4907 methods: () => ({moveNext: [core.bool, []]})
4908 }); 4908 });
4909 return LinkedHashMapKeyIterator; 4909 return LinkedHashMapKeyIterator;
4910 }); 4910 });
4911 let LinkedHashMapKeyIterator = LinkedHashMapKeyIterator$(); 4911 const LinkedHashMapKeyIterator = LinkedHashMapKeyIterator$();
4912 const _elements = Symbol('_elements'); 4912 const _elements = Symbol('_elements');
4913 const _computeElements = Symbol('_computeElements'); 4913 const _computeElements = Symbol('_computeElements');
4914 const _contains = Symbol('_contains'); 4914 const _contains = Symbol('_contains');
4915 const _lookup = Symbol('_lookup'); 4915 const _lookup = Symbol('_lookup');
4916 const _HashSet$ = dart.generic(function(E) { 4916 const _HashSet$ = dart.generic(function(E) {
4917 class _HashSet extends _HashSetBase$(E) { 4917 class _HashSet extends _HashSetBase$(E) {
4918 _HashSet() { 4918 _HashSet() {
4919 this[_length] = 0; 4919 this[_length] = 0;
4920 this[_strings] = null; 4920 this[_strings] = null;
4921 this[_nums] = null; 4921 this[_nums] = null;
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
5163 }); 5163 });
5164 dart.defineExtensionMembers(_HashSet, [ 5164 dart.defineExtensionMembers(_HashSet, [
5165 'contains', 5165 'contains',
5166 'iterator', 5166 'iterator',
5167 'length', 5167 'length',
5168 'isEmpty', 5168 'isEmpty',
5169 'isNotEmpty' 5169 'isNotEmpty'
5170 ]); 5170 ]);
5171 return _HashSet; 5171 return _HashSet;
5172 }); 5172 });
5173 let _HashSet = _HashSet$(); 5173 const _HashSet = _HashSet$();
5174 const _IdentityHashSet$ = dart.generic(function(E) { 5174 const _IdentityHashSet$ = dart.generic(function(E) {
5175 class _IdentityHashSet extends _HashSet$(E) { 5175 class _IdentityHashSet extends _HashSet$(E) {
5176 _IdentityHashSet() { 5176 _IdentityHashSet() {
5177 super._HashSet(); 5177 super._HashSet();
5178 } 5178 }
5179 [_newSet]() { 5179 [_newSet]() {
5180 return new (_IdentityHashSet$(E))(); 5180 return new (_IdentityHashSet$(E))();
5181 } 5181 }
5182 [_computeHashCode](key) { 5182 [_computeHashCode](key) {
5183 return core.identityHashCode(key) & 0x3ffffff; 5183 return core.identityHashCode(key) & 0x3ffffff;
5184 } 5184 }
5185 [_findBucketIndex](bucket, element) { 5185 [_findBucketIndex](bucket, element) {
5186 if (bucket == null) return -1; 5186 if (bucket == null) return -1;
5187 let length = bucket.length; 5187 let length = bucket.length;
5188 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5188 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5189 if (dart.notNull(core.identical(bucket[i], element))) return i; 5189 if (dart.notNull(core.identical(bucket[i], element))) return i;
5190 } 5190 }
5191 return -1; 5191 return -1;
5192 } 5192 }
5193 } 5193 }
5194 dart.setSignature(_IdentityHashSet, { 5194 dart.setSignature(_IdentityHashSet, {
5195 methods: () => ({[_newSet]: [core.Set$(E), []]}) 5195 methods: () => ({[_newSet]: [core.Set$(E), []]})
5196 }); 5196 });
5197 return _IdentityHashSet; 5197 return _IdentityHashSet;
5198 }); 5198 });
5199 let _IdentityHashSet = _IdentityHashSet$(); 5199 const _IdentityHashSet = _IdentityHashSet$();
5200 const _equality = Symbol('_equality'); 5200 const _equality = Symbol('_equality');
5201 const _hasher = Symbol('_hasher'); 5201 const _hasher = Symbol('_hasher');
5202 const _CustomHashSet$ = dart.generic(function(E) { 5202 const _CustomHashSet$ = dart.generic(function(E) {
5203 class _CustomHashSet extends _HashSet$(E) { 5203 class _CustomHashSet extends _HashSet$(E) {
5204 _CustomHashSet(equality, hasher, validKey) { 5204 _CustomHashSet(equality, hasher, validKey) {
5205 this[_equality] = equality; 5205 this[_equality] = equality;
5206 this[_hasher] = hasher; 5206 this[_hasher] = hasher;
5207 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(x => dar t.is(x, E), core.bool, [core.Object]), _Predicate$(core.Object)); 5207 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(x => dar t.is(x, E), core.bool, [core.Object]), _Predicate$(core.Object));
5208 super._HashSet(); 5208 super._HashSet();
5209 } 5209 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
5242 constructors: () => ({_CustomHashSet: [_CustomHashSet$(E), [_Equality$(E), _Hasher$(E), dart.functionType(core.bool, [core.Object])]]}), 5242 constructors: () => ({_CustomHashSet: [_CustomHashSet$(E), [_Equality$(E), _Hasher$(E), dart.functionType(core.bool, [core.Object])]]}),
5243 methods: () => ({ 5243 methods: () => ({
5244 [_newSet]: [core.Set$(E), []], 5244 [_newSet]: [core.Set$(E), []],
5245 add: [core.bool, [E]], 5245 add: [core.bool, [E]],
5246 lookup: [E, [core.Object]] 5246 lookup: [E, [core.Object]]
5247 }) 5247 })
5248 }); 5248 });
5249 dart.defineExtensionMembers(_CustomHashSet, ['contains']); 5249 dart.defineExtensionMembers(_CustomHashSet, ['contains']);
5250 return _CustomHashSet; 5250 return _CustomHashSet;
5251 }); 5251 });
5252 let _CustomHashSet = _CustomHashSet$(); 5252 const _CustomHashSet = _CustomHashSet$();
5253 const HashSetIterator$ = dart.generic(function(E) { 5253 const HashSetIterator$ = dart.generic(function(E) {
5254 class HashSetIterator extends core.Object { 5254 class HashSetIterator extends core.Object {
5255 HashSetIterator(set, elements) { 5255 HashSetIterator(set, elements) {
5256 this[_set] = set; 5256 this[_set] = set;
5257 this[_elements] = elements; 5257 this[_elements] = elements;
5258 this[_offset] = 0; 5258 this[_offset] = 0;
5259 this[_current] = null; 5259 this[_current] = null;
5260 } 5260 }
5261 get current() { 5261 get current() {
5262 return this[_current]; 5262 return this[_current];
(...skipping 13 matching lines...) Expand all
5276 } 5276 }
5277 } 5277 }
5278 } 5278 }
5279 HashSetIterator[dart.implements] = () => [core.Iterator$(E)]; 5279 HashSetIterator[dart.implements] = () => [core.Iterator$(E)];
5280 dart.setSignature(HashSetIterator, { 5280 dart.setSignature(HashSetIterator, {
5281 constructors: () => ({HashSetIterator: [HashSetIterator$(E), [dart.dynamic , core.List]]}), 5281 constructors: () => ({HashSetIterator: [HashSetIterator$(E), [dart.dynamic , core.List]]}),
5282 methods: () => ({moveNext: [core.bool, []]}) 5282 methods: () => ({moveNext: [core.bool, []]})
5283 }); 5283 });
5284 return HashSetIterator; 5284 return HashSetIterator;
5285 }); 5285 });
5286 let HashSetIterator = HashSetIterator$(); 5286 const HashSetIterator = HashSetIterator$();
5287 const _unsupported = Symbol('_unsupported'); 5287 const _unsupported = Symbol('_unsupported');
5288 const _LinkedHashSet$ = dart.generic(function(E) { 5288 const _LinkedHashSet$ = dart.generic(function(E) {
5289 class _LinkedHashSet extends _HashSetBase$(E) { 5289 class _LinkedHashSet extends _HashSetBase$(E) {
5290 _LinkedHashSet() { 5290 _LinkedHashSet() {
5291 this[_length] = 0; 5291 this[_length] = 0;
5292 this[_strings] = null; 5292 this[_strings] = null;
5293 this[_nums] = null; 5293 this[_nums] = null;
5294 this[_rest] = null; 5294 this[_rest] = null;
5295 this[_first] = null; 5295 this[_first] = null;
5296 this[_last] = null; 5296 this[_last] = null;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
5582 'forEach', 5582 'forEach',
5583 'iterator', 5583 'iterator',
5584 'length', 5584 'length',
5585 'isEmpty', 5585 'isEmpty',
5586 'isNotEmpty', 5586 'isNotEmpty',
5587 'first', 5587 'first',
5588 'last' 5588 'last'
5589 ]); 5589 ]);
5590 return _LinkedHashSet; 5590 return _LinkedHashSet;
5591 }); 5591 });
5592 let _LinkedHashSet = _LinkedHashSet$(); 5592 const _LinkedHashSet = _LinkedHashSet$();
5593 const _LinkedIdentityHashSet$ = dart.generic(function(E) { 5593 const _LinkedIdentityHashSet$ = dart.generic(function(E) {
5594 class _LinkedIdentityHashSet extends _LinkedHashSet$(E) { 5594 class _LinkedIdentityHashSet extends _LinkedHashSet$(E) {
5595 _LinkedIdentityHashSet() { 5595 _LinkedIdentityHashSet() {
5596 super._LinkedHashSet(); 5596 super._LinkedHashSet();
5597 } 5597 }
5598 [_newSet]() { 5598 [_newSet]() {
5599 return new (_LinkedIdentityHashSet$(E))(); 5599 return new (_LinkedIdentityHashSet$(E))();
5600 } 5600 }
5601 [_computeHashCode](key) { 5601 [_computeHashCode](key) {
5602 return core.identityHashCode(key) & 0x3ffffff; 5602 return core.identityHashCode(key) & 0x3ffffff;
5603 } 5603 }
5604 [_findBucketIndex](bucket, element) { 5604 [_findBucketIndex](bucket, element) {
5605 if (bucket == null) return -1; 5605 if (bucket == null) return -1;
5606 let length = bucket.length; 5606 let length = bucket.length;
5607 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 5607 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
5608 let cell = dart.as(bucket[i], LinkedHashSetCell); 5608 let cell = dart.as(bucket[i], LinkedHashSetCell);
5609 if (dart.notNull(core.identical(cell[_element], element))) return i; 5609 if (dart.notNull(core.identical(cell[_element], element))) return i;
5610 } 5610 }
5611 return -1; 5611 return -1;
5612 } 5612 }
5613 } 5613 }
5614 dart.setSignature(_LinkedIdentityHashSet, { 5614 dart.setSignature(_LinkedIdentityHashSet, {
5615 methods: () => ({[_newSet]: [core.Set$(E), []]}) 5615 methods: () => ({[_newSet]: [core.Set$(E), []]})
5616 }); 5616 });
5617 return _LinkedIdentityHashSet; 5617 return _LinkedIdentityHashSet;
5618 }); 5618 });
5619 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$(); 5619 const _LinkedIdentityHashSet = _LinkedIdentityHashSet$();
5620 const _LinkedCustomHashSet$ = dart.generic(function(E) { 5620 const _LinkedCustomHashSet$ = dart.generic(function(E) {
5621 class _LinkedCustomHashSet extends _LinkedHashSet$(E) { 5621 class _LinkedCustomHashSet extends _LinkedHashSet$(E) {
5622 _LinkedCustomHashSet(equality, hasher, validKey) { 5622 _LinkedCustomHashSet(equality, hasher, validKey) {
5623 this[_equality] = equality; 5623 this[_equality] = equality;
5624 this[_hasher] = hasher; 5624 this[_hasher] = hasher;
5625 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(x => dar t.is(x, E), core.bool, [core.Object]), _Predicate$(core.Object)); 5625 this[_validKey] = dart.as(validKey != null ? validKey : dart.fn(x => dar t.is(x, E), core.bool, [core.Object]), _Predicate$(core.Object));
5626 super._LinkedHashSet(); 5626 super._LinkedHashSet();
5627 } 5627 }
5628 [_newSet]() { 5628 [_newSet]() {
5629 return new (_LinkedCustomHashSet$(E))(this[_equality], this[_hasher], th is[_validKey]); 5629 return new (_LinkedCustomHashSet$(E))(this[_equality], this[_hasher], th is[_validKey]);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
5674 constructors: () => ({_LinkedCustomHashSet: [_LinkedCustomHashSet$(E), [_E quality$(E), _Hasher$(E), dart.functionType(core.bool, [core.Object])]]}), 5674 constructors: () => ({_LinkedCustomHashSet: [_LinkedCustomHashSet$(E), [_E quality$(E), _Hasher$(E), dart.functionType(core.bool, [core.Object])]]}),
5675 methods: () => ({ 5675 methods: () => ({
5676 [_newSet]: [core.Set$(E), []], 5676 [_newSet]: [core.Set$(E), []],
5677 add: [core.bool, [E]], 5677 add: [core.bool, [E]],
5678 lookup: [E, [core.Object]] 5678 lookup: [E, [core.Object]]
5679 }) 5679 })
5680 }); 5680 });
5681 dart.defineExtensionMembers(_LinkedCustomHashSet, ['contains']); 5681 dart.defineExtensionMembers(_LinkedCustomHashSet, ['contains']);
5682 return _LinkedCustomHashSet; 5682 return _LinkedCustomHashSet;
5683 }); 5683 });
5684 let _LinkedCustomHashSet = _LinkedCustomHashSet$(); 5684 const _LinkedCustomHashSet = _LinkedCustomHashSet$();
5685 class LinkedHashSetCell extends core.Object { 5685 class LinkedHashSetCell extends core.Object {
5686 LinkedHashSetCell(element) { 5686 LinkedHashSetCell(element) {
5687 this[_element] = element; 5687 this[_element] = element;
5688 this[_next] = null; 5688 this[_next] = null;
5689 this[_previous] = null; 5689 this[_previous] = null;
5690 } 5690 }
5691 } 5691 }
5692 dart.setSignature(LinkedHashSetCell, { 5692 dart.setSignature(LinkedHashSetCell, {
5693 constructors: () => ({LinkedHashSetCell: [LinkedHashSetCell, [dart.dynamic]] }) 5693 constructors: () => ({LinkedHashSetCell: [LinkedHashSetCell, [dart.dynamic]] })
5694 }); 5694 });
(...skipping 22 matching lines...) Expand all
5717 } 5717 }
5718 } 5718 }
5719 } 5719 }
5720 LinkedHashSetIterator[dart.implements] = () => [core.Iterator$(E)]; 5720 LinkedHashSetIterator[dart.implements] = () => [core.Iterator$(E)];
5721 dart.setSignature(LinkedHashSetIterator, { 5721 dart.setSignature(LinkedHashSetIterator, {
5722 constructors: () => ({LinkedHashSetIterator: [LinkedHashSetIterator$(E), [ dart.dynamic, core.int]]}), 5722 constructors: () => ({LinkedHashSetIterator: [LinkedHashSetIterator$(E), [ dart.dynamic, core.int]]}),
5723 methods: () => ({moveNext: [core.bool, []]}) 5723 methods: () => ({moveNext: [core.bool, []]})
5724 }); 5724 });
5725 return LinkedHashSetIterator; 5725 return LinkedHashSetIterator;
5726 }); 5726 });
5727 let LinkedHashSetIterator = LinkedHashSetIterator$(); 5727 const LinkedHashSetIterator = LinkedHashSetIterator$();
5728 // Exports: 5728 // Exports:
5729 exports.UnmodifiableListView$ = UnmodifiableListView$; 5729 exports.UnmodifiableListView$ = UnmodifiableListView$;
5730 exports.HashMap$ = HashMap$; 5730 exports.HashMap$ = HashMap$;
5731 exports.HashMap = HashMap; 5731 exports.HashMap = HashMap;
5732 exports.SetMixin$ = SetMixin$; 5732 exports.SetMixin$ = SetMixin$;
5733 exports.SetMixin = SetMixin; 5733 exports.SetMixin = SetMixin;
5734 exports.SetBase$ = SetBase$; 5734 exports.SetBase$ = SetBase$;
5735 exports.SetBase = SetBase; 5735 exports.SetBase = SetBase;
5736 exports.HashSet$ = HashSet$; 5736 exports.HashSet$ = HashSet$;
5737 exports.HashSet = HashSet; 5737 exports.HashSet = HashSet;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
5784 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; 5784 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$;
5785 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; 5785 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable;
5786 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; 5786 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$;
5787 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; 5787 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator;
5788 exports.HashSetIterator$ = HashSetIterator$; 5788 exports.HashSetIterator$ = HashSetIterator$;
5789 exports.HashSetIterator = HashSetIterator; 5789 exports.HashSetIterator = HashSetIterator;
5790 exports.LinkedHashSetCell = LinkedHashSetCell; 5790 exports.LinkedHashSetCell = LinkedHashSetCell;
5791 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; 5791 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
5792 exports.LinkedHashSetIterator = LinkedHashSetIterator; 5792 exports.LinkedHashSetIterator = LinkedHashSetIterator;
5793 }); 5793 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698