| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.sdk; | 8 library engine.sdk; |
| 9 | 9 |
| 10 import 'source.dart' show ContentCache, Source, UriKind; | 10 import 'source.dart' show ContentCache, Source, UriKind; |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 * @return the number of library URI's for which a mapping is available | 360 * @return the number of library URI's for which a mapping is available |
| 361 */ | 361 */ |
| 362 int size() => _libraryMap.length; | 362 int size() => _libraryMap.length; |
| 363 } | 363 } |
| 364 | 364 |
| 365 /** | 365 /** |
| 366 * Instances of the class `DartSdk` represent a Dart SDK installed in a specifie
d location. | 366 * Instances of the class `DartSdk` represent a Dart SDK installed in a specifie
d location. |
| 367 */ | 367 */ |
| 368 abstract class DartSdk { | 368 abstract class DartSdk { |
| 369 /** | 369 /** |
| 370 * The short name of the dart SDK async library. |
| 371 */ |
| 372 static final String DART_ASYNC = "dart:async"; |
| 373 |
| 374 /** |
| 370 * The short name of the dart SDK core library. | 375 * The short name of the dart SDK core library. |
| 371 */ | 376 */ |
| 372 static final String DART_CORE = "dart:core"; | 377 static final String DART_CORE = "dart:core"; |
| 373 | 378 |
| 374 /** | 379 /** |
| 375 * The short name of the dart SDK html library. | 380 * The short name of the dart SDK html library. |
| 376 */ | 381 */ |
| 377 static final String DART_HTML = "dart:html"; | 382 static final String DART_HTML = "dart:html"; |
| 378 | 383 |
| 379 /** | 384 /** |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 436 |
| 432 /** | 437 /** |
| 433 * Return the source representing the library with the given `dart:` URI, or `
null` if | 438 * Return the source representing the library with the given `dart:` URI, or `
null` if |
| 434 * the given URI does not denote a library in this SDK. | 439 * the given URI does not denote a library in this SDK. |
| 435 * | 440 * |
| 436 * @param dartUri the URI of the library to be returned | 441 * @param dartUri the URI of the library to be returned |
| 437 * @return the source representing the specified library | 442 * @return the source representing the specified library |
| 438 */ | 443 */ |
| 439 Source mapDartUri(String dartUri); | 444 Source mapDartUri(String dartUri); |
| 440 } | 445 } |
| OLD | NEW |