ResolvedUnitResult class

The result of building a resolved AST for a single file. The errors returned include both syntactic and semantic errors.

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

ResolvedUnitResult()

Properties

content → String
The content of the file that was scanned, parsed and resolved.
read-only, inherited
errors → List<AnalysisError>
The analysis errors that were computed during analysis.
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
isPart → bool
Whether the file is a part.
read-only, inherited
libraryElement LibraryElement
The element representing the library containing the compilation unit.
read-only, inherited
lineInfo LineInfo
Information about lines in the content.
read-only, inherited
path → String
The absolute and normalized path of the file that was analyzed.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
session AnalysisSession
Return the session used to compute this result.
read-only, inherited
state ResultState
The state of the results.
read-only, inherited
typeProvider → TypeProvider
The type provider used when resolving the compilation unit.
read-only, inherited
typeSystem → TypeSystem
The type system used when resolving the compilation unit.
read-only, inherited
unit CompilationUnit
The fully resolved compilation unit for the content.
read-only, inherited
uri → Uri
The absolute URI of the file that was analyzed.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited