DiagnosticErrorListener constructor
DiagnosticErrorListener([
- bool exactOnly = true
Initializes a new instance of DiagnosticErrorListener, specifying whether all ambiguities or only exact ambiguities are reported.
@param exactOnly true
to report only exact ambiguities, otherwise
false
to report all ambiguities.
Implementation
DiagnosticErrorListener([this.exactOnly = true]);