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

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

Issue 1150623004: Fix names in named parameter lists (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 return result; 237 return result;
238 } 238 }
239 } 239 }
240 ListIterable[dart.implements] = () => [EfficientLength]; 240 ListIterable[dart.implements] = () => [EfficientLength];
241 dart.setSignature(ListIterable, { 241 dart.setSignature(ListIterable, {
242 constructors: () => ({ListIterable: [ListIterable$(E), []]}), 242 constructors: () => ({ListIterable: [ListIterable$(E), []]}),
243 methods: () => ({ 243 methods: () => ({
244 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]], 244 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]],
245 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]], 245 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]],
246 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]], 246 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]],
247 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart .functionType(E, [])}], 247 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {orElse: da rt.functionType(E, [])}],
248 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart. functionType(E, [])}], 248 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {orElse: dar t.functionType(E, [])}],
249 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])]], 249 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])]],
250 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]], 250 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]],
251 [core.$map]: [core.Iterable, [dart.functionType(core.Object, [E])]], 251 [core.$map]: [core.Iterable, [dart.functionType(core.Object, [E])]],
252 [core.$reduce]: [E, [dart.functionType(E, [dart.bottom, E])]], 252 [core.$reduce]: [E, [dart.functionType(E, [dart.bottom, E])]],
253 [core.$fold]: [core.Object, [core.Object, dart.functionType(core.Object, [dart.bottom, E])]], 253 [core.$fold]: [core.Object, [core.Object, dart.functionType(core.Object, [dart.bottom, E])]],
254 [core.$skip]: [core.Iterable$(E), [core.int]], 254 [core.$skip]: [core.Iterable$(E), [core.int]],
255 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]], 255 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]],
256 [core.$take]: [core.Iterable$(E), [core.int]], 256 [core.$take]: [core.Iterable$(E), [core.int]],
257 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]], 257 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]],
258 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}], 258 [core.$toList]: [core.List$(E), [], {growable: core.bool}],
259 [core.$toSet]: [core.Set$(E), []] 259 [core.$toSet]: [core.Set$(E), []]
260 }) 260 })
261 }); 261 });
262 return ListIterable; 262 return ListIterable;
263 }); 263 });
264 let ListIterable = ListIterable$(); 264 let ListIterable = ListIterable$();
265 let _iterable = dart.JsSymbol('_iterable'); 265 let _iterable = dart.JsSymbol('_iterable');
266 let _start = dart.JsSymbol('_start'); 266 let _start = dart.JsSymbol('_start');
267 let _endOrLength = dart.JsSymbol('_endOrLength'); 267 let _endOrLength = dart.JsSymbol('_endOrLength');
268 let _endIndex = dart.JsSymbol('_endIndex'); 268 let _endIndex = dart.JsSymbol('_endIndex');
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 350 }
351 return dart.as(result, core.List$(E)); 351 return dart.as(result, core.List$(E));
352 } 352 }
353 } 353 }
354 dart.setSignature(SubListIterable, { 354 dart.setSignature(SubListIterable, {
355 constructors: () => ({SubListIterable: [SubListIterable$(E), [core.Iterabl e$(E), core.int, core.int]]}), 355 constructors: () => ({SubListIterable: [SubListIterable$(E), [core.Iterabl e$(E), core.int, core.int]]}),
356 methods: () => ({ 356 methods: () => ({
357 [core.$elementAt]: [E, [core.int]], 357 [core.$elementAt]: [E, [core.int]],
358 [core.$skip]: [core.Iterable$(E), [core.int]], 358 [core.$skip]: [core.Iterable$(E), [core.int]],
359 [core.$take]: [core.Iterable$(E), [core.int]], 359 [core.$take]: [core.Iterable$(E), [core.int]],
360 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}] 360 [core.$toList]: [core.List$(E), [], {growable: core.bool}]
361 }) 361 })
362 }); 362 });
363 return SubListIterable; 363 return SubListIterable;
364 }); 364 });
365 let SubListIterable = SubListIterable$(); 365 let SubListIterable = SubListIterable$();
366 let _length = dart.JsSymbol('_length'); 366 let _length = dart.JsSymbol('_length');
367 let _index = dart.JsSymbol('_index'); 367 let _index = dart.JsSymbol('_index');
368 let _current = dart.JsSymbol('_current'); 368 let _current = dart.JsSymbol('_current');
369 let ListIterator$ = dart.generic(function(E) { 369 let ListIterator$ = dart.generic(function(E) {
370 class ListIterator extends core.Object { 370 class ListIterator extends core.Object {
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 } 989 }
990 } 990 }
991 EmptyIterable[dart.implements] = () => [EfficientLength]; 991 EmptyIterable[dart.implements] = () => [EfficientLength];
992 dart.setSignature(EmptyIterable, { 992 dart.setSignature(EmptyIterable, {
993 constructors: () => ({EmptyIterable: [EmptyIterable$(E), []]}), 993 constructors: () => ({EmptyIterable: [EmptyIterable$(E), []]}),
994 methods: () => ({ 994 methods: () => ({
995 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]], 995 [core.$forEach]: [dart.void, [dart.functionType(dart.void, [E])]],
996 [core.$elementAt]: [E, [core.int]], 996 [core.$elementAt]: [E, [core.int]],
997 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]], 997 [core.$every]: [core.bool, [dart.functionType(core.bool, [E])]],
998 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]], 998 [core.$any]: [core.bool, [dart.functionType(core.bool, [E])]],
999 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart .functionType(E, [])}], 999 [core.$firstWhere]: [E, [dart.functionType(core.bool, [E])], {orElse: da rt.functionType(E, [])}],
1000 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dart. functionType(E, [])}], 1000 [core.$lastWhere]: [E, [dart.functionType(core.bool, [E])], {orElse: dar t.functionType(E, [])}],
1001 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])], {rEls: dar t.functionType(E, [])}], 1001 [core.$singleWhere]: [E, [dart.functionType(core.bool, [E])], {orElse: d art.functionType(E, [])}],
1002 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]], 1002 [core.$where]: [core.Iterable$(E), [dart.functionType(core.bool, [E])]],
1003 [core.$map]: [core.Iterable, [dart.functionType(core.Object, [E])]], 1003 [core.$map]: [core.Iterable, [dart.functionType(core.Object, [E])]],
1004 [core.$reduce]: [E, [dart.functionType(E, [E, E])]], 1004 [core.$reduce]: [E, [dart.functionType(E, [E, E])]],
1005 [core.$fold]: [core.Object, [core.Object, dart.functionType(core.Object, [dart.bottom, E])]], 1005 [core.$fold]: [core.Object, [core.Object, dart.functionType(core.Object, [dart.bottom, E])]],
1006 [core.$skip]: [core.Iterable$(E), [core.int]], 1006 [core.$skip]: [core.Iterable$(E), [core.int]],
1007 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]], 1007 [core.$skipWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]],
1008 [core.$take]: [core.Iterable$(E), [core.int]], 1008 [core.$take]: [core.Iterable$(E), [core.int]],
1009 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]], 1009 [core.$takeWhile]: [core.Iterable$(E), [dart.functionType(core.bool, [E] )]],
1010 [core.$toList]: [core.List$(E), [], {rowabl: core.bool}], 1010 [core.$toList]: [core.List$(E), [], {growable: core.bool}],
1011 [core.$toSet]: [core.Set$(E), []] 1011 [core.$toSet]: [core.Set$(E), []]
1012 }) 1012 })
1013 }); 1013 });
1014 return EmptyIterable; 1014 return EmptyIterable;
1015 }); 1015 });
1016 let EmptyIterable = EmptyIterable$(); 1016 let EmptyIterable = EmptyIterable$();
1017 let EmptyIterator$ = dart.generic(function(E) { 1017 let EmptyIterator$ = dart.generic(function(E) {
1018 class EmptyIterator extends core.Object { 1018 class EmptyIterator extends core.Object {
1019 EmptyIterator() { 1019 EmptyIterator() {
1020 } 1020 }
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
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);
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