| OLD | NEW |
| 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; |
| 11 let _source = Symbol('_source'); | 11 const _source = Symbol('_source'); |
| 12 let UnmodifiableListView$ = dart.generic(function(E) { | 12 const UnmodifiableListView$ = dart.generic(function(E) { |
| 13 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { | 13 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { |
| 14 UnmodifiableListView(source) { | 14 UnmodifiableListView(source) { |
| 15 this[_source] = source; | 15 this[_source] = source; |
| 16 } | 16 } |
| 17 get length() { | 17 get length() { |
| 18 return this[_source][dartx.length]; | 18 return this[_source][dartx.length]; |
| 19 } | 19 } |
| 20 get(index) { | 20 get(index) { |
| 21 return this[_source][dartx.elementAt](index); | 21 return this[_source][dartx.elementAt](index); |
| 22 } | 22 } |
| 23 } | 23 } |
| 24 dart.setSignature(UnmodifiableListView, { | 24 dart.setSignature(UnmodifiableListView, { |
| 25 constructors: () => ({UnmodifiableListView: [exports.UnmodifiableListView$
(E), [core.Iterable$(E)]]}), | 25 constructors: () => ({UnmodifiableListView: [exports.UnmodifiableListView$
(E), [core.Iterable$(E)]]}), |
| 26 methods: () => ({get: [E, [core.int]]}) | 26 methods: () => ({get: [E, [core.int]]}) |
| 27 }); | 27 }); |
| 28 dart.defineExtensionMembers(UnmodifiableListView, ['get', 'length']); | 28 dart.defineExtensionMembers(UnmodifiableListView, ['get', 'length']); |
| 29 return UnmodifiableListView; | 29 return UnmodifiableListView; |
| 30 }); | 30 }); |
| 31 dart.defineLazyClassGeneric(exports, 'UnmodifiableListView', {get: Unmodifiabl
eListView$}); | 31 dart.defineLazyClassGeneric(exports, 'UnmodifiableListView', {get: Unmodifiabl
eListView$}); |
| 32 function _defaultEquals(a, b) { | 32 function _defaultEquals(a, b) { |
| 33 return dart.equals(a, b); | 33 return dart.equals(a, b); |
| 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 let _Equality$ = dart.generic(function(K) { | 40 const _Equality$ = dart.generic(function(K) { |
| 41 let _Equality = dart.typedef('_Equality', () => dart.functionType(core.bool,
[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 let _Equality = _Equality$(); |
| 45 let _Hasher$ = dart.generic(function(K) { | 45 const _Hasher$ = dart.generic(function(K) { |
| 46 let _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 let _Hasher = _Hasher$(); |
| 50 let 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))(); |
| 60 } | 60 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 let HashMap = HashMap$(); |
| 116 let 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; |
| 126 } | 126 } |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 'elementAt', | 436 'elementAt', |
| 437 'isEmpty', | 437 'isEmpty', |
| 438 'isNotEmpty', | 438 'isNotEmpty', |
| 439 'single', | 439 'single', |
| 440 'first', | 440 'first', |
| 441 'last' | 441 'last' |
| 442 ]); | 442 ]); |
| 443 return SetMixin; | 443 return SetMixin; |
| 444 }); | 444 }); |
| 445 let SetMixin = SetMixin$(); | 445 let SetMixin = SetMixin$(); |
| 446 let SetBase$ = dart.generic(function(E) { | 446 const SetBase$ = dart.generic(function(E) { |
| 447 class SetBase extends SetMixin$(E) { | 447 class SetBase extends SetMixin$(E) { |
| 448 static setToString(set) { | 448 static setToString(set) { |
| 449 return IterableBase.iterableToFullString(set, '{', '}'); | 449 return IterableBase.iterableToFullString(set, '{', '}'); |
| 450 } | 450 } |
| 451 } | 451 } |
| 452 dart.setSignature(SetBase, { | 452 dart.setSignature(SetBase, { |
| 453 statics: () => ({setToString: [core.String, [core.Set]]}), | 453 statics: () => ({setToString: [core.String, [core.Set]]}), |
| 454 names: ['setToString'] | 454 names: ['setToString'] |
| 455 }); | 455 }); |
| 456 return SetBase; | 456 return SetBase; |
| 457 }); | 457 }); |
| 458 let SetBase = SetBase$(); | 458 let SetBase = SetBase$(); |
| 459 let _newSet = Symbol('_newSet'); | 459 const _newSet = Symbol('_newSet'); |
| 460 let _HashSetBase$ = dart.generic(function(E) { | 460 const _HashSetBase$ = dart.generic(function(E) { |
| 461 class _HashSetBase extends SetBase$(E) { | 461 class _HashSetBase extends SetBase$(E) { |
| 462 difference(other) { | 462 difference(other) { |
| 463 let result = this[_newSet](); | 463 let result = this[_newSet](); |
| 464 for (let element of this) { | 464 for (let element of this) { |
| 465 if (!dart.notNull(other.contains(element))) | 465 if (!dart.notNull(other.contains(element))) |
| 466 result.add(element); | 466 result.add(element); |
| 467 } | 467 } |
| 468 return result; | 468 return result; |
| 469 } | 469 } |
| 470 intersection(other) { | 470 intersection(other) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 487 methods: () => ({ | 487 methods: () => ({ |
| 488 difference: [core.Set$(E), [core.Set$(core.Object)]], | 488 difference: [core.Set$(E), [core.Set$(core.Object)]], |
| 489 intersection: [core.Set$(E), [core.Set$(core.Object)]], | 489 intersection: [core.Set$(E), [core.Set$(core.Object)]], |
| 490 toSet: [core.Set$(E), []] | 490 toSet: [core.Set$(E), []] |
| 491 }) | 491 }) |
| 492 }); | 492 }); |
| 493 dart.defineExtensionMembers(_HashSetBase, ['toSet']); | 493 dart.defineExtensionMembers(_HashSetBase, ['toSet']); |
| 494 return _HashSetBase; | 494 return _HashSetBase; |
| 495 }); | 495 }); |
| 496 let _HashSetBase = _HashSetBase$(); | 496 let _HashSetBase = _HashSetBase$(); |
| 497 let HashSet$ = dart.generic(function(E) { | 497 const HashSet$ = dart.generic(function(E) { |
| 498 class HashSet extends core.Object { | 498 class HashSet extends core.Object { |
| 499 static new(opts) { | 499 static new(opts) { |
| 500 let equals = opts && 'equals' in opts ? opts.equals : null; | 500 let equals = opts && 'equals' in opts ? opts.equals : null; |
| 501 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; | 501 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; |
| 502 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; | 502 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; |
| 503 if (isValidKey == null) { | 503 if (isValidKey == null) { |
| 504 if (hashCode == null) { | 504 if (hashCode == null) { |
| 505 if (equals == null) { | 505 if (equals == null) { |
| 506 return new (_HashSet$(E))(); | 506 return new (_HashSet$(E))(); |
| 507 } | 507 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 dart.setSignature(HashSet, { | 541 dart.setSignature(HashSet, { |
| 542 constructors: () => ({ | 542 constructors: () => ({ |
| 543 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])}], | 543 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])}], |
| 544 identity: [HashSet$(E), []], | 544 identity: [HashSet$(E), []], |
| 545 from: [HashSet$(E), [core.Iterable]] | 545 from: [HashSet$(E), [core.Iterable]] |
| 546 }) | 546 }) |
| 547 }); | 547 }); |
| 548 return HashSet; | 548 return HashSet; |
| 549 }); | 549 }); |
| 550 let HashSet = HashSet$(); | 550 let HashSet = HashSet$(); |
| 551 let IterableMixin$ = dart.generic(function(E) { | 551 const IterableMixin$ = dart.generic(function(E) { |
| 552 class IterableMixin extends core.Object { | 552 class IterableMixin extends core.Object { |
| 553 map(f) { | 553 map(f) { |
| 554 dart.as(f, dart.functionType(dart.dynamic, [E])); | 554 dart.as(f, dart.functionType(dart.dynamic, [E])); |
| 555 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); | 555 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); |
| 556 } | 556 } |
| 557 where(f) { | 557 where(f) { |
| 558 dart.as(f, dart.functionType(core.bool, [E])); | 558 dart.as(f, dart.functionType(core.bool, [E])); |
| 559 return new (_internal.WhereIterable$(E))(this, f); | 559 return new (_internal.WhereIterable$(E))(this, f); |
| 560 } | 560 } |
| 561 expand(f) { | 561 expand(f) { |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 'length', | 807 'length', |
| 808 'isEmpty', | 808 'isEmpty', |
| 809 'isNotEmpty', | 809 'isNotEmpty', |
| 810 'first', | 810 'first', |
| 811 'last', | 811 'last', |
| 812 'single' | 812 'single' |
| 813 ]); | 813 ]); |
| 814 return IterableMixin; | 814 return IterableMixin; |
| 815 }); | 815 }); |
| 816 let IterableMixin = IterableMixin$(); | 816 let IterableMixin = IterableMixin$(); |
| 817 let IterableBase$ = dart.generic(function(E) { | 817 const IterableBase$ = dart.generic(function(E) { |
| 818 class IterableBase extends core.Object { | 818 class IterableBase extends core.Object { |
| 819 IterableBase() { | 819 IterableBase() { |
| 820 } | 820 } |
| 821 map(f) { | 821 map(f) { |
| 822 dart.as(f, dart.functionType(dart.dynamic, [E])); | 822 dart.as(f, dart.functionType(dart.dynamic, [E])); |
| 823 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); | 823 return _internal.MappedIterable$(E, dart.dynamic).new(this, f); |
| 824 } | 824 } |
| 825 where(f) { | 825 where(f) { |
| 826 dart.as(f, dart.functionType(core.bool, [E])); | 826 dart.as(f, dart.functionType(core.bool, [E])); |
| 827 return new (_internal.WhereIterable$(E))(this, f); | 827 return new (_internal.WhereIterable$(E))(this, f); |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 'single' | 1218 'single' |
| 1219 ]); | 1219 ]); |
| 1220 return IterableBase; | 1220 return IterableBase; |
| 1221 }); | 1221 }); |
| 1222 let IterableBase = IterableBase$(); | 1222 let IterableBase = IterableBase$(); |
| 1223 dart.defineLazyProperties(IterableBase, { | 1223 dart.defineLazyProperties(IterableBase, { |
| 1224 get _toStringVisiting() { | 1224 get _toStringVisiting() { |
| 1225 return []; | 1225 return []; |
| 1226 } | 1226 } |
| 1227 }); | 1227 }); |
| 1228 let _iterator = Symbol('_iterator'); | 1228 const _iterator = Symbol('_iterator'); |
| 1229 let _state = Symbol('_state'); | 1229 const _state = Symbol('_state'); |
| 1230 let _move = Symbol('_move'); | 1230 const _move = Symbol('_move'); |
| 1231 let HasNextIterator$ = dart.generic(function(E) { | 1231 const HasNextIterator$ = dart.generic(function(E) { |
| 1232 class HasNextIterator extends core.Object { | 1232 class HasNextIterator extends core.Object { |
| 1233 HasNextIterator(iterator) { | 1233 HasNextIterator(iterator) { |
| 1234 this[_iterator] = iterator; | 1234 this[_iterator] = iterator; |
| 1235 this[_state] = HasNextIterator$()._NOT_MOVED_YET; | 1235 this[_state] = HasNextIterator$()._NOT_MOVED_YET; |
| 1236 } | 1236 } |
| 1237 get hasNext() { | 1237 get hasNext() { |
| 1238 if (this[_state] == HasNextIterator$()._NOT_MOVED_YET) | 1238 if (this[_state] == HasNextIterator$()._NOT_MOVED_YET) |
| 1239 this[_move](); | 1239 this[_move](); |
| 1240 return this[_state] == HasNextIterator$()._HAS_NEXT_AND_NEXT_IN_CURRENT; | 1240 return this[_state] == HasNextIterator$()._HAS_NEXT_AND_NEXT_IN_CURRENT; |
| 1241 } | 1241 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1261 next: [E, []], | 1261 next: [E, []], |
| 1262 [_move]: [dart.void, []] | 1262 [_move]: [dart.void, []] |
| 1263 }) | 1263 }) |
| 1264 }); | 1264 }); |
| 1265 return HasNextIterator; | 1265 return HasNextIterator; |
| 1266 }); | 1266 }); |
| 1267 let HasNextIterator = HasNextIterator$(); | 1267 let HasNextIterator = HasNextIterator$(); |
| 1268 HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0; | 1268 HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0; |
| 1269 HasNextIterator._NO_NEXT = 1; | 1269 HasNextIterator._NO_NEXT = 1; |
| 1270 HasNextIterator._NOT_MOVED_YET = 2; | 1270 HasNextIterator._NOT_MOVED_YET = 2; |
| 1271 let LinkedHashMap$ = dart.generic(function(K, V) { | 1271 const LinkedHashMap$ = dart.generic(function(K, V) { |
| 1272 class LinkedHashMap extends core.Object { | 1272 class LinkedHashMap extends core.Object { |
| 1273 static new(opts) { | 1273 static new(opts) { |
| 1274 let equals = opts && 'equals' in opts ? opts.equals : null; | 1274 let equals = opts && 'equals' in opts ? opts.equals : null; |
| 1275 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; | 1275 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; |
| 1276 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; | 1276 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; |
| 1277 if (isValidKey == null) { | 1277 if (isValidKey == null) { |
| 1278 if (hashCode == null) { | 1278 if (hashCode == null) { |
| 1279 if (equals == null) { | 1279 if (equals == null) { |
| 1280 return new (_LinkedHashMap$(K, V))(); | 1280 return new (_LinkedHashMap$(K, V))(); |
| 1281 } | 1281 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 from: [LinkedHashMap$(K, V), [core.Map]], | 1335 from: [LinkedHashMap$(K, V), [core.Map]], |
| 1336 fromIterable: [LinkedHashMap$(K, V), [core.Iterable], {key: dart.functio
nType(K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}], | 1336 fromIterable: [LinkedHashMap$(K, V), [core.Iterable], {key: dart.functio
nType(K, [dart.dynamic]), value: dart.functionType(V, [dart.dynamic])}], |
| 1337 fromIterables: [LinkedHashMap$(K, V), [core.Iterable$(K), core.Iterable$
(V)]], | 1337 fromIterables: [LinkedHashMap$(K, V), [core.Iterable$(K), core.Iterable$
(V)]], |
| 1338 _literal: [LinkedHashMap$(K, V), [core.List]], | 1338 _literal: [LinkedHashMap$(K, V), [core.List]], |
| 1339 _empty: [LinkedHashMap$(K, V), []] | 1339 _empty: [LinkedHashMap$(K, V), []] |
| 1340 }) | 1340 }) |
| 1341 }); | 1341 }); |
| 1342 return LinkedHashMap; | 1342 return LinkedHashMap; |
| 1343 }); | 1343 }); |
| 1344 let LinkedHashMap = LinkedHashMap$(); | 1344 let LinkedHashMap = LinkedHashMap$(); |
| 1345 let LinkedHashSet$ = dart.generic(function(E) { | 1345 const LinkedHashSet$ = dart.generic(function(E) { |
| 1346 class LinkedHashSet extends core.Object { | 1346 class LinkedHashSet extends core.Object { |
| 1347 static new(opts) { | 1347 static new(opts) { |
| 1348 let equals = opts && 'equals' in opts ? opts.equals : null; | 1348 let equals = opts && 'equals' in opts ? opts.equals : null; |
| 1349 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; | 1349 let hashCode = opts && 'hashCode' in opts ? opts.hashCode : null; |
| 1350 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; | 1350 let isValidKey = opts && 'isValidKey' in opts ? opts.isValidKey : null; |
| 1351 if (isValidKey == null) { | 1351 if (isValidKey == null) { |
| 1352 if (hashCode == null) { | 1352 if (hashCode == null) { |
| 1353 if (equals == null) { | 1353 if (equals == null) { |
| 1354 return new (_LinkedHashSet$(E))(); | 1354 return new (_LinkedHashSet$(E))(); |
| 1355 } | 1355 } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1390 dart.setSignature(LinkedHashSet, { | 1390 dart.setSignature(LinkedHashSet, { |
| 1391 constructors: () => ({ | 1391 constructors: () => ({ |
| 1392 new: [LinkedHashSet$(E), [], {equals: dart.functionType(core.bool, [E, E
]), hashCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(co
re.bool, [core.Object])}], | 1392 new: [LinkedHashSet$(E), [], {equals: dart.functionType(core.bool, [E, E
]), hashCode: dart.functionType(core.int, [E]), isValidKey: dart.functionType(co
re.bool, [core.Object])}], |
| 1393 identity: [LinkedHashSet$(E), []], | 1393 identity: [LinkedHashSet$(E), []], |
| 1394 from: [LinkedHashSet$(E), [core.Iterable$(E)]] | 1394 from: [LinkedHashSet$(E), [core.Iterable$(E)]] |
| 1395 }) | 1395 }) |
| 1396 }); | 1396 }); |
| 1397 return LinkedHashSet; | 1397 return LinkedHashSet; |
| 1398 }); | 1398 }); |
| 1399 let LinkedHashSet = LinkedHashSet$(); | 1399 let LinkedHashSet = LinkedHashSet$(); |
| 1400 let _modificationCount = Symbol('_modificationCount'); | 1400 const _modificationCount = Symbol('_modificationCount'); |
| 1401 let _length = Symbol('_length'); | 1401 const _length = Symbol('_length'); |
| 1402 let _next = Symbol('_next'); | 1402 const _next = Symbol('_next'); |
| 1403 let _previous = Symbol('_previous'); | 1403 const _previous = Symbol('_previous'); |
| 1404 let _insertAfter = Symbol('_insertAfter'); | 1404 const _insertAfter = Symbol('_insertAfter'); |
| 1405 let _list = Symbol('_list'); | 1405 const _list = Symbol('_list'); |
| 1406 let _unlink = Symbol('_unlink'); | 1406 const _unlink = Symbol('_unlink'); |
| 1407 let LinkedList$ = dart.generic(function(E) { | 1407 const LinkedList$ = dart.generic(function(E) { |
| 1408 class LinkedList extends IterableBase$(E) { | 1408 class LinkedList extends IterableBase$(E) { |
| 1409 LinkedList() { | 1409 LinkedList() { |
| 1410 this[_modificationCount] = 0; | 1410 this[_modificationCount] = 0; |
| 1411 this[_length] = 0; | 1411 this[_length] = 0; |
| 1412 this[_next] = null; | 1412 this[_next] = null; |
| 1413 this[_previous] = null; | 1413 this[_previous] = null; |
| 1414 super.IterableBase(); | 1414 super.IterableBase(); |
| 1415 this[_next] = this[_previous] = this; | 1415 this[_next] = this[_previous] = this; |
| 1416 } | 1416 } |
| 1417 addFirst(entry) { | 1417 addFirst(entry) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 'iterator', | 1529 'iterator', |
| 1530 'length', | 1530 'length', |
| 1531 'first', | 1531 'first', |
| 1532 'last', | 1532 'last', |
| 1533 'single', | 1533 'single', |
| 1534 'isEmpty' | 1534 'isEmpty' |
| 1535 ]); | 1535 ]); |
| 1536 return LinkedList; | 1536 return LinkedList; |
| 1537 }); | 1537 }); |
| 1538 let LinkedList = LinkedList$(); | 1538 let LinkedList = LinkedList$(); |
| 1539 let _current = Symbol('_current'); | 1539 const _current = Symbol('_current'); |
| 1540 let _LinkedListIterator$ = dart.generic(function(E) { | 1540 const _LinkedListIterator$ = dart.generic(function(E) { |
| 1541 class _LinkedListIterator extends core.Object { | 1541 class _LinkedListIterator extends core.Object { |
| 1542 _LinkedListIterator(list) { | 1542 _LinkedListIterator(list) { |
| 1543 this[_list] = list; | 1543 this[_list] = list; |
| 1544 this[_modificationCount] = list[_modificationCount]; | 1544 this[_modificationCount] = list[_modificationCount]; |
| 1545 this[_next] = list[_next]; | 1545 this[_next] = list[_next]; |
| 1546 this[_current] = null; | 1546 this[_current] = null; |
| 1547 } | 1547 } |
| 1548 get current() { | 1548 get current() { |
| 1549 return this[_current]; | 1549 return this[_current]; |
| 1550 } | 1550 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1568 }); | 1568 }); |
| 1569 return _LinkedListIterator; | 1569 return _LinkedListIterator; |
| 1570 }); | 1570 }); |
| 1571 let _LinkedListIterator = _LinkedListIterator$(); | 1571 let _LinkedListIterator = _LinkedListIterator$(); |
| 1572 class _LinkedListLink extends core.Object { | 1572 class _LinkedListLink extends core.Object { |
| 1573 _LinkedListLink() { | 1573 _LinkedListLink() { |
| 1574 this[_next] = null; | 1574 this[_next] = null; |
| 1575 this[_previous] = null; | 1575 this[_previous] = null; |
| 1576 } | 1576 } |
| 1577 } | 1577 } |
| 1578 let LinkedListEntry$ = dart.generic(function(E) { | 1578 const LinkedListEntry$ = dart.generic(function(E) { |
| 1579 class LinkedListEntry extends core.Object { | 1579 class LinkedListEntry extends core.Object { |
| 1580 LinkedListEntry() { | 1580 LinkedListEntry() { |
| 1581 this[_list] = null; | 1581 this[_list] = null; |
| 1582 this[_next] = null; | 1582 this[_next] = null; |
| 1583 this[_previous] = null; | 1583 this[_previous] = null; |
| 1584 } | 1584 } |
| 1585 get list() { | 1585 get list() { |
| 1586 return this[_list]; | 1586 return this[_list]; |
| 1587 } | 1587 } |
| 1588 unlink() { | 1588 unlink() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 1612 dart.setSignature(LinkedListEntry, { | 1612 dart.setSignature(LinkedListEntry, { |
| 1613 methods: () => ({ | 1613 methods: () => ({ |
| 1614 unlink: [dart.void, []], | 1614 unlink: [dart.void, []], |
| 1615 insertAfter: [dart.void, [E]], | 1615 insertAfter: [dart.void, [E]], |
| 1616 insertBefore: [dart.void, [E]] | 1616 insertBefore: [dart.void, [E]] |
| 1617 }) | 1617 }) |
| 1618 }); | 1618 }); |
| 1619 return LinkedListEntry; | 1619 return LinkedListEntry; |
| 1620 }); | 1620 }); |
| 1621 let LinkedListEntry = LinkedListEntry$(); | 1621 let LinkedListEntry = LinkedListEntry$(); |
| 1622 let ListMixin$ = dart.generic(function(E) { | 1622 const ListMixin$ = dart.generic(function(E) { |
| 1623 class ListMixin extends core.Object { | 1623 class ListMixin extends core.Object { |
| 1624 get iterator() { | 1624 get iterator() { |
| 1625 return new (_internal.ListIterator$(E))(this); | 1625 return new (_internal.ListIterator$(E))(this); |
| 1626 } | 1626 } |
| 1627 [Symbol.iterator]() { | 1627 [Symbol.iterator]() { |
| 1628 return new dart.JsIterator(this.iterator); | 1628 return new dart.JsIterator(this.iterator); |
| 1629 } | 1629 } |
| 1630 elementAt(index) { | 1630 elementAt(index) { |
| 1631 return this.get(index); | 1631 return this.get(index); |
| 1632 } | 1632 } |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2198 'isEmpty', | 2198 'isEmpty', |
| 2199 'isNotEmpty', | 2199 'isNotEmpty', |
| 2200 'first', | 2200 'first', |
| 2201 'last', | 2201 'last', |
| 2202 'single', | 2202 'single', |
| 2203 'reversed' | 2203 'reversed' |
| 2204 ]); | 2204 ]); |
| 2205 return ListMixin; | 2205 return ListMixin; |
| 2206 }); | 2206 }); |
| 2207 let ListMixin = ListMixin$(); | 2207 let ListMixin = ListMixin$(); |
| 2208 let ListBase$ = dart.generic(function(E) { | 2208 const ListBase$ = dart.generic(function(E) { |
| 2209 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) { | 2209 class ListBase extends dart.mixin(core.Object, ListMixin$(E)) { |
| 2210 static listToString(list) { | 2210 static listToString(list) { |
| 2211 return IterableBase.iterableToFullString(list, '[', ']'); | 2211 return IterableBase.iterableToFullString(list, '[', ']'); |
| 2212 } | 2212 } |
| 2213 } | 2213 } |
| 2214 dart.setSignature(ListBase, { | 2214 dart.setSignature(ListBase, { |
| 2215 statics: () => ({listToString: [core.String, [core.List]]}), | 2215 statics: () => ({listToString: [core.String, [core.List]]}), |
| 2216 names: ['listToString'] | 2216 names: ['listToString'] |
| 2217 }); | 2217 }); |
| 2218 return ListBase; | 2218 return ListBase; |
| 2219 }); | 2219 }); |
| 2220 let ListBase = ListBase$(); | 2220 let ListBase = ListBase$(); |
| 2221 let MapMixin$ = dart.generic(function(K, V) { | 2221 const MapMixin$ = dart.generic(function(K, V) { |
| 2222 class MapMixin extends core.Object { | 2222 class MapMixin extends core.Object { |
| 2223 forEach(action) { | 2223 forEach(action) { |
| 2224 dart.as(action, dart.functionType(dart.void, [K, V])); | 2224 dart.as(action, dart.functionType(dart.void, [K, V])); |
| 2225 for (let key of this.keys) { | 2225 for (let key of this.keys) { |
| 2226 action(key, this.get(key)); | 2226 action(key, this.get(key)); |
| 2227 } | 2227 } |
| 2228 } | 2228 } |
| 2229 addAll(other) { | 2229 addAll(other) { |
| 2230 dart.as(other, core.Map$(K, V)); | 2230 dart.as(other, core.Map$(K, V)); |
| 2231 for (let key of other.keys) { | 2231 for (let key of other.keys) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2272 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], | 2272 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], |
| 2273 addAll: [dart.void, [core.Map$(K, V)]], | 2273 addAll: [dart.void, [core.Map$(K, V)]], |
| 2274 containsValue: [core.bool, [core.Object]], | 2274 containsValue: [core.bool, [core.Object]], |
| 2275 putIfAbsent: [V, [K, dart.functionType(V, [])]], | 2275 putIfAbsent: [V, [K, dart.functionType(V, [])]], |
| 2276 containsKey: [core.bool, [core.Object]] | 2276 containsKey: [core.bool, [core.Object]] |
| 2277 }) | 2277 }) |
| 2278 }); | 2278 }); |
| 2279 return MapMixin; | 2279 return MapMixin; |
| 2280 }); | 2280 }); |
| 2281 let MapMixin = MapMixin$(); | 2281 let MapMixin = MapMixin$(); |
| 2282 let MapBase$ = dart.generic(function(K, V) { | 2282 const MapBase$ = dart.generic(function(K, V) { |
| 2283 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} | 2283 class MapBase extends dart.mixin(core.Object, MapMixin$(K, V)) {} |
| 2284 return MapBase; | 2284 return MapBase; |
| 2285 }); | 2285 }); |
| 2286 let MapBase = MapBase$(); | 2286 let MapBase = MapBase$(); |
| 2287 let _UnmodifiableMapMixin$ = dart.generic(function(K, V) { | 2287 const _UnmodifiableMapMixin$ = dart.generic(function(K, V) { |
| 2288 class _UnmodifiableMapMixin extends core.Object { | 2288 class _UnmodifiableMapMixin extends core.Object { |
| 2289 set(key, value) { | 2289 set(key, value) { |
| 2290 dart.as(key, K); | 2290 dart.as(key, K); |
| 2291 dart.as(value, V); | 2291 dart.as(value, V); |
| 2292 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map")); | 2292 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map")); |
| 2293 return value; | 2293 return value; |
| 2294 } | 2294 } |
| 2295 addAll(other) { | 2295 addAll(other) { |
| 2296 dart.as(other, core.Map$(K, V)); | 2296 dart.as(other, core.Map$(K, V)); |
| 2297 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map")); | 2297 dart.throw(new core.UnsupportedError("Cannot modify unmodifiable map")); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 2314 set: [dart.void, [K, V]], | 2314 set: [dart.void, [K, V]], |
| 2315 addAll: [dart.void, [core.Map$(K, V)]], | 2315 addAll: [dart.void, [core.Map$(K, V)]], |
| 2316 clear: [dart.void, []], | 2316 clear: [dart.void, []], |
| 2317 remove: [V, [core.Object]], | 2317 remove: [V, [core.Object]], |
| 2318 putIfAbsent: [V, [K, dart.functionType(V, [])]] | 2318 putIfAbsent: [V, [K, dart.functionType(V, [])]] |
| 2319 }) | 2319 }) |
| 2320 }); | 2320 }); |
| 2321 return _UnmodifiableMapMixin; | 2321 return _UnmodifiableMapMixin; |
| 2322 }); | 2322 }); |
| 2323 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); | 2323 let _UnmodifiableMapMixin = _UnmodifiableMapMixin$(); |
| 2324 let UnmodifiableMapBase$ = dart.generic(function(K, V) { | 2324 const UnmodifiableMapBase$ = dart.generic(function(K, V) { |
| 2325 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa
pMixin$(K, V)) { | 2325 class UnmodifiableMapBase extends dart.mixin(MapBase$(K, V), _UnmodifiableMa
pMixin$(K, V)) { |
| 2326 UnmodifiableMapBase() { | 2326 UnmodifiableMapBase() { |
| 2327 super.MapBase(...arguments); | 2327 super.MapBase(...arguments); |
| 2328 } | 2328 } |
| 2329 } | 2329 } |
| 2330 return UnmodifiableMapBase; | 2330 return UnmodifiableMapBase; |
| 2331 }); | 2331 }); |
| 2332 let UnmodifiableMapBase = UnmodifiableMapBase$(); | 2332 let UnmodifiableMapBase = UnmodifiableMapBase$(); |
| 2333 let _map = Symbol('_map'); | 2333 const _map = Symbol('_map'); |
| 2334 let _MapBaseValueIterable$ = dart.generic(function(V) { | 2334 const _MapBaseValueIterable$ = dart.generic(function(V) { |
| 2335 class _MapBaseValueIterable extends IterableBase$(V) { | 2335 class _MapBaseValueIterable extends IterableBase$(V) { |
| 2336 _MapBaseValueIterable(map) { | 2336 _MapBaseValueIterable(map) { |
| 2337 this[_map] = map; | 2337 this[_map] = map; |
| 2338 super.IterableBase(); | 2338 super.IterableBase(); |
| 2339 } | 2339 } |
| 2340 get length() { | 2340 get length() { |
| 2341 return this[_map].length; | 2341 return this[_map].length; |
| 2342 } | 2342 } |
| 2343 get isEmpty() { | 2343 get isEmpty() { |
| 2344 return this[_map].isEmpty; | 2344 return this[_map].isEmpty; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 2368 'isEmpty', | 2368 'isEmpty', |
| 2369 'isNotEmpty', | 2369 'isNotEmpty', |
| 2370 'first', | 2370 'first', |
| 2371 'single', | 2371 'single', |
| 2372 'last', | 2372 'last', |
| 2373 'iterator' | 2373 'iterator' |
| 2374 ]); | 2374 ]); |
| 2375 return _MapBaseValueIterable; | 2375 return _MapBaseValueIterable; |
| 2376 }); | 2376 }); |
| 2377 let _MapBaseValueIterable = _MapBaseValueIterable$(); | 2377 let _MapBaseValueIterable = _MapBaseValueIterable$(); |
| 2378 let _keys = Symbol('_keys'); | 2378 const _keys = Symbol('_keys'); |
| 2379 let _MapBaseValueIterator$ = dart.generic(function(V) { | 2379 const _MapBaseValueIterator$ = dart.generic(function(V) { |
| 2380 class _MapBaseValueIterator extends core.Object { | 2380 class _MapBaseValueIterator extends core.Object { |
| 2381 _MapBaseValueIterator(map) { | 2381 _MapBaseValueIterator(map) { |
| 2382 this[_map] = map; | 2382 this[_map] = map; |
| 2383 this[_keys] = map.keys[dartx.iterator]; | 2383 this[_keys] = map.keys[dartx.iterator]; |
| 2384 this[_current] = null; | 2384 this[_current] = null; |
| 2385 } | 2385 } |
| 2386 moveNext() { | 2386 moveNext() { |
| 2387 if (dart.notNull(this[_keys].moveNext())) { | 2387 if (dart.notNull(this[_keys].moveNext())) { |
| 2388 this[_current] = dart.as(this[_map].get(this[_keys].current), V); | 2388 this[_current] = dart.as(this[_map].get(this[_keys].current), V); |
| 2389 return true; | 2389 return true; |
| 2390 } | 2390 } |
| 2391 this[_current] = null; | 2391 this[_current] = null; |
| 2392 return false; | 2392 return false; |
| 2393 } | 2393 } |
| 2394 get current() { | 2394 get current() { |
| 2395 return this[_current]; | 2395 return this[_current]; |
| 2396 } | 2396 } |
| 2397 } | 2397 } |
| 2398 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; | 2398 _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; |
| 2399 dart.setSignature(_MapBaseValueIterator, { | 2399 dart.setSignature(_MapBaseValueIterator, { |
| 2400 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [
core.Map]]}), | 2400 constructors: () => ({_MapBaseValueIterator: [_MapBaseValueIterator$(V), [
core.Map]]}), |
| 2401 methods: () => ({moveNext: [core.bool, []]}) | 2401 methods: () => ({moveNext: [core.bool, []]}) |
| 2402 }); | 2402 }); |
| 2403 return _MapBaseValueIterator; | 2403 return _MapBaseValueIterator; |
| 2404 }); | 2404 }); |
| 2405 let _MapBaseValueIterator = _MapBaseValueIterator$(); | 2405 let _MapBaseValueIterator = _MapBaseValueIterator$(); |
| 2406 let MapView$ = dart.generic(function(K, V) { | 2406 const MapView$ = dart.generic(function(K, V) { |
| 2407 class MapView extends core.Object { | 2407 class MapView extends core.Object { |
| 2408 MapView(map) { | 2408 MapView(map) { |
| 2409 this[_map] = map; | 2409 this[_map] = map; |
| 2410 } | 2410 } |
| 2411 get(key) { | 2411 get(key) { |
| 2412 return this[_map].get(key); | 2412 return this[_map].get(key); |
| 2413 } | 2413 } |
| 2414 set(key, value) { | 2414 set(key, value) { |
| 2415 dart.as(key, K); | 2415 dart.as(key, K); |
| 2416 dart.as(value, V); | 2416 dart.as(value, V); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2472 putIfAbsent: [V, [K, dart.functionType(V, [])]], | 2472 putIfAbsent: [V, [K, dart.functionType(V, [])]], |
| 2473 containsKey: [core.bool, [core.Object]], | 2473 containsKey: [core.bool, [core.Object]], |
| 2474 containsValue: [core.bool, [core.Object]], | 2474 containsValue: [core.bool, [core.Object]], |
| 2475 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], | 2475 forEach: [dart.void, [dart.functionType(dart.void, [K, V])]], |
| 2476 remove: [V, [core.Object]] | 2476 remove: [V, [core.Object]] |
| 2477 }) | 2477 }) |
| 2478 }); | 2478 }); |
| 2479 return MapView; | 2479 return MapView; |
| 2480 }); | 2480 }); |
| 2481 let MapView = MapView$(); | 2481 let MapView = MapView$(); |
| 2482 let UnmodifiableMapView$ = dart.generic(function(K, V) { | 2482 const UnmodifiableMapView$ = dart.generic(function(K, V) { |
| 2483 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa
pMixin$(K, V)) { | 2483 class UnmodifiableMapView extends dart.mixin(MapView$(K, V), _UnmodifiableMa
pMixin$(K, V)) { |
| 2484 UnmodifiableMapView() { | 2484 UnmodifiableMapView() { |
| 2485 super.MapView(...arguments); | 2485 super.MapView(...arguments); |
| 2486 } | 2486 } |
| 2487 } | 2487 } |
| 2488 return UnmodifiableMapView; | 2488 return UnmodifiableMapView; |
| 2489 }); | 2489 }); |
| 2490 let UnmodifiableMapView = UnmodifiableMapView$(); | 2490 let UnmodifiableMapView = UnmodifiableMapView$(); |
| 2491 class Maps extends core.Object { | 2491 class Maps extends core.Object { |
| 2492 static containsValue(map, value) { | 2492 static containsValue(map, value) { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2598 length: [core.int, [core.Map]], | 2598 length: [core.int, [core.Map]], |
| 2599 isEmpty: [core.bool, [core.Map]], | 2599 isEmpty: [core.bool, [core.Map]], |
| 2600 isNotEmpty: [core.bool, [core.Map]], | 2600 isNotEmpty: [core.bool, [core.Map]], |
| 2601 mapToString: [core.String, [core.Map]], | 2601 mapToString: [core.String, [core.Map]], |
| 2602 _id: [dart.dynamic, [dart.dynamic]], | 2602 _id: [dart.dynamic, [dart.dynamic]], |
| 2603 _fillMapWithMappedIterable: [dart.void, [core.Map, core.Iterable, dart.fun
ctionType(dart.dynamic, [dart.dynamic]), dart.functionType(dart.dynamic, [dart.d
ynamic])]], | 2603 _fillMapWithMappedIterable: [dart.void, [core.Map, core.Iterable, dart.fun
ctionType(dart.dynamic, [dart.dynamic]), dart.functionType(dart.dynamic, [dart.d
ynamic])]], |
| 2604 _fillMapWithIterables: [dart.void, [core.Map, core.Iterable, core.Iterable
]] | 2604 _fillMapWithIterables: [dart.void, [core.Map, core.Iterable, core.Iterable
]] |
| 2605 }), | 2605 }), |
| 2606 names: ['containsValue', 'containsKey', 'putIfAbsent', 'clear', 'forEach', '
getValues', 'length', 'isEmpty', 'isNotEmpty', 'mapToString', '_id', '_fillMapWi
thMappedIterable', '_fillMapWithIterables'] | 2606 names: ['containsValue', 'containsKey', 'putIfAbsent', 'clear', 'forEach', '
getValues', 'length', 'isEmpty', 'isNotEmpty', 'mapToString', '_id', '_fillMapWi
thMappedIterable', '_fillMapWithIterables'] |
| 2607 }); | 2607 }); |
| 2608 let Queue$ = dart.generic(function(E) { | 2608 const Queue$ = dart.generic(function(E) { |
| 2609 class Queue extends core.Object { | 2609 class Queue extends core.Object { |
| 2610 static new() { | 2610 static new() { |
| 2611 return new (ListQueue$(E))(); | 2611 return new (ListQueue$(E))(); |
| 2612 } | 2612 } |
| 2613 static from(elements) { | 2613 static from(elements) { |
| 2614 return ListQueue$(E).from(elements); | 2614 return ListQueue$(E).from(elements); |
| 2615 } | 2615 } |
| 2616 [Symbol.iterator]() { | 2616 [Symbol.iterator]() { |
| 2617 return new dart.JsIterator(this.iterator); | 2617 return new dart.JsIterator(this.iterator); |
| 2618 } | 2618 } |
| 2619 } | 2619 } |
| 2620 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength
]; | 2620 Queue[dart.implements] = () => [core.Iterable$(E), _internal.EfficientLength
]; |
| 2621 dart.setSignature(Queue, { | 2621 dart.setSignature(Queue, { |
| 2622 constructors: () => ({ | 2622 constructors: () => ({ |
| 2623 new: [Queue$(E), []], | 2623 new: [Queue$(E), []], |
| 2624 from: [Queue$(E), [core.Iterable]] | 2624 from: [Queue$(E), [core.Iterable]] |
| 2625 }) | 2625 }) |
| 2626 }); | 2626 }); |
| 2627 return Queue; | 2627 return Queue; |
| 2628 }); | 2628 }); |
| 2629 let Queue = Queue$(); | 2629 let Queue = Queue$(); |
| 2630 let _element = Symbol('_element'); | 2630 const _element = Symbol('_element'); |
| 2631 let _link = Symbol('_link'); | 2631 const _link = Symbol('_link'); |
| 2632 let _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); | 2632 const _asNonSentinelEntry = Symbol('_asNonSentinelEntry'); |
| 2633 let DoubleLinkedQueueEntry$ = dart.generic(function(E) { | 2633 const DoubleLinkedQueueEntry$ = dart.generic(function(E) { |
| 2634 class DoubleLinkedQueueEntry extends core.Object { | 2634 class DoubleLinkedQueueEntry extends core.Object { |
| 2635 DoubleLinkedQueueEntry(e) { | 2635 DoubleLinkedQueueEntry(e) { |
| 2636 this[_element] = e; | 2636 this[_element] = e; |
| 2637 this[_previous] = null; | 2637 this[_previous] = null; |
| 2638 this[_next] = null; | 2638 this[_next] = null; |
| 2639 } | 2639 } |
| 2640 [_link](previous, next) { | 2640 [_link](previous, next) { |
| 2641 dart.as(previous, DoubleLinkedQueueEntry$(E)); | 2641 dart.as(previous, DoubleLinkedQueueEntry$(E)); |
| 2642 dart.as(next, DoubleLinkedQueueEntry$(E)); | 2642 dart.as(next, DoubleLinkedQueueEntry$(E)); |
| 2643 this[_next] = next; | 2643 this[_next] = next; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2685 prepend: [dart.void, [E]], | 2685 prepend: [dart.void, [E]], |
| 2686 remove: [E, []], | 2686 remove: [E, []], |
| 2687 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []], | 2687 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []], |
| 2688 previousEntry: [DoubleLinkedQueueEntry$(E), []], | 2688 previousEntry: [DoubleLinkedQueueEntry$(E), []], |
| 2689 nextEntry: [DoubleLinkedQueueEntry$(E), []] | 2689 nextEntry: [DoubleLinkedQueueEntry$(E), []] |
| 2690 }) | 2690 }) |
| 2691 }); | 2691 }); |
| 2692 return DoubleLinkedQueueEntry; | 2692 return DoubleLinkedQueueEntry; |
| 2693 }); | 2693 }); |
| 2694 let DoubleLinkedQueueEntry = DoubleLinkedQueueEntry$(); | 2694 let DoubleLinkedQueueEntry = DoubleLinkedQueueEntry$(); |
| 2695 let _DoubleLinkedQueueEntrySentinel$ = dart.generic(function(E) { | 2695 const _DoubleLinkedQueueEntrySentinel$ = dart.generic(function(E) { |
| 2696 class _DoubleLinkedQueueEntrySentinel extends DoubleLinkedQueueEntry$(E) { | 2696 class _DoubleLinkedQueueEntrySentinel extends DoubleLinkedQueueEntry$(E) { |
| 2697 _DoubleLinkedQueueEntrySentinel() { | 2697 _DoubleLinkedQueueEntrySentinel() { |
| 2698 super.DoubleLinkedQueueEntry(null); | 2698 super.DoubleLinkedQueueEntry(null); |
| 2699 this[_link](this, this); | 2699 this[_link](this, this); |
| 2700 } | 2700 } |
| 2701 remove() { | 2701 remove() { |
| 2702 dart.throw(_internal.IterableElementError.noElement()); | 2702 dart.throw(_internal.IterableElementError.noElement()); |
| 2703 } | 2703 } |
| 2704 [_asNonSentinelEntry]() { | 2704 [_asNonSentinelEntry]() { |
| 2705 return null; | 2705 return null; |
| 2706 } | 2706 } |
| 2707 set element(e) { | 2707 set element(e) { |
| 2708 dart.as(e, E); | 2708 dart.as(e, E); |
| 2709 dart.assert(false); | 2709 dart.assert(false); |
| 2710 } | 2710 } |
| 2711 get element() { | 2711 get element() { |
| 2712 dart.throw(_internal.IterableElementError.noElement()); | 2712 dart.throw(_internal.IterableElementError.noElement()); |
| 2713 } | 2713 } |
| 2714 } | 2714 } |
| 2715 dart.setSignature(_DoubleLinkedQueueEntrySentinel, { | 2715 dart.setSignature(_DoubleLinkedQueueEntrySentinel, { |
| 2716 constructors: () => ({_DoubleLinkedQueueEntrySentinel: [_DoubleLinkedQueue
EntrySentinel$(E), []]}), | 2716 constructors: () => ({_DoubleLinkedQueueEntrySentinel: [_DoubleLinkedQueue
EntrySentinel$(E), []]}), |
| 2717 methods: () => ({ | 2717 methods: () => ({ |
| 2718 remove: [E, []], | 2718 remove: [E, []], |
| 2719 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []] | 2719 [_asNonSentinelEntry]: [DoubleLinkedQueueEntry$(E), []] |
| 2720 }) | 2720 }) |
| 2721 }); | 2721 }); |
| 2722 return _DoubleLinkedQueueEntrySentinel; | 2722 return _DoubleLinkedQueueEntrySentinel; |
| 2723 }); | 2723 }); |
| 2724 let _DoubleLinkedQueueEntrySentinel = _DoubleLinkedQueueEntrySentinel$(); | 2724 let _DoubleLinkedQueueEntrySentinel = _DoubleLinkedQueueEntrySentinel$(); |
| 2725 let _sentinel = Symbol('_sentinel'); | 2725 const _sentinel = Symbol('_sentinel'); |
| 2726 let _elementCount = Symbol('_elementCount'); | 2726 const _elementCount = Symbol('_elementCount'); |
| 2727 let _filter = Symbol('_filter'); | 2727 const _filter = Symbol('_filter'); |
| 2728 let DoubleLinkedQueue$ = dart.generic(function(E) { | 2728 const DoubleLinkedQueue$ = dart.generic(function(E) { |
| 2729 class DoubleLinkedQueue extends IterableBase$(E) { | 2729 class DoubleLinkedQueue extends IterableBase$(E) { |
| 2730 DoubleLinkedQueue() { | 2730 DoubleLinkedQueue() { |
| 2731 this[_sentinel] = null; | 2731 this[_sentinel] = null; |
| 2732 this[_elementCount] = 0; | 2732 this[_elementCount] = 0; |
| 2733 super.IterableBase(); | 2733 super.IterableBase(); |
| 2734 this[_sentinel] = new (_DoubleLinkedQueueEntrySentinel$(E))(); | 2734 this[_sentinel] = new (_DoubleLinkedQueueEntrySentinel$(E))(); |
| 2735 } | 2735 } |
| 2736 static from(elements) { | 2736 static from(elements) { |
| 2737 let list = new (DoubleLinkedQueue$(E))(); | 2737 let list = new (DoubleLinkedQueue$(E))(); |
| 2738 for (let e of dart.as(elements, core.Iterable$(E))) { | 2738 for (let e of dart.as(elements, core.Iterable$(E))) { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2876 'length', | 2876 'length', |
| 2877 'first', | 2877 'first', |
| 2878 'last', | 2878 'last', |
| 2879 'single', | 2879 'single', |
| 2880 'isEmpty', | 2880 'isEmpty', |
| 2881 'iterator' | 2881 'iterator' |
| 2882 ]); | 2882 ]); |
| 2883 return DoubleLinkedQueue; | 2883 return DoubleLinkedQueue; |
| 2884 }); | 2884 }); |
| 2885 let DoubleLinkedQueue = DoubleLinkedQueue$(); | 2885 let DoubleLinkedQueue = DoubleLinkedQueue$(); |
| 2886 let _nextEntry = Symbol('_nextEntry'); | 2886 const _nextEntry = Symbol('_nextEntry'); |
| 2887 let _DoubleLinkedQueueIterator$ = dart.generic(function(E) { | 2887 const _DoubleLinkedQueueIterator$ = dart.generic(function(E) { |
| 2888 class _DoubleLinkedQueueIterator extends core.Object { | 2888 class _DoubleLinkedQueueIterator extends core.Object { |
| 2889 _DoubleLinkedQueueIterator(sentinel) { | 2889 _DoubleLinkedQueueIterator(sentinel) { |
| 2890 this[_sentinel] = sentinel; | 2890 this[_sentinel] = sentinel; |
| 2891 this[_nextEntry] = sentinel[_next]; | 2891 this[_nextEntry] = sentinel[_next]; |
| 2892 this[_current] = null; | 2892 this[_current] = null; |
| 2893 } | 2893 } |
| 2894 moveNext() { | 2894 moveNext() { |
| 2895 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) { | 2895 if (!dart.notNull(core.identical(this[_nextEntry], this[_sentinel]))) { |
| 2896 this[_current] = this[_nextEntry][_element]; | 2896 this[_current] = this[_nextEntry][_element]; |
| 2897 this[_nextEntry] = this[_nextEntry][_next]; | 2897 this[_nextEntry] = this[_nextEntry][_next]; |
| 2898 return true; | 2898 return true; |
| 2899 } | 2899 } |
| 2900 this[_current] = null; | 2900 this[_current] = null; |
| 2901 this[_nextEntry] = this[_sentinel] = null; | 2901 this[_nextEntry] = this[_sentinel] = null; |
| 2902 return false; | 2902 return false; |
| 2903 } | 2903 } |
| 2904 get current() { | 2904 get current() { |
| 2905 return this[_current]; | 2905 return this[_current]; |
| 2906 } | 2906 } |
| 2907 } | 2907 } |
| 2908 _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; | 2908 _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 2909 dart.setSignature(_DoubleLinkedQueueIterator, { | 2909 dart.setSignature(_DoubleLinkedQueueIterator, { |
| 2910 constructors: () => ({_DoubleLinkedQueueIterator: [_DoubleLinkedQueueItera
tor$(E), [_DoubleLinkedQueueEntrySentinel$(E)]]}), | 2910 constructors: () => ({_DoubleLinkedQueueIterator: [_DoubleLinkedQueueItera
tor$(E), [_DoubleLinkedQueueEntrySentinel$(E)]]}), |
| 2911 methods: () => ({moveNext: [core.bool, []]}) | 2911 methods: () => ({moveNext: [core.bool, []]}) |
| 2912 }); | 2912 }); |
| 2913 return _DoubleLinkedQueueIterator; | 2913 return _DoubleLinkedQueueIterator; |
| 2914 }); | 2914 }); |
| 2915 let _DoubleLinkedQueueIterator = _DoubleLinkedQueueIterator$(); | 2915 let _DoubleLinkedQueueIterator = _DoubleLinkedQueueIterator$(); |
| 2916 let _head = Symbol('_head'); | 2916 const _head = Symbol('_head'); |
| 2917 let _tail = Symbol('_tail'); | 2917 const _tail = Symbol('_tail'); |
| 2918 let _table = Symbol('_table'); | 2918 const _table = Symbol('_table'); |
| 2919 let _checkModification = Symbol('_checkModification'); | 2919 const _checkModification = Symbol('_checkModification'); |
| 2920 let _writeToList = Symbol('_writeToList'); | 2920 const _writeToList = Symbol('_writeToList'); |
| 2921 let _add = Symbol('_add'); | 2921 const _add = Symbol('_add'); |
| 2922 let _preGrow = Symbol('_preGrow'); | 2922 const _preGrow = Symbol('_preGrow'); |
| 2923 let _remove = Symbol('_remove'); | 2923 const _remove = Symbol('_remove'); |
| 2924 let _filterWhere = Symbol('_filterWhere'); | 2924 const _filterWhere = Symbol('_filterWhere'); |
| 2925 let _grow = Symbol('_grow'); | 2925 const _grow = Symbol('_grow'); |
| 2926 let ListQueue$ = dart.generic(function(E) { | 2926 const ListQueue$ = dart.generic(function(E) { |
| 2927 class ListQueue extends IterableBase$(E) { | 2927 class ListQueue extends IterableBase$(E) { |
| 2928 ListQueue(initialCapacity) { | 2928 ListQueue(initialCapacity) { |
| 2929 if (initialCapacity === void 0) | 2929 if (initialCapacity === void 0) |
| 2930 initialCapacity = null; | 2930 initialCapacity = null; |
| 2931 this[_head] = 0; | 2931 this[_head] = 0; |
| 2932 this[_tail] = 0; | 2932 this[_tail] = 0; |
| 2933 this[_table] = null; | 2933 this[_table] = null; |
| 2934 this[_modificationCount] = 0; | 2934 this[_modificationCount] = 0; |
| 2935 super.IterableBase(); | 2935 super.IterableBase(); |
| 2936 if (initialCapacity == null || dart.notNull(initialCapacity) < dart.notN
ull(ListQueue$()._INITIAL_CAPACITY)) { | 2936 if (initialCapacity == null || dart.notNull(initialCapacity) < dart.notN
ull(ListQueue$()._INITIAL_CAPACITY)) { |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3249 'isEmpty', | 3249 'isEmpty', |
| 3250 'length', | 3250 'length', |
| 3251 'first', | 3251 'first', |
| 3252 'last', | 3252 'last', |
| 3253 'single' | 3253 'single' |
| 3254 ]); | 3254 ]); |
| 3255 return ListQueue; | 3255 return ListQueue; |
| 3256 }); | 3256 }); |
| 3257 let ListQueue = ListQueue$(); | 3257 let ListQueue = ListQueue$(); |
| 3258 ListQueue._INITIAL_CAPACITY = 8; | 3258 ListQueue._INITIAL_CAPACITY = 8; |
| 3259 let _queue = Symbol('_queue'); | 3259 const _queue = Symbol('_queue'); |
| 3260 let _end = Symbol('_end'); | 3260 const _end = Symbol('_end'); |
| 3261 let _position = Symbol('_position'); | 3261 const _position = Symbol('_position'); |
| 3262 let _ListQueueIterator$ = dart.generic(function(E) { | 3262 const _ListQueueIterator$ = dart.generic(function(E) { |
| 3263 class _ListQueueIterator extends core.Object { | 3263 class _ListQueueIterator extends core.Object { |
| 3264 _ListQueueIterator(queue) { | 3264 _ListQueueIterator(queue) { |
| 3265 this[_queue] = queue; | 3265 this[_queue] = queue; |
| 3266 this[_end] = queue[_tail]; | 3266 this[_end] = queue[_tail]; |
| 3267 this[_modificationCount] = queue[_modificationCount]; | 3267 this[_modificationCount] = queue[_modificationCount]; |
| 3268 this[_position] = queue[_head]; | 3268 this[_position] = queue[_head]; |
| 3269 this[_current] = null; | 3269 this[_current] = null; |
| 3270 } | 3270 } |
| 3271 get current() { | 3271 get current() { |
| 3272 return this[_current]; | 3272 return this[_current]; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3283 } | 3283 } |
| 3284 } | 3284 } |
| 3285 _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; | 3285 _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 3286 dart.setSignature(_ListQueueIterator, { | 3286 dart.setSignature(_ListQueueIterator, { |
| 3287 constructors: () => ({_ListQueueIterator: [_ListQueueIterator$(E), [ListQu
eue]]}), | 3287 constructors: () => ({_ListQueueIterator: [_ListQueueIterator$(E), [ListQu
eue]]}), |
| 3288 methods: () => ({moveNext: [core.bool, []]}) | 3288 methods: () => ({moveNext: [core.bool, []]}) |
| 3289 }); | 3289 }); |
| 3290 return _ListQueueIterator; | 3290 return _ListQueueIterator; |
| 3291 }); | 3291 }); |
| 3292 let _ListQueueIterator = _ListQueueIterator$(); | 3292 let _ListQueueIterator = _ListQueueIterator$(); |
| 3293 let _Predicate$ = dart.generic(function(T) { | 3293 const _Predicate$ = dart.generic(function(T) { |
| 3294 let _Predicate = dart.typedef('_Predicate', () => dart.functionType(core.boo
l, [T])); | 3294 const _Predicate = dart.typedef('_Predicate', () => dart.functionType(core.b
ool, [T])); |
| 3295 return _Predicate; | 3295 return _Predicate; |
| 3296 }); | 3296 }); |
| 3297 let _Predicate = _Predicate$(); | 3297 let _Predicate = _Predicate$(); |
| 3298 let _SplayTreeNode$ = dart.generic(function(K) { | 3298 const _SplayTreeNode$ = dart.generic(function(K) { |
| 3299 class _SplayTreeNode extends core.Object { | 3299 class _SplayTreeNode extends core.Object { |
| 3300 _SplayTreeNode(key) { | 3300 _SplayTreeNode(key) { |
| 3301 this.key = key; | 3301 this.key = key; |
| 3302 this.left = null; | 3302 this.left = null; |
| 3303 this.right = null; | 3303 this.right = null; |
| 3304 } | 3304 } |
| 3305 } | 3305 } |
| 3306 dart.setSignature(_SplayTreeNode, { | 3306 dart.setSignature(_SplayTreeNode, { |
| 3307 constructors: () => ({_SplayTreeNode: [_SplayTreeNode$(K), [K]]}) | 3307 constructors: () => ({_SplayTreeNode: [_SplayTreeNode$(K), [K]]}) |
| 3308 }); | 3308 }); |
| 3309 return _SplayTreeNode; | 3309 return _SplayTreeNode; |
| 3310 }); | 3310 }); |
| 3311 let _SplayTreeNode = _SplayTreeNode$(); | 3311 let _SplayTreeNode = _SplayTreeNode$(); |
| 3312 let _SplayTreeMapNode$ = dart.generic(function(K, V) { | 3312 const _SplayTreeMapNode$ = dart.generic(function(K, V) { |
| 3313 class _SplayTreeMapNode extends _SplayTreeNode$(K) { | 3313 class _SplayTreeMapNode extends _SplayTreeNode$(K) { |
| 3314 _SplayTreeMapNode(key, value) { | 3314 _SplayTreeMapNode(key, value) { |
| 3315 this.value = value; | 3315 this.value = value; |
| 3316 super._SplayTreeNode(key); | 3316 super._SplayTreeNode(key); |
| 3317 } | 3317 } |
| 3318 } | 3318 } |
| 3319 dart.setSignature(_SplayTreeMapNode, { | 3319 dart.setSignature(_SplayTreeMapNode, { |
| 3320 constructors: () => ({_SplayTreeMapNode: [_SplayTreeMapNode$(K, V), [K, V]
]}) | 3320 constructors: () => ({_SplayTreeMapNode: [_SplayTreeMapNode$(K, V), [K, V]
]}) |
| 3321 }); | 3321 }); |
| 3322 return _SplayTreeMapNode; | 3322 return _SplayTreeMapNode; |
| 3323 }); | 3323 }); |
| 3324 let _SplayTreeMapNode = _SplayTreeMapNode$(); | 3324 let _SplayTreeMapNode = _SplayTreeMapNode$(); |
| 3325 let _dummy = Symbol('_dummy'); | 3325 const _dummy = Symbol('_dummy'); |
| 3326 let _root = Symbol('_root'); | 3326 const _root = Symbol('_root'); |
| 3327 let _count = Symbol('_count'); | 3327 const _count = Symbol('_count'); |
| 3328 let _splayCount = Symbol('_splayCount'); | 3328 const _splayCount = Symbol('_splayCount'); |
| 3329 let _compare = Symbol('_compare'); | 3329 const _compare = Symbol('_compare'); |
| 3330 let _splay = Symbol('_splay'); | 3330 const _splay = Symbol('_splay'); |
| 3331 let _splayMin = Symbol('_splayMin'); | 3331 const _splayMin = Symbol('_splayMin'); |
| 3332 let _splayMax = Symbol('_splayMax'); | 3332 const _splayMax = Symbol('_splayMax'); |
| 3333 let _addNewRoot = Symbol('_addNewRoot'); | 3333 const _addNewRoot = Symbol('_addNewRoot'); |
| 3334 let _first = Symbol('_first'); | 3334 const _first = Symbol('_first'); |
| 3335 let _last = Symbol('_last'); | 3335 const _last = Symbol('_last'); |
| 3336 let _clear = Symbol('_clear'); | 3336 const _clear = Symbol('_clear'); |
| 3337 let _SplayTree$ = dart.generic(function(K) { | 3337 const _SplayTree$ = dart.generic(function(K) { |
| 3338 class _SplayTree extends core.Object { | 3338 class _SplayTree extends core.Object { |
| 3339 _SplayTree() { | 3339 _SplayTree() { |
| 3340 this[_dummy] = new (_SplayTreeNode$(K))(null); | 3340 this[_dummy] = new (_SplayTreeNode$(K))(null); |
| 3341 this[_root] = null; | 3341 this[_root] = null; |
| 3342 this[_count] = 0; | 3342 this[_count] = 0; |
| 3343 this[_modificationCount] = 0; | 3343 this[_modificationCount] = 0; |
| 3344 this[_splayCount] = 0; | 3344 this[_splayCount] = 0; |
| 3345 } | 3345 } |
| 3346 [_splay](key) { | 3346 [_splay](key) { |
| 3347 dart.as(key, K); | 3347 dart.as(key, K); |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3481 [_splayMin]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], | 3481 [_splayMin]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], |
| 3482 [_splayMax]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], | 3482 [_splayMax]: [_SplayTreeNode$(K), [_SplayTreeNode$(K)]], |
| 3483 [_remove]: [_SplayTreeNode, [K]], | 3483 [_remove]: [_SplayTreeNode, [K]], |
| 3484 [_addNewRoot]: [dart.void, [_SplayTreeNode$(K), core.int]], | 3484 [_addNewRoot]: [dart.void, [_SplayTreeNode$(K), core.int]], |
| 3485 [_clear]: [dart.void, []] | 3485 [_clear]: [dart.void, []] |
| 3486 }) | 3486 }) |
| 3487 }); | 3487 }); |
| 3488 return _SplayTree; | 3488 return _SplayTree; |
| 3489 }); | 3489 }); |
| 3490 let _SplayTree = _SplayTree$(); | 3490 let _SplayTree = _SplayTree$(); |
| 3491 let _comparator = Symbol('_comparator'); | 3491 const _comparator = Symbol('_comparator'); |
| 3492 let _validKey = Symbol('_validKey'); | 3492 const _validKey = Symbol('_validKey'); |
| 3493 let SplayTreeMap$ = dart.generic(function(K, V) { | 3493 const SplayTreeMap$ = dart.generic(function(K, V) { |
| 3494 class SplayTreeMap extends _SplayTree$(K) { | 3494 class SplayTreeMap extends _SplayTree$(K) { |
| 3495 SplayTreeMap(compare, isValidKey) { | 3495 SplayTreeMap(compare, isValidKey) { |
| 3496 if (compare === void 0) | 3496 if (compare === void 0) |
| 3497 compare = null; | 3497 compare = null; |
| 3498 if (isValidKey === void 0) | 3498 if (isValidKey === void 0) |
| 3499 isValidKey = null; | 3499 isValidKey = null; |
| 3500 this[_comparator] = dart.as(compare == null ? core.Comparable.compare :
compare, core.Comparator$(K)); | 3500 this[_comparator] = dart.as(compare == null ? core.Comparable.compare :
compare, core.Comparator$(K)); |
| 3501 this[_validKey] = isValidKey != null ? isValidKey : dart.fn(v => dart.is
(v, K), core.bool, [dart.dynamic]); | 3501 this[_validKey] = isValidKey != null ? isValidKey : dart.fn(v => dart.is
(v, K), core.bool, [dart.dynamic]); |
| 3502 super._SplayTree(); | 3502 super._SplayTree(); |
| 3503 } | 3503 } |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3628 } | 3628 } |
| 3629 clear() { | 3629 clear() { |
| 3630 this[_clear](); | 3630 this[_clear](); |
| 3631 } | 3631 } |
| 3632 containsKey(key) { | 3632 containsKey(key) { |
| 3633 return dart.notNull(this[_validKey](key)) && this[_splay](dart.as(key, K
)) == 0; | 3633 return dart.notNull(this[_validKey](key)) && this[_splay](dart.as(key, K
)) == 0; |
| 3634 } | 3634 } |
| 3635 containsValue(value) { | 3635 containsValue(value) { |
| 3636 let found = false; | 3636 let found = false; |
| 3637 let initialSplayCount = this[_splayCount]; | 3637 let initialSplayCount = this[_splayCount]; |
| 3638 let visit = (function(node) { | 3638 const visit = (function(node) { |
| 3639 while (node != null) { | 3639 while (node != null) { |
| 3640 if (dart.equals(node.value, value)) | 3640 if (dart.equals(node.value, value)) |
| 3641 return true; | 3641 return true; |
| 3642 if (initialSplayCount != this[_splayCount]) { | 3642 if (initialSplayCount != this[_splayCount]) { |
| 3643 dart.throw(new core.ConcurrentModificationError(this)); | 3643 dart.throw(new core.ConcurrentModificationError(this)); |
| 3644 } | 3644 } |
| 3645 if (node.right != null && dart.notNull(visit(dart.as(node.right, _Sp
layTreeMapNode)))) | 3645 if (node.right != null && dart.notNull(visit(dart.as(node.right, _Sp
layTreeMapNode)))) |
| 3646 return true; | 3646 return true; |
| 3647 node = dart.as(node.left, _SplayTreeMapNode); | 3647 node = dart.as(node.left, _SplayTreeMapNode); |
| 3648 } | 3648 } |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3728 containsValue: [core.bool, [core.Object]], | 3728 containsValue: [core.bool, [core.Object]], |
| 3729 firstKey: [K, []], | 3729 firstKey: [K, []], |
| 3730 lastKey: [K, []], | 3730 lastKey: [K, []], |
| 3731 lastKeyBefore: [K, [K]], | 3731 lastKeyBefore: [K, [K]], |
| 3732 firstKeyAfter: [K, [K]] | 3732 firstKeyAfter: [K, [K]] |
| 3733 }) | 3733 }) |
| 3734 }); | 3734 }); |
| 3735 return SplayTreeMap; | 3735 return SplayTreeMap; |
| 3736 }); | 3736 }); |
| 3737 let SplayTreeMap = SplayTreeMap$(); | 3737 let SplayTreeMap = SplayTreeMap$(); |
| 3738 let _workList = Symbol('_workList'); | 3738 const _workList = Symbol('_workList'); |
| 3739 let _tree = Symbol('_tree'); | 3739 const _tree = Symbol('_tree'); |
| 3740 let _currentNode = Symbol('_currentNode'); | 3740 const _currentNode = Symbol('_currentNode'); |
| 3741 let _findLeftMostDescendent = Symbol('_findLeftMostDescendent'); | 3741 const _findLeftMostDescendent = Symbol('_findLeftMostDescendent'); |
| 3742 let _getValue = Symbol('_getValue'); | 3742 const _getValue = Symbol('_getValue'); |
| 3743 let _rebuildWorkList = Symbol('_rebuildWorkList'); | 3743 const _rebuildWorkList = Symbol('_rebuildWorkList'); |
| 3744 let _SplayTreeIterator$ = dart.generic(function(T) { | 3744 const _SplayTreeIterator$ = dart.generic(function(T) { |
| 3745 class _SplayTreeIterator extends core.Object { | 3745 class _SplayTreeIterator extends core.Object { |
| 3746 _SplayTreeIterator(tree) { | 3746 _SplayTreeIterator(tree) { |
| 3747 this[_workList] = dart.list([], _SplayTreeNode); | 3747 this[_workList] = dart.list([], _SplayTreeNode); |
| 3748 this[_tree] = tree; | 3748 this[_tree] = tree; |
| 3749 this[_modificationCount] = tree[_modificationCount]; | 3749 this[_modificationCount] = tree[_modificationCount]; |
| 3750 this[_splayCount] = tree[_splayCount]; | 3750 this[_splayCount] = tree[_splayCount]; |
| 3751 this[_currentNode] = null; | 3751 this[_currentNode] = null; |
| 3752 this[_findLeftMostDescendent](tree[_root]); | 3752 this[_findLeftMostDescendent](tree[_root]); |
| 3753 } | 3753 } |
| 3754 startAt(tree, startKey) { | 3754 startAt(tree, startKey) { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3814 }), | 3814 }), |
| 3815 methods: () => ({ | 3815 methods: () => ({ |
| 3816 [_findLeftMostDescendent]: [dart.void, [_SplayTreeNode]], | 3816 [_findLeftMostDescendent]: [dart.void, [_SplayTreeNode]], |
| 3817 [_rebuildWorkList]: [dart.void, [_SplayTreeNode]], | 3817 [_rebuildWorkList]: [dart.void, [_SplayTreeNode]], |
| 3818 moveNext: [core.bool, []] | 3818 moveNext: [core.bool, []] |
| 3819 }) | 3819 }) |
| 3820 }); | 3820 }); |
| 3821 return _SplayTreeIterator; | 3821 return _SplayTreeIterator; |
| 3822 }); | 3822 }); |
| 3823 let _SplayTreeIterator = _SplayTreeIterator$(); | 3823 let _SplayTreeIterator = _SplayTreeIterator$(); |
| 3824 let _copyNode = Symbol('_copyNode'); | 3824 const _copyNode = Symbol('_copyNode'); |
| 3825 let _SplayTreeKeyIterable$ = dart.generic(function(K) { | 3825 const _SplayTreeKeyIterable$ = dart.generic(function(K) { |
| 3826 class _SplayTreeKeyIterable extends IterableBase$(K) { | 3826 class _SplayTreeKeyIterable extends IterableBase$(K) { |
| 3827 _SplayTreeKeyIterable(tree) { | 3827 _SplayTreeKeyIterable(tree) { |
| 3828 this[_tree] = tree; | 3828 this[_tree] = tree; |
| 3829 super.IterableBase(); | 3829 super.IterableBase(); |
| 3830 } | 3830 } |
| 3831 get length() { | 3831 get length() { |
| 3832 return this[_tree][_count]; | 3832 return this[_tree][_count]; |
| 3833 } | 3833 } |
| 3834 get isEmpty() { | 3834 get isEmpty() { |
| 3835 return this[_tree][_count] == 0; | 3835 return this[_tree][_count] == 0; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3847 } | 3847 } |
| 3848 _SplayTreeKeyIterable[dart.implements] = () => [_internal.EfficientLength]; | 3848 _SplayTreeKeyIterable[dart.implements] = () => [_internal.EfficientLength]; |
| 3849 dart.setSignature(_SplayTreeKeyIterable, { | 3849 dart.setSignature(_SplayTreeKeyIterable, { |
| 3850 constructors: () => ({_SplayTreeKeyIterable: [_SplayTreeKeyIterable$(K), [
_SplayTree$(K)]]}), | 3850 constructors: () => ({_SplayTreeKeyIterable: [_SplayTreeKeyIterable$(K), [
_SplayTree$(K)]]}), |
| 3851 methods: () => ({toSet: [core.Set$(K), []]}) | 3851 methods: () => ({toSet: [core.Set$(K), []]}) |
| 3852 }); | 3852 }); |
| 3853 dart.defineExtensionMembers(_SplayTreeKeyIterable, ['toSet', 'length', 'isEm
pty', 'iterator']); | 3853 dart.defineExtensionMembers(_SplayTreeKeyIterable, ['toSet', 'length', 'isEm
pty', 'iterator']); |
| 3854 return _SplayTreeKeyIterable; | 3854 return _SplayTreeKeyIterable; |
| 3855 }); | 3855 }); |
| 3856 let _SplayTreeKeyIterable = _SplayTreeKeyIterable$(); | 3856 let _SplayTreeKeyIterable = _SplayTreeKeyIterable$(); |
| 3857 let _SplayTreeValueIterable$ = dart.generic(function(K, V) { | 3857 const _SplayTreeValueIterable$ = dart.generic(function(K, V) { |
| 3858 class _SplayTreeValueIterable extends IterableBase$(V) { | 3858 class _SplayTreeValueIterable extends IterableBase$(V) { |
| 3859 _SplayTreeValueIterable(map) { | 3859 _SplayTreeValueIterable(map) { |
| 3860 this[_map] = map; | 3860 this[_map] = map; |
| 3861 super.IterableBase(); | 3861 super.IterableBase(); |
| 3862 } | 3862 } |
| 3863 get length() { | 3863 get length() { |
| 3864 return this[_map][_count]; | 3864 return this[_map][_count]; |
| 3865 } | 3865 } |
| 3866 get isEmpty() { | 3866 get isEmpty() { |
| 3867 return this[_map][_count] == 0; | 3867 return this[_map][_count] == 0; |
| 3868 } | 3868 } |
| 3869 get iterator() { | 3869 get iterator() { |
| 3870 return new (_SplayTreeValueIterator$(K, V))(this[_map]); | 3870 return new (_SplayTreeValueIterator$(K, V))(this[_map]); |
| 3871 } | 3871 } |
| 3872 } | 3872 } |
| 3873 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength]
; | 3873 _SplayTreeValueIterable[dart.implements] = () => [_internal.EfficientLength]
; |
| 3874 dart.setSignature(_SplayTreeValueIterable, { | 3874 dart.setSignature(_SplayTreeValueIterable, { |
| 3875 constructors: () => ({_SplayTreeValueIterable: [_SplayTreeValueIterable$(K
, V), [SplayTreeMap$(K, V)]]}) | 3875 constructors: () => ({_SplayTreeValueIterable: [_SplayTreeValueIterable$(K
, V), [SplayTreeMap$(K, V)]]}) |
| 3876 }); | 3876 }); |
| 3877 dart.defineExtensionMembers(_SplayTreeValueIterable, ['length', 'isEmpty', '
iterator']); | 3877 dart.defineExtensionMembers(_SplayTreeValueIterable, ['length', 'isEmpty', '
iterator']); |
| 3878 return _SplayTreeValueIterable; | 3878 return _SplayTreeValueIterable; |
| 3879 }); | 3879 }); |
| 3880 let _SplayTreeValueIterable = _SplayTreeValueIterable$(); | 3880 let _SplayTreeValueIterable = _SplayTreeValueIterable$(); |
| 3881 let _SplayTreeKeyIterator$ = dart.generic(function(K) { | 3881 const _SplayTreeKeyIterator$ = dart.generic(function(K) { |
| 3882 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { | 3882 class _SplayTreeKeyIterator extends _SplayTreeIterator$(K) { |
| 3883 _SplayTreeKeyIterator(map) { | 3883 _SplayTreeKeyIterator(map) { |
| 3884 super._SplayTreeIterator(map); | 3884 super._SplayTreeIterator(map); |
| 3885 } | 3885 } |
| 3886 [_getValue](node) { | 3886 [_getValue](node) { |
| 3887 return dart.as(node.key, K); | 3887 return dart.as(node.key, K); |
| 3888 } | 3888 } |
| 3889 } | 3889 } |
| 3890 dart.setSignature(_SplayTreeKeyIterator, { | 3890 dart.setSignature(_SplayTreeKeyIterator, { |
| 3891 constructors: () => ({_SplayTreeKeyIterator: [_SplayTreeKeyIterator$(K), [
_SplayTree$(K)]]}), | 3891 constructors: () => ({_SplayTreeKeyIterator: [_SplayTreeKeyIterator$(K), [
_SplayTree$(K)]]}), |
| 3892 methods: () => ({[_getValue]: [K, [_SplayTreeNode]]}) | 3892 methods: () => ({[_getValue]: [K, [_SplayTreeNode]]}) |
| 3893 }); | 3893 }); |
| 3894 return _SplayTreeKeyIterator; | 3894 return _SplayTreeKeyIterator; |
| 3895 }); | 3895 }); |
| 3896 let _SplayTreeKeyIterator = _SplayTreeKeyIterator$(); | 3896 let _SplayTreeKeyIterator = _SplayTreeKeyIterator$(); |
| 3897 let _SplayTreeValueIterator$ = dart.generic(function(K, V) { | 3897 const _SplayTreeValueIterator$ = dart.generic(function(K, V) { |
| 3898 class _SplayTreeValueIterator extends _SplayTreeIterator$(V) { | 3898 class _SplayTreeValueIterator extends _SplayTreeIterator$(V) { |
| 3899 _SplayTreeValueIterator(map) { | 3899 _SplayTreeValueIterator(map) { |
| 3900 super._SplayTreeIterator(map); | 3900 super._SplayTreeIterator(map); |
| 3901 } | 3901 } |
| 3902 [_getValue](node) { | 3902 [_getValue](node) { |
| 3903 return dart.as(node.value, V); | 3903 return dart.as(node.value, V); |
| 3904 } | 3904 } |
| 3905 } | 3905 } |
| 3906 dart.setSignature(_SplayTreeValueIterator, { | 3906 dart.setSignature(_SplayTreeValueIterator, { |
| 3907 constructors: () => ({_SplayTreeValueIterator: [_SplayTreeValueIterator$(K
, V), [SplayTreeMap$(K, V)]]}), | 3907 constructors: () => ({_SplayTreeValueIterator: [_SplayTreeValueIterator$(K
, V), [SplayTreeMap$(K, V)]]}), |
| 3908 methods: () => ({[_getValue]: [V, [_SplayTreeMapNode]]}) | 3908 methods: () => ({[_getValue]: [V, [_SplayTreeMapNode]]}) |
| 3909 }); | 3909 }); |
| 3910 return _SplayTreeValueIterator; | 3910 return _SplayTreeValueIterator; |
| 3911 }); | 3911 }); |
| 3912 let _SplayTreeValueIterator = _SplayTreeValueIterator$(); | 3912 let _SplayTreeValueIterator = _SplayTreeValueIterator$(); |
| 3913 let _SplayTreeNodeIterator$ = dart.generic(function(K) { | 3913 const _SplayTreeNodeIterator$ = dart.generic(function(K) { |
| 3914 class _SplayTreeNodeIterator extends _SplayTreeIterator$(_SplayTreeNode$(K))
{ | 3914 class _SplayTreeNodeIterator extends _SplayTreeIterator$(_SplayTreeNode$(K))
{ |
| 3915 _SplayTreeNodeIterator(tree) { | 3915 _SplayTreeNodeIterator(tree) { |
| 3916 super._SplayTreeIterator(tree); | 3916 super._SplayTreeIterator(tree); |
| 3917 } | 3917 } |
| 3918 startAt(tree, startKey) { | 3918 startAt(tree, startKey) { |
| 3919 super.startAt(tree, startKey); | 3919 super.startAt(tree, startKey); |
| 3920 } | 3920 } |
| 3921 [_getValue](node) { | 3921 [_getValue](node) { |
| 3922 return dart.as(node, _SplayTreeNode$(K)); | 3922 return dart.as(node, _SplayTreeNode$(K)); |
| 3923 } | 3923 } |
| 3924 } | 3924 } |
| 3925 dart.defineNamedConstructor(_SplayTreeNodeIterator, 'startAt'); | 3925 dart.defineNamedConstructor(_SplayTreeNodeIterator, 'startAt'); |
| 3926 dart.setSignature(_SplayTreeNodeIterator, { | 3926 dart.setSignature(_SplayTreeNodeIterator, { |
| 3927 constructors: () => ({ | 3927 constructors: () => ({ |
| 3928 _SplayTreeNodeIterator: [_SplayTreeNodeIterator$(K), [_SplayTree$(K)]], | 3928 _SplayTreeNodeIterator: [_SplayTreeNodeIterator$(K), [_SplayTree$(K)]], |
| 3929 startAt: [_SplayTreeNodeIterator$(K), [_SplayTree$(K), dart.dynamic]] | 3929 startAt: [_SplayTreeNodeIterator$(K), [_SplayTree$(K), dart.dynamic]] |
| 3930 }), | 3930 }), |
| 3931 methods: () => ({[_getValue]: [_SplayTreeNode$(K), [_SplayTreeNode]]}) | 3931 methods: () => ({[_getValue]: [_SplayTreeNode$(K), [_SplayTreeNode]]}) |
| 3932 }); | 3932 }); |
| 3933 return _SplayTreeNodeIterator; | 3933 return _SplayTreeNodeIterator; |
| 3934 }); | 3934 }); |
| 3935 let _SplayTreeNodeIterator = _SplayTreeNodeIterator$(); | 3935 let _SplayTreeNodeIterator = _SplayTreeNodeIterator$(); |
| 3936 let _clone = Symbol('_clone'); | 3936 const _clone = Symbol('_clone'); |
| 3937 let SplayTreeSet$ = dart.generic(function(E) { | 3937 const SplayTreeSet$ = dart.generic(function(E) { |
| 3938 class SplayTreeSet extends dart.mixin(_SplayTree$(E), IterableMixin$(E), Set
Mixin$(E)) { | 3938 class SplayTreeSet extends dart.mixin(_SplayTree$(E), IterableMixin$(E), Set
Mixin$(E)) { |
| 3939 SplayTreeSet(compare, isValidKey) { | 3939 SplayTreeSet(compare, isValidKey) { |
| 3940 if (compare === void 0) | 3940 if (compare === void 0) |
| 3941 compare = null; | 3941 compare = null; |
| 3942 if (isValidKey === void 0) | 3942 if (isValidKey === void 0) |
| 3943 isValidKey = null; | 3943 isValidKey = null; |
| 3944 this[_comparator] = dart.as(compare == null ? core.Comparable.compare :
compare, core.Comparator$(E)); | 3944 this[_comparator] = dart.as(compare == null ? core.Comparable.compare :
compare, core.Comparator$(E)); |
| 3945 this[_validKey] = isValidKey != null ? isValidKey : dart.fn(v => dart.is
(v, E), core.bool, [dart.dynamic]); | 3945 this[_validKey] = isValidKey != null ? isValidKey : dart.fn(v => dart.is
(v, E), core.bool, [dart.dynamic]); |
| 3946 super._SplayTree(); | 3946 super._SplayTree(); |
| 3947 } | 3947 } |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4119 'length', | 4119 'length', |
| 4120 'isEmpty', | 4120 'isEmpty', |
| 4121 'isNotEmpty', | 4121 'isNotEmpty', |
| 4122 'first', | 4122 'first', |
| 4123 'last', | 4123 'last', |
| 4124 'single' | 4124 'single' |
| 4125 ]); | 4125 ]); |
| 4126 return SplayTreeSet; | 4126 return SplayTreeSet; |
| 4127 }); | 4127 }); |
| 4128 let SplayTreeSet = SplayTreeSet$(); | 4128 let SplayTreeSet = SplayTreeSet$(); |
| 4129 let _strings = Symbol('_strings'); | 4129 const _strings = Symbol('_strings'); |
| 4130 let _nums = Symbol('_nums'); | 4130 const _nums = Symbol('_nums'); |
| 4131 let _rest = Symbol('_rest'); | 4131 const _rest = Symbol('_rest'); |
| 4132 let _containsKey = Symbol('_containsKey'); | 4132 const _containsKey = Symbol('_containsKey'); |
| 4133 let _getBucket = Symbol('_getBucket'); | 4133 const _getBucket = Symbol('_getBucket'); |
| 4134 let _findBucketIndex = Symbol('_findBucketIndex'); | 4134 const _findBucketIndex = Symbol('_findBucketIndex'); |
| 4135 let _computeKeys = Symbol('_computeKeys'); | 4135 const _computeKeys = Symbol('_computeKeys'); |
| 4136 let _get = Symbol('_get'); | 4136 const _get = Symbol('_get'); |
| 4137 let _addHashTableEntry = Symbol('_addHashTableEntry'); | 4137 const _addHashTableEntry = Symbol('_addHashTableEntry'); |
| 4138 let _set = Symbol('_set'); | 4138 const _set = Symbol('_set'); |
| 4139 let _computeHashCode = Symbol('_computeHashCode'); | 4139 const _computeHashCode = Symbol('_computeHashCode'); |
| 4140 let _removeHashTableEntry = Symbol('_removeHashTableEntry'); | 4140 const _removeHashTableEntry = Symbol('_removeHashTableEntry'); |
| 4141 let _HashMap$ = dart.generic(function(K, V) { | 4141 const _HashMap$ = dart.generic(function(K, V) { |
| 4142 class _HashMap extends core.Object { | 4142 class _HashMap extends core.Object { |
| 4143 _HashMap() { | 4143 _HashMap() { |
| 4144 this[_length] = 0; | 4144 this[_length] = 0; |
| 4145 this[_strings] = null; | 4145 this[_strings] = null; |
| 4146 this[_nums] = null; | 4146 this[_nums] = null; |
| 4147 this[_rest] = null; | 4147 this[_rest] = null; |
| 4148 this[_keys] = null; | 4148 this[_keys] = null; |
| 4149 } | 4149 } |
| 4150 get length() { | 4150 get length() { |
| 4151 return this[_length]; | 4151 return this[_length]; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4441 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], | 4441 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], |
| 4442 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], | 4442 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], |
| 4443 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], | 4443 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], |
| 4444 _newHashTable: [dart.dynamic, []] | 4444 _newHashTable: [dart.dynamic, []] |
| 4445 }), | 4445 }), |
| 4446 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry
', '_setTableEntry', '_deleteTableEntry', '_newHashTable'] | 4446 names: ['_isStringKey', '_isNumericKey', '_hasTableEntry', '_getTableEntry
', '_setTableEntry', '_deleteTableEntry', '_newHashTable'] |
| 4447 }); | 4447 }); |
| 4448 return _HashMap; | 4448 return _HashMap; |
| 4449 }); | 4449 }); |
| 4450 let _HashMap = _HashMap$(); | 4450 let _HashMap = _HashMap$(); |
| 4451 let _IdentityHashMap$ = dart.generic(function(K, V) { | 4451 const _IdentityHashMap$ = dart.generic(function(K, V) { |
| 4452 class _IdentityHashMap extends _HashMap$(K, V) { | 4452 class _IdentityHashMap extends _HashMap$(K, V) { |
| 4453 _IdentityHashMap() { | 4453 _IdentityHashMap() { |
| 4454 super._HashMap(); | 4454 super._HashMap(); |
| 4455 } | 4455 } |
| 4456 [_computeHashCode](key) { | 4456 [_computeHashCode](key) { |
| 4457 return core.identityHashCode(key) & 0x3ffffff; | 4457 return core.identityHashCode(key) & 0x3ffffff; |
| 4458 } | 4458 } |
| 4459 [_findBucketIndex](bucket, key) { | 4459 [_findBucketIndex](bucket, key) { |
| 4460 if (bucket == null) | 4460 if (bucket == null) |
| 4461 return -1; | 4461 return -1; |
| 4462 let length = bucket.length; | 4462 let length = bucket.length; |
| 4463 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 2) { | 4463 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 2) { |
| 4464 if (dart.notNull(core.identical(bucket[i], key))) | 4464 if (dart.notNull(core.identical(bucket[i], key))) |
| 4465 return i; | 4465 return i; |
| 4466 } | 4466 } |
| 4467 return -1; | 4467 return -1; |
| 4468 } | 4468 } |
| 4469 } | 4469 } |
| 4470 return _IdentityHashMap; | 4470 return _IdentityHashMap; |
| 4471 }); | 4471 }); |
| 4472 let _IdentityHashMap = _IdentityHashMap$(); | 4472 let _IdentityHashMap = _IdentityHashMap$(); |
| 4473 let _equals = Symbol('_equals'); | 4473 const _equals = Symbol('_equals'); |
| 4474 let _hashCode = Symbol('_hashCode'); | 4474 const _hashCode = Symbol('_hashCode'); |
| 4475 let _CustomHashMap$ = dart.generic(function(K, V) { | 4475 const _CustomHashMap$ = dart.generic(function(K, V) { |
| 4476 class _CustomHashMap extends _HashMap$(K, V) { | 4476 class _CustomHashMap extends _HashMap$(K, V) { |
| 4477 _CustomHashMap(equals, hashCode, validKey) { | 4477 _CustomHashMap(equals, hashCode, validKey) { |
| 4478 this[_equals] = equals; | 4478 this[_equals] = equals; |
| 4479 this[_hashCode] = hashCode; | 4479 this[_hashCode] = hashCode; |
| 4480 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v,
K), core.bool, [dart.dynamic]); | 4480 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v,
K), core.bool, [dart.dynamic]); |
| 4481 super._HashMap(); | 4481 super._HashMap(); |
| 4482 } | 4482 } |
| 4483 get(key) { | 4483 get(key) { |
| 4484 if (!dart.notNull(this[_validKey](key))) | 4484 if (!dart.notNull(this[_validKey](key))) |
| 4485 return null; | 4485 return null; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4522 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$(
K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), | 4522 constructors: () => ({_CustomHashMap: [_CustomHashMap$(K, V), [_Equality$(
K), _Hasher$(K), dart.functionType(core.bool, [core.Object])]]}), |
| 4523 methods: () => ({ | 4523 methods: () => ({ |
| 4524 get: [V, [core.Object]], | 4524 get: [V, [core.Object]], |
| 4525 set: [dart.void, [K, V]], | 4525 set: [dart.void, [K, V]], |
| 4526 remove: [V, [core.Object]] | 4526 remove: [V, [core.Object]] |
| 4527 }) | 4527 }) |
| 4528 }); | 4528 }); |
| 4529 return _CustomHashMap; | 4529 return _CustomHashMap; |
| 4530 }); | 4530 }); |
| 4531 let _CustomHashMap = _CustomHashMap$(); | 4531 let _CustomHashMap = _CustomHashMap$(); |
| 4532 let HashMapKeyIterable$ = dart.generic(function(E) { | 4532 const HashMapKeyIterable$ = dart.generic(function(E) { |
| 4533 class HashMapKeyIterable extends IterableBase$(E) { | 4533 class HashMapKeyIterable extends IterableBase$(E) { |
| 4534 HashMapKeyIterable(map) { | 4534 HashMapKeyIterable(map) { |
| 4535 this[_map] = map; | 4535 this[_map] = map; |
| 4536 super.IterableBase(); | 4536 super.IterableBase(); |
| 4537 } | 4537 } |
| 4538 get length() { | 4538 get length() { |
| 4539 return dart.as(dart.dload(this[_map], _length), core.int); | 4539 return dart.as(dart.dload(this[_map], _length), core.int); |
| 4540 } | 4540 } |
| 4541 get isEmpty() { | 4541 get isEmpty() { |
| 4542 return dart.equals(dart.dload(this[_map], _length), 0); | 4542 return dart.equals(dart.dload(this[_map], _length), 0); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 4566 dart.defineExtensionMembers(HashMapKeyIterable, [ | 4566 dart.defineExtensionMembers(HashMapKeyIterable, [ |
| 4567 'contains', | 4567 'contains', |
| 4568 'forEach', | 4568 'forEach', |
| 4569 'length', | 4569 'length', |
| 4570 'isEmpty', | 4570 'isEmpty', |
| 4571 'iterator' | 4571 'iterator' |
| 4572 ]); | 4572 ]); |
| 4573 return HashMapKeyIterable; | 4573 return HashMapKeyIterable; |
| 4574 }); | 4574 }); |
| 4575 let HashMapKeyIterable = HashMapKeyIterable$(); | 4575 let HashMapKeyIterable = HashMapKeyIterable$(); |
| 4576 let _offset = Symbol('_offset'); | 4576 const _offset = Symbol('_offset'); |
| 4577 let HashMapKeyIterator$ = dart.generic(function(E) { | 4577 const HashMapKeyIterator$ = dart.generic(function(E) { |
| 4578 class HashMapKeyIterator extends core.Object { | 4578 class HashMapKeyIterator extends core.Object { |
| 4579 HashMapKeyIterator(map, keys) { | 4579 HashMapKeyIterator(map, keys) { |
| 4580 this[_map] = map; | 4580 this[_map] = map; |
| 4581 this[_keys] = keys; | 4581 this[_keys] = keys; |
| 4582 this[_offset] = 0; | 4582 this[_offset] = 0; |
| 4583 this[_current] = null; | 4583 this[_current] = null; |
| 4584 } | 4584 } |
| 4585 get current() { | 4585 get current() { |
| 4586 return this[_current]; | 4586 return this[_current]; |
| 4587 } | 4587 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4601 } | 4601 } |
| 4602 } | 4602 } |
| 4603 HashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; | 4603 HashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 4604 dart.setSignature(HashMapKeyIterator, { | 4604 dart.setSignature(HashMapKeyIterator, { |
| 4605 constructors: () => ({HashMapKeyIterator: [HashMapKeyIterator$(E), [dart.d
ynamic, core.List]]}), | 4605 constructors: () => ({HashMapKeyIterator: [HashMapKeyIterator$(E), [dart.d
ynamic, core.List]]}), |
| 4606 methods: () => ({moveNext: [core.bool, []]}) | 4606 methods: () => ({moveNext: [core.bool, []]}) |
| 4607 }); | 4607 }); |
| 4608 return HashMapKeyIterator; | 4608 return HashMapKeyIterator; |
| 4609 }); | 4609 }); |
| 4610 let HashMapKeyIterator = HashMapKeyIterator$(); | 4610 let HashMapKeyIterator = HashMapKeyIterator$(); |
| 4611 let _modifications = Symbol('_modifications'); | 4611 const _modifications = Symbol('_modifications'); |
| 4612 let _value = Symbol('_value'); | 4612 const _value = Symbol('_value'); |
| 4613 let _newLinkedCell = Symbol('_newLinkedCell'); | 4613 const _newLinkedCell = Symbol('_newLinkedCell'); |
| 4614 let _unlinkCell = Symbol('_unlinkCell'); | 4614 const _unlinkCell = Symbol('_unlinkCell'); |
| 4615 let _modified = Symbol('_modified'); | 4615 const _modified = Symbol('_modified'); |
| 4616 let _key = Symbol('_key'); | 4616 const _key = Symbol('_key'); |
| 4617 let _LinkedHashMap$ = dart.generic(function(K, V) { | 4617 const _LinkedHashMap$ = dart.generic(function(K, V) { |
| 4618 class _LinkedHashMap extends core.Object { | 4618 class _LinkedHashMap extends core.Object { |
| 4619 _LinkedHashMap() { | 4619 _LinkedHashMap() { |
| 4620 this[_length] = 0; | 4620 this[_length] = 0; |
| 4621 this[_strings] = null; | 4621 this[_strings] = null; |
| 4622 this[_nums] = null; | 4622 this[_nums] = null; |
| 4623 this[_rest] = null; | 4623 this[_rest] = null; |
| 4624 this[_first] = null; | 4624 this[_first] = null; |
| 4625 this[_last] = null; | 4625 this[_last] = null; |
| 4626 this[_modifications] = 0; | 4626 this[_modifications] = 0; |
| 4627 } | 4627 } |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4925 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], | 4925 _getTableEntry: [dart.dynamic, [dart.dynamic, dart.dynamic]], |
| 4926 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], | 4926 _setTableEntry: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]], |
| 4927 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], | 4927 _deleteTableEntry: [dart.void, [dart.dynamic, dart.dynamic]], |
| 4928 _newHashTable: [dart.dynamic, []] | 4928 _newHashTable: [dart.dynamic, []] |
| 4929 }), | 4929 }), |
| 4930 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry
', '_deleteTableEntry', '_newHashTable'] | 4930 names: ['_isStringKey', '_isNumericKey', '_getTableEntry', '_setTableEntry
', '_deleteTableEntry', '_newHashTable'] |
| 4931 }); | 4931 }); |
| 4932 return _LinkedHashMap; | 4932 return _LinkedHashMap; |
| 4933 }); | 4933 }); |
| 4934 let _LinkedHashMap = _LinkedHashMap$(); | 4934 let _LinkedHashMap = _LinkedHashMap$(); |
| 4935 let _LinkedIdentityHashMap$ = dart.generic(function(K, V) { | 4935 const _LinkedIdentityHashMap$ = dart.generic(function(K, V) { |
| 4936 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) { | 4936 class _LinkedIdentityHashMap extends _LinkedHashMap$(K, V) { |
| 4937 _LinkedIdentityHashMap() { | 4937 _LinkedIdentityHashMap() { |
| 4938 super._LinkedHashMap(); | 4938 super._LinkedHashMap(); |
| 4939 } | 4939 } |
| 4940 [_computeHashCode](key) { | 4940 [_computeHashCode](key) { |
| 4941 return core.identityHashCode(key) & 0x3ffffff; | 4941 return core.identityHashCode(key) & 0x3ffffff; |
| 4942 } | 4942 } |
| 4943 [_findBucketIndex](bucket, key) { | 4943 [_findBucketIndex](bucket, key) { |
| 4944 if (bucket == null) | 4944 if (bucket == null) |
| 4945 return -1; | 4945 return -1; |
| 4946 let length = bucket.length; | 4946 let length = bucket.length; |
| 4947 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 4947 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 4948 let cell = dart.as(bucket[i], LinkedHashMapCell); | 4948 let cell = dart.as(bucket[i], LinkedHashMapCell); |
| 4949 if (dart.notNull(core.identical(cell[_key], key))) | 4949 if (dart.notNull(core.identical(cell[_key], key))) |
| 4950 return i; | 4950 return i; |
| 4951 } | 4951 } |
| 4952 return -1; | 4952 return -1; |
| 4953 } | 4953 } |
| 4954 } | 4954 } |
| 4955 return _LinkedIdentityHashMap; | 4955 return _LinkedIdentityHashMap; |
| 4956 }); | 4956 }); |
| 4957 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(); | 4957 let _LinkedIdentityHashMap = _LinkedIdentityHashMap$(); |
| 4958 let _LinkedCustomHashMap$ = dart.generic(function(K, V) { | 4958 const _LinkedCustomHashMap$ = dart.generic(function(K, V) { |
| 4959 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { | 4959 class _LinkedCustomHashMap extends _LinkedHashMap$(K, V) { |
| 4960 _LinkedCustomHashMap(equals, hashCode, validKey) { | 4960 _LinkedCustomHashMap(equals, hashCode, validKey) { |
| 4961 this[_equals] = equals; | 4961 this[_equals] = equals; |
| 4962 this[_hashCode] = hashCode; | 4962 this[_hashCode] = hashCode; |
| 4963 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v,
K), core.bool, [dart.dynamic]); | 4963 this[_validKey] = validKey != null ? validKey : dart.fn(v => dart.is(v,
K), core.bool, [dart.dynamic]); |
| 4964 super._LinkedHashMap(); | 4964 super._LinkedHashMap(); |
| 4965 } | 4965 } |
| 4966 get(key) { | 4966 get(key) { |
| 4967 if (!dart.notNull(this[_validKey](key))) | 4967 if (!dart.notNull(this[_validKey](key))) |
| 4968 return null; | 4968 return null; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5014 LinkedHashMapCell(key, value) { | 5014 LinkedHashMapCell(key, value) { |
| 5015 this[_key] = key; | 5015 this[_key] = key; |
| 5016 this[_value] = value; | 5016 this[_value] = value; |
| 5017 this[_next] = null; | 5017 this[_next] = null; |
| 5018 this[_previous] = null; | 5018 this[_previous] = null; |
| 5019 } | 5019 } |
| 5020 } | 5020 } |
| 5021 dart.setSignature(LinkedHashMapCell, { | 5021 dart.setSignature(LinkedHashMapCell, { |
| 5022 constructors: () => ({LinkedHashMapCell: [LinkedHashMapCell, [dart.dynamic,
dart.dynamic]]}) | 5022 constructors: () => ({LinkedHashMapCell: [LinkedHashMapCell, [dart.dynamic,
dart.dynamic]]}) |
| 5023 }); | 5023 }); |
| 5024 let LinkedHashMapKeyIterable$ = dart.generic(function(E) { | 5024 const LinkedHashMapKeyIterable$ = dart.generic(function(E) { |
| 5025 class LinkedHashMapKeyIterable extends IterableBase$(E) { | 5025 class LinkedHashMapKeyIterable extends IterableBase$(E) { |
| 5026 LinkedHashMapKeyIterable(map) { | 5026 LinkedHashMapKeyIterable(map) { |
| 5027 this[_map] = map; | 5027 this[_map] = map; |
| 5028 super.IterableBase(); | 5028 super.IterableBase(); |
| 5029 } | 5029 } |
| 5030 get length() { | 5030 get length() { |
| 5031 return dart.as(dart.dload(this[_map], _length), core.int); | 5031 return dart.as(dart.dload(this[_map], _length), core.int); |
| 5032 } | 5032 } |
| 5033 get isEmpty() { | 5033 get isEmpty() { |
| 5034 return dart.equals(dart.dload(this[_map], _length), 0); | 5034 return dart.equals(dart.dload(this[_map], _length), 0); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 5060 dart.defineExtensionMembers(LinkedHashMapKeyIterable, [ | 5060 dart.defineExtensionMembers(LinkedHashMapKeyIterable, [ |
| 5061 'contains', | 5061 'contains', |
| 5062 'forEach', | 5062 'forEach', |
| 5063 'length', | 5063 'length', |
| 5064 'isEmpty', | 5064 'isEmpty', |
| 5065 'iterator' | 5065 'iterator' |
| 5066 ]); | 5066 ]); |
| 5067 return LinkedHashMapKeyIterable; | 5067 return LinkedHashMapKeyIterable; |
| 5068 }); | 5068 }); |
| 5069 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(); | 5069 let LinkedHashMapKeyIterable = LinkedHashMapKeyIterable$(); |
| 5070 let _cell = Symbol('_cell'); | 5070 const _cell = Symbol('_cell'); |
| 5071 let LinkedHashMapKeyIterator$ = dart.generic(function(E) { | 5071 const LinkedHashMapKeyIterator$ = dart.generic(function(E) { |
| 5072 class LinkedHashMapKeyIterator extends core.Object { | 5072 class LinkedHashMapKeyIterator extends core.Object { |
| 5073 LinkedHashMapKeyIterator(map, modifications) { | 5073 LinkedHashMapKeyIterator(map, modifications) { |
| 5074 this[_map] = map; | 5074 this[_map] = map; |
| 5075 this[_modifications] = modifications; | 5075 this[_modifications] = modifications; |
| 5076 this[_cell] = null; | 5076 this[_cell] = null; |
| 5077 this[_current] = null; | 5077 this[_current] = null; |
| 5078 this[_cell] = dart.as(dart.dload(this[_map], _first), LinkedHashMapCell)
; | 5078 this[_cell] = dart.as(dart.dload(this[_map], _first), LinkedHashMapCell)
; |
| 5079 } | 5079 } |
| 5080 get current() { | 5080 get current() { |
| 5081 return this[_current]; | 5081 return this[_current]; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5094 } | 5094 } |
| 5095 } | 5095 } |
| 5096 LinkedHashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; | 5096 LinkedHashMapKeyIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 5097 dart.setSignature(LinkedHashMapKeyIterator, { | 5097 dart.setSignature(LinkedHashMapKeyIterator, { |
| 5098 constructors: () => ({LinkedHashMapKeyIterator: [LinkedHashMapKeyIterator$
(E), [dart.dynamic, core.int]]}), | 5098 constructors: () => ({LinkedHashMapKeyIterator: [LinkedHashMapKeyIterator$
(E), [dart.dynamic, core.int]]}), |
| 5099 methods: () => ({moveNext: [core.bool, []]}) | 5099 methods: () => ({moveNext: [core.bool, []]}) |
| 5100 }); | 5100 }); |
| 5101 return LinkedHashMapKeyIterator; | 5101 return LinkedHashMapKeyIterator; |
| 5102 }); | 5102 }); |
| 5103 let LinkedHashMapKeyIterator = LinkedHashMapKeyIterator$(); | 5103 let LinkedHashMapKeyIterator = LinkedHashMapKeyIterator$(); |
| 5104 let _elements = Symbol('_elements'); | 5104 const _elements = Symbol('_elements'); |
| 5105 let _computeElements = Symbol('_computeElements'); | 5105 const _computeElements = Symbol('_computeElements'); |
| 5106 let _contains = Symbol('_contains'); | 5106 const _contains = Symbol('_contains'); |
| 5107 let _lookup = Symbol('_lookup'); | 5107 const _lookup = Symbol('_lookup'); |
| 5108 let _HashSet$ = dart.generic(function(E) { | 5108 const _HashSet$ = dart.generic(function(E) { |
| 5109 class _HashSet extends _HashSetBase$(E) { | 5109 class _HashSet extends _HashSetBase$(E) { |
| 5110 _HashSet() { | 5110 _HashSet() { |
| 5111 this[_length] = 0; | 5111 this[_length] = 0; |
| 5112 this[_strings] = null; | 5112 this[_strings] = null; |
| 5113 this[_nums] = null; | 5113 this[_nums] = null; |
| 5114 this[_rest] = null; | 5114 this[_rest] = null; |
| 5115 this[_elements] = null; | 5115 this[_elements] = null; |
| 5116 } | 5116 } |
| 5117 [_newSet]() { | 5117 [_newSet]() { |
| 5118 return new (_HashSet$(E))(); | 5118 return new (_HashSet$(E))(); |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5369 dart.defineExtensionMembers(_HashSet, [ | 5369 dart.defineExtensionMembers(_HashSet, [ |
| 5370 'contains', | 5370 'contains', |
| 5371 'iterator', | 5371 'iterator', |
| 5372 'length', | 5372 'length', |
| 5373 'isEmpty', | 5373 'isEmpty', |
| 5374 'isNotEmpty' | 5374 'isNotEmpty' |
| 5375 ]); | 5375 ]); |
| 5376 return _HashSet; | 5376 return _HashSet; |
| 5377 }); | 5377 }); |
| 5378 let _HashSet = _HashSet$(); | 5378 let _HashSet = _HashSet$(); |
| 5379 let _IdentityHashSet$ = dart.generic(function(E) { | 5379 const _IdentityHashSet$ = dart.generic(function(E) { |
| 5380 class _IdentityHashSet extends _HashSet$(E) { | 5380 class _IdentityHashSet extends _HashSet$(E) { |
| 5381 _IdentityHashSet() { | 5381 _IdentityHashSet() { |
| 5382 super._HashSet(); | 5382 super._HashSet(); |
| 5383 } | 5383 } |
| 5384 [_newSet]() { | 5384 [_newSet]() { |
| 5385 return new (_IdentityHashSet$(E))(); | 5385 return new (_IdentityHashSet$(E))(); |
| 5386 } | 5386 } |
| 5387 [_computeHashCode](key) { | 5387 [_computeHashCode](key) { |
| 5388 return core.identityHashCode(key) & 0x3ffffff; | 5388 return core.identityHashCode(key) & 0x3ffffff; |
| 5389 } | 5389 } |
| 5390 [_findBucketIndex](bucket, element) { | 5390 [_findBucketIndex](bucket, element) { |
| 5391 if (bucket == null) | 5391 if (bucket == null) |
| 5392 return -1; | 5392 return -1; |
| 5393 let length = bucket.length; | 5393 let length = bucket.length; |
| 5394 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 5394 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 5395 if (dart.notNull(core.identical(bucket[i], element))) | 5395 if (dart.notNull(core.identical(bucket[i], element))) |
| 5396 return i; | 5396 return i; |
| 5397 } | 5397 } |
| 5398 return -1; | 5398 return -1; |
| 5399 } | 5399 } |
| 5400 } | 5400 } |
| 5401 dart.setSignature(_IdentityHashSet, { | 5401 dart.setSignature(_IdentityHashSet, { |
| 5402 methods: () => ({[_newSet]: [core.Set$(E), []]}) | 5402 methods: () => ({[_newSet]: [core.Set$(E), []]}) |
| 5403 }); | 5403 }); |
| 5404 return _IdentityHashSet; | 5404 return _IdentityHashSet; |
| 5405 }); | 5405 }); |
| 5406 let _IdentityHashSet = _IdentityHashSet$(); | 5406 let _IdentityHashSet = _IdentityHashSet$(); |
| 5407 let _equality = Symbol('_equality'); | 5407 const _equality = Symbol('_equality'); |
| 5408 let _hasher = Symbol('_hasher'); | 5408 const _hasher = Symbol('_hasher'); |
| 5409 let _CustomHashSet$ = dart.generic(function(E) { | 5409 const _CustomHashSet$ = dart.generic(function(E) { |
| 5410 class _CustomHashSet extends _HashSet$(E) { | 5410 class _CustomHashSet extends _HashSet$(E) { |
| 5411 _CustomHashSet(equality, hasher, validKey) { | 5411 _CustomHashSet(equality, hasher, validKey) { |
| 5412 this[_equality] = equality; | 5412 this[_equality] = equality; |
| 5413 this[_hasher] = hasher; | 5413 this[_hasher] = hasher; |
| 5414 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x,
E), core.bool, [dart.dynamic]); | 5414 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x,
E), core.bool, [dart.dynamic]); |
| 5415 super._HashSet(); | 5415 super._HashSet(); |
| 5416 } | 5416 } |
| 5417 [_newSet]() { | 5417 [_newSet]() { |
| 5418 return new (_CustomHashSet$(E))(this[_equality], this[_hasher], this[_va
lidKey]); | 5418 return new (_CustomHashSet$(E))(this[_equality], this[_hasher], this[_va
lidKey]); |
| 5419 } | 5419 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5455 methods: () => ({ | 5455 methods: () => ({ |
| 5456 [_newSet]: [core.Set$(E), []], | 5456 [_newSet]: [core.Set$(E), []], |
| 5457 add: [core.bool, [E]], | 5457 add: [core.bool, [E]], |
| 5458 lookup: [E, [core.Object]] | 5458 lookup: [E, [core.Object]] |
| 5459 }) | 5459 }) |
| 5460 }); | 5460 }); |
| 5461 dart.defineExtensionMembers(_CustomHashSet, ['contains']); | 5461 dart.defineExtensionMembers(_CustomHashSet, ['contains']); |
| 5462 return _CustomHashSet; | 5462 return _CustomHashSet; |
| 5463 }); | 5463 }); |
| 5464 let _CustomHashSet = _CustomHashSet$(); | 5464 let _CustomHashSet = _CustomHashSet$(); |
| 5465 let HashSetIterator$ = dart.generic(function(E) { | 5465 const HashSetIterator$ = dart.generic(function(E) { |
| 5466 class HashSetIterator extends core.Object { | 5466 class HashSetIterator extends core.Object { |
| 5467 HashSetIterator(set, elements) { | 5467 HashSetIterator(set, elements) { |
| 5468 this[_set] = set; | 5468 this[_set] = set; |
| 5469 this[_elements] = elements; | 5469 this[_elements] = elements; |
| 5470 this[_offset] = 0; | 5470 this[_offset] = 0; |
| 5471 this[_current] = null; | 5471 this[_current] = null; |
| 5472 } | 5472 } |
| 5473 get current() { | 5473 get current() { |
| 5474 return this[_current]; | 5474 return this[_current]; |
| 5475 } | 5475 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5489 } | 5489 } |
| 5490 } | 5490 } |
| 5491 HashSetIterator[dart.implements] = () => [core.Iterator$(E)]; | 5491 HashSetIterator[dart.implements] = () => [core.Iterator$(E)]; |
| 5492 dart.setSignature(HashSetIterator, { | 5492 dart.setSignature(HashSetIterator, { |
| 5493 constructors: () => ({HashSetIterator: [HashSetIterator$(E), [dart.dynamic
, core.List]]}), | 5493 constructors: () => ({HashSetIterator: [HashSetIterator$(E), [dart.dynamic
, core.List]]}), |
| 5494 methods: () => ({moveNext: [core.bool, []]}) | 5494 methods: () => ({moveNext: [core.bool, []]}) |
| 5495 }); | 5495 }); |
| 5496 return HashSetIterator; | 5496 return HashSetIterator; |
| 5497 }); | 5497 }); |
| 5498 let HashSetIterator = HashSetIterator$(); | 5498 let HashSetIterator = HashSetIterator$(); |
| 5499 let _unsupported = Symbol('_unsupported'); | 5499 const _unsupported = Symbol('_unsupported'); |
| 5500 let _LinkedHashSet$ = dart.generic(function(E) { | 5500 const _LinkedHashSet$ = dart.generic(function(E) { |
| 5501 class _LinkedHashSet extends _HashSetBase$(E) { | 5501 class _LinkedHashSet extends _HashSetBase$(E) { |
| 5502 _LinkedHashSet() { | 5502 _LinkedHashSet() { |
| 5503 this[_length] = 0; | 5503 this[_length] = 0; |
| 5504 this[_strings] = null; | 5504 this[_strings] = null; |
| 5505 this[_nums] = null; | 5505 this[_nums] = null; |
| 5506 this[_rest] = null; | 5506 this[_rest] = null; |
| 5507 this[_first] = null; | 5507 this[_first] = null; |
| 5508 this[_last] = null; | 5508 this[_last] = null; |
| 5509 this[_modifications] = 0; | 5509 this[_modifications] = 0; |
| 5510 } | 5510 } |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5814 'iterator', | 5814 'iterator', |
| 5815 'length', | 5815 'length', |
| 5816 'isEmpty', | 5816 'isEmpty', |
| 5817 'isNotEmpty', | 5817 'isNotEmpty', |
| 5818 'first', | 5818 'first', |
| 5819 'last' | 5819 'last' |
| 5820 ]); | 5820 ]); |
| 5821 return _LinkedHashSet; | 5821 return _LinkedHashSet; |
| 5822 }); | 5822 }); |
| 5823 let _LinkedHashSet = _LinkedHashSet$(); | 5823 let _LinkedHashSet = _LinkedHashSet$(); |
| 5824 let _LinkedIdentityHashSet$ = dart.generic(function(E) { | 5824 const _LinkedIdentityHashSet$ = dart.generic(function(E) { |
| 5825 class _LinkedIdentityHashSet extends _LinkedHashSet$(E) { | 5825 class _LinkedIdentityHashSet extends _LinkedHashSet$(E) { |
| 5826 _LinkedIdentityHashSet() { | 5826 _LinkedIdentityHashSet() { |
| 5827 super._LinkedHashSet(); | 5827 super._LinkedHashSet(); |
| 5828 } | 5828 } |
| 5829 [_newSet]() { | 5829 [_newSet]() { |
| 5830 return new (_LinkedIdentityHashSet$(E))(); | 5830 return new (_LinkedIdentityHashSet$(E))(); |
| 5831 } | 5831 } |
| 5832 [_computeHashCode](key) { | 5832 [_computeHashCode](key) { |
| 5833 return core.identityHashCode(key) & 0x3ffffff; | 5833 return core.identityHashCode(key) & 0x3ffffff; |
| 5834 } | 5834 } |
| 5835 [_findBucketIndex](bucket, element) { | 5835 [_findBucketIndex](bucket, element) { |
| 5836 if (bucket == null) | 5836 if (bucket == null) |
| 5837 return -1; | 5837 return -1; |
| 5838 let length = bucket.length; | 5838 let length = bucket.length; |
| 5839 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { | 5839 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull
(i) + 1) { |
| 5840 let cell = dart.as(bucket[i], LinkedHashSetCell); | 5840 let cell = dart.as(bucket[i], LinkedHashSetCell); |
| 5841 if (dart.notNull(core.identical(cell[_element], element))) | 5841 if (dart.notNull(core.identical(cell[_element], element))) |
| 5842 return i; | 5842 return i; |
| 5843 } | 5843 } |
| 5844 return -1; | 5844 return -1; |
| 5845 } | 5845 } |
| 5846 } | 5846 } |
| 5847 dart.setSignature(_LinkedIdentityHashSet, { | 5847 dart.setSignature(_LinkedIdentityHashSet, { |
| 5848 methods: () => ({[_newSet]: [core.Set$(E), []]}) | 5848 methods: () => ({[_newSet]: [core.Set$(E), []]}) |
| 5849 }); | 5849 }); |
| 5850 return _LinkedIdentityHashSet; | 5850 return _LinkedIdentityHashSet; |
| 5851 }); | 5851 }); |
| 5852 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$(); | 5852 let _LinkedIdentityHashSet = _LinkedIdentityHashSet$(); |
| 5853 let _LinkedCustomHashSet$ = dart.generic(function(E) { | 5853 const _LinkedCustomHashSet$ = dart.generic(function(E) { |
| 5854 class _LinkedCustomHashSet extends _LinkedHashSet$(E) { | 5854 class _LinkedCustomHashSet extends _LinkedHashSet$(E) { |
| 5855 _LinkedCustomHashSet(equality, hasher, validKey) { | 5855 _LinkedCustomHashSet(equality, hasher, validKey) { |
| 5856 this[_equality] = equality; | 5856 this[_equality] = equality; |
| 5857 this[_hasher] = hasher; | 5857 this[_hasher] = hasher; |
| 5858 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x,
E), core.bool, [dart.dynamic]); | 5858 this[_validKey] = validKey != null ? validKey : dart.fn(x => dart.is(x,
E), core.bool, [dart.dynamic]); |
| 5859 super._LinkedHashSet(); | 5859 super._LinkedHashSet(); |
| 5860 } | 5860 } |
| 5861 [_newSet]() { | 5861 [_newSet]() { |
| 5862 return new (_LinkedCustomHashSet$(E))(this[_equality], this[_hasher], th
is[_validKey]); | 5862 return new (_LinkedCustomHashSet$(E))(this[_equality], this[_hasher], th
is[_validKey]); |
| 5863 } | 5863 } |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5924 class LinkedHashSetCell extends core.Object { | 5924 class LinkedHashSetCell extends core.Object { |
| 5925 LinkedHashSetCell(element) { | 5925 LinkedHashSetCell(element) { |
| 5926 this[_element] = element; | 5926 this[_element] = element; |
| 5927 this[_next] = null; | 5927 this[_next] = null; |
| 5928 this[_previous] = null; | 5928 this[_previous] = null; |
| 5929 } | 5929 } |
| 5930 } | 5930 } |
| 5931 dart.setSignature(LinkedHashSetCell, { | 5931 dart.setSignature(LinkedHashSetCell, { |
| 5932 constructors: () => ({LinkedHashSetCell: [LinkedHashSetCell, [dart.dynamic]]
}) | 5932 constructors: () => ({LinkedHashSetCell: [LinkedHashSetCell, [dart.dynamic]]
}) |
| 5933 }); | 5933 }); |
| 5934 let LinkedHashSetIterator$ = dart.generic(function(E) { | 5934 const LinkedHashSetIterator$ = dart.generic(function(E) { |
| 5935 class LinkedHashSetIterator extends core.Object { | 5935 class LinkedHashSetIterator extends core.Object { |
| 5936 LinkedHashSetIterator(set, modifications) { | 5936 LinkedHashSetIterator(set, modifications) { |
| 5937 this[_set] = set; | 5937 this[_set] = set; |
| 5938 this[_modifications] = modifications; | 5938 this[_modifications] = modifications; |
| 5939 this[_cell] = null; | 5939 this[_cell] = null; |
| 5940 this[_current] = null; | 5940 this[_current] = null; |
| 5941 this[_cell] = dart.as(dart.dload(this[_set], _first), LinkedHashSetCell)
; | 5941 this[_cell] = dart.as(dart.dload(this[_set], _first), LinkedHashSetCell)
; |
| 5942 } | 5942 } |
| 5943 get current() { | 5943 get current() { |
| 5944 return this[_current]; | 5944 return this[_current]; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6023 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; | 6023 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; |
| 6024 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; | 6024 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; |
| 6025 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; | 6025 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; |
| 6026 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; | 6026 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; |
| 6027 exports.HashSetIterator$ = HashSetIterator$; | 6027 exports.HashSetIterator$ = HashSetIterator$; |
| 6028 exports.HashSetIterator = HashSetIterator; | 6028 exports.HashSetIterator = HashSetIterator; |
| 6029 exports.LinkedHashSetCell = LinkedHashSetCell; | 6029 exports.LinkedHashSetCell = LinkedHashSetCell; |
| 6030 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; | 6030 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; |
| 6031 exports.LinkedHashSetIterator = LinkedHashSetIterator; | 6031 exports.LinkedHashSetIterator = LinkedHashSetIterator; |
| 6032 }); | 6032 }); |
| OLD | NEW |