mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Add documentation comments for DirectiveUri getters.
Change-Id: Ia7003c8de1fb1e4e3ca03f4d2896d070bab04cdc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251582 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
a5b598afa6
commit
eb210a4c6f
1 changed files with 6 additions and 0 deletions
|
@ -525,6 +525,7 @@ abstract class DirectiveUri {}
|
|||
///
|
||||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithAugmentation extends DirectiveUriWithSource {
|
||||
/// The library augmentation referenced by the [source].
|
||||
LibraryAugmentationElement get augmentation;
|
||||
}
|
||||
|
||||
|
@ -532,6 +533,7 @@ abstract class DirectiveUriWithAugmentation extends DirectiveUriWithSource {
|
|||
///
|
||||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithLibrary extends DirectiveUriWithSource {
|
||||
/// The library referenced by the [source].
|
||||
LibraryElement get library;
|
||||
}
|
||||
|
||||
|
@ -540,6 +542,7 @@ abstract class DirectiveUriWithLibrary extends DirectiveUriWithSource {
|
|||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithRelativeUri
|
||||
extends DirectiveUriWithRelativeUriString {
|
||||
/// The relative URI, parsed from [relativeUriString].
|
||||
Uri get relativeUri;
|
||||
}
|
||||
|
||||
|
@ -547,6 +550,7 @@ abstract class DirectiveUriWithRelativeUri
|
|||
///
|
||||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithRelativeUriString extends DirectiveUri {
|
||||
/// The relative URI string specified in code.
|
||||
String get relativeUriString;
|
||||
}
|
||||
|
||||
|
@ -554,6 +558,7 @@ abstract class DirectiveUriWithRelativeUriString extends DirectiveUri {
|
|||
///
|
||||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithSource extends DirectiveUriWithRelativeUri {
|
||||
/// The result of resolving [relativeUri] against the enclosing URI.
|
||||
Source get source;
|
||||
}
|
||||
|
||||
|
@ -561,6 +566,7 @@ abstract class DirectiveUriWithSource extends DirectiveUriWithRelativeUri {
|
|||
///
|
||||
/// Clients may not extend, implement or mix-in this class.
|
||||
abstract class DirectiveUriWithUnit extends DirectiveUriWithSource {
|
||||
/// The unit referenced by the [source].
|
||||
CompilationUnitElement get unit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue