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

RecordingErrorListener()

Properties

errors List<AnalysisError>
Return the errors collected by the listener.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getErrorsForSource(Source source) List<AnalysisError>
Return the errors collected by the listener for the given source.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited