Class: ErrorListener
- Inherits:
-
Object
show all
- Defined in:
- lib/antlr4/error/ErrorListener.rb
Overview
Provides an empty default implementation of ANTLRErrorListener. The default implementation of each method does nothing, but can be overridden as necessary.
Instance Method Summary
collapse
-
#reportAmbiguity(recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs) ⇒ Object
-
#reportAttemptingFullContext(recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs) ⇒ Object
-
#reportContextSensitivity(recognizer, dfa, startIndex, stopIndex, prediction, configs) ⇒ Object
-
#syntaxError(recognizer, offendingSymbol, line, column, msg, e) ⇒ Object
Instance Method Details
#reportAmbiguity(recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs) ⇒ Object
39
40
|
# File 'lib/antlr4/error/ErrorListener.rb', line 39
def reportAmbiguity(recognizer, dfa, startIndex, stopIndex, exact, ambigAlts, configs)
end
|
#reportAttemptingFullContext(recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs) ⇒ Object
42
43
|
# File 'lib/antlr4/error/ErrorListener.rb', line 42
def reportAttemptingFullContext(recognizer, dfa, startIndex, stopIndex, conflictingAlts, configs)
end
|
#reportContextSensitivity(recognizer, dfa, startIndex, stopIndex, prediction, configs) ⇒ Object
45
46
|
# File 'lib/antlr4/error/ErrorListener.rb', line 45
def reportContextSensitivity(recognizer, dfa, startIndex, stopIndex, prediction, configs)
end
|
#syntaxError(recognizer, offendingSymbol, line, column, msg, e) ⇒ Object
37
38
|
# File 'lib/antlr4/error/ErrorListener.rb', line 37
def syntaxError(recognizer, offendingSymbol, line, column, msg, e)
end
|