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

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

Issue 1233553005: Fixes #254 - Better stacktrace support (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: format fix Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/_internal', null, /* Imports */[ 1 dart_library.library('dart/_internal', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core', 3 'dart/core',
4 'dart/collection' 4 'dart/collection'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 'dart/math', 6 'dart/math',
7 'dart/_interceptors', 7 'dart/_interceptors',
8 'dart/_js_primitives' 8 'dart/_js_primitives'
9 ], function(exports, dart, core, collection, math, _interceptors, _js_primitives ) { 9 ], function(exports, dart, core, collection, math, _interceptors, _js_primitives ) {
10 'use strict'; 10 'use strict';
11 let dartx = dart.dartx; 11 let dartx = dart.dartx;
12 class EfficientLength extends core.Object {} 12 class EfficientLength extends core.Object {}
13 let ListIterable$ = dart.generic(function(E) { 13 let ListIterable$ = dart.generic(function(E) {
14 class ListIterable extends collection.IterableBase$(E) { 14 class ListIterable extends collection.IterableBase$(E) {
15 ListIterable() { 15 ListIterable() {
16 super.IterableBase(); 16 super.IterableBase();
17 } 17 }
18 get iterator() { 18 get iterator() {
19 return new (ListIterator$(E))(this); 19 return new (ListIterator$(E))(this);
20 } 20 }
21 forEach(action) { 21 forEach(action) {
22 dart.as(action, dart.functionType(dart.void, [E])); 22 dart.as(action, dart.functionType(dart.void, [E]));
23 let length = this.length; 23 let length = this.length;
24 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 24 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
25 action(this.elementAt(i)); 25 action(this.elementAt(i));
26 if (length != this.length) { 26 if (length != this.length) {
27 throw new core.ConcurrentModificationError(this); 27 dart.throw(new core.ConcurrentModificationError(this));
28 } 28 }
29 } 29 }
30 } 30 }
31 get isEmpty() { 31 get isEmpty() {
32 return this.length == 0; 32 return this.length == 0;
33 } 33 }
34 get first() { 34 get first() {
35 if (this.length == 0) 35 if (this.length == 0)
36 throw IterableElementError.noElement(); 36 dart.throw(IterableElementError.noElement());
37 return this.elementAt(0); 37 return this.elementAt(0);
38 } 38 }
39 get last() { 39 get last() {
40 if (this.length == 0) 40 if (this.length == 0)
41 throw IterableElementError.noElement(); 41 dart.throw(IterableElementError.noElement());
42 return this.elementAt(dart.notNull(this.length) - 1); 42 return this.elementAt(dart.notNull(this.length) - 1);
43 } 43 }
44 get single() { 44 get single() {
45 if (this.length == 0) 45 if (this.length == 0)
46 throw IterableElementError.noElement(); 46 dart.throw(IterableElementError.noElement());
47 if (dart.notNull(this.length) > 1) 47 if (dart.notNull(this.length) > 1)
48 throw IterableElementError.tooMany(); 48 dart.throw(IterableElementError.tooMany());
49 return this.elementAt(0); 49 return this.elementAt(0);
50 } 50 }
51 contains(element) { 51 contains(element) {
52 let length = this.length; 52 let length = this.length;
53 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 53 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
54 if (dart.equals(this.elementAt(i), element)) 54 if (dart.equals(this.elementAt(i), element))
55 return true; 55 return true;
56 if (length != this.length) { 56 if (length != this.length) {
57 throw new core.ConcurrentModificationError(this); 57 dart.throw(new core.ConcurrentModificationError(this));
58 } 58 }
59 } 59 }
60 return false; 60 return false;
61 } 61 }
62 every(test) { 62 every(test) {
63 dart.as(test, dart.functionType(core.bool, [E])); 63 dart.as(test, dart.functionType(core.bool, [E]));
64 let length = this.length; 64 let length = this.length;
65 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 65 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
66 if (!dart.notNull(test(this.elementAt(i)))) 66 if (!dart.notNull(test(this.elementAt(i))))
67 return false; 67 return false;
68 if (length != this.length) { 68 if (length != this.length) {
69 throw new core.ConcurrentModificationError(this); 69 dart.throw(new core.ConcurrentModificationError(this));
70 } 70 }
71 } 71 }
72 return true; 72 return true;
73 } 73 }
74 any(test) { 74 any(test) {
75 dart.as(test, dart.functionType(core.bool, [E])); 75 dart.as(test, dart.functionType(core.bool, [E]));
76 let length = this.length; 76 let length = this.length;
77 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 77 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
78 if (dart.notNull(test(this.elementAt(i)))) 78 if (dart.notNull(test(this.elementAt(i))))
79 return true; 79 return true;
80 if (length != this.length) { 80 if (length != this.length) {
81 throw new core.ConcurrentModificationError(this); 81 dart.throw(new core.ConcurrentModificationError(this));
82 } 82 }
83 } 83 }
84 return false; 84 return false;
85 } 85 }
86 firstWhere(test, opts) { 86 firstWhere(test, opts) {
87 dart.as(test, dart.functionType(core.bool, [E])); 87 dart.as(test, dart.functionType(core.bool, [E]));
88 let orElse = opts && 'orElse' in opts ? opts.orElse : null; 88 let orElse = opts && 'orElse' in opts ? opts.orElse : null;
89 dart.as(orElse, dart.functionType(E, [])); 89 dart.as(orElse, dart.functionType(E, []));
90 let length = this.length; 90 let length = this.length;
91 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 91 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
92 let element = this.elementAt(i); 92 let element = this.elementAt(i);
93 if (dart.notNull(test(element))) 93 if (dart.notNull(test(element)))
94 return element; 94 return element;
95 if (length != this.length) { 95 if (length != this.length) {
96 throw new core.ConcurrentModificationError(this); 96 dart.throw(new core.ConcurrentModificationError(this));
97 } 97 }
98 } 98 }
99 if (orElse != null) 99 if (orElse != null)
100 return orElse(); 100 return orElse();
101 throw IterableElementError.noElement(); 101 dart.throw(IterableElementError.noElement());
102 } 102 }
103 lastWhere(test, opts) { 103 lastWhere(test, opts) {
104 dart.as(test, dart.functionType(core.bool, [E])); 104 dart.as(test, dart.functionType(core.bool, [E]));
105 let orElse = opts && 'orElse' in opts ? opts.orElse : null; 105 let orElse = opts && 'orElse' in opts ? opts.orElse : null;
106 dart.as(orElse, dart.functionType(E, [])); 106 dart.as(orElse, dart.functionType(E, []));
107 let length = this.length; 107 let length = this.length;
108 for (let i = dart.notNull(length) - 1; dart.notNull(i) >= 0; i = dart.no tNull(i) - 1) { 108 for (let i = dart.notNull(length) - 1; dart.notNull(i) >= 0; i = dart.no tNull(i) - 1) {
109 let element = this.elementAt(i); 109 let element = this.elementAt(i);
110 if (dart.notNull(test(element))) 110 if (dart.notNull(test(element)))
111 return element; 111 return element;
112 if (length != this.length) { 112 if (length != this.length) {
113 throw new core.ConcurrentModificationError(this); 113 dart.throw(new core.ConcurrentModificationError(this));
114 } 114 }
115 } 115 }
116 if (orElse != null) 116 if (orElse != null)
117 return orElse(); 117 return orElse();
118 throw IterableElementError.noElement(); 118 dart.throw(IterableElementError.noElement());
119 } 119 }
120 singleWhere(test) { 120 singleWhere(test) {
121 dart.as(test, dart.functionType(core.bool, [E])); 121 dart.as(test, dart.functionType(core.bool, [E]));
122 let length = this.length; 122 let length = this.length;
123 let match = null; 123 let match = null;
124 let matchFound = false; 124 let matchFound = false;
125 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 125 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
126 let element = this.elementAt(i); 126 let element = this.elementAt(i);
127 if (dart.notNull(test(element))) { 127 if (dart.notNull(test(element))) {
128 if (dart.notNull(matchFound)) { 128 if (dart.notNull(matchFound)) {
129 throw IterableElementError.tooMany(); 129 dart.throw(IterableElementError.tooMany());
130 } 130 }
131 matchFound = true; 131 matchFound = true;
132 match = element; 132 match = element;
133 } 133 }
134 if (length != this.length) { 134 if (length != this.length) {
135 throw new core.ConcurrentModificationError(this); 135 dart.throw(new core.ConcurrentModificationError(this));
136 } 136 }
137 } 137 }
138 if (dart.notNull(matchFound)) 138 if (dart.notNull(matchFound))
139 return match; 139 return match;
140 throw IterableElementError.noElement(); 140 dart.throw(IterableElementError.noElement());
141 } 141 }
142 join(separator) { 142 join(separator) {
143 if (separator === void 0) 143 if (separator === void 0)
144 separator = ""; 144 separator = "";
145 let length = this.length; 145 let length = this.length;
146 if (!dart.notNull(separator[dartx.isEmpty])) { 146 if (!dart.notNull(separator[dartx.isEmpty])) {
147 if (length == 0) 147 if (length == 0)
148 return ""; 148 return "";
149 let first = `${this.elementAt(0)}`; 149 let first = `${this.elementAt(0)}`;
150 if (length != this.length) { 150 if (length != this.length) {
151 throw new core.ConcurrentModificationError(this); 151 dart.throw(new core.ConcurrentModificationError(this));
152 } 152 }
153 let buffer = new core.StringBuffer(first); 153 let buffer = new core.StringBuffer(first);
154 for (let i = 1; dart.notNull(i) < dart.notNull(length); i = dart.notNu ll(i) + 1) { 154 for (let i = 1; dart.notNull(i) < dart.notNull(length); i = dart.notNu ll(i) + 1) {
155 buffer.write(separator); 155 buffer.write(separator);
156 buffer.write(this.elementAt(i)); 156 buffer.write(this.elementAt(i));
157 if (length != this.length) { 157 if (length != this.length) {
158 throw new core.ConcurrentModificationError(this); 158 dart.throw(new core.ConcurrentModificationError(this));
159 } 159 }
160 } 160 }
161 return dart.toString(buffer); 161 return dart.toString(buffer);
162 } else { 162 } else {
163 let buffer = new core.StringBuffer(); 163 let buffer = new core.StringBuffer();
164 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNu ll(i) + 1) { 164 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNu ll(i) + 1) {
165 buffer.write(this.elementAt(i)); 165 buffer.write(this.elementAt(i));
166 if (length != this.length) { 166 if (length != this.length) {
167 throw new core.ConcurrentModificationError(this); 167 dart.throw(new core.ConcurrentModificationError(this));
168 } 168 }
169 } 169 }
170 return dart.toString(buffer); 170 return dart.toString(buffer);
171 } 171 }
172 } 172 }
173 where(test) { 173 where(test) {
174 dart.as(test, dart.functionType(core.bool, [E])); 174 dart.as(test, dart.functionType(core.bool, [E]));
175 return super.where(test); 175 return super.where(test);
176 } 176 }
177 map(f) { 177 map(f) {
178 dart.as(f, dart.functionType(dart.dynamic, [E])); 178 dart.as(f, dart.functionType(dart.dynamic, [E]));
179 return new MappedListIterable(this, f); 179 return new MappedListIterable(this, f);
180 } 180 }
181 reduce(combine) { 181 reduce(combine) {
182 dart.as(combine, dart.functionType(E, [dart.dynamic, E])); 182 dart.as(combine, dart.functionType(E, [dart.dynamic, E]));
183 let length = this.length; 183 let length = this.length;
184 if (length == 0) 184 if (length == 0)
185 throw IterableElementError.noElement(); 185 dart.throw(IterableElementError.noElement());
186 let value = this.elementAt(0); 186 let value = this.elementAt(0);
187 for (let i = 1; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 187 for (let i = 1; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
188 value = dart.dcall(combine, value, this.elementAt(i)); 188 value = dart.dcall(combine, value, this.elementAt(i));
189 if (length != this.length) { 189 if (length != this.length) {
190 throw new core.ConcurrentModificationError(this); 190 dart.throw(new core.ConcurrentModificationError(this));
191 } 191 }
192 } 192 }
193 return value; 193 return value;
194 } 194 }
195 fold(initialValue, combine) { 195 fold(initialValue, combine) {
196 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E])); 196 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E]));
197 let value = initialValue; 197 let value = initialValue;
198 let length = this.length; 198 let length = this.length;
199 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 199 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
200 value = dart.dcall(combine, value, this.elementAt(i)); 200 value = dart.dcall(combine, value, this.elementAt(i));
201 if (length != this.length) { 201 if (length != this.length) {
202 throw new core.ConcurrentModificationError(this); 202 dart.throw(new core.ConcurrentModificationError(this));
203 } 203 }
204 } 204 }
205 return value; 205 return value;
206 } 206 }
207 skip(count) { 207 skip(count) {
208 return new (SubListIterable$(E))(this, count, null); 208 return new (SubListIterable$(E))(this, count, null);
209 } 209 }
210 skipWhile(test) { 210 skipWhile(test) {
211 dart.as(test, dart.functionType(core.bool, [E])); 211 dart.as(test, dart.functionType(core.bool, [E]));
212 return super.skipWhile(test); 212 return super.skipWhile(test);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 class SubListIterable extends ListIterable$(E) { 299 class SubListIterable extends ListIterable$(E) {
300 SubListIterable(iterable, start, endOrLength) { 300 SubListIterable(iterable, start, endOrLength) {
301 this[_iterable] = iterable; 301 this[_iterable] = iterable;
302 this[_start] = start; 302 this[_start] = start;
303 this[_endOrLength] = endOrLength; 303 this[_endOrLength] = endOrLength;
304 super.ListIterable(); 304 super.ListIterable();
305 core.RangeError.checkNotNegative(this[_start], "start"); 305 core.RangeError.checkNotNegative(this[_start], "start");
306 if (this[_endOrLength] != null) { 306 if (this[_endOrLength] != null) {
307 core.RangeError.checkNotNegative(this[_endOrLength], "end"); 307 core.RangeError.checkNotNegative(this[_endOrLength], "end");
308 if (dart.notNull(this[_start]) > dart.notNull(this[_endOrLength])) { 308 if (dart.notNull(this[_start]) > dart.notNull(this[_endOrLength])) {
309 throw new core.RangeError.range(this[_start], 0, this[_endOrLength], "start"); 309 dart.throw(new core.RangeError.range(this[_start], 0, this[_endOrLen gth], "start"));
310 } 310 }
311 } 311 }
312 } 312 }
313 get [_endIndex]() { 313 get [_endIndex]() {
314 let length = this[_iterable][dartx.length]; 314 let length = this[_iterable][dartx.length];
315 if (this[_endOrLength] == null || dart.notNull(this[_endOrLength]) > dar t.notNull(length)) 315 if (this[_endOrLength] == null || dart.notNull(this[_endOrLength]) > dar t.notNull(length))
316 return length; 316 return length;
317 return this[_endOrLength]; 317 return this[_endOrLength];
318 } 318 }
319 get [_startIndex]() { 319 get [_startIndex]() {
320 let length = this[_iterable][dartx.length]; 320 let length = this[_iterable][dartx.length];
321 if (dart.notNull(this[_start]) > dart.notNull(length)) 321 if (dart.notNull(this[_start]) > dart.notNull(length))
322 return length; 322 return length;
323 return this[_start]; 323 return this[_start];
324 } 324 }
325 get length() { 325 get length() {
326 let length = this[_iterable][dartx.length]; 326 let length = this[_iterable][dartx.length];
327 if (dart.notNull(this[_start]) >= dart.notNull(length)) 327 if (dart.notNull(this[_start]) >= dart.notNull(length))
328 return 0; 328 return 0;
329 if (this[_endOrLength] == null || dart.notNull(this[_endOrLength]) >= da rt.notNull(length)) { 329 if (this[_endOrLength] == null || dart.notNull(this[_endOrLength]) >= da rt.notNull(length)) {
330 return dart.notNull(length) - dart.notNull(this[_start]); 330 return dart.notNull(length) - dart.notNull(this[_start]);
331 } 331 }
332 return dart.notNull(this[_endOrLength]) - dart.notNull(this[_start]); 332 return dart.notNull(this[_endOrLength]) - dart.notNull(this[_start]);
333 } 333 }
334 elementAt(index) { 334 elementAt(index) {
335 let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index); 335 let realIndex = dart.notNull(this[_startIndex]) + dart.notNull(index);
336 if (dart.notNull(index) < 0 || dart.notNull(realIndex) >= dart.notNull(t his[_endIndex])) { 336 if (dart.notNull(index) < 0 || dart.notNull(realIndex) >= dart.notNull(t his[_endIndex])) {
337 throw core.RangeError.index(index, this, "index"); 337 dart.throw(core.RangeError.index(index, this, "index"));
338 } 338 }
339 return this[_iterable][dartx.elementAt](realIndex); 339 return this[_iterable][dartx.elementAt](realIndex);
340 } 340 }
341 skip(count) { 341 skip(count) {
342 core.RangeError.checkNotNegative(count, "count"); 342 core.RangeError.checkNotNegative(count, "count");
343 let newStart = dart.notNull(this[_start]) + dart.notNull(count); 343 let newStart = dart.notNull(this[_start]) + dart.notNull(count);
344 if (this[_endOrLength] != null && dart.notNull(newStart) >= dart.notNull (this[_endOrLength])) { 344 if (this[_endOrLength] != null && dart.notNull(newStart) >= dart.notNull (this[_endOrLength])) {
345 return new (EmptyIterable$(E))(); 345 return new (EmptyIterable$(E))();
346 } 346 }
347 return new (SubListIterable$(E))(this[_iterable], newStart, this[_endOrL ength]); 347 return new (SubListIterable$(E))(this[_iterable], newStart, this[_endOrL ength]);
(...skipping 19 matching lines...) Expand all
367 if (dart.notNull(length) < 0) 367 if (dart.notNull(length) < 0)
368 length = 0; 368 length = 0;
369 let result = dart.notNull(growable) ? (() => { 369 let result = dart.notNull(growable) ? (() => {
370 let _ = core.List$(E).new(); 370 let _ = core.List$(E).new();
371 _[dartx.length] = length; 371 _[dartx.length] = length;
372 return _; 372 return _;
373 })() : core.List$(E).new(length); 373 })() : core.List$(E).new(length);
374 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 374 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
375 result[dartx.set](i, this[_iterable][dartx.elementAt](dart.notNull(sta rt) + dart.notNull(i))); 375 result[dartx.set](i, this[_iterable][dartx.elementAt](dart.notNull(sta rt) + dart.notNull(i)));
376 if (dart.notNull(this[_iterable][dartx.length]) < dart.notNull(end)) 376 if (dart.notNull(this[_iterable][dartx.length]) < dart.notNull(end))
377 throw new core.ConcurrentModificationError(this); 377 dart.throw(new core.ConcurrentModificationError(this));
378 } 378 }
379 return dart.as(result, core.List$(E)); 379 return dart.as(result, core.List$(E));
380 } 380 }
381 } 381 }
382 dart.setSignature(SubListIterable, { 382 dart.setSignature(SubListIterable, {
383 constructors: () => ({SubListIterable: [SubListIterable$(E), [core.Iterabl e$(E), core.int, core.int]]}), 383 constructors: () => ({SubListIterable: [SubListIterable$(E), [core.Iterabl e$(E), core.int, core.int]]}),
384 methods: () => ({ 384 methods: () => ({
385 elementAt: [E, [core.int]], 385 elementAt: [E, [core.int]],
386 skip: [core.Iterable$(E), [core.int]], 386 skip: [core.Iterable$(E), [core.int]],
387 take: [core.Iterable$(E), [core.int]], 387 take: [core.Iterable$(E), [core.int]],
(...skipping 20 matching lines...) Expand all
408 this[_length] = iterable[dartx.length]; 408 this[_length] = iterable[dartx.length];
409 this[_index] = 0; 409 this[_index] = 0;
410 this[_current] = null; 410 this[_current] = null;
411 } 411 }
412 get current() { 412 get current() {
413 return this[_current]; 413 return this[_current];
414 } 414 }
415 moveNext() { 415 moveNext() {
416 let length = this[_iterable][dartx.length]; 416 let length = this[_iterable][dartx.length];
417 if (this[_length] != length) { 417 if (this[_length] != length) {
418 throw new core.ConcurrentModificationError(this[_iterable]); 418 dart.throw(new core.ConcurrentModificationError(this[_iterable]));
419 } 419 }
420 if (dart.notNull(this[_index]) >= dart.notNull(length)) { 420 if (dart.notNull(this[_index]) >= dart.notNull(length)) {
421 this[_current] = null; 421 this[_current] = null;
422 return false; 422 return false;
423 } 423 }
424 this[_current] = this[_iterable][dartx.elementAt](this[_index]); 424 this[_current] = this[_iterable][dartx.elementAt](this[_index]);
425 this[_index] = dart.notNull(this[_index]) + 1; 425 this[_index] = dart.notNull(this[_index]) + 1;
426 return true; 426 return true;
427 } 427 }
428 } 428 }
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 }) 669 })
670 }); 670 });
671 return ExpandIterator; 671 return ExpandIterator;
672 }); 672 });
673 let ExpandIterator = ExpandIterator$(); 673 let ExpandIterator = ExpandIterator$();
674 let _takeCount = dart.JsSymbol('_takeCount'); 674 let _takeCount = dart.JsSymbol('_takeCount');
675 let TakeIterable$ = dart.generic(function(E) { 675 let TakeIterable$ = dart.generic(function(E) {
676 class TakeIterable extends collection.IterableBase$(E) { 676 class TakeIterable extends collection.IterableBase$(E) {
677 static new(iterable, takeCount) { 677 static new(iterable, takeCount) {
678 if (!(typeof takeCount == 'number') || dart.notNull(takeCount) < 0) { 678 if (!(typeof takeCount == 'number') || dart.notNull(takeCount) < 0) {
679 throw new core.ArgumentError(takeCount); 679 dart.throw(new core.ArgumentError(takeCount));
680 } 680 }
681 if (dart.is(iterable, EfficientLength)) { 681 if (dart.is(iterable, EfficientLength)) {
682 return new (EfficientLengthTakeIterable$(E))(iterable, takeCount); 682 return new (EfficientLengthTakeIterable$(E))(iterable, takeCount);
683 } 683 }
684 return new (TakeIterable$(E))._(iterable, takeCount); 684 return new (TakeIterable$(E))._(iterable, takeCount);
685 } 685 }
686 _(iterable, takeCount) { 686 _(iterable, takeCount) {
687 this[_iterable] = iterable; 687 this[_iterable] = iterable;
688 this[_takeCount] = takeCount; 688 this[_takeCount] = takeCount;
689 super.IterableBase(); 689 super.IterableBase();
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 if (dart.is(iterable, EfficientLength)) { 807 if (dart.is(iterable, EfficientLength)) {
808 return new (EfficientLengthSkipIterable$(E))(iterable, count); 808 return new (EfficientLengthSkipIterable$(E))(iterable, count);
809 } 809 }
810 return new (SkipIterable$(E))._(iterable, count); 810 return new (SkipIterable$(E))._(iterable, count);
811 } 811 }
812 _(iterable, skipCount) { 812 _(iterable, skipCount) {
813 this[_iterable] = iterable; 813 this[_iterable] = iterable;
814 this[_skipCount] = skipCount; 814 this[_skipCount] = skipCount;
815 super.IterableBase(); 815 super.IterableBase();
816 if (!(typeof this[_skipCount] == 'number')) { 816 if (!(typeof this[_skipCount] == 'number')) {
817 throw new core.ArgumentError.value(this[_skipCount], "count is not an integer"); 817 dart.throw(new core.ArgumentError.value(this[_skipCount], "count is no t an integer"));
818 } 818 }
819 core.RangeError.checkNotNegative(this[_skipCount], "count"); 819 core.RangeError.checkNotNegative(this[_skipCount], "count");
820 } 820 }
821 skip(count) { 821 skip(count) {
822 if (!(typeof this[_skipCount] == 'number')) { 822 if (!(typeof this[_skipCount] == 'number')) {
823 throw new core.ArgumentError.value(this[_skipCount], "count is not an integer"); 823 dart.throw(new core.ArgumentError.value(this[_skipCount], "count is no t an integer"));
824 } 824 }
825 core.RangeError.checkNotNegative(this[_skipCount], "count"); 825 core.RangeError.checkNotNegative(this[_skipCount], "count");
826 return new (SkipIterable$(E))._(this[_iterable], dart.notNull(this[_skip Count]) + dart.notNull(count)); 826 return new (SkipIterable$(E))._(this[_iterable], dart.notNull(this[_skip Count]) + dart.notNull(count));
827 } 827 }
828 get iterator() { 828 get iterator() {
829 return new (SkipIterator$(E))(this[_iterable][dartx.iterator], this[_ski pCount]); 829 return new (SkipIterator$(E))(this[_iterable][dartx.iterator], this[_ski pCount]);
830 } 830 }
831 } 831 }
832 dart.defineNamedConstructor(SkipIterable, '_'); 832 dart.defineNamedConstructor(SkipIterable, '_');
833 dart.setSignature(SkipIterable, { 833 dart.setSignature(SkipIterable, {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 forEach(action) { 943 forEach(action) {
944 dart.as(action, dart.functionType(dart.void, [E])); 944 dart.as(action, dart.functionType(dart.void, [E]));
945 } 945 }
946 get isEmpty() { 946 get isEmpty() {
947 return true; 947 return true;
948 } 948 }
949 get length() { 949 get length() {
950 return 0; 950 return 0;
951 } 951 }
952 get first() { 952 get first() {
953 throw IterableElementError.noElement(); 953 dart.throw(IterableElementError.noElement());
954 } 954 }
955 get last() { 955 get last() {
956 throw IterableElementError.noElement(); 956 dart.throw(IterableElementError.noElement());
957 } 957 }
958 get single() { 958 get single() {
959 throw IterableElementError.noElement(); 959 dart.throw(IterableElementError.noElement());
960 } 960 }
961 elementAt(index) { 961 elementAt(index) {
962 throw new core.RangeError.range(index, 0, 0, "index"); 962 dart.throw(new core.RangeError.range(index, 0, 0, "index"));
963 } 963 }
964 contains(element) { 964 contains(element) {
965 return false; 965 return false;
966 } 966 }
967 every(test) { 967 every(test) {
968 dart.as(test, dart.functionType(core.bool, [E])); 968 dart.as(test, dart.functionType(core.bool, [E]));
969 return true; 969 return true;
970 } 970 }
971 any(test) { 971 any(test) {
972 dart.as(test, dart.functionType(core.bool, [E])); 972 dart.as(test, dart.functionType(core.bool, [E]));
973 return false; 973 return false;
974 } 974 }
975 firstWhere(test, opts) { 975 firstWhere(test, opts) {
976 dart.as(test, dart.functionType(core.bool, [E])); 976 dart.as(test, dart.functionType(core.bool, [E]));
977 let orElse = opts && 'orElse' in opts ? opts.orElse : null; 977 let orElse = opts && 'orElse' in opts ? opts.orElse : null;
978 dart.as(orElse, dart.functionType(E, [])); 978 dart.as(orElse, dart.functionType(E, []));
979 if (orElse != null) 979 if (orElse != null)
980 return orElse(); 980 return orElse();
981 throw IterableElementError.noElement(); 981 dart.throw(IterableElementError.noElement());
982 } 982 }
983 lastWhere(test, opts) { 983 lastWhere(test, opts) {
984 dart.as(test, dart.functionType(core.bool, [E])); 984 dart.as(test, dart.functionType(core.bool, [E]));
985 let orElse = opts && 'orElse' in opts ? opts.orElse : null; 985 let orElse = opts && 'orElse' in opts ? opts.orElse : null;
986 dart.as(orElse, dart.functionType(E, [])); 986 dart.as(orElse, dart.functionType(E, []));
987 if (orElse != null) 987 if (orElse != null)
988 return orElse(); 988 return orElse();
989 throw IterableElementError.noElement(); 989 dart.throw(IterableElementError.noElement());
990 } 990 }
991 singleWhere(test, opts) { 991 singleWhere(test, opts) {
992 dart.as(test, dart.functionType(core.bool, [E])); 992 dart.as(test, dart.functionType(core.bool, [E]));
993 let orElse = opts && 'orElse' in opts ? opts.orElse : null; 993 let orElse = opts && 'orElse' in opts ? opts.orElse : null;
994 dart.as(orElse, dart.functionType(E, [])); 994 dart.as(orElse, dart.functionType(E, []));
995 if (orElse != null) 995 if (orElse != null)
996 return orElse(); 996 return orElse();
997 throw IterableElementError.noElement(); 997 dart.throw(IterableElementError.noElement());
998 } 998 }
999 join(separator) { 999 join(separator) {
1000 if (separator === void 0) 1000 if (separator === void 0)
1001 separator = ""; 1001 separator = "";
1002 return ""; 1002 return "";
1003 } 1003 }
1004 where(test) { 1004 where(test) {
1005 dart.as(test, dart.functionType(core.bool, [E])); 1005 dart.as(test, dart.functionType(core.bool, [E]));
1006 return this; 1006 return this;
1007 } 1007 }
1008 map(f) { 1008 map(f) {
1009 dart.as(f, dart.functionType(dart.dynamic, [E])); 1009 dart.as(f, dart.functionType(dart.dynamic, [E]));
1010 return dart.const(new (EmptyIterable$())()); 1010 return dart.const(new (EmptyIterable$())());
1011 } 1011 }
1012 reduce(combine) { 1012 reduce(combine) {
1013 dart.as(combine, dart.functionType(E, [E, E])); 1013 dart.as(combine, dart.functionType(E, [E, E]));
1014 throw IterableElementError.noElement(); 1014 dart.throw(IterableElementError.noElement());
1015 } 1015 }
1016 fold(initialValue, combine) { 1016 fold(initialValue, combine) {
1017 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E])); 1017 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, E]));
1018 return initialValue; 1018 return initialValue;
1019 } 1019 }
1020 skip(count) { 1020 skip(count) {
1021 core.RangeError.checkNotNegative(count, "count"); 1021 core.RangeError.checkNotNegative(count, "count");
1022 return this; 1022 return this;
1023 } 1023 }
1024 skipWhile(test) { 1024 skipWhile(test) {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 for (let e of iterable) { 1147 for (let e of iterable) {
1148 if (!dart.notNull(dart.dcall(f, e))) 1148 if (!dart.notNull(dart.dcall(f, e)))
1149 return false; 1149 return false;
1150 } 1150 }
1151 return true; 1151 return true;
1152 } 1152 }
1153 static reduce(iterable, combine) { 1153 static reduce(iterable, combine) {
1154 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, dart.dyn amic])); 1154 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, dart.dyn amic]));
1155 let iterator = iterable[dartx.iterator]; 1155 let iterator = iterable[dartx.iterator];
1156 if (!dart.notNull(iterator.moveNext())) 1156 if (!dart.notNull(iterator.moveNext()))
1157 throw IterableElementError.noElement(); 1157 dart.throw(IterableElementError.noElement());
1158 let value = iterator.current; 1158 let value = iterator.current;
1159 while (dart.notNull(iterator.moveNext())) { 1159 while (dart.notNull(iterator.moveNext())) {
1160 value = dart.dcall(combine, value, iterator.current); 1160 value = dart.dcall(combine, value, iterator.current);
1161 } 1161 }
1162 return value; 1162 return value;
1163 } 1163 }
1164 static fold(iterable, initialValue, combine) { 1164 static fold(iterable, initialValue, combine) {
1165 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, dart.dyn amic])); 1165 dart.as(combine, dart.functionType(dart.dynamic, [dart.dynamic, dart.dyn amic]));
1166 for (let element of iterable) { 1166 for (let element of iterable) {
1167 initialValue = dart.dcall(combine, initialValue, element); 1167 initialValue = dart.dcall(combine, initialValue, element);
1168 } 1168 }
1169 return initialValue; 1169 return initialValue;
1170 } 1170 }
1171 static removeWhereList(list, test) { 1171 static removeWhereList(list, test) {
1172 dart.as(test, dart.functionType(core.bool, [dart.dynamic])); 1172 dart.as(test, dart.functionType(core.bool, [dart.dynamic]));
1173 let retained = []; 1173 let retained = [];
1174 let length = list[dartx.length]; 1174 let length = list[dartx.length];
1175 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 1175 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
1176 let element = list[dartx.get](i); 1176 let element = list[dartx.get](i);
1177 if (!dart.notNull(dart.dcall(test, element))) { 1177 if (!dart.notNull(dart.dcall(test, element))) {
1178 retained[dartx.add](element); 1178 retained[dartx.add](element);
1179 } 1179 }
1180 if (length != list[dartx.length]) { 1180 if (length != list[dartx.length]) {
1181 throw new core.ConcurrentModificationError(list); 1181 dart.throw(new core.ConcurrentModificationError(list));
1182 } 1182 }
1183 } 1183 }
1184 if (retained[dartx.length] == length) 1184 if (retained[dartx.length] == length)
1185 return; 1185 return;
1186 list[dartx.length] = retained[dartx.length]; 1186 list[dartx.length] = retained[dartx.length];
1187 for (let i = 0; dart.notNull(i) < dart.notNull(retained[dartx.length]); i = dart.notNull(i) + 1) { 1187 for (let i = 0; dart.notNull(i) < dart.notNull(retained[dartx.length]); i = dart.notNull(i) + 1) {
1188 list[dartx.set](i, retained[dartx.get](i)); 1188 list[dartx.set](i, retained[dartx.get](i));
1189 } 1189 }
1190 } 1190 }
1191 static isEmpty(iterable) { 1191 static isEmpty(iterable) {
1192 return !dart.notNull(iterable[dartx.iterator].moveNext()); 1192 return !dart.notNull(iterable[dartx.iterator].moveNext());
1193 } 1193 }
1194 static first(iterable) { 1194 static first(iterable) {
1195 let it = iterable[dartx.iterator]; 1195 let it = iterable[dartx.iterator];
1196 if (!dart.notNull(it.moveNext())) { 1196 if (!dart.notNull(it.moveNext())) {
1197 throw IterableElementError.noElement(); 1197 dart.throw(IterableElementError.noElement());
1198 } 1198 }
1199 return it.current; 1199 return it.current;
1200 } 1200 }
1201 static last(iterable) { 1201 static last(iterable) {
1202 let it = iterable[dartx.iterator]; 1202 let it = iterable[dartx.iterator];
1203 if (!dart.notNull(it.moveNext())) { 1203 if (!dart.notNull(it.moveNext())) {
1204 throw IterableElementError.noElement(); 1204 dart.throw(IterableElementError.noElement());
1205 } 1205 }
1206 let result = null; 1206 let result = null;
1207 do { 1207 do {
1208 result = it.current; 1208 result = it.current;
1209 } while (dart.notNull(it.moveNext())); 1209 } while (dart.notNull(it.moveNext()));
1210 return result; 1210 return result;
1211 } 1211 }
1212 static single(iterable) { 1212 static single(iterable) {
1213 let it = iterable[dartx.iterator]; 1213 let it = iterable[dartx.iterator];
1214 if (!dart.notNull(it.moveNext())) 1214 if (!dart.notNull(it.moveNext()))
1215 throw IterableElementError.noElement(); 1215 dart.throw(IterableElementError.noElement());
1216 let result = it.current; 1216 let result = it.current;
1217 if (dart.notNull(it.moveNext())) 1217 if (dart.notNull(it.moveNext()))
1218 throw IterableElementError.tooMany(); 1218 dart.throw(IterableElementError.tooMany());
1219 return result; 1219 return result;
1220 } 1220 }
1221 static firstWhere(iterable, test, orElse) { 1221 static firstWhere(iterable, test, orElse) {
1222 dart.as(test, dart.functionType(core.bool, [dart.dynamic])); 1222 dart.as(test, dart.functionType(core.bool, [dart.dynamic]));
1223 dart.as(orElse, dart.functionType(dart.dynamic, [])); 1223 dart.as(orElse, dart.functionType(dart.dynamic, []));
1224 for (let element of iterable) { 1224 for (let element of iterable) {
1225 if (dart.notNull(dart.dcall(test, element))) 1225 if (dart.notNull(dart.dcall(test, element)))
1226 return element; 1226 return element;
1227 } 1227 }
1228 if (orElse != null) 1228 if (orElse != null)
1229 return orElse(); 1229 return orElse();
1230 throw IterableElementError.noElement(); 1230 dart.throw(IterableElementError.noElement());
1231 } 1231 }
1232 static lastWhere(iterable, test, orElse) { 1232 static lastWhere(iterable, test, orElse) {
1233 dart.as(test, dart.functionType(core.bool, [dart.dynamic])); 1233 dart.as(test, dart.functionType(core.bool, [dart.dynamic]));
1234 dart.as(orElse, dart.functionType(dart.dynamic, [])); 1234 dart.as(orElse, dart.functionType(dart.dynamic, []));
1235 let result = null; 1235 let result = null;
1236 let foundMatching = false; 1236 let foundMatching = false;
1237 for (let element of iterable) { 1237 for (let element of iterable) {
1238 if (dart.notNull(dart.dcall(test, element))) { 1238 if (dart.notNull(dart.dcall(test, element))) {
1239 result = element; 1239 result = element;
1240 foundMatching = true; 1240 foundMatching = true;
1241 } 1241 }
1242 } 1242 }
1243 if (dart.notNull(foundMatching)) 1243 if (dart.notNull(foundMatching))
1244 return result; 1244 return result;
1245 if (orElse != null) 1245 if (orElse != null)
1246 return orElse(); 1246 return orElse();
1247 throw IterableElementError.noElement(); 1247 dart.throw(IterableElementError.noElement());
1248 } 1248 }
1249 static lastWhereList(list, test, orElse) { 1249 static lastWhereList(list, test, orElse) {
1250 dart.as(test, dart.functionType(core.bool, [dart.dynamic])); 1250 dart.as(test, dart.functionType(core.bool, [dart.dynamic]));
1251 dart.as(orElse, dart.functionType(dart.dynamic, [])); 1251 dart.as(orElse, dart.functionType(dart.dynamic, []));
1252 for (let i = dart.notNull(list[dartx.length]) - 1; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { 1252 for (let i = dart.notNull(list[dartx.length]) - 1; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) {
1253 let element = list[dartx.get](i); 1253 let element = list[dartx.get](i);
1254 if (dart.notNull(dart.dcall(test, element))) 1254 if (dart.notNull(dart.dcall(test, element)))
1255 return element; 1255 return element;
1256 } 1256 }
1257 if (orElse != null) 1257 if (orElse != null)
1258 return orElse(); 1258 return orElse();
1259 throw IterableElementError.noElement(); 1259 dart.throw(IterableElementError.noElement());
1260 } 1260 }
1261 static singleWhere(iterable, test) { 1261 static singleWhere(iterable, test) {
1262 dart.as(test, dart.functionType(core.bool, [dart.dynamic])); 1262 dart.as(test, dart.functionType(core.bool, [dart.dynamic]));
1263 let result = null; 1263 let result = null;
1264 let foundMatching = false; 1264 let foundMatching = false;
1265 for (let element of iterable) { 1265 for (let element of iterable) {
1266 if (dart.notNull(dart.dcall(test, element))) { 1266 if (dart.notNull(dart.dcall(test, element))) {
1267 if (dart.notNull(foundMatching)) { 1267 if (dart.notNull(foundMatching)) {
1268 throw IterableElementError.tooMany(); 1268 dart.throw(IterableElementError.tooMany());
1269 } 1269 }
1270 result = element; 1270 result = element;
1271 foundMatching = true; 1271 foundMatching = true;
1272 } 1272 }
1273 } 1273 }
1274 if (dart.notNull(foundMatching)) 1274 if (dart.notNull(foundMatching))
1275 return result; 1275 return result;
1276 throw IterableElementError.noElement(); 1276 dart.throw(IterableElementError.noElement());
1277 } 1277 }
1278 static elementAt(iterable, index) { 1278 static elementAt(iterable, index) {
1279 if (!(typeof index == 'number')) 1279 if (!(typeof index == 'number'))
1280 throw new core.ArgumentError.notNull("index"); 1280 dart.throw(new core.ArgumentError.notNull("index"));
1281 core.RangeError.checkNotNegative(index, "index"); 1281 core.RangeError.checkNotNegative(index, "index");
1282 let elementIndex = 0; 1282 let elementIndex = 0;
1283 for (let element of iterable) { 1283 for (let element of iterable) {
1284 if (index == elementIndex) 1284 if (index == elementIndex)
1285 return element; 1285 return element;
1286 elementIndex = dart.notNull(elementIndex) + 1; 1286 elementIndex = dart.notNull(elementIndex) + 1;
1287 } 1287 }
1288 throw core.RangeError.index(index, iterable, "index", null, elementIndex ); 1288 dart.throw(core.RangeError.index(index, iterable, "index", null, element Index));
1289 } 1289 }
1290 static join(iterable, separator) { 1290 static join(iterable, separator) {
1291 if (separator === void 0) 1291 if (separator === void 0)
1292 separator = null; 1292 separator = null;
1293 let buffer = new core.StringBuffer(); 1293 let buffer = new core.StringBuffer();
1294 buffer.writeAll(iterable, separator); 1294 buffer.writeAll(iterable, separator);
1295 return dart.toString(buffer); 1295 return dart.toString(buffer);
1296 } 1296 }
1297 static joinList(list, separator) { 1297 static joinList(list, separator) {
1298 if (separator === void 0) 1298 if (separator === void 0)
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 getRangeList(list, start, end) { 1380 getRangeList(list, start, end) {
1381 IterableMixinWorkaround$()._rangeCheck(list, start, end); 1381 IterableMixinWorkaround$()._rangeCheck(list, start, end);
1382 return new (SubListIterable$(T))(dart.as(list, core.Iterable$(T)), start , end); 1382 return new (SubListIterable$(T))(dart.as(list, core.Iterable$(T)), start , end);
1383 } 1383 }
1384 static setRangeList(list, start, end, from, skipCount) { 1384 static setRangeList(list, start, end, from, skipCount) {
1385 IterableMixinWorkaround$()._rangeCheck(list, start, end); 1385 IterableMixinWorkaround$()._rangeCheck(list, start, end);
1386 let length = dart.notNull(end) - dart.notNull(start); 1386 let length = dart.notNull(end) - dart.notNull(start);
1387 if (length == 0) 1387 if (length == 0)
1388 return; 1388 return;
1389 if (dart.notNull(skipCount) < 0) 1389 if (dart.notNull(skipCount) < 0)
1390 throw new core.ArgumentError(skipCount); 1390 dart.throw(new core.ArgumentError(skipCount));
1391 let otherList = null; 1391 let otherList = null;
1392 let otherStart = null; 1392 let otherStart = null;
1393 if (dart.is(from, core.List)) { 1393 if (dart.is(from, core.List)) {
1394 otherList = from; 1394 otherList = from;
1395 otherStart = skipCount; 1395 otherStart = skipCount;
1396 } else { 1396 } else {
1397 otherList = from[dartx.skip](skipCount)[dartx.toList]({growable: false }); 1397 otherList = from[dartx.skip](skipCount)[dartx.toList]({growable: false });
1398 otherStart = 0; 1398 otherStart = 0;
1399 } 1399 }
1400 if (dart.notNull(otherStart) + dart.notNull(length) > dart.notNull(other List[dartx.length])) { 1400 if (dart.notNull(otherStart) + dart.notNull(length) > dart.notNull(other List[dartx.length])) {
1401 throw IterableElementError.tooFew(); 1401 dart.throw(IterableElementError.tooFew());
1402 } 1402 }
1403 Lists.copy(otherList, otherStart, list, start, length); 1403 Lists.copy(otherList, otherStart, list, start, length);
1404 } 1404 }
1405 static replaceRangeList(list, start, end, iterable) { 1405 static replaceRangeList(list, start, end, iterable) {
1406 IterableMixinWorkaround$()._rangeCheck(list, start, end); 1406 IterableMixinWorkaround$()._rangeCheck(list, start, end);
1407 if (!dart.is(iterable, EfficientLength)) { 1407 if (!dart.is(iterable, EfficientLength)) {
1408 iterable = iterable[dartx.toList](); 1408 iterable = iterable[dartx.toList]();
1409 } 1409 }
1410 let removeLength = dart.notNull(end) - dart.notNull(start); 1410 let removeLength = dart.notNull(end) - dart.notNull(start);
1411 let insertLength = iterable[dartx.length]; 1411 let insertLength = iterable[dartx.length];
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 }); 1578 });
1579 let __CastType0 = __CastType0$(); 1579 let __CastType0 = __CastType0$();
1580 let __CastType2$ = dart.generic(function(T) { 1580 let __CastType2$ = dart.generic(function(T) {
1581 let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.b ool, [T])); 1581 let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.b ool, [T]));
1582 return __CastType2; 1582 return __CastType2;
1583 }); 1583 });
1584 let __CastType2 = __CastType2$(); 1584 let __CastType2 = __CastType2$();
1585 let FixedLengthListMixin$ = dart.generic(function(E) { 1585 let FixedLengthListMixin$ = dart.generic(function(E) {
1586 class FixedLengthListMixin extends core.Object { 1586 class FixedLengthListMixin extends core.Object {
1587 set length(newLength) { 1587 set length(newLength) {
1588 throw new core.UnsupportedError("Cannot change the length of a fixed-len gth list"); 1588 dart.throw(new core.UnsupportedError("Cannot change the length of a fixe d-length list"));
1589 } 1589 }
1590 add(value) { 1590 add(value) {
1591 dart.as(value, E); 1591 dart.as(value, E);
1592 throw new core.UnsupportedError("Cannot add to a fixed-length list"); 1592 dart.throw(new core.UnsupportedError("Cannot add to a fixed-length list" ));
1593 } 1593 }
1594 insert(index, value) { 1594 insert(index, value) {
1595 dart.as(value, E); 1595 dart.as(value, E);
1596 throw new core.UnsupportedError("Cannot add to a fixed-length list"); 1596 dart.throw(new core.UnsupportedError("Cannot add to a fixed-length list" ));
1597 } 1597 }
1598 insertAll(at, iterable) { 1598 insertAll(at, iterable) {
1599 dart.as(iterable, core.Iterable$(E)); 1599 dart.as(iterable, core.Iterable$(E));
1600 throw new core.UnsupportedError("Cannot add to a fixed-length list"); 1600 dart.throw(new core.UnsupportedError("Cannot add to a fixed-length list" ));
1601 } 1601 }
1602 addAll(iterable) { 1602 addAll(iterable) {
1603 dart.as(iterable, core.Iterable$(E)); 1603 dart.as(iterable, core.Iterable$(E));
1604 throw new core.UnsupportedError("Cannot add to a fixed-length list"); 1604 dart.throw(new core.UnsupportedError("Cannot add to a fixed-length list" ));
1605 } 1605 }
1606 remove(element) { 1606 remove(element) {
1607 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1607 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1608 } 1608 }
1609 removeWhere(test) { 1609 removeWhere(test) {
1610 dart.as(test, dart.functionType(core.bool, [E])); 1610 dart.as(test, dart.functionType(core.bool, [E]));
1611 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1611 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1612 } 1612 }
1613 retainWhere(test) { 1613 retainWhere(test) {
1614 dart.as(test, dart.functionType(core.bool, [E])); 1614 dart.as(test, dart.functionType(core.bool, [E]));
1615 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1615 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1616 } 1616 }
1617 clear() { 1617 clear() {
1618 throw new core.UnsupportedError("Cannot clear a fixed-length list"); 1618 dart.throw(new core.UnsupportedError("Cannot clear a fixed-length list") );
1619 } 1619 }
1620 removeAt(index) { 1620 removeAt(index) {
1621 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1621 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1622 } 1622 }
1623 removeLast() { 1623 removeLast() {
1624 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1624 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1625 } 1625 }
1626 removeRange(start, end) { 1626 removeRange(start, end) {
1627 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1627 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1628 } 1628 }
1629 replaceRange(start, end, iterable) { 1629 replaceRange(start, end, iterable) {
1630 dart.as(iterable, core.Iterable$(E)); 1630 dart.as(iterable, core.Iterable$(E));
1631 throw new core.UnsupportedError("Cannot remove from a fixed-length list" ); 1631 dart.throw(new core.UnsupportedError("Cannot remove from a fixed-length list"));
1632 } 1632 }
1633 } 1633 }
1634 dart.setSignature(FixedLengthListMixin, { 1634 dart.setSignature(FixedLengthListMixin, {
1635 methods: () => ({ 1635 methods: () => ({
1636 add: [dart.void, [E]], 1636 add: [dart.void, [E]],
1637 insert: [dart.void, [core.int, E]], 1637 insert: [dart.void, [core.int, E]],
1638 insertAll: [dart.void, [core.int, core.Iterable$(E)]], 1638 insertAll: [dart.void, [core.int, core.Iterable$(E)]],
1639 addAll: [dart.void, [core.Iterable$(E)]], 1639 addAll: [dart.void, [core.Iterable$(E)]],
1640 remove: [core.bool, [core.Object]], 1640 remove: [core.bool, [core.Object]],
1641 removeWhere: [dart.void, [dart.functionType(core.bool, [E])]], 1641 removeWhere: [dart.void, [dart.functionType(core.bool, [E])]],
1642 retainWhere: [dart.void, [dart.functionType(core.bool, [E])]], 1642 retainWhere: [dart.void, [dart.functionType(core.bool, [E])]],
1643 clear: [dart.void, []], 1643 clear: [dart.void, []],
1644 removeAt: [E, [core.int]], 1644 removeAt: [E, [core.int]],
1645 removeLast: [E, []], 1645 removeLast: [E, []],
1646 removeRange: [dart.void, [core.int, core.int]], 1646 removeRange: [dart.void, [core.int, core.int]],
1647 replaceRange: [dart.void, [core.int, core.int, core.Iterable$(E)]] 1647 replaceRange: [dart.void, [core.int, core.int, core.Iterable$(E)]]
1648 }) 1648 })
1649 }); 1649 });
1650 return FixedLengthListMixin; 1650 return FixedLengthListMixin;
1651 }); 1651 });
1652 let FixedLengthListMixin = FixedLengthListMixin$(); 1652 let FixedLengthListMixin = FixedLengthListMixin$();
1653 let UnmodifiableListMixin$ = dart.generic(function(E) { 1653 let UnmodifiableListMixin$ = dart.generic(function(E) {
1654 class UnmodifiableListMixin extends core.Object { 1654 class UnmodifiableListMixin extends core.Object {
1655 set(index, value) { 1655 set(index, value) {
1656 dart.as(value, E); 1656 dart.as(value, E);
1657 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1657 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1658 } 1658 }
1659 set length(newLength) { 1659 set length(newLength) {
1660 throw new core.UnsupportedError("Cannot change the length of an unmodifi able list"); 1660 dart.throw(new core.UnsupportedError("Cannot change the length of an unm odifiable list"));
1661 } 1661 }
1662 setAll(at, iterable) { 1662 setAll(at, iterable) {
1663 dart.as(iterable, core.Iterable$(E)); 1663 dart.as(iterable, core.Iterable$(E));
1664 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1664 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1665 } 1665 }
1666 add(value) { 1666 add(value) {
1667 dart.as(value, E); 1667 dart.as(value, E);
1668 throw new core.UnsupportedError("Cannot add to an unmodifiable list"); 1668 dart.throw(new core.UnsupportedError("Cannot add to an unmodifiable list "));
1669 } 1669 }
1670 insert(index, value) { 1670 insert(index, value) {
1671 dart.as(value, E); 1671 dart.as(value, E);
1672 throw new core.UnsupportedError("Cannot add to an unmodifiable list"); 1672 dart.throw(new core.UnsupportedError("Cannot add to an unmodifiable list "));
1673 } 1673 }
1674 insertAll(at, iterable) { 1674 insertAll(at, iterable) {
1675 dart.as(iterable, core.Iterable$(E)); 1675 dart.as(iterable, core.Iterable$(E));
1676 throw new core.UnsupportedError("Cannot add to an unmodifiable list"); 1676 dart.throw(new core.UnsupportedError("Cannot add to an unmodifiable list "));
1677 } 1677 }
1678 addAll(iterable) { 1678 addAll(iterable) {
1679 dart.as(iterable, core.Iterable$(E)); 1679 dart.as(iterable, core.Iterable$(E));
1680 throw new core.UnsupportedError("Cannot add to an unmodifiable list"); 1680 dart.throw(new core.UnsupportedError("Cannot add to an unmodifiable list "));
1681 } 1681 }
1682 remove(element) { 1682 remove(element) {
1683 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1683 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1684 } 1684 }
1685 removeWhere(test) { 1685 removeWhere(test) {
1686 dart.as(test, dart.functionType(core.bool, [E])); 1686 dart.as(test, dart.functionType(core.bool, [E]));
1687 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1687 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1688 } 1688 }
1689 retainWhere(test) { 1689 retainWhere(test) {
1690 dart.as(test, dart.functionType(core.bool, [E])); 1690 dart.as(test, dart.functionType(core.bool, [E]));
1691 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1691 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1692 } 1692 }
1693 sort(compare) { 1693 sort(compare) {
1694 if (compare === void 0) 1694 if (compare === void 0)
1695 compare = null; 1695 compare = null;
1696 dart.as(compare, core.Comparator$(E)); 1696 dart.as(compare, core.Comparator$(E));
1697 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1697 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1698 } 1698 }
1699 shuffle(random) { 1699 shuffle(random) {
1700 if (random === void 0) 1700 if (random === void 0)
1701 random = null; 1701 random = null;
1702 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1702 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1703 } 1703 }
1704 clear() { 1704 clear() {
1705 throw new core.UnsupportedError("Cannot clear an unmodifiable list"); 1705 dart.throw(new core.UnsupportedError("Cannot clear an unmodifiable list" ));
1706 } 1706 }
1707 removeAt(index) { 1707 removeAt(index) {
1708 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1708 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1709 } 1709 }
1710 removeLast() { 1710 removeLast() {
1711 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1711 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1712 } 1712 }
1713 setRange(start, end, iterable, skipCount) { 1713 setRange(start, end, iterable, skipCount) {
1714 dart.as(iterable, core.Iterable$(E)); 1714 dart.as(iterable, core.Iterable$(E));
1715 if (skipCount === void 0) 1715 if (skipCount === void 0)
1716 skipCount = 0; 1716 skipCount = 0;
1717 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1717 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1718 } 1718 }
1719 removeRange(start, end) { 1719 removeRange(start, end) {
1720 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1720 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1721 } 1721 }
1722 replaceRange(start, end, iterable) { 1722 replaceRange(start, end, iterable) {
1723 dart.as(iterable, core.Iterable$(E)); 1723 dart.as(iterable, core.Iterable$(E));
1724 throw new core.UnsupportedError("Cannot remove from an unmodifiable list "); 1724 dart.throw(new core.UnsupportedError("Cannot remove from an unmodifiable list"));
1725 } 1725 }
1726 fillRange(start, end, fillValue) { 1726 fillRange(start, end, fillValue) {
1727 if (fillValue === void 0) 1727 if (fillValue === void 0)
1728 fillValue = null; 1728 fillValue = null;
1729 dart.as(fillValue, E); 1729 dart.as(fillValue, E);
1730 throw new core.UnsupportedError("Cannot modify an unmodifiable list"); 1730 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable list "));
1731 } 1731 }
1732 } 1732 }
1733 UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; 1733 UnmodifiableListMixin[dart.implements] = () => [core.List$(E)];
1734 dart.setSignature(UnmodifiableListMixin, { 1734 dart.setSignature(UnmodifiableListMixin, {
1735 methods: () => ({ 1735 methods: () => ({
1736 set: [dart.void, [core.int, E]], 1736 set: [dart.void, [core.int, E]],
1737 setAll: [dart.void, [core.int, core.Iterable$(E)]], 1737 setAll: [dart.void, [core.int, core.Iterable$(E)]],
1738 add: [dart.void, [E]], 1738 add: [dart.void, [E]],
1739 insert: [E, [core.int, E]], 1739 insert: [E, [core.int, E]],
1740 insertAll: [dart.void, [core.int, core.Iterable$(E)]], 1740 insertAll: [dart.void, [core.int, core.Iterable$(E)]],
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1843 } 1843 }
1844 containsKey(key) { 1844 containsKey(key) {
1845 return typeof key == 'number' && dart.notNull(key) >= 0 && dart.notNull( key) < dart.notNull(this.length); 1845 return typeof key == 'number' && dart.notNull(key) >= 0 && dart.notNull( key) < dart.notNull(this.length);
1846 } 1846 }
1847 forEach(f) { 1847 forEach(f) {
1848 dart.as(f, dart.functionType(dart.void, [core.int, E])); 1848 dart.as(f, dart.functionType(dart.void, [core.int, E]));
1849 let length = this[_values][dartx.length]; 1849 let length = this[_values][dartx.length];
1850 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) { 1850 for (let i = 0; dart.notNull(i) < dart.notNull(length); i = dart.notNull (i) + 1) {
1851 f(i, this[_values][dartx.get](i)); 1851 f(i, this[_values][dartx.get](i));
1852 if (length != this[_values][dartx.length]) { 1852 if (length != this[_values][dartx.length]) {
1853 throw new core.ConcurrentModificationError(this[_values]); 1853 dart.throw(new core.ConcurrentModificationError(this[_values]));
1854 } 1854 }
1855 } 1855 }
1856 } 1856 }
1857 set(key, value) { 1857 set(key, value) {
1858 dart.as(value, E); 1858 dart.as(value, E);
1859 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); 1859 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable map" ));
1860 } 1860 }
1861 putIfAbsent(key, ifAbsent) { 1861 putIfAbsent(key, ifAbsent) {
1862 dart.as(ifAbsent, dart.functionType(E, [])); 1862 dart.as(ifAbsent, dart.functionType(E, []));
1863 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); 1863 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable map" ));
1864 } 1864 }
1865 remove(key) { 1865 remove(key) {
1866 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); 1866 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable map" ));
1867 } 1867 }
1868 clear() { 1868 clear() {
1869 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); 1869 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable map" ));
1870 } 1870 }
1871 addAll(other) { 1871 addAll(other) {
1872 dart.as(other, core.Map$(core.int, E)); 1872 dart.as(other, core.Map$(core.int, E));
1873 throw new core.UnsupportedError("Cannot modify an unmodifiable map"); 1873 dart.throw(new core.UnsupportedError("Cannot modify an unmodifiable map" ));
1874 } 1874 }
1875 toString() { 1875 toString() {
1876 return collection.Maps.mapToString(this); 1876 return collection.Maps.mapToString(this);
1877 } 1877 }
1878 } 1878 }
1879 ListMapView[dart.implements] = () => [core.Map$(core.int, E)]; 1879 ListMapView[dart.implements] = () => [core.Map$(core.int, E)];
1880 dart.setSignature(ListMapView, { 1880 dart.setSignature(ListMapView, {
1881 constructors: () => ({ListMapView: [ListMapView$(E), [core.List$(E)]]}), 1881 constructors: () => ({ListMapView: [ListMapView$(E), [core.List$(E)]]}),
1882 methods: () => ({ 1882 methods: () => ({
1883 get: [E, [core.Object]], 1883 get: [E, [core.Object]],
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 return -1; 2017 return -1;
2018 } 2018 }
2019 static indicesCheck(a, start, end) { 2019 static indicesCheck(a, start, end) {
2020 core.RangeError.checkValidRange(start, end, a[dartx.length]); 2020 core.RangeError.checkValidRange(start, end, a[dartx.length]);
2021 } 2021 }
2022 static rangeCheck(a, start, length) { 2022 static rangeCheck(a, start, length) {
2023 core.RangeError.checkNotNegative(length); 2023 core.RangeError.checkNotNegative(length);
2024 core.RangeError.checkNotNegative(start); 2024 core.RangeError.checkNotNegative(start);
2025 if (dart.notNull(start) + dart.notNull(length) > dart.notNull(a[dartx.leng th])) { 2025 if (dart.notNull(start) + dart.notNull(length) > dart.notNull(a[dartx.leng th])) {
2026 let message = `${start} + ${length} must be in the range [0..${a[dartx.l ength]}]`; 2026 let message = `${start} + ${length} must be in the range [0..${a[dartx.l ength]}]`;
2027 throw new core.RangeError.range(length, 0, dart.notNull(a[dartx.length]) - dart.notNull(start), "length", message); 2027 dart.throw(new core.RangeError.range(length, 0, dart.notNull(a[dartx.len gth]) - dart.notNull(start), "length", message));
2028 } 2028 }
2029 } 2029 }
2030 } 2030 }
2031 dart.setSignature(Lists, { 2031 dart.setSignature(Lists, {
2032 statics: () => ({ 2032 statics: () => ({
2033 copy: [dart.void, [core.List, core.int, core.List, core.int, core.int]], 2033 copy: [dart.void, [core.List, core.int, core.List, core.int, core.int]],
2034 areEqual: [core.bool, [core.List, dart.dynamic]], 2034 areEqual: [core.bool, [core.List, dart.dynamic]],
2035 indexOf: [core.int, [core.List, core.Object, core.int, core.int]], 2035 indexOf: [core.int, [core.List, core.Object, core.int, core.int]],
2036 lastIndexOf: [core.int, [core.List, core.Object, core.int]], 2036 lastIndexOf: [core.int, [core.List, core.Object, core.int]],
2037 indicesCheck: [dart.void, [core.List, core.int, core.int]], 2037 indicesCheck: [dart.void, [core.List, core.int, core.int]],
2038 rangeCheck: [dart.void, [core.List, core.int, core.int]] 2038 rangeCheck: [dart.void, [core.List, core.int, core.int]]
2039 }), 2039 }),
2040 names: ['copy', 'areEqual', 'indexOf', 'lastIndexOf', 'indicesCheck', 'range Check'] 2040 names: ['copy', 'areEqual', 'indexOf', 'lastIndexOf', 'indicesCheck', 'range Check']
2041 }); 2041 });
2042 exports.printToZone = null; 2042 exports.printToZone = null;
2043 function printToConsole(line) { 2043 function printToConsole(line) {
2044 _js_primitives.printString(`${line}`); 2044 _js_primitives.printString(`${line}`);
2045 } 2045 }
2046 dart.fn(printToConsole, dart.void, [core.String]); 2046 dart.fn(printToConsole, dart.void, [core.String]);
2047 class Sort extends core.Object { 2047 class Sort extends core.Object {
2048 static sort(a, compare) { 2048 static sort(a, compare) {
2049 Sort._doSort(a, 0, dart.notNull(a[dartx.length]) - 1, compare); 2049 Sort._doSort(a, 0, dart.notNull(a[dartx.length]) - 1, compare);
2050 } 2050 }
2051 static sortRange(a, from, to, compare) { 2051 static sortRange(a, from, to, compare) {
2052 if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[dartx.leng th]) || dart.notNull(to) < dart.notNull(from)) { 2052 if (dart.notNull(from) < 0 || dart.notNull(to) > dart.notNull(a[dartx.leng th]) || dart.notNull(to) < dart.notNull(from)) {
2053 throw "OutOfRange"; 2053 dart.throw("OutOfRange");
2054 } 2054 }
2055 Sort._doSort(a, from, dart.notNull(to) - 1, compare); 2055 Sort._doSort(a, from, dart.notNull(to) - 1, compare);
2056 } 2056 }
2057 static _doSort(a, left, right, compare) { 2057 static _doSort(a, left, right, compare) {
2058 if (dart.notNull(right) - dart.notNull(left) <= dart.notNull(Sort._INSERTI ON_SORT_THRESHOLD)) { 2058 if (dart.notNull(right) - dart.notNull(left) <= dart.notNull(Sort._INSERTI ON_SORT_THRESHOLD)) {
2059 Sort._insertionSort(a, left, right, compare); 2059 Sort._insertionSort(a, left, right, compare);
2060 } else { 2060 } else {
2061 Sort._dualPivotQuicksort(a, left, right, compare); 2061 Sort._dualPivotQuicksort(a, left, right, compare);
2062 } 2062 }
2063 } 2063 }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
2334 toString() { 2334 toString() {
2335 return `Symbol("${this[_name]}")`; 2335 return `Symbol("${this[_name]}")`;
2336 } 2336 }
2337 static getName(symbol) { 2337 static getName(symbol) {
2338 return symbol[_name]; 2338 return symbol[_name];
2339 } 2339 }
2340 static validatePublicSymbol(name) { 2340 static validatePublicSymbol(name) {
2341 if (dart.notNull(name[dartx.isEmpty]) || dart.notNull(Symbol.publicSymbolP attern.hasMatch(name))) 2341 if (dart.notNull(name[dartx.isEmpty]) || dart.notNull(Symbol.publicSymbolP attern.hasMatch(name)))
2342 return name; 2342 return name;
2343 if (dart.notNull(name[dartx.startsWith]('_'))) { 2343 if (dart.notNull(name[dartx.startsWith]('_'))) {
2344 throw new core.ArgumentError(`"${name}" is a private identifier`); 2344 dart.throw(new core.ArgumentError(`"${name}" is a private identifier`));
2345 } 2345 }
2346 throw new core.ArgumentError(`"${name}" is not a valid (qualified) symbol name`); 2346 dart.throw(new core.ArgumentError(`"${name}" is not a valid (qualified) sy mbol name`));
2347 } 2347 }
2348 static isValidSymbol(name) { 2348 static isValidSymbol(name) {
2349 return dart.notNull(name[dartx.isEmpty]) || dart.notNull(Symbol.symbolPatt ern.hasMatch(name)); 2349 return dart.notNull(name[dartx.isEmpty]) || dart.notNull(Symbol.symbolPatt ern.hasMatch(name));
2350 } 2350 }
2351 } 2351 }
2352 Symbol[dart.implements] = () => [core.Symbol]; 2352 Symbol[dart.implements] = () => [core.Symbol];
2353 dart.defineNamedConstructor(Symbol, 'unvalidated'); 2353 dart.defineNamedConstructor(Symbol, 'unvalidated');
2354 dart.defineNamedConstructor(Symbol, 'validated'); 2354 dart.defineNamedConstructor(Symbol, 'validated');
2355 dart.setSignature(Symbol, { 2355 dart.setSignature(Symbol, {
2356 constructors: () => ({ 2356 constructors: () => ({
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2446 exports.ReversedListIterable = ReversedListIterable; 2446 exports.ReversedListIterable = ReversedListIterable;
2447 exports.UnmodifiableListError = UnmodifiableListError; 2447 exports.UnmodifiableListError = UnmodifiableListError;
2448 exports.NonGrowableListError = NonGrowableListError; 2448 exports.NonGrowableListError = NonGrowableListError;
2449 exports.makeListFixedLength = makeListFixedLength; 2449 exports.makeListFixedLength = makeListFixedLength;
2450 exports.Lists = Lists; 2450 exports.Lists = Lists;
2451 exports.printToConsole = printToConsole; 2451 exports.printToConsole = printToConsole;
2452 exports.Sort = Sort; 2452 exports.Sort = Sort;
2453 exports.Symbol = Symbol; 2453 exports.Symbol = Symbol;
2454 exports.POWERS_OF_TEN = POWERS_OF_TEN; 2454 exports.POWERS_OF_TEN = POWERS_OF_TEN;
2455 }); 2455 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698