ReleasableResolver class abstract
A resolver that should be manually released at the end of a build step.
- Implemented types
Constructors
Properties
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
forElement
.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