OLD | NEW |
1 var collection; | 1 var collection; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 let _source = Symbol('_source'); | 4 let _source = Symbol('_source'); |
5 let UnmodifiableListView$ = dart.generic(function(E) { | 5 let UnmodifiableListView$ = dart.generic(function(E) { |
6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { | 6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { |
7 UnmodifiableListView(source) { | 7 UnmodifiableListView(source) { |
8 this[_source] = source; | 8 this[_source] = source; |
9 super.UnmodifiableListBase(); | 9 super.UnmodifiableListBase(); |
10 } | 10 } |
11 get [core.$length]() { | 11 get [core.$length]() { |
12 return this[_source][core.$length]; | 12 return this[_source][core.$length]; |
13 } | 13 } |
14 [core.$get](index) { | 14 [core.$get](index) { |
15 return this[_source][core.$elementAt](index); | 15 return this[_source][core.$elementAt](index); |
16 } | 16 } |
17 } | 17 } |
18 return UnmodifiableListView; | 18 return UnmodifiableListView; |
19 }); | 19 }); |
20 dart.defineLazyClassGeneric(exports, 'UnmodifiableListView', {get: Unmodifiabl
eListView$}); | 20 dart.defineLazyClassGeneric(exports, 'UnmodifiableListView', {get: Unmodifiabl
eListView$}); |
21 // Function _defaultEquals: (dynamic, dynamic) → bool | 21 // Function _defaultEquals: (dynamic, dynamic) → bool |
22 function _defaultEquals(a, b) { | 22 function _defaultEquals(a, b) { |
23 return dart.equals(a, b); | 23 return dart.equals(a, b); |
24 } | 24 } |
25 // Function _defaultHashCode: (dynamic) → int | 25 // Function _defaultHashCode: (dynamic) → int |
26 function _defaultHashCode(a) { | 26 function _defaultHashCode(a) { |
27 return dart.as(dart.dload(a, 'hashCode'), core.int); | 27 return a.hashCode; |
28 } | 28 } |
29 let _Equality$ = dart.generic(function(K) { | 29 let _Equality$ = dart.generic(function(K) { |
30 class _Equality extends core.Function {} | 30 class _Equality extends core.Function {} |
31 return _Equality; | 31 return _Equality; |
32 }); | 32 }); |
33 let _Equality = _Equality$(); | 33 let _Equality = _Equality$(); |
34 let _Hasher$ = dart.generic(function(K) { | 34 let _Hasher$ = dart.generic(function(K) { |
35 class _Hasher extends core.Function {} | 35 class _Hasher extends core.Function {} |
36 return _Hasher; | 36 return _Hasher; |
37 }); | 37 }); |
(...skipping 3524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3562 return null; | 3562 return null; |
3563 } | 3563 } |
3564 } | 3564 } |
3565 static [_isStringKey](key) { | 3565 static [_isStringKey](key) { |
3566 return dart.notNull(typeof key == 'string') && dart.notNull(!dart.equals
(key, '__proto__')); | 3566 return dart.notNull(typeof key == 'string') && dart.notNull(!dart.equals
(key, '__proto__')); |
3567 } | 3567 } |
3568 static [_isNumericKey](key) { | 3568 static [_isNumericKey](key) { |
3569 return dart.notNull(dart.is(key, core.num)) && (key & 0x3ffffff) === key
; | 3569 return dart.notNull(dart.is(key, core.num)) && (key & 0x3ffffff) === key
; |
3570 } | 3570 } |
3571 [_computeHashCode](key) { | 3571 [_computeHashCode](key) { |
3572 return dart.dload(key, 'hashCode') & 0x3ffffff; | 3572 return key.hashCode & 0x3ffffff; |
3573 } | 3573 } |
3574 static [_hasTableEntry](table, key) { | 3574 static [_hasTableEntry](table, key) { |
3575 let entry = table[key]; | 3575 let entry = table[key]; |
3576 return entry != null; | 3576 return entry != null; |
3577 } | 3577 } |
3578 static [_getTableEntry](table, key) { | 3578 static [_getTableEntry](table, key) { |
3579 let entry = table[key]; | 3579 let entry = table[key]; |
3580 return entry === table ? null : entry; | 3580 return entry === table ? null : entry; |
3581 } | 3581 } |
3582 static [_setTableEntry](table, key, value) { | 3582 static [_setTableEntry](table, key, value) { |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3970 this[_length] = dart.notNull(this[_length]) - 1; | 3970 this[_length] = dart.notNull(this[_length]) - 1; |
3971 this[_modified](); | 3971 this[_modified](); |
3972 } | 3972 } |
3973 static [_isStringKey](key) { | 3973 static [_isStringKey](key) { |
3974 return dart.notNull(typeof key == 'string') && dart.notNull(!dart.equals
(key, '__proto__')); | 3974 return dart.notNull(typeof key == 'string') && dart.notNull(!dart.equals
(key, '__proto__')); |
3975 } | 3975 } |
3976 static [_isNumericKey](key) { | 3976 static [_isNumericKey](key) { |
3977 return dart.notNull(dart.is(key, core.num)) && (key & 0x3ffffff) === key
; | 3977 return dart.notNull(dart.is(key, core.num)) && (key & 0x3ffffff) === key
; |
3978 } | 3978 } |
3979 [_computeHashCode](key) { | 3979 [_computeHashCode](key) { |
3980 return dart.dload(key, 'hashCode') & 0x3ffffff; | 3980 return key.hashCode & 0x3ffffff; |
3981 } | 3981 } |
3982 static [_getTableEntry](table, key) { | 3982 static [_getTableEntry](table, key) { |
3983 return table[key]; | 3983 return table[key]; |
3984 } | 3984 } |
3985 static [_setTableEntry](table, key, value) { | 3985 static [_setTableEntry](table, key, value) { |
3986 dart.assert(value != null); | 3986 dart.assert(value != null); |
3987 table[key] = value; | 3987 table[key] = value; |
3988 } | 3988 } |
3989 static [_deleteTableEntry](table, key) { | 3989 static [_deleteTableEntry](table, key) { |
3990 delete table[key]; | 3990 delete table[key]; |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4346 return false; | 4346 return false; |
4347 } | 4347 } |
4348 } | 4348 } |
4349 static [_isStringElement](element) { | 4349 static [_isStringElement](element) { |
4350 return dart.notNull(typeof element == 'string') && dart.notNull(!dart.eq
uals(element, '__proto__')); | 4350 return dart.notNull(typeof element == 'string') && dart.notNull(!dart.eq
uals(element, '__proto__')); |
4351 } | 4351 } |
4352 static [_isNumericElement](element) { | 4352 static [_isNumericElement](element) { |
4353 return dart.notNull(dart.is(element, core.num)) && (element & 0x3ffffff)
=== element; | 4353 return dart.notNull(dart.is(element, core.num)) && (element & 0x3ffffff)
=== element; |
4354 } | 4354 } |
4355 [_computeHashCode](element) { | 4355 [_computeHashCode](element) { |
4356 return dart.dload(element, 'hashCode') & 0x3ffffff; | 4356 return element.hashCode & 0x3ffffff; |
4357 } | 4357 } |
4358 static [_hasTableEntry](table, key) { | 4358 static [_hasTableEntry](table, key) { |
4359 let entry = table[key]; | 4359 let entry = table[key]; |
4360 return entry != null; | 4360 return entry != null; |
4361 } | 4361 } |
4362 static [_setTableEntry](table, key, value) { | 4362 static [_setTableEntry](table, key, value) { |
4363 dart.assert(value != null); | 4363 dart.assert(value != null); |
4364 table[key] = value; | 4364 table[key] = value; |
4365 } | 4365 } |
4366 static [_deleteTableEntry](table, key) { | 4366 static [_deleteTableEntry](table, key) { |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4718 this[_length] = dart.notNull(this[_length]) - 1; | 4718 this[_length] = dart.notNull(this[_length]) - 1; |
4719 this[_modified](); | 4719 this[_modified](); |
4720 } | 4720 } |
4721 static [_isStringElement](element) { | 4721 static [_isStringElement](element) { |
4722 return dart.notNull(typeof element == 'string') && dart.notNull(!dart.eq
uals(element, '__proto__')); | 4722 return dart.notNull(typeof element == 'string') && dart.notNull(!dart.eq
uals(element, '__proto__')); |
4723 } | 4723 } |
4724 static [_isNumericElement](element) { | 4724 static [_isNumericElement](element) { |
4725 return dart.notNull(dart.is(element, core.num)) && (element & 0x3ffffff)
=== element; | 4725 return dart.notNull(dart.is(element, core.num)) && (element & 0x3ffffff)
=== element; |
4726 } | 4726 } |
4727 [_computeHashCode](element) { | 4727 [_computeHashCode](element) { |
4728 return dart.dload(element, 'hashCode') & 0x3ffffff; | 4728 return element.hashCode & 0x3ffffff; |
4729 } | 4729 } |
4730 static [_getTableEntry](table, key) { | 4730 static [_getTableEntry](table, key) { |
4731 return table[key]; | 4731 return table[key]; |
4732 } | 4732 } |
4733 static [_setTableEntry](table, key, value) { | 4733 static [_setTableEntry](table, key, value) { |
4734 dart.assert(value != null); | 4734 dart.assert(value != null); |
4735 table[key] = value; | 4735 table[key] = value; |
4736 } | 4736 } |
4737 static [_deleteTableEntry](table, key) { | 4737 static [_deleteTableEntry](table, key) { |
4738 delete table[key]; | 4738 delete table[key]; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4943 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; | 4943 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; |
4944 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; | 4944 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; |
4945 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; | 4945 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; |
4946 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; | 4946 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; |
4947 exports.HashSetIterator$ = HashSetIterator$; | 4947 exports.HashSetIterator$ = HashSetIterator$; |
4948 exports.HashSetIterator = HashSetIterator; | 4948 exports.HashSetIterator = HashSetIterator; |
4949 exports.LinkedHashSetCell = LinkedHashSetCell; | 4949 exports.LinkedHashSetCell = LinkedHashSetCell; |
4950 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; | 4950 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; |
4951 exports.LinkedHashSetIterator = LinkedHashSetIterator; | 4951 exports.LinkedHashSetIterator = LinkedHashSetIterator; |
4952 })(collection || (collection = {})); | 4952 })(collection || (collection = {})); |
OLD | NEW |