Class RemoveListenersErrorStrategy

java.lang.Object
ch.tocco.nice2.conditionals.api.parser.util.RemoveListenersErrorStrategy
All Implemented Interfaces:
org.antlr.v4.runtime.ANTLRErrorStrategy

public class RemoveListenersErrorStrategy extends Object implements org.antlr.v4.runtime.ANTLRErrorStrategy
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemoveListenersErrorStrategy(org.antlr.v4.runtime.ANTLRErrorStrategy delegate, org.antlr.v4.runtime.tree.ParseTreeListener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.antlr.v4.runtime.tree.ParseTreeListener>
     
    boolean
    inErrorRecoveryMode(org.antlr.v4.runtime.Parser recognizer)
     
    void
    recover(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e)
     
    org.antlr.v4.runtime.Token
    recoverInline(org.antlr.v4.runtime.Parser recognizer)
     
    void
    reportError(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e)
     
    void
    reportMatch(org.antlr.v4.runtime.Parser recognizer)
     
    void
    reset(org.antlr.v4.runtime.Parser recognizer)
     
    void
    sync(org.antlr.v4.runtime.Parser recognizer)
     

    Methods inherited from class java.lang.Object

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

    • RemoveListenersErrorStrategy

      public RemoveListenersErrorStrategy(org.antlr.v4.runtime.ANTLRErrorStrategy delegate, org.antlr.v4.runtime.tree.ParseTreeListener listener)
  • Method Details

    • getListeners

      public List<org.antlr.v4.runtime.tree.ParseTreeListener> getListeners()
    • reset

      public void reset(org.antlr.v4.runtime.Parser recognizer)
      Specified by:
      reset in interface org.antlr.v4.runtime.ANTLRErrorStrategy
    • recoverInline

      public org.antlr.v4.runtime.Token recoverInline(org.antlr.v4.runtime.Parser recognizer) throws org.antlr.v4.runtime.RecognitionException
      Specified by:
      recoverInline in interface org.antlr.v4.runtime.ANTLRErrorStrategy
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • recover

      public void recover(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e) throws org.antlr.v4.runtime.RecognitionException
      Specified by:
      recover in interface org.antlr.v4.runtime.ANTLRErrorStrategy
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • sync

      public void sync(org.antlr.v4.runtime.Parser recognizer) throws org.antlr.v4.runtime.RecognitionException
      Specified by:
      sync in interface org.antlr.v4.runtime.ANTLRErrorStrategy
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • inErrorRecoveryMode

      public boolean inErrorRecoveryMode(org.antlr.v4.runtime.Parser recognizer)
      Specified by:
      inErrorRecoveryMode in interface org.antlr.v4.runtime.ANTLRErrorStrategy
    • reportMatch

      public void reportMatch(org.antlr.v4.runtime.Parser recognizer)
      Specified by:
      reportMatch in interface org.antlr.v4.runtime.ANTLRErrorStrategy
    • reportError

      public void reportError(org.antlr.v4.runtime.Parser recognizer, org.antlr.v4.runtime.RecognitionException e)
      Specified by:
      reportError in interface org.antlr.v4.runtime.ANTLRErrorStrategy