UnitElementResult class abstract
The result of building the element model for a single file.
Clients may not extend, implement or mix-in this class.
TODO(scheglov) Stop implementing FileResult.
- Implemented types
Constructors
Properties
- element → CompilationUnitElement
-
The element of the file.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAugmentation → bool
-
Whether the file is a library augmentation.
When
true
, isLibrary and isPart arefalse
.no setterinherited - isLibrary → bool
-
Whether the file is a library.
When
true
, isAugmentation and isPart arefalse
.no setterinherited - isPart → bool
-
Whether the file is a part.
When
true
, isAugmentation and isLibrary arefalse
.no setterinherited - lineInfo → LineInfo
-
Information about lines in the content.
no setterinherited
- path → String
-
The absolute and normalized path of the file that was analyzed.
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
- uri → Uri
-
The absolute URI of the file that was analyzed.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited