OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import 'dart:_js_helper' show patch; | 5 import 'dart:_js_helper' show patch; |
6 | 6 |
7 @patch | 7 @patch |
8 class _Directory { | 8 class _Directory { |
9 @patch | 9 @patch |
10 static _current() { | 10 static _current() { |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 } | 484 } |
485 @patch | 485 @patch |
486 void set lineMode(bool enabled) { | 486 void set lineMode(bool enabled) { |
487 throw new UnsupportedError("Stdin.lineMode"); | 487 throw new UnsupportedError("Stdin.lineMode"); |
488 } | 488 } |
489 } | 489 } |
490 | 490 |
491 @patch | 491 @patch |
492 class Stdout { | 492 class Stdout { |
493 @patch | 493 @patch |
494 bool get hasTerminal { | 494 bool _hasTerminal(int fd) { |
495 throw new UnsupportedError("Stdout.hasTerminal"); | 495 throw new UnsupportedError("Stdout.hasTerminal"); |
496 } | 496 } |
497 @patch | 497 @patch |
498 int get terminalColumns { | 498 int _terminalColumns(int fd) { |
499 throw new UnsupportedError("Stdout.terminalColumns"); | 499 throw new UnsupportedError("Stdout.terminalColumns"); |
500 } | 500 } |
501 @patch | 501 @patch |
502 int get terminalLines { | 502 int _terminalLines(int fd) { |
503 throw new UnsupportedError("Stdout.terminalLines"); | 503 throw new UnsupportedError("Stdout.terminalLines"); |
504 } | 504 } |
505 } | 505 } |
506 | 506 |
507 @patch | 507 @patch |
508 class _FileSystemWatcher { | 508 class _FileSystemWatcher { |
509 @patch | 509 @patch |
510 static Stream<FileSystemEvent> watch( | 510 static Stream<FileSystemEvent> watch( |
511 String path, int events, bool recursive) { | 511 String path, int events, bool recursive) { |
512 throw new UnsupportedError("_FileSystemWatcher.watch"); | 512 throw new UnsupportedError("_FileSystemWatcher.watch"); |
513 } | 513 } |
514 @patch | 514 @patch |
515 static bool get isSupported { | 515 static bool get isSupported { |
516 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 516 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
517 } | 517 } |
518 } | 518 } |
519 | 519 |
520 @patch | 520 @patch |
521 class _IOService { | 521 class _IOService { |
522 @patch | 522 @patch |
523 static Future dispatch(int request, List data) { | 523 static Future dispatch(int request, List data) { |
524 throw new UnsupportedError("_IOService.dispatch"); | 524 throw new UnsupportedError("_IOService.dispatch"); |
525 } | 525 } |
526 } | 526 } |
OLD | NEW |