public class FailFastHandler
extends java.lang.Object
Constructor and Description |
---|
FailFastHandler() |
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) |
public void reportError(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.RecognitionException re)
public void recover(org.antlr.runtime.Lexer lex, org.antlr.runtime.RecognitionException re)
public void recover(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.IntStream input, org.antlr.runtime.RecognitionException re)
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
org.antlr.runtime.RecognitionException
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
org.antlr.runtime.RecognitionException
public expr errorExpr(PythonTree t)
public mod errorMod(PythonTree t)
public slice errorSlice(PythonTree t)
public stmt errorStmt(PythonTree t)
public void error(java.lang.String message, PythonTree t)