ResolvedLibraryResult class abstract
The result of building resolved AST(s) for the whole library.
Clients may not extend, implement or mix-in this class.
- Implemented types
Constructors
Properties
- element → LibraryElement
-
The element representing this library.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → AnalysisSession
-
Return the session used to compute this result.
no setterinherited
- typeProvider → TypeProvider
-
The type provider used when resolving the library.
no setter
-
units
→ List<
ResolvedUnitResult> -
The resolved units of the library.
no setter
Methods
-
getElementDeclaration(
Element element) → ElementDeclarationResult? -
Return the declaration of the
element
, ornull
if theelement
is synthetic. Throw ArgumentError if theelement
is not defined in this library. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unitWithPath(
String path) → ResolvedUnitResult? -
Return the resolved unit corresponding to the
path
, ornull
if there is no such unit.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited