@@ -525,13 +525,15 @@ abstract class DirectiveUri {}
525525///
526526/// Clients may not extend, implement or mix-in this class.
527527abstract class DirectiveUriWithAugmentation extends DirectiveUriWithSource {
528+ /// The library augmentation referenced by the [source] .
528529 LibraryAugmentationElement get augmentation;
529530}
530531
531532/// [DirectiveUriWithSource] that references a [LibraryElement] .
532533///
533534/// Clients may not extend, implement or mix-in this class.
534535abstract class DirectiveUriWithLibrary extends DirectiveUriWithSource {
536+ /// The library referenced by the [source] .
535537 LibraryElement get library;
536538}
537539
@@ -540,27 +542,31 @@ abstract class DirectiveUriWithLibrary extends DirectiveUriWithSource {
540542/// Clients may not extend, implement or mix-in this class.
541543abstract class DirectiveUriWithRelativeUri
542544 extends DirectiveUriWithRelativeUriString {
545+ /// The relative URI, parsed from [relativeUriString] .
543546 Uri get relativeUri;
544547}
545548
546549/// [DirectiveUri] for which we can get its relative URI string.
547550///
548551/// Clients may not extend, implement or mix-in this class.
549552abstract class DirectiveUriWithRelativeUriString extends DirectiveUri {
553+ /// The relative URI string specified in code.
550554 String get relativeUriString;
551555}
552556
553557/// [DirectiveUriWithRelativeUri] that resolves to a [Source] .
554558///
555559/// Clients may not extend, implement or mix-in this class.
556560abstract class DirectiveUriWithSource extends DirectiveUriWithRelativeUri {
561+ /// The result of resolving [relativeUri] against the enclosing URI.
557562 Source get source;
558563}
559564
560565/// [DirectiveUriWithSource] that references a [CompilationUnitElement] .
561566///
562567/// Clients may not extend, implement or mix-in this class.
563568abstract class DirectiveUriWithUnit extends DirectiveUriWithSource {
569+ /// The unit referenced by the [source] .
564570 CompilationUnitElement get unit;
565571}
566572
0 commit comments