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

Unified Diff: pkg/dartino_compiler/lib/dartino_vm.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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 | « pkg/dartino_compiler/lib/dartino_system.dart ('k') | pkg/dartino_compiler/lib/debug_state.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartino_compiler/lib/dartino_vm.dart
diff --git a/pkg/fletchc/lib/fletch_vm.dart b/pkg/dartino_compiler/lib/dartino_vm.dart
similarity index 93%
rename from pkg/fletchc/lib/fletch_vm.dart
rename to pkg/dartino_compiler/lib/dartino_vm.dart
index 31b9d12e36c8efbad11d31bae7a333bc9b4a3ecb..4fb4b7687e26cb00e7d894d0951f52e8f228e23a 100644
--- a/pkg/fletchc/lib/fletch_vm.dart
+++ b/pkg/dartino_compiler/lib/dartino_vm.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-library fletchc.fletch_vm;
+library dartino_compiler.dartino_vm;
// Please keep this file independent of other libraries in this package as we
// import this directly into test.dart.
@@ -10,7 +10,7 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';
-class FletchVm {
+class DartinoVm {
final Process process;
final String host;
@@ -23,7 +23,7 @@ class FletchVm {
final Stream<String> stderrLines;
- const FletchVm(
+ const DartinoVm(
this.process,
this.host,
this.port,
@@ -33,7 +33,7 @@ class FletchVm {
Future<Socket> connect() => Socket.connect(host, port);
- static Future<FletchVm> start(
+ static Future<DartinoVm> start(
String vmPath,
{Uri workingDirectory,
List<String> arguments: const <String>[],
@@ -57,7 +57,7 @@ class FletchVm {
}, () {
if (!addressCompleter.isCompleted) {
addressCompleter.completeError(
- new StateError('The fletch-vm did not print an address on '
+ new StateError('The dartino-vm did not print an address on '
'which it is listening on.'));
}
});
@@ -79,7 +79,7 @@ class FletchVm {
List<String> address = (await addressCompleter.future).split(":");
- return new FletchVm(
+ return new DartinoVm(
process, address[0], int.parse(address[1]), exitCode,
stdoutLines, stderrLines);
}
« no previous file with comments | « pkg/dartino_compiler/lib/dartino_system.dart ('k') | pkg/dartino_compiler/lib/debug_state.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698