ErrorReporter constructor

ErrorReporter(
  1. AnalysisErrorListener _errorListener,
  2. Source _source
)

Initializes a newly created error reporter that will report errors to the given _errorListener.

Errors will be reported against the _source unless another source is provided later.

Implementation

ErrorReporter(this._errorListener, this._source);