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

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

Issue 1177563003: Generate metadata (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 dart.library('dart/async', null, /* Imports */[ 1 dart.library('dart/async', null, /* Imports */[
2 'dart/core', 2 'dart/core',
3 'dart/_internal', 3 'dart/_internal',
4 'dart/_js_helper', 4 'dart/_js_helper',
5 'dart/collection' 5 'dart/collection'
6 ], /* Lazy imports */[ 6 ], /* Lazy imports */[
7 'dart/_isolate_helper' 7 'dart/_isolate_helper'
8 ], function(exports, core, _internal, _js_helper, collection, _isolate_helper) { 8 ], function(exports, core, _internal, _js_helper, collection, _isolate_helper) {
9 'use strict'; 9 'use strict';
10 function _invokeErrorHandler(errorHandler, error, stackTrace) { 10 function _invokeErrorHandler(errorHandler, error, stackTrace) {
(...skipping 1773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 this.uri = uri; 1784 this.uri = uri;
1785 } 1785 }
1786 load() { 1786 load() {
1787 throw 'DeferredLibrary not supported. ' + 'please use the `import "lib.dar t" deferred as lib` syntax.'; 1787 throw 'DeferredLibrary not supported. ' + 'please use the `import "lib.dar t" deferred as lib` syntax.';
1788 } 1788 }
1789 } 1789 }
1790 dart.setSignature(DeferredLibrary, { 1790 dart.setSignature(DeferredLibrary, {
1791 constructors: () => ({DeferredLibrary: [DeferredLibrary, [core.String], {uri : core.String}]}), 1791 constructors: () => ({DeferredLibrary: [DeferredLibrary, [core.String], {uri : core.String}]}),
1792 methods: () => ({load: [Future$(core.Null), []]}) 1792 methods: () => ({load: [Future$(core.Null), []]})
1793 }); 1793 });
1794 DeferredLibrary[dart.metadata] = () => [dart.const(new core.Deprecated("Dart s dk v. 1.8"))];
1794 let _s = Symbol('_s'); 1795 let _s = Symbol('_s');
1795 class DeferredLoadException extends core.Object { 1796 class DeferredLoadException extends core.Object {
1796 DeferredLoadException(s) { 1797 DeferredLoadException(s) {
1797 this[_s] = s; 1798 this[_s] = s;
1798 } 1799 }
1799 toString() { 1800 toString() {
1800 return `DeferredLoadException: '${this[_s]}'`; 1801 return `DeferredLoadException: '${this[_s]}'`;
1801 } 1802 }
1802 } 1803 }
1803 DeferredLoadException[dart.implements] = () => [core.Exception]; 1804 DeferredLoadException[dart.implements] = () => [core.Exception];
(...skipping 4097 matching lines...) Expand 10 before | Expand all | Expand 10 after
5901 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler; 5902 exports.ScheduleMicrotaskHandler = ScheduleMicrotaskHandler;
5902 exports.CreateTimerHandler = CreateTimerHandler; 5903 exports.CreateTimerHandler = CreateTimerHandler;
5903 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler; 5904 exports.CreatePeriodicTimerHandler = CreatePeriodicTimerHandler;
5904 exports.PrintHandler = PrintHandler; 5905 exports.PrintHandler = PrintHandler;
5905 exports.ForkHandler = ForkHandler; 5906 exports.ForkHandler = ForkHandler;
5906 exports.ZoneSpecification = ZoneSpecification; 5907 exports.ZoneSpecification = ZoneSpecification;
5907 exports.ZoneDelegate = ZoneDelegate; 5908 exports.ZoneDelegate = ZoneDelegate;
5908 exports.Zone = Zone; 5909 exports.Zone = Zone;
5909 exports.runZoned = runZoned; 5910 exports.runZoned = runZoned;
5910 }); 5911 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698