RecordingErrorListener class
An error listener that will record the errors that are reported to it in a way that is appropriate for caching those errors within an analysis context.
- Implemented types
Constructors
Properties
-
errors
→ List<
AnalysisError> -
Return the errors collected by the listener.
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
Methods
-
getErrorsForSource(
Source source) → List< AnalysisError> -
Return the errors collected by the listener for the given
source
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
AnalysisError error) → void -
This method is invoked when an
error
has been found by the analysis engine.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited