public void reportError(Parser recognizer, RecognitionException e) {
// Antlr has an issue handling LexerNoViableAltException as then offending token can be null
// Try: "select a.b('aa\") from A"
if (e instanceof LexerNoViableAltException && e.getOffendingToken() == null) {
return;
}
super.reportError(recognizer, e);
}
Antlr4ErrorStrategy.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:esper
作者:
评论列表
文章目录