| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.sdk; | 3 library engine.sdk; |
| 4 import 'java_core.dart'; | 4 import 'java_core.dart'; |
| 5 import 'java_engine.dart'; | 5 import 'java_engine.dart'; |
| 6 import 'source.dart' show ContentCache, Source, UriKind; | 6 import 'source.dart' show ContentCache, Source, UriKind; |
| 7 import 'engine.dart' show AnalysisContext; | 7 import 'engine.dart' show AnalysisContext; |
| 8 /** | 8 /** |
| 9 * Represents a single library in the SDK | 9 * Represents a single library in the SDK |
| 10 */ | 10 */ |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 } | 234 } |
| 235 /** | 235 /** |
| 236 * Instances of the class {@code DartSdk} represent a Dart SDK installed in a sp
ecified location. | 236 * Instances of the class {@code DartSdk} represent a Dart SDK installed in a sp
ecified location. |
| 237 * @coverage dart.engine.sdk | 237 * @coverage dart.engine.sdk |
| 238 */ | 238 */ |
| 239 abstract class DartSdk { | 239 abstract class DartSdk { |
| 240 | 240 |
| 241 /** | 241 /** |
| 242 * The short name of the dart SDK core library. | 242 * The short name of the dart SDK core library. |
| 243 */ | 243 */ |
| 244 static String DART_CORE = "dart:core"; | 244 static final String DART_CORE = "dart:core"; |
| 245 | 245 |
| 246 /** | 246 /** |
| 247 * The short name of the dart SDK html library. | 247 * The short name of the dart SDK html library. |
| 248 */ | 248 */ |
| 249 static String DART_HTML = "dart:html"; | 249 static final String DART_HTML = "dart:html"; |
| 250 | 250 |
| 251 /** | 251 /** |
| 252 * The version number that is returned when the real version number could not
be determined. | 252 * The version number that is returned when the real version number could not
be determined. |
| 253 */ | 253 */ |
| 254 static String DEFAULT_VERSION = "0"; | 254 static final String DEFAULT_VERSION = "0"; |
| 255 | 255 |
| 256 /** | 256 /** |
| 257 * Return the source representing the file with the given URI. | 257 * Return the source representing the file with the given URI. |
| 258 * @param contentCache the content cache used to access the contents of the ma
pped source | 258 * @param contentCache the content cache used to access the contents of the ma
pped source |
| 259 * @param kind the kind of URI that was originally resolved in order to produc
e an encoding with | 259 * @param kind the kind of URI that was originally resolved in order to produc
e an encoding with |
| 260 * the given URI | 260 * the given URI |
| 261 * @param uri the URI of the file to be returned | 261 * @param uri the URI of the file to be returned |
| 262 * @return the source representing the specified file | 262 * @return the source representing the specified file |
| 263 */ | 263 */ |
| 264 Source fromEncoding(ContentCache contentCache, UriKind kind, Uri uri); | 264 Source fromEncoding(ContentCache contentCache, UriKind kind, Uri uri); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 297 |
| 298 /** | 298 /** |
| 299 * Return the source representing the library with the given {@code dart:} URI
, or {@code null} if | 299 * Return the source representing the library with the given {@code dart:} URI
, or {@code null} if |
| 300 * the given URI does not denote a library in this SDK. | 300 * the given URI does not denote a library in this SDK. |
| 301 * @param contentCache the content cache used to access the contents of the ma
pped source | 301 * @param contentCache the content cache used to access the contents of the ma
pped source |
| 302 * @param dartUri the URI of the library to be returned | 302 * @param dartUri the URI of the library to be returned |
| 303 * @return the source representing the specified library | 303 * @return the source representing the specified library |
| 304 */ | 304 */ |
| 305 Source mapDartUri(ContentCache contentCache, String dartUri); | 305 Source mapDartUri(ContentCache contentCache, String dartUri); |
| 306 } | 306 } |
| OLD | NEW |