ProxyErrorListener class

This implementation of ErrorListener dispatches all calls to a collection of delegate listeners. This reduces the effort required to support multiple listeners.

Implemented types

Constructors

ProxyErrorListener(List<ErrorListener> delegates)

Properties

delegates List<ErrorListener>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, bool exact, BitSet? ambigAlts, ATNConfigSet configs) → void
This method is called by the parser when a full-context prediction results in an ambiguity.
override
reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet? conflictingAlts, ATNConfigSet configs) → void
This method is called when an SLL conflict occurs and the parser is about to use the full context information to make an LL decision.
override
reportContextSensitivity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs) → void
This method is called by the parser when a full-context prediction has a unique result.
override
syntaxError(Recognizer<ATNSimulator> recognizer, Object? offendingSymbol, int? line, int charPositionInLine, String msg, RecognitionException<IntStream>? e) → void
Upon syntax error, notify any interested parties. This is not how to recover from errors or compute error messages. ANTLRErrorStrategy specifies how to recover from syntax errors and how to compute error messages. This listener's job is simply to emit a computed message, though it has enough information to create its own message in many cases.
override
toString() String
A string representation of this object.
inherited

Operators

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