public class RecordingErrorHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<org.antlr.runtime.RecognitionException> |
errs |
Constructor and Description |
---|
RecordingErrorHandler() |
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)
public java.lang.Object recoverFromMismatchedToken(org.antlr.runtime.BaseRecognizer br, org.antlr.runtime.IntStream input, int ttype, org.antlr.runtime.BitSet follow)
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)