| 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 21 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 @patch | 33 @patch |
| 34 static _deleteNative(String path, bool recursive) { | 34 static _deleteNative(String path, bool recursive) { |
| 35 throw new UnsupportedError("Directory._deleteNative"); | 35 throw new UnsupportedError("Directory._deleteNative"); |
| 36 } | 36 } |
| 37 @patch | 37 @patch |
| 38 static _rename(String path, String newPath) { | 38 static _rename(String path, String newPath) { |
| 39 throw new UnsupportedError("Directory._rename"); | 39 throw new UnsupportedError("Directory._rename"); |
| 40 } | 40 } |
| 41 @patch | 41 @patch |
| 42 static List _list(String path, bool recursive, bool followLinks) { | 42 static void _fillWithDirectoryListing( |
| 43 List<FileSystemEntity> list, String path, bool recursive, |
| 44 bool followLinks) { |
| 45 throw new UnsupportedError("Directory._fillWithDirectoryListing"); |
| 46 } |
| 47 } |
| 48 |
| 49 @patch |
| 50 class _AsyncDirectoryListerOps { |
| 51 @patch |
| 52 factory _AsyncDirectoryListerOps(int pointer) { |
| 43 throw new UnsupportedError("Directory._list"); | 53 throw new UnsupportedError("Directory._list"); |
| 44 } | 54 } |
| 45 } | 55 } |
| 46 | 56 |
| 47 @patch | 57 @patch |
| 48 class _EventHandler { | 58 class _EventHandler { |
| 49 @patch | 59 @patch |
| 50 static void _sendData(Object sender, | 60 static void _sendData(Object sender, |
| 51 SendPort sendPort, | 61 SendPort sendPort, |
| 52 int data) { | 62 int data) { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 static _open(String path, int mode) { | 138 static _open(String path, int mode) { |
| 129 throw new UnsupportedError("File._open"); | 139 throw new UnsupportedError("File._open"); |
| 130 } | 140 } |
| 131 @patch | 141 @patch |
| 132 static int _openStdio(int fd) { | 142 static int _openStdio(int fd) { |
| 133 throw new UnsupportedError("File._openStdio"); | 143 throw new UnsupportedError("File._openStdio"); |
| 134 } | 144 } |
| 135 } | 145 } |
| 136 | 146 |
| 137 @patch | 147 @patch |
| 138 class _RandomAccessFile { | 148 class _RandomAccessFileOps { |
| 139 @patch | 149 @patch |
| 140 static int _close(int id) { | 150 factory _RandomAccessFileOps(int pointer) { |
| 141 throw new UnsupportedError("RandomAccessFile._close"); | 151 throw new UnsupportedError("RandomAccessFile"); |
| 142 } | |
| 143 @patch | |
| 144 static int _getFD(int id) { | |
| 145 throw new UnsupportedError("RandomAccessFile._getFD"); | |
| 146 } | |
| 147 @patch | |
| 148 static _readByte(int id) { | |
| 149 throw new UnsupportedError("RandomAccessFile._readByte"); | |
| 150 } | |
| 151 @patch | |
| 152 static _read(int id, int bytes) { | |
| 153 throw new UnsupportedError("RandomAccessFile._read"); | |
| 154 } | |
| 155 @patch | |
| 156 static _readInto(int id, List<int> buffer, int start, int end) { | |
| 157 throw new UnsupportedError("RandomAccessFile._readInto"); | |
| 158 } | |
| 159 @patch | |
| 160 static _writeByte(int id, int value) { | |
| 161 throw new UnsupportedError("RandomAccessFile._writeByte"); | |
| 162 } | |
| 163 @patch | |
| 164 static _writeFrom(int id, List<int> buffer, int start, int end) { | |
| 165 throw new UnsupportedError("RandomAccessFile._writeFrom"); | |
| 166 } | |
| 167 @patch | |
| 168 static _position(int id) { | |
| 169 throw new UnsupportedError("RandomAccessFile._position"); | |
| 170 } | |
| 171 @patch | |
| 172 static _setPosition(int id, int position) { | |
| 173 throw new UnsupportedError("RandomAccessFile._setPosition"); | |
| 174 } | |
| 175 @patch | |
| 176 static _truncate(int id, int length) { | |
| 177 throw new UnsupportedError("RandomAccessFile._truncate"); | |
| 178 } | |
| 179 @patch | |
| 180 static _length(int id) { | |
| 181 throw new UnsupportedError("RandomAccessFile._length"); | |
| 182 } | |
| 183 @patch | |
| 184 static _flush(int id) { | |
| 185 throw new UnsupportedError("RandomAccessFile._flush"); | |
| 186 } | |
| 187 @patch | |
| 188 static _lock(int id, int lock, int start, int end) { | |
| 189 throw new UnsupportedError("RandomAccessFile._lock"); | |
| 190 } | 152 } |
| 191 } | 153 } |
| 192 | 154 |
| 193 @patch | 155 @patch |
| 194 class _IOCrypto { | 156 class _IOCrypto { |
| 195 @patch | 157 @patch |
| 196 static Uint8List getRandomBytes(int count) { | 158 static Uint8List getRandomBytes(int count) { |
| 197 throw new UnsupportedError("_IOCrypto.getRandomBytes"); | 159 throw new UnsupportedError("_IOCrypto.getRandomBytes"); |
| 198 } | 160 } |
| 199 } | 161 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 214 } | 176 } |
| 215 @patch | 177 @patch |
| 216 static _localHostname() { | 178 static _localHostname() { |
| 217 throw new UnsupportedError("Platform._localHostname"); | 179 throw new UnsupportedError("Platform._localHostname"); |
| 218 } | 180 } |
| 219 @patch | 181 @patch |
| 220 static _executable() { | 182 static _executable() { |
| 221 throw new UnsupportedError("Platform._executable"); | 183 throw new UnsupportedError("Platform._executable"); |
| 222 } | 184 } |
| 223 @patch | 185 @patch |
| 186 static _resolvedExecutable() { |
| 187 throw new UnsupportedError("Platform._resolvedExecutable"); |
| 188 } |
| 189 @patch |
| 224 static List<String> _executableArguments() { | 190 static List<String> _executableArguments() { |
| 225 throw new UnsupportedError("Platform._executableArguments"); | 191 throw new UnsupportedError("Platform._executableArguments"); |
| 226 } | 192 } |
| 227 @patch | 193 @patch |
| 228 static String _packageRoot() { | 194 static String _packageRoot() { |
| 229 throw new UnsupportedError("Platform._packageRoot"); | 195 throw new UnsupportedError("Platform._packageRoot"); |
| 230 } | 196 } |
| 231 @patch | 197 @patch |
| 198 static String _packageConfig() { |
| 199 throw new UnsupportedError("Platform._packageConfig"); |
| 200 } |
| 201 @patch |
| 232 static _environment() { | 202 static _environment() { |
| 233 throw new UnsupportedError("Platform._environment"); | 203 throw new UnsupportedError("Platform._environment"); |
| 234 } | 204 } |
| 235 @patch | 205 @patch |
| 236 static String _version() { | 206 static String _version() { |
| 237 throw new UnsupportedError("Platform._version"); | 207 throw new UnsupportedError("Platform._version"); |
| 238 } | 208 } |
| 239 } | 209 } |
| 240 | 210 |
| 241 @patch | 211 @patch |
| (...skipping 26 matching lines...) Expand all Loading... |
| 268 | 238 |
| 269 @patch | 239 @patch |
| 270 class Process { | 240 class Process { |
| 271 @patch | 241 @patch |
| 272 static Future<Process> start( | 242 static Future<Process> start( |
| 273 String executable, | 243 String executable, |
| 274 List<String> arguments, | 244 List<String> arguments, |
| 275 {String workingDirectory, | 245 {String workingDirectory, |
| 276 Map<String, String> environment, | 246 Map<String, String> environment, |
| 277 bool includeParentEnvironment: true, | 247 bool includeParentEnvironment: true, |
| 278 bool runInShell: false}) { | 248 bool runInShell: false, |
| 249 ProcessStartMode mode: ProcessStartMode.NORMAL}) { |
| 279 throw new UnsupportedError("Process.start"); | 250 throw new UnsupportedError("Process.start"); |
| 280 } | 251 } |
| 281 | 252 |
| 282 @patch | 253 @patch |
| 283 static Future<ProcessResult> run( | 254 static Future<ProcessResult> run( |
| 284 String executable, | 255 String executable, |
| 285 List<String> arguments, | 256 List<String> arguments, |
| 286 {String workingDirectory, | 257 {String workingDirectory, |
| 287 Map<String, String> environment, | 258 Map<String, String> environment, |
| 288 bool includeParentEnvironment: true, | 259 bool includeParentEnvironment: true, |
| 289 bool runInShell: false, | 260 bool runInShell: false, |
| 290 Encoding stdoutEncoding: SYSTEM_ENCODING, | 261 Encoding stdoutEncoding: SYSTEM_ENCODING, |
| 291 Encoding stderrEncoding: SYSTEM_ENCODING}) { | 262 Encoding stderrEncoding: SYSTEM_ENCODING}) { |
| 292 throw new UnsupportedError("Process.run"); | 263 throw new UnsupportedError("Process.run"); |
| 293 } | 264 } |
| 294 | 265 |
| 295 @patch | 266 @patch |
| 296 static ProcessResult runSync( | 267 static ProcessResult runSync( |
| 297 String executable, | 268 String executable, |
| 298 List<String> arguments, | 269 List<String> arguments, |
| 299 {String workingDirectory, | 270 {String workingDirectory, |
| 300 Map<String, String> environment, | 271 Map<String, String> environment, |
| 301 bool includeParentEnvironment: true, | 272 bool includeParentEnvironment: true, |
| 302 bool runInShell: false, | 273 bool runInShell: false, |
| 303 Encoding stdoutEncoding: SYSTEM_ENCODING, | 274 Encoding stdoutEncoding: SYSTEM_ENCODING, |
| 304 Encoding stderrEncoding: SYSTEM_ENCODING}) { | 275 Encoding stderrEncoding: SYSTEM_ENCODING}) { |
| 305 throw new UnsupportedError("Process.runSync"); | 276 throw new UnsupportedError("Process.runSync"); |
| 306 } | 277 } |
| 278 |
| 279 @patch |
| 280 static bool killPid( |
| 281 int pid, [ProcessSignal signal = ProcessSignal.SIGTERM]) { |
| 282 throw new UnsupportedError("Process.killPid"); |
| 283 } |
| 307 } | 284 } |
| 308 | 285 |
| 309 @patch | 286 @patch |
| 310 class InternetAddress { | 287 class InternetAddress { |
| 311 @patch | 288 @patch |
| 312 static InternetAddress get LOOPBACK_IP_V4 { | 289 static InternetAddress get LOOPBACK_IP_V4 { |
| 313 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); | 290 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4"); |
| 314 } | 291 } |
| 315 @patch | 292 @patch |
| 316 static InternetAddress get LOOPBACK_IP_V6 { | 293 static InternetAddress get LOOPBACK_IP_V6 { |
| 317 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V6"); | 294 throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V6"); |
| 318 } | 295 } |
| 319 @patch | 296 @patch |
| 320 static InternetAddress get ANY_IP_V4 { | 297 static InternetAddress get ANY_IP_V4 { |
| 321 throw new UnsupportedError("InternetAddress.ANY_IP_V4"); | 298 throw new UnsupportedError("InternetAddress.ANY_IP_V4"); |
| 322 } | 299 } |
| 323 @patch | 300 @patch |
| 324 static InternetAddress get ANY_IP_V6 { | 301 static InternetAddress get ANY_IP_V6 { |
| 325 throw new UnsupportedError("InternetAddress.ANY_IP_V6"); | 302 throw new UnsupportedError("InternetAddress.ANY_IP_V6"); |
| 326 } | 303 } |
| 327 @patch | 304 @patch |
| 328 factory InternetAddress(String address) { | 305 factory InternetAddress(String address) { |
| 329 throw new UnsupportedError("InternetAddress"); | 306 throw new UnsupportedError("InternetAddress"); |
| 330 } | 307 } |
| 331 @patch | 308 @patch |
| 332 static Future<List<InternetAddress>> lookup( | 309 static Future<List<InternetAddress>> lookup( |
| 333 String host, {InternetAddressType type: InternetAddressType.ANY}) { | 310 String host, {InternetAddressType type: InternetAddressType.ANY}) { |
| 334 throw new UnsupportedError("InternetAddress.lookup"); | 311 throw new UnsupportedError("InternetAddress.lookup"); |
| 335 } | 312 } |
| 313 @patch |
| 314 static InternetAddress _cloneWithNewHost( |
| 315 InternetAddress address, String host) { |
| 316 throw new UnsupportedError("InternetAddress._cloneWithNewHost"); |
| 317 } |
| 336 } | 318 } |
| 337 | 319 |
| 338 @patch | 320 @patch |
| 339 class NetworkInterface { | 321 class NetworkInterface { |
| 340 @patch | 322 @patch |
| 323 static bool get listSupported { |
| 324 throw new UnsupportedError("NetworkInterface.listSupported"); |
| 325 } |
| 326 @patch |
| 341 static Future<List<NetworkInterface>> list({ | 327 static Future<List<NetworkInterface>> list({ |
| 342 bool includeLoopback: false, | 328 bool includeLoopback: false, |
| 343 bool includeLinkLocal: false, | 329 bool includeLinkLocal: false, |
| 344 InternetAddressType type: InternetAddressType.ANY}) { | 330 InternetAddressType type: InternetAddressType.ANY}) { |
| 345 throw new UnsupportedError("NetworkInterface.list"); | 331 throw new UnsupportedError("NetworkInterface.list"); |
| 346 } | 332 } |
| 347 } | 333 } |
| 348 | 334 |
| 349 @patch | 335 @patch |
| 350 class RawServerSocket { | 336 class RawServerSocket { |
| 351 @patch | 337 @patch |
| 352 static Future<RawServerSocket> bind(address, | 338 static Future<RawServerSocket> bind(address, |
| 353 int port, | 339 int port, |
| 354 {int backlog: 0, | 340 {int backlog: 0, |
| 355 bool v6Only: false}) { | 341 bool v6Only: false, |
| 342 bool shared: false}) { |
| 356 throw new UnsupportedError("RawServerSocket.bind"); | 343 throw new UnsupportedError("RawServerSocket.bind"); |
| 357 } | 344 } |
| 358 } | 345 } |
| 359 | 346 |
| 360 @patch | 347 @patch |
| 361 class ServerSocket { | 348 class ServerSocket { |
| 362 @patch | 349 @patch |
| 363 static Future<ServerSocket> bind(address, | 350 static Future<ServerSocket> bind(address, |
| 364 int port, | 351 int port, |
| 365 {int backlog: 0, | 352 {int backlog: 0, |
| 366 bool v6Only: false}) { | 353 bool v6Only: false, |
| 354 bool shared: false}) { |
| 367 throw new UnsupportedError("ServerSocket.bind"); | 355 throw new UnsupportedError("ServerSocket.bind"); |
| 368 } | 356 } |
| 369 } | 357 } |
| 370 | 358 |
| 371 @patch | 359 @patch |
| 372 class RawSocket { | 360 class RawSocket { |
| 373 @patch | 361 @patch |
| 374 static Future<RawSocket> connect(host, int port) { | 362 static Future<RawSocket> connect(host, int port, {sourceAddress}) { |
| 375 throw new UnsupportedError("RawSocket constructor"); | 363 throw new UnsupportedError("RawSocket constructor"); |
| 376 } | 364 } |
| 377 } | 365 } |
| 378 | 366 |
| 379 @patch | 367 @patch |
| 380 class Socket { | 368 class Socket { |
| 381 @patch | 369 @patch |
| 382 static Future<Socket> connect(host, int port) { | 370 static Future<Socket> connect(host, int port, {sourceAddress}) { |
| 383 throw new UnsupportedError("Socket constructor"); | 371 throw new UnsupportedError("Socket constructor"); |
| 384 } | 372 } |
| 385 } | 373 } |
| 386 | 374 |
| 387 @patch | 375 @patch |
| 388 class SecureSocket { | 376 class SecureSocket { |
| 389 @patch | 377 @patch |
| 390 factory SecureSocket._(RawSecureSocket rawSocket) { | 378 factory SecureSocket._(RawSecureSocket rawSocket) { |
| 391 throw new UnsupportedError("SecureSocket constructor"); | 379 throw new UnsupportedError("SecureSocket constructor"); |
| 392 } | 380 } |
| 381 } |
| 382 |
| 383 @patch |
| 384 class SecurityContext { |
| 385 @patch |
| 386 factory SecurityContext() { |
| 387 throw new UnsupportedError("SecurityContext constructor"); |
| 388 } |
| 393 | 389 |
| 394 @patch | 390 @patch |
| 395 static void initialize({String database, | 391 static SecurityContext get defaultContext { |
| 396 String password, | 392 throw new UnsupportedError("default SecurityContext getter"); |
| 397 bool useBuiltinRoots: true}) { | 393 } |
| 398 throw new UnsupportedError("SecureSocket.initialize"); | 394 |
| 395 @patch |
| 396 static bool get alpnSupported { |
| 397 throw new UnsupportedError("SecurityContext alpnSupported getter"); |
| 399 } | 398 } |
| 400 } | 399 } |
| 401 | 400 |
| 401 @patch |
| 402 class X509Certificate { |
| 403 @patch |
| 404 factory X509Certificate._() { |
| 405 throw new UnsupportedError("X509Certificate constructor"); |
| 406 } |
| 407 } |
| 408 |
| 402 @patch | 409 @patch |
| 403 class RawDatagramSocket { | 410 class RawDatagramSocket { |
| 404 @patch | 411 @patch |
| 405 static Future<RawDatagramSocket> bind( | 412 static Future<RawDatagramSocket> bind( |
| 406 host, int port, {bool reuseAddress: true}) { | 413 host, int port, {bool reuseAddress: true}) { |
| 407 throw new UnsupportedError("RawDatagramSocket.bind"); | 414 throw new UnsupportedError("RawDatagramSocket.bind"); |
| 408 } | 415 } |
| 409 } | 416 } |
| 410 | 417 |
| 411 @patch | 418 @patch |
| 412 class _SecureFilter { | 419 class _SecureFilter { |
| 413 @patch | 420 @patch |
| 414 factory _SecureFilter() { | 421 factory _SecureFilter() { |
| 415 throw new UnsupportedError("_SecureFilter._SecureFilter"); | 422 throw new UnsupportedError("_SecureFilter._SecureFilter"); |
| 416 } | 423 } |
| 417 } | 424 } |
| 418 | 425 |
| 419 @patch | 426 @patch |
| 420 class _StdIOUtils { | 427 class _StdIOUtils { |
| 421 @patch | 428 @patch |
| 422 static Stdin _getStdioInputStream() { | 429 static Stdin _getStdioInputStream() { |
| 423 throw new UnsupportedError("StdIOUtils._getStdioInputStream"); | 430 throw new UnsupportedError("StdIOUtils._getStdioInputStream"); |
| 424 } | 431 } |
| 425 @patch | 432 @patch |
| 426 static _getStdioOutputStream(int fd) { | 433 static _getStdioOutputStream(int fd) { |
| 427 throw new UnsupportedError("StdIOUtils._getStdioOutputStream"); | 434 throw new UnsupportedError("StdIOUtils._getStdioOutputStream"); |
| 428 } | 435 } |
| 429 @patch | 436 @patch |
| 430 static int _socketType(nativeSocket) { | 437 static int _socketType(Socket socket) { |
| 431 throw new UnsupportedError("StdIOUtils._socketType"); | 438 throw new UnsupportedError("StdIOUtils._socketType"); |
| 432 } | 439 } |
| 433 @patch | 440 @patch |
| 434 static _getStdioHandleType(int fd) { | 441 static _getStdioHandleType(int fd) { |
| 435 throw new UnsupportedError("StdIOUtils._getStdioHandleType"); | 442 throw new UnsupportedError("StdIOUtils._getStdioHandleType"); |
| 436 } | 443 } |
| 437 } | 444 } |
| 438 | 445 |
| 439 @patch | 446 @patch |
| 440 class _WindowsCodePageDecoder { | 447 class _WindowsCodePageDecoder { |
| 441 @patch | 448 @patch |
| 442 static String _decodeBytes(List<int> bytes) { | 449 static String _decodeBytes(List<int> bytes) { |
| 443 throw new UnsupportedError("_WindowsCodePageDecoder._decodeBytes"); | 450 throw new UnsupportedError("_WindowsCodePageDecoder._decodeBytes"); |
| 444 } | 451 } |
| 445 } | 452 } |
| 446 | 453 |
| 447 @patch | 454 @patch |
| 448 class _WindowsCodePageEncoder { | 455 class _WindowsCodePageEncoder { |
| 449 @patch | 456 @patch |
| 450 static List<int> _encodeString(String string) { | 457 static List<int> _encodeString(String string) { |
| 451 throw new UnsupportedError("_WindowsCodePageEncoder._encodeString"); | 458 throw new UnsupportedError("_WindowsCodePageEncoder._encodeString"); |
| 452 } | 459 } |
| 453 } | 460 } |
| 454 | 461 |
| 455 @patch | 462 @patch |
| 456 class _Filter { | 463 class _Filter { |
| 457 @patch | 464 @patch |
| 458 static _Filter newZLibDeflateFilter(bool gzip, int level, | 465 static _Filter _newZLibDeflateFilter(bool gzip, int level, |
| 459 int windowBits, int memLevel, | 466 int windowBits, int memLevel, |
| 460 int strategy, | 467 int strategy, |
| 461 List<int> dictionary, bool raw) { | 468 List<int> dictionary, bool raw) { |
| 462 throw new UnsupportedError("newZLibDeflateFilter"); | 469 throw new UnsupportedError("_newZLibDeflateFilter"); |
| 463 } | 470 } |
| 464 @patch | 471 @patch |
| 465 static _Filter newZLibInflateFilter(int windowBits, | 472 static _Filter _newZLibInflateFilter(int windowBits, |
| 466 List<int> dictionary, bool raw) { | 473 List<int> dictionary, bool raw) { |
| 467 throw new UnsupportedError("newZLibInflateFilter"); | 474 throw new UnsupportedError("_newZLibInflateFilter"); |
| 468 } | 475 } |
| 469 } | 476 } |
| 470 | 477 |
| 471 @patch | 478 @patch |
| 472 class Stdin { | 479 class Stdin { |
| 473 @patch | 480 @patch |
| 474 int readByteSync() { | 481 int readByteSync() { |
| 475 throw new UnsupportedError("Stdin.readByteSync"); | 482 throw new UnsupportedError("Stdin.readByteSync"); |
| 476 } | 483 } |
| 477 @patch | 484 @patch |
| (...skipping 10 matching lines...) Expand all Loading... |
| 488 } | 495 } |
| 489 @patch | 496 @patch |
| 490 void set lineMode(bool enabled) { | 497 void set lineMode(bool enabled) { |
| 491 throw new UnsupportedError("Stdin.lineMode"); | 498 throw new UnsupportedError("Stdin.lineMode"); |
| 492 } | 499 } |
| 493 } | 500 } |
| 494 | 501 |
| 495 @patch | 502 @patch |
| 496 class Stdout { | 503 class Stdout { |
| 497 @patch | 504 @patch |
| 498 bool get hasTerminal { | 505 bool _hasTerminal(int fd) { |
| 499 throw new UnsupportedError("Stdout.hasTerminal"); | 506 throw new UnsupportedError("Stdout.hasTerminal"); |
| 500 } | 507 } |
| 501 @patch | 508 @patch |
| 502 int get terminalColumns { | 509 int _terminalColumns(int fd) { |
| 503 throw new UnsupportedError("Stdout.terminalColumns"); | 510 throw new UnsupportedError("Stdout.terminalColumns"); |
| 504 } | 511 } |
| 505 @patch | 512 @patch |
| 506 int get terminalLines { | 513 int _terminalLines(int fd) { |
| 507 throw new UnsupportedError("Stdout.terminalLines"); | 514 throw new UnsupportedError("Stdout.terminalLines"); |
| 508 } | 515 } |
| 509 } | 516 } |
| 510 | 517 |
| 511 @patch | 518 @patch |
| 512 class _FileSystemWatcher { | 519 class _FileSystemWatcher { |
| 513 @patch | 520 @patch |
| 514 static Stream<FileSystemEvent> watch( | 521 static Stream<FileSystemEvent> _watch( |
| 515 String path, int events, bool recursive) { | 522 String path, int events, bool recursive) { |
| 516 throw new UnsupportedError("_FileSystemWatcher.watch"); | 523 throw new UnsupportedError("_FileSystemWatcher.watch"); |
| 517 } | 524 } |
| 518 @patch | 525 @patch |
| 519 static bool get isSupported { | 526 static bool get isSupported { |
| 520 throw new UnsupportedError("_FileSystemWatcher.isSupported"); | 527 throw new UnsupportedError("_FileSystemWatcher.isSupported"); |
| 521 } | 528 } |
| 522 } | 529 } |
| 523 | 530 |
| 524 @patch | 531 @patch |
| 525 class _IOService { | 532 class _IOService { |
| 526 @patch | 533 @patch |
| 527 static Future dispatch(int request, List data) { | 534 static Future _dispatch(int request, List data) { |
| 528 throw new UnsupportedError("_IOService.dispatch"); | 535 throw new UnsupportedError("_IOService._dispatch"); |
| 529 } | 536 } |
| 530 } | 537 } |
| OLD | NEW |