/**
* Constructs a new instance of {@link ANTLRLexerState} containing the mode and mode stack information for an ANTLR
* lexer.
*
* @param mode The current lexer mode, {@link Lexer#_mode}.
* @param modeStack The lexer mode stack, {@link Lexer#_modeStack}, or {@code null} .
*/
public ANTLRLexerState(int mode, @Nullable IntegerStack modeStack) {
this.mode = mode;
this.modeStack = modeStack != null ? modeStack.toArray() : null;
}
ANTLRLexerState.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:intellij-plugin-v4
作者:
评论列表
文章目录