Class ErrorListener

  • All Implemented Interfaces:
    org.antlr.v4.runtime.ANTLRErrorListener

    public class ErrorListener
    extends org.antlr.v4.runtime.BaseErrorListener
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorListener​(java.io.PrintWriter out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reportAmbiguity​(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.dfa.DFA dfa, int startIndex, int stopIndex, boolean exact, java.util.BitSet ambigAlts, org.antlr.v4.runtime.atn.ATNConfigSet configs)  
      void syntaxError​(org.antlr.v4.runtime.Recognizer<?,​?> recognizer, java.lang.Object offendingSymbol, int line, int charPositionInLine, java.lang.String msg, org.antlr.v4.runtime.RecognitionException e)  
      • Methods inherited from class org.antlr.v4.runtime.BaseErrorListener

        reportAttemptingFullContext, reportContextSensitivity
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorListener

        public ErrorListener​(java.io.PrintWriter out)
    • Method Detail

      • syntaxError

        public void syntaxError​(org.antlr.v4.runtime.Recognizer<?,​?> recognizer,
                                java.lang.Object offendingSymbol,
                                int line,
                                int charPositionInLine,
                                java.lang.String msg,
                                org.antlr.v4.runtime.RecognitionException e)
        Specified by:
        syntaxError in interface org.antlr.v4.runtime.ANTLRErrorListener
        Overrides:
        syntaxError in class org.antlr.v4.runtime.BaseErrorListener
      • reportAmbiguity

        public void reportAmbiguity​(org.antlr.v4.runtime.Parser recognizer,
                                    org.antlr.v4.runtime.dfa.DFA dfa,
                                    int startIndex,
                                    int stopIndex,
                                    boolean exact,
                                    java.util.BitSet ambigAlts,
                                    org.antlr.v4.runtime.atn.ATNConfigSet configs)
        Specified by:
        reportAmbiguity in interface org.antlr.v4.runtime.ANTLRErrorListener
        Overrides:
        reportAmbiguity in class org.antlr.v4.runtime.BaseErrorListener