@@ -687,7 +687,7 @@ abstract class ClassOrMixinElementImpl extends InterfaceElementImpl {
687687}
688688
689689/// A concrete implementation of [LibraryFragment] .
690- class CompilationUnitElementImpl extends UriReferencedElementImpl
690+ class CompilationUnitElementImpl extends _ExistingElementImpl
691691 implements LibraryFragment {
692692 /// The source that corresponds to this compilation unit.
693693 @override
@@ -10796,54 +10796,6 @@ mixin TypeParameterizedElementMixin on ElementImpl
1079610796 }
1079710797}
1079810798
10799- abstract class UriReferencedElementImpl extends _ExistingElementImpl
10800- implements
10801- // ignore:deprecated_member_use_from_same_package,analyzer_use_new_elements
10802- UriReferencedElement {
10803- /// The offset of the URI in the file, or `-1` if this node is synthetic.
10804- int _uriOffset = - 1 ;
10805-
10806- /// The offset of the character immediately following the last character of
10807- /// this node's URI, or `-1` if this node is synthetic.
10808- int _uriEnd = - 1 ;
10809-
10810- /// The URI that is specified by this directive.
10811- String ? _uri;
10812-
10813- /// Initialize a newly created import element to have the given [name] and
10814- /// [offset] . The offset may be `-1` if the element is synthetic.
10815- UriReferencedElementImpl (super .name, super .offset);
10816-
10817- /// Return the URI that is specified by this directive.
10818- @override
10819- String ? get uri => _uri;
10820-
10821- /// Set the URI that is specified by this directive to be the given [uri] .
10822- set uri (String ? uri) {
10823- _uri = uri;
10824- }
10825-
10826- /// Return the offset of the character immediately following the last
10827- /// character of this node's URI, or `-1` if this node is synthetic.
10828- @override
10829- int get uriEnd => _uriEnd;
10830-
10831- /// Set the offset of the character immediately following the last character
10832- /// of this node's URI to the given [offset] .
10833- set uriEnd (int offset) {
10834- _uriEnd = offset;
10835- }
10836-
10837- /// Return the offset of the URI in the file, or `-1` if this node is
10838- /// synthetic.
10839- @override
10840- int get uriOffset => _uriOffset;
10841-
10842- /// Set the offset of the URI in the file to the given [offset] .
10843- set uriOffset (int offset) {
10844- _uriOffset = offset;
10845- }
10846- }
1084710799
1084810800/// Common base class for all analyzer-internal classes that implement
1084910801/// `VariableElement2` .
0 commit comments