| 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 library analyzer.src.generated.source; | 5 library analyzer.src.generated.source; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import "dart:math" as math; | 8 import "dart:math" as math; |
| 9 | 9 |
| 10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 * | 497 * |
| 498 * @param localSourcePredicate the predicate to determine is [Source] is local | 498 * @param localSourcePredicate the predicate to determine is [Source] is local |
| 499 */ | 499 */ |
| 500 void set localSourcePredicate(LocalSourcePredicate localSourcePredicate); | 500 void set localSourcePredicate(LocalSourcePredicate localSourcePredicate); |
| 501 | 501 |
| 502 /// A table mapping package names to paths of directories containing | 502 /// A table mapping package names to paths of directories containing |
| 503 /// the package (or [null] if there is no registered package URI resolver). | 503 /// the package (or [null] if there is no registered package URI resolver). |
| 504 Map<String, List<Folder>> get packageMap; | 504 Map<String, List<Folder>> get packageMap; |
| 505 | 505 |
| 506 /** | 506 /** |
| 507 * Return `true` if this collection of sources depends upon flutter, |
| 508 */ |
| 509 bool get hasFlutterDependency => false; |
| 510 |
| 511 /** |
| 507 * Return a source factory that will resolve URI's in the same way that this | 512 * Return a source factory that will resolve URI's in the same way that this |
| 508 * source factory does. | 513 * source factory does. |
| 509 */ | 514 */ |
| 510 SourceFactory clone(); | 515 SourceFactory clone(); |
| 511 | 516 |
| 512 /** | 517 /** |
| 513 * Return a source object representing the given absolute URI, or `null` if | 518 * Return a source object representing the given absolute URI, or `null` if |
| 514 * the URI is not a valid URI or if it is not an absolute URI. | 519 * the URI is not a valid URI or if it is not an absolute URI. |
| 515 * | 520 * |
| 516 * @param absoluteUri the absolute URI to be resolved | 521 * @param absoluteUri the absolute URI to be resolved |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 Source resolveAbsolute(Uri uri, [Uri actualUri]); | 767 Source resolveAbsolute(Uri uri, [Uri actualUri]); |
| 763 | 768 |
| 764 /** | 769 /** |
| 765 * Return an absolute URI that represents the given [source], or `null` if a | 770 * Return an absolute URI that represents the given [source], or `null` if a |
| 766 * valid URI cannot be computed. | 771 * valid URI cannot be computed. |
| 767 * | 772 * |
| 768 * The computation should be based solely on [source.fullName]. | 773 * The computation should be based solely on [source.fullName]. |
| 769 */ | 774 */ |
| 770 Uri restoreAbsolute(Source source) => null; | 775 Uri restoreAbsolute(Source source) => null; |
| 771 } | 776 } |
| OLD | NEW |