ReleasableResolver class abstract

A resolver that should be manually released at the end of a build step.

Implemented types

Constructors

ReleasableResolver()

Properties

hashCode int
The hash code for this object.
no setterinherited
libraries Stream<LibraryElement>
All libraries resolved by this resolver.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

assetIdForElement(Element element) Future<AssetId>
Returns the AssetId of the Dart library or part declaring element.
inherited
astNodeFor(Element element, {bool resolve = false}) Future<AstNode?>
Returns the parsed AstNode for Element.
inherited
compilationUnitFor(AssetId assetId, {bool allowSyntaxErrors = false}) Future<CompilationUnit>
Returns a parsed AST structor representing the file defined in assetId.
inherited
findLibraryByName(String libraryName) Future<LibraryElement?>
Returns the first resolved library identified by libraryName.
inherited
isLibrary(AssetId assetId) Future<bool>
Returns whether assetId represents an Dart library file.
inherited
libraryFor(AssetId assetId, {bool allowSyntaxErrors = false}) Future<LibraryElement>
Returns a resolved library representing the file defined in assetId.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Release this resolver so it can be updated by following build steps.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited