| 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'; | 5 import 'dart:io'; |
| 6 import 'java_core.dart' hide IOException; | 6 import 'java_core.dart'; |
| 7 import 'java_io.dart'; | 7 import 'java_io.dart'; |
| 8 import 'sdk.dart' show DartSdk; | 8 import 'sdk.dart' show DartSdk; |
| 9 import 'engine.dart' show AnalysisContext, AnalysisEngine; | 9 import 'engine.dart' show AnalysisContext, AnalysisEngine; |
| 10 export 'source.dart'; | 10 export 'source.dart'; |
| 11 /** | 11 /** |
| 12 * Instances of the class {@code FileBasedSource} implement a source that repres
ents a file. | 12 * Instances of the class {@code FileBasedSource} implement a source that repres
ents a file. |
| 13 * @coverage dart.engine.source | 13 * @coverage dart.engine.source |
| 14 */ | 14 */ |
| 15 class FileBasedSource implements Source { | 15 class FileBasedSource implements Source { |
| 16 | 16 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 return new FileBasedSource.con2(contentCache, new JavaFile.fromUri(uri), k
ind); | 317 return new FileBasedSource.con2(contentCache, new JavaFile.fromUri(uri), k
ind); |
| 318 } | 318 } |
| 319 return null; | 319 return null; |
| 320 } | 320 } |
| 321 Source resolveAbsolute(ContentCache contentCache, Uri uri) { | 321 Source resolveAbsolute(ContentCache contentCache, Uri uri) { |
| 322 if (!isFileUri(uri)) { | 322 if (!isFileUri(uri)) { |
| 323 return null; | 323 return null; |
| 324 } | 324 } |
| 325 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); | 325 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); |
| 326 } | 326 } |
| 327 } | 327 } |
| OLD | NEW |