protected void accept(@NotNull CharStream input, LexerActionExecutor lexerActionExecutor,
int startIndex, int index, int line, int charPos)
{
if ( debug ) {
System.out.format(Locale.getDefault(), "ACTION %s\n", lexerActionExecutor);
}
// seek to after last char in token
input.seek(index);
this.line = line;
this.charPositionInLine = charPos;
if (input.LA(1) != IntStream.EOF) {
consume(input);
}
if (lexerActionExecutor != null && recog != null) {
lexerActionExecutor.execute(recog, input, startIndex);
}
}
LexerATNSimulator.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:Scratch-ApuC
作者:
评论列表
文章目录