| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This is a copy of the VM's dart:io library. This API is not usable | 5 // This is a copy of the VM's dart:io library. This API is not usable |
| 6 // when running inside a web browser. Nevertheless, Leg provides a | 6 // when running inside a web browser. Nevertheless, Leg provides a |
| 7 // mock version of the dart:io library so that it can statically | 7 // mock version of the dart:io library so that it can statically |
| 8 // analyze programs that use dart:io. | 8 // analyze programs that use dart:io. |
| 9 | 9 |
| 10 // TODO(ahe): Separate API from implementation details. | 10 // TODO(ahe): Separate API from implementation details. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } | 111 } |
| 112 | 112 |
| 113 static _EventHandler get _eventHandler() { | 113 static _EventHandler get _eventHandler() { |
| 114 throw new UnsupportedOperationException('_EventHandler._eventhandler'); | 114 throw new UnsupportedOperationException('_EventHandler._eventhandler'); |
| 115 } | 115 } |
| 116 | 116 |
| 117 static void set _eventHandler(_EventHandler e) { | 117 static void set _eventHandler(_EventHandler e) { |
| 118 throw new UnsupportedOperationException('_EventHandler._eventhandler = $e'); | 118 throw new UnsupportedOperationException('_EventHandler._eventhandler = $e'); |
| 119 } | 119 } |
| 120 } | 120 } |
| 121 |
| 122 final InputStream stdin = null; |
| 123 |
| 124 final OutputStream stdout = null; |
| 125 |
| 126 final OutputStream stderr = null; |
| OLD | NEW |