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 | 3 |
4 library engine.source.io; | 4 library engine.source.io; |
5 | 5 |
6 import 'source.dart'; | 6 import 'source.dart'; |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 import 'dart:uri'; | |
9 import 'java_core.dart'; | 8 import 'java_core.dart'; |
10 import 'java_io.dart'; | 9 import 'java_io.dart'; |
11 import 'sdk.dart' show DartSdk; | 10 import 'sdk.dart' show DartSdk; |
12 import 'engine.dart' show AnalysisContext, AnalysisEngine; | 11 import 'engine.dart' show AnalysisContext, AnalysisEngine; |
13 export 'source.dart'; | 12 export 'source.dart'; |
14 | 13 |
15 /** | 14 /** |
16 * Instances of the class {@code FileBasedSource} implement a source that repres
ents a file. | 15 * Instances of the class {@code FileBasedSource} implement a source that repres
ents a file. |
17 * @coverage dart.engine.source | 16 * @coverage dart.engine.source |
18 */ | 17 */ |
(...skipping 259 matching lines...) Loading... |
278 } | 277 } |
279 return null; | 278 return null; |
280 } | 279 } |
281 Source resolveAbsolute(ContentCache contentCache, Uri uri) { | 280 Source resolveAbsolute(ContentCache contentCache, Uri uri) { |
282 if (!isFileUri(uri)) { | 281 if (!isFileUri(uri)) { |
283 return null; | 282 return null; |
284 } | 283 } |
285 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); | 284 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); |
286 } | 285 } |
287 } | 286 } |
OLD | NEW |