Skip to content

Commit 07d5349

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Remove V1 LibraryImportElement.
Change-Id: I4e4c4affd3edef452ece80133f32a2d7dacc1511 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423441 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 79aa9ca commit 07d5349

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

pkg/analyzer/api.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3144,13 +3144,6 @@ package:analyzer/dart/element/element.dart:
31443144
topLevelElements (getter: Iterable<Element>)
31453145
typeProvider (getter: TypeProvider)
31463146
typeSystem (getter: TypeSystem)
3147-
LibraryImportElement (class extends Object implements _ExistingElement, deprecated):
3148-
new (constructor: LibraryImportElement Function())
3149-
combinators (getter: List<NamespaceCombinator>)
3150-
importKeywordOffset (getter: int)
3151-
importedLibrary (getter: LibraryElement?)
3152-
namespace (getter: Namespace)
3153-
uri (getter: DirectiveUri)
31543147
LibraryLanguageVersion (class extends Object):
31553148
new (constructor: LibraryLanguageVersion Function({required Version? override, required Version package}))
31563149
effective (getter: Version)

pkg/analyzer/lib/dart/element/element.dart

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -793,28 +793,6 @@ abstract class LibraryElement implements _ExistingElement {
793793
TypeSystem get typeSystem;
794794
}
795795

796-
/// A single import directive within a library.
797-
///
798-
/// Clients may not extend, implement or mix-in this class.
799-
@Deprecated('Use LibraryImport instead')
800-
abstract class LibraryImportElement implements _ExistingElement {
801-
/// The combinators that were specified as part of the `import` directive in
802-
/// the order in which they were specified.
803-
List<NamespaceCombinator> get combinators;
804-
805-
/// The [LibraryElement], if [uri] is a [DirectiveUriWithLibrary].
806-
LibraryElement? get importedLibrary;
807-
808-
/// The offset of the `import` keyword.
809-
int get importKeywordOffset;
810-
811-
/// The [Namespace] that this directive contributes to the containing library.
812-
Namespace get namespace;
813-
814-
/// The interpretation of the URI specified in the directive.
815-
DirectiveUri get uri;
816-
}
817-
818796
class LibraryLanguageVersion {
819797
/// The version for the whole package that contains this library.
820798
final Version package;

0 commit comments

Comments
 (0)