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

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

Issue 1042943003: fixes private named constructors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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/core.js ('k') | lib/runtime/dart/math.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 isolate; 1 var isolate;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class Capability extends core.Object { 4 class Capability extends core.Object {
5 Capability() { 5 Capability() {
6 return new _isolate_helper.CapabilityImpl(); 6 return new _isolate_helper.CapabilityImpl();
7 } 7 }
8 } 8 }
9 class IsolateSpawnException extends core.Object { 9 class IsolateSpawnException extends core.Object {
10 IsolateSpawnException(message) { 10 IsolateSpawnException(message) {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 get _currentIsolateCache() { 153 get _currentIsolateCache() {
154 return _isolate_helper.IsolateNatives.currentIsolate; 154 return _isolate_helper.IsolateNatives.currentIsolate;
155 } 155 }
156 }); 156 });
157 class SendPort extends core.Object { 157 class SendPort extends core.Object {
158 } 158 }
159 class ReceivePort extends core.Object { 159 class ReceivePort extends core.Object {
160 ReceivePort() { 160 ReceivePort() {
161 return new _isolate_helper.ReceivePortImpl(); 161 return new _isolate_helper.ReceivePortImpl();
162 } 162 }
163 ReceivePort$fromRawReceivePort(rawPort) { 163 fromRawReceivePort(rawPort) {
164 return new _isolate_helper.ReceivePortImpl.fromRawReceivePort(rawPort); 164 return new _isolate_helper.ReceivePortImpl.fromRawReceivePort(rawPort);
165 } 165 }
166 } 166 }
167 dart.defineNamedConstructor(ReceivePort, 'fromRawReceivePort'); 167 dart.defineNamedConstructor(ReceivePort, 'fromRawReceivePort');
168 class RawReceivePort extends core.Object { 168 class RawReceivePort extends core.Object {
169 RawReceivePort(handler) { 169 RawReceivePort(handler) {
170 if (handler === void 0) 170 if (handler === void 0)
171 handler = null; 171 handler = null;
172 return new _isolate_helper.RawReceivePortImpl(handler); 172 return new _isolate_helper.RawReceivePortImpl(handler);
173 } 173 }
(...skipping 29 matching lines...) Expand all
203 } 203 }
204 // Exports: 204 // Exports:
205 exports.Capability = Capability; 205 exports.Capability = Capability;
206 exports.IsolateSpawnException = IsolateSpawnException; 206 exports.IsolateSpawnException = IsolateSpawnException;
207 exports.Isolate = Isolate; 207 exports.Isolate = Isolate;
208 exports.SendPort = SendPort; 208 exports.SendPort = SendPort;
209 exports.ReceivePort = ReceivePort; 209 exports.ReceivePort = ReceivePort;
210 exports.RawReceivePort = RawReceivePort; 210 exports.RawReceivePort = RawReceivePort;
211 exports.RemoteError = RemoteError; 211 exports.RemoteError = RemoteError;
212 })(isolate || (isolate = {})); 212 })(isolate || (isolate = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698