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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 } | 488 } |
489 @patch | 489 @patch |
490 void set lineMode(bool enabled) { | 490 void set lineMode(bool enabled) { |
491 throw new UnsupportedError("Stdin.lineMode"); | 491 throw new UnsupportedError("Stdin.lineMode"); |
492 } | 492 } |
493 } | 493 } |
494 | 494 |
495 @patch | 495 @patch |
496 class Stdout { | 496 class Stdout { |
497 @patch | 497 @patch |
498 bool get hasTerminal { | 498 bool _hasTerminal(int fd) { |
499 throw new UnsupportedError("Stdout.hasTerminal"); | 499 throw new UnsupportedError("Stdout.hasTerminal"); |
500 } | 500 } |
501 @patch | 501 @patch |
502 int get terminalColumns { | 502 int _terminalColumns(int fd) { |
503 throw new UnsupportedError("Stdout.terminalColumns"); | 503 throw new UnsupportedError("Stdout.terminalColumns"); |
504 } | 504 } |
505 @patch | 505 @patch |
506 int get terminalLines { | 506 int _terminalLines(int fd) { |
507 throw new UnsupportedError("Stdout.terminalLines"); | 507 throw new UnsupportedError("Stdout.terminalLines"); |
508 } | 508 } |
509 } | 509 } |
510 | 510 |
511 @patch | 511 @patch |
512 class _FileSystemWatcher { | 512 class _FileSystemWatcher { |
513 @patch | 513 @patch |
514 static Stream<FileSystemEvent> watch( | 514 static Stream<FileSystemEvent> watch( |
515 String path, int events, bool recursive) { | 515 String path, int events, bool recursive) { |
516 throw new UnsupportedError("_FileSystemWatcher.watch"); | 516 throw new UnsupportedError("_FileSystemWatcher.watch"); |
517 } | 517 } |
518 @patch | 518 @patch |
519 static bool get isSupported { | 519 static bool get isSupported { |
520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
521 } | 521 } |
522 } | 522 } |
523 | 523 |
524 @patch | 524 @patch |
525 class _IOService { | 525 class _IOService { |
526 @patch | 526 @patch |
527 static Future dispatch(int request, List data) { | 527 static Future dispatch(int request, List data) { |
528 throw new UnsupportedError("_IOService.dispatch"); | 528 throw new UnsupportedError("_IOService.dispatch"); |
529 } | 529 } |
530 } | 530 } |
OLD | NEW |