Documentation of 'org.python.antlr.FailFastHandler' Java class
FailFastHandler
org.python.antlr

Class FailFastHandler



  • public class FailFastHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      FailFastHandler() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void error(java.lang.String message, PythonTree t) 
      expr errorExpr(PythonTree t) 
      mod errorMod(PythonTree t) 
      slice errorSlice(PythonTree t) 
      stmt errorStmt(PythonTree t) 
      boolean mismatch(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.IntStream input, int ttype, org.antlr.runtime.BitSet follow) 
      void recover(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.IntStream input, org.antlr.runtime.RecognitionException re) 
      void recover(org.antlr.runtime.Lexer lex, org.antlr.runtime.RecognitionException re) 
      java.lang.Object recoverFromMismatchedToken(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.IntStream input, int ttype, org.antlr.runtime.BitSet follow) 
      void reportError(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.RecognitionException re) 
      • Methods inherited from class java.lang.Object

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

      • FailFastHandler

        public FailFastHandler()
    • Method Detail

      • reportError

        public void reportError(org.antlr.runtime.BaseRecognizer br,
                                org.antlr.runtime.RecognitionException re)
      • recover

        public void recover(org.antlr.runtime.Lexer lex,
                            org.antlr.runtime.RecognitionException re)
      • recover

        public void recover(org.antlr.runtime.BaseRecognizer br,
                            org.antlr.runtime.IntStream input,
                            org.antlr.runtime.RecognitionException re)
      • mismatch

        public boolean mismatch(org.antlr.runtime.BaseRecognizer br,
                                org.antlr.runtime.IntStream input,
                                int ttype,
                                org.antlr.runtime.BitSet follow)
                         throws org.antlr.runtime.RecognitionException
        Returns:
        True if the caller should handle the mismatch
        Throws:
        org.antlr.runtime.RecognitionException
      • recoverFromMismatchedToken

        public java.lang.Object recoverFromMismatchedToken(org.antlr.runtime.BaseRecognizer br,
                                                           org.antlr.runtime.IntStream input,
                                                           int ttype,
                                                           org.antlr.runtime.BitSet follow)
                                                    throws org.antlr.runtime.RecognitionException
        Returns:
        null if the caller should handle the mismatch
        Throws:
        org.antlr.runtime.RecognitionException
      • error

        public void error(java.lang.String message,
                          PythonTree t)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.