| 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.source.io; | 3 library engine.source.io; |
| 4 import 'source.dart'; | 4 import 'source.dart'; |
| 5 import 'dart:io'; | |
| 6 import 'java_core.dart'; | 5 import 'java_core.dart'; |
| 7 import 'java_io.dart'; | 6 import 'java_io.dart'; |
| 8 import 'sdk.dart' show DartSdk; | |
| 9 import 'engine.dart' show AnalysisContext, AnalysisEngine; | 7 import 'engine.dart' show AnalysisContext, AnalysisEngine; |
| 10 export 'source.dart'; | 8 export 'source.dart'; |
| 11 /** | 9 /** |
| 12 * Instances of the class `FileBasedSource` implement a source that represents a
file. | 10 * Instances of the class `FileBasedSource` implement a source that represents a
file. |
| 13 * | 11 * |
| 14 * @coverage dart.engine.source | 12 * @coverage dart.engine.source |
| 15 */ | 13 */ |
| 16 class FileBasedSource implements Source { | 14 class FileBasedSource implements Source { |
| 17 | 15 |
| 18 /** | 16 /** |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 330 } |
| 333 return null; | 331 return null; |
| 334 } | 332 } |
| 335 Source resolveAbsolute(ContentCache contentCache, Uri uri) { | 333 Source resolveAbsolute(ContentCache contentCache, Uri uri) { |
| 336 if (!isFileUri(uri)) { | 334 if (!isFileUri(uri)) { |
| 337 return null; | 335 return null; |
| 338 } | 336 } |
| 339 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); | 337 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); |
| 340 } | 338 } |
| 341 } | 339 } |
| OLD | NEW |