@Override
	public void reportAmbiguity(Parser recognizer,
								DFA dfa,
								int startIndex,
								int stopIndex,
								boolean exact,
								BitSet ambigAlts,
								ATNConfigSet configs)
	{
		for (ANTLRErrorListener listener : delegates) {
			listener.reportAmbiguity(recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs);
		}
	}
This implementation of {@link ANTLRErrorListener} dispatches all calls to a
collection of delegate listeners. This reduces the effort required to support multiple
listeners.

@author Sam Harwell
runtime/Java/src/org/antlr/v4/runtime/ProxyErrorListener.java