OLD | NEW |
1 var _internal = dart.defineLibrary(_internal, {}); | 1 var _internal = dart.defineLibrary(_internal, {}); |
2 var core = dart.import(core); | 2 var core = dart.import(core); |
3 var collection = dart.import(collection); | 3 var collection = dart.import(collection); |
4 var math = dart.lazyImport(math); | 4 var math = dart.lazyImport(math); |
5 var _interceptors = dart.lazyImport(_interceptors); | 5 var _interceptors = dart.lazyImport(_interceptors); |
6 var _js_primitives = dart.lazyImport(_js_primitives); | 6 var _js_primitives = dart.lazyImport(_js_primitives); |
7 (function(exports, core, collection, math, _interceptors, _js_primitives) { | 7 (function(exports, core, collection, math, _interceptors, _js_primitives) { |
8 'use strict'; | 8 'use strict'; |
9 class EfficientLength extends core.Object {} | 9 class EfficientLength extends core.Object {} |
10 let ListIterable$ = dart.generic(function(E) { | 10 let ListIterable$ = dart.generic(function(E) { |
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 constructors: () => ({_ListIndicesIterable: [_ListIndicesIterable, [core.Lis
t]]}), | 1714 constructors: () => ({_ListIndicesIterable: [_ListIndicesIterable, [core.Lis
t]]}), |
1715 methods: () => ({[core.$elementAt]: [core.int, [core.int]]}) | 1715 methods: () => ({[core.$elementAt]: [core.int, [core.int]]}) |
1716 }); | 1716 }); |
1717 let _values = dart.JsSymbol('_values'); | 1717 let _values = dart.JsSymbol('_values'); |
1718 let ListMapView$ = dart.generic(function(E) { | 1718 let ListMapView$ = dart.generic(function(E) { |
1719 class ListMapView extends core.Object { | 1719 class ListMapView extends core.Object { |
1720 ListMapView(values) { | 1720 ListMapView(values) { |
1721 this[_values] = values; | 1721 this[_values] = values; |
1722 } | 1722 } |
1723 get(key) { | 1723 get(key) { |
1724 return this.containsKey(key) ? this[_values][core.$get](key) : null; | 1724 return this.containsKey(key) ? this[_values][core.$get](dart.as(key, cor
e.int)) : null; |
1725 } | 1725 } |
1726 get length() { | 1726 get length() { |
1727 return this[_values][core.$length]; | 1727 return this[_values][core.$length]; |
1728 } | 1728 } |
1729 get values() { | 1729 get values() { |
1730 return new (SubListIterable$(E))(this[_values], 0, null); | 1730 return new (SubListIterable$(E))(this[_values], 0, null); |
1731 } | 1731 } |
1732 get keys() { | 1732 get keys() { |
1733 return new _ListIndicesIterable(this[_values]); | 1733 return new _ListIndicesIterable(this[_values]); |
1734 } | 1734 } |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2345 exports.ReversedListIterable = ReversedListIterable; | 2345 exports.ReversedListIterable = ReversedListIterable; |
2346 exports.UnmodifiableListError = UnmodifiableListError; | 2346 exports.UnmodifiableListError = UnmodifiableListError; |
2347 exports.NonGrowableListError = NonGrowableListError; | 2347 exports.NonGrowableListError = NonGrowableListError; |
2348 exports.makeListFixedLength = makeListFixedLength; | 2348 exports.makeListFixedLength = makeListFixedLength; |
2349 exports.Lists = Lists; | 2349 exports.Lists = Lists; |
2350 exports.printToConsole = printToConsole; | 2350 exports.printToConsole = printToConsole; |
2351 exports.Sort = Sort; | 2351 exports.Sort = Sort; |
2352 exports.Symbol = Symbol; | 2352 exports.Symbol = Symbol; |
2353 exports.POWERS_OF_TEN = POWERS_OF_TEN; | 2353 exports.POWERS_OF_TEN = POWERS_OF_TEN; |
2354 })(_internal, core, collection, math, _interceptors, _js_primitives); | 2354 })(_internal, core, collection, math, _interceptors, _js_primitives); |
OLD | NEW |