A mirror on an import or export declaration.
- Implements
Properties
- List<CombinatorMirror> combinators
-
read-onlyReturns the list of show/hide combinators on the import/export declaration.
- bool isDeferred
-
read-onlyReturns true iff this dependency is a deferred import. Otherwise returns false.
- bool isExport
-
read-onlyIs
true
if this dependency is an export. - bool isImport
-
read-onlyIs
true
if this dependency is an import. - SourceLocation location
-
read-onlyReturns the source location for this import/export declaration.
- List<InstanceMirror> metadata
-
read-only
- Symbol prefix
-
read-onlyReturns the prefix if this is a prefixed import and
null
otherwise. - LibraryMirror sourceLibrary
-
read-onlyReturns the library mirror of the library that imports or exports the
targetLibrary
. - LibraryMirror targetLibrary
-
read-onlyReturns the library mirror of the library that is imported or exported, or null if the library is not loaded.
Constructors
Methods
-
loadLibrary(
) → Future<LibraryMirror> - Returns a future that completes with a library mirror on the library being imported or exported when it is loaded, and initiates a load of that library if it is not loaded.