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

Side by Side Diff: pkg/dartino_compiler/lib/vm_command_reader.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 part of fletch.vm_session; 5 part of dartino.vm_session;
6 6
7 class SessionCommandTransformerBuilder 7 class SessionCommandTransformerBuilder
8 extends CommandTransformerBuilder<VmCommand> { 8 extends CommandTransformerBuilder<VmCommand> {
9 9
10 VmCommand makeCommand(int code, ByteData payload) { 10 VmCommand makeCommand(int code, ByteData payload) {
11 return new VmCommand.fromBuffer( 11 return new VmCommand.fromBuffer(
12 VmCommandCode.values[code], toUint8ListView(payload)); 12 VmCommandCode.values[code], toUint8ListView(payload));
13 } 13 }
14 } 14 }
15 15
(...skipping 21 matching lines...) Expand all
37 if (command is StdoutData) { 37 if (command is StdoutData) {
38 if (stdoutSink != null) stdoutSink.add(command.value); 38 if (stdoutSink != null) stdoutSink.add(command.value);
39 } else if (command is StderrData) { 39 } else if (command is StderrData) {
40 if (stderrSink != null) stderrSink.add(command.value); 40 if (stderrSink != null) stderrSink.add(command.value);
41 } else { 41 } else {
42 yield command; 42 yield command;
43 } 43 }
44 } 44 }
45 } 45 }
46 } 46 }
OLDNEW
« no previous file with comments | « pkg/dartino_compiler/lib/src/zone_helper.dart ('k') | pkg/dartino_compiler/lib/vm_commands.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698