| 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.source.io; | 8 library engine.source.io; |
| 9 | 9 |
| 10 import 'source.dart'; | 10 import 'source.dart'; |
| 11 import 'java_core.dart'; | 11 import 'java_core.dart'; |
| 12 import 'java_io.dart'; | 12 import 'java_io.dart'; |
| 13 import 'utilities_general.dart'; |
| 13 import 'engine.dart'; | 14 import 'engine.dart'; |
| 14 import 'utilities_general.dart'; | |
| 15 export 'source.dart'; | 15 export 'source.dart'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Instances of interface `LocalSourcePredicate` are used to determine if the gi
ven | 18 * Instances of interface `LocalSourcePredicate` are used to determine if the gi
ven |
| 19 * [Source] is "local" in some sense, so can be updated. | 19 * [Source] is "local" in some sense, so can be updated. |
| 20 */ | 20 */ |
| 21 abstract class LocalSourcePredicate { | 21 abstract class LocalSourcePredicate { |
| 22 /** | 22 /** |
| 23 * Instance of [LocalSourcePredicate] that always returns `false`. | 23 * Instance of [LocalSourcePredicate] that always returns `false`. |
| 24 */ | 24 */ |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 return null; | 421 return null; |
| 422 } | 422 } |
| 423 | 423 |
| 424 Source resolveAbsolute(Uri uri) { | 424 Source resolveAbsolute(Uri uri) { |
| 425 if (!isFileUri(uri)) { | 425 if (!isFileUri(uri)) { |
| 426 return null; | 426 return null; |
| 427 } | 427 } |
| 428 return new FileBasedSource.con1(new JavaFile.fromUri(uri)); | 428 return new FileBasedSource.con1(new JavaFile.fromUri(uri)); |
| 429 } | 429 } |
| 430 } | 430 } |
| OLD | NEW |