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

Unified Diff: lib/isolate/isolate_compiler.dart

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/isolate/isolate_api.dart ('k') | lib/isolate/isolate_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/isolate/isolate_compiler.dart
diff --git a/lib/isolate/isolate_compiler.dart b/lib/isolate/isolate_compiler.dart
new file mode 100644
index 0000000000000000000000000000000000000000..bc3ab2eadc3cdce736e0dcf099f5b69d31b7ca8c
--- /dev/null
+++ b/lib/isolate/isolate_compiler.dart
@@ -0,0 +1,38 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+
+// Dart isolate's API for the dartc compiler (only used for type checking in the
+// dart editor, but not for code generation).
+#library("dart:isolate");
+
+#source("isolate_api.dart");
+
+class _IsolateFactory {
+
+ factory Isolate2.fromCode(Function topLevelFunction) {
+ throw new NotImplementedException();
+ }
+
+ factory Isolate2.fromUri(String uri) {
+ throw new NotImplementedException();
+ }
+}
+
+class _IsolateNatives {
+ static Future<SendPort> spawn(Isolate isolate, bool isLight) {
+ throw new NotImplementedException();
+ }
+}
+
+class _ReceivePortFactory {
+
+ factory ReceivePort() {
+ throw new NotImplementedException();
+ }
+
+ factory ReceivePort.singleShot() {
+ throw new NotImplementedException();
+ }
+}
« no previous file with comments | « lib/isolate/isolate_api.dart ('k') | lib/isolate/isolate_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698