| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 | 243 |
| 244 @patch | 244 @patch |
| 245 static _environment() { | 245 static _environment() { |
| 246 throw new UnsupportedError("Platform._environment"); | 246 throw new UnsupportedError("Platform._environment"); |
| 247 } | 247 } |
| 248 | 248 |
| 249 @patch | 249 @patch |
| 250 static String _version() { | 250 static String _version() { |
| 251 throw new UnsupportedError("Platform._version"); | 251 throw new UnsupportedError("Platform._version"); |
| 252 } | 252 } |
| 253 | |
| 254 @patch | |
| 255 static bool _ansiSupported() { | |
| 256 throw new UnsupportedError("Platform._ansiSupported"); | |
| 257 } | |
| 258 } | 253 } |
| 259 | 254 |
| 260 @patch | 255 @patch |
| 261 class _ProcessUtils { | 256 class _ProcessUtils { |
| 262 @patch | 257 @patch |
| 263 static void _exit(int status) { | 258 static void _exit(int status) { |
| 264 throw new UnsupportedError("ProcessUtils._exit"); | 259 throw new UnsupportedError("ProcessUtils._exit"); |
| 265 } | 260 } |
| 266 | 261 |
| 267 @patch | 262 @patch |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 | 538 |
| 544 @patch | 539 @patch |
| 545 bool get lineMode { | 540 bool get lineMode { |
| 546 throw new UnsupportedError("Stdin.lineMode"); | 541 throw new UnsupportedError("Stdin.lineMode"); |
| 547 } | 542 } |
| 548 | 543 |
| 549 @patch | 544 @patch |
| 550 void set lineMode(bool enabled) { | 545 void set lineMode(bool enabled) { |
| 551 throw new UnsupportedError("Stdin.lineMode"); | 546 throw new UnsupportedError("Stdin.lineMode"); |
| 552 } | 547 } |
| 548 |
| 549 @patch |
| 550 bool get supportsAnsiEscapes { |
| 551 throw new UnsupportedError("Stdin.supportsAnsiEscapes"); |
| 552 } |
| 553 } | 553 } |
| 554 | 554 |
| 555 @patch | 555 @patch |
| 556 class Stdout { | 556 class Stdout { |
| 557 @patch | 557 @patch |
| 558 bool _hasTerminal(int fd) { | 558 bool _hasTerminal(int fd) { |
| 559 throw new UnsupportedError("Stdout.hasTerminal"); | 559 throw new UnsupportedError("Stdout.hasTerminal"); |
| 560 } | 560 } |
| 561 | 561 |
| 562 @patch | 562 @patch |
| 563 int _terminalColumns(int fd) { | 563 int _terminalColumns(int fd) { |
| 564 throw new UnsupportedError("Stdout.terminalColumns"); | 564 throw new UnsupportedError("Stdout.terminalColumns"); |
| 565 } | 565 } |
| 566 | 566 |
| 567 @patch | 567 @patch |
| 568 int _terminalLines(int fd) { | 568 int _terminalLines(int fd) { |
| 569 throw new UnsupportedError("Stdout.terminalLines"); | 569 throw new UnsupportedError("Stdout.terminalLines"); |
| 570 } | 570 } |
| 571 |
| 572 @patch |
| 573 static bool _supportsAnsiEscapes(int fd) { |
| 574 throw new UnsupportedError("Stdout.supportsAnsiEscapes"); |
| 575 } |
| 571 } | 576 } |
| 572 | 577 |
| 573 @patch | 578 @patch |
| 574 class _FileSystemWatcher { | 579 class _FileSystemWatcher { |
| 575 @patch | 580 @patch |
| 576 static Stream<FileSystemEvent> _watch( | 581 static Stream<FileSystemEvent> _watch( |
| 577 String path, int events, bool recursive) { | 582 String path, int events, bool recursive) { |
| 578 throw new UnsupportedError("_FileSystemWatcher.watch"); | 583 throw new UnsupportedError("_FileSystemWatcher.watch"); |
| 579 } | 584 } |
| 580 | 585 |
| 581 @patch | 586 @patch |
| 582 static bool get isSupported { | 587 static bool get isSupported { |
| 583 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 588 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
| 584 } | 589 } |
| 585 } | 590 } |
| 586 | 591 |
| 587 @patch | 592 @patch |
| 588 class _IOService { | 593 class _IOService { |
| 589 @patch | 594 @patch |
| 590 static Future _dispatch(int request, List data) { | 595 static Future _dispatch(int request, List data) { |
| 591 throw new UnsupportedError("_IOService._dispatch"); | 596 throw new UnsupportedError("_IOService._dispatch"); |
| 592 } | 597 } |
| 593 } | 598 } |
| OLD | NEW |