类的使用
bsh.Token
使用Token的程序包
-
bsh中Token的使用
修饰符和类型字段说明ParseException.currentToken
This is the last token that has been consumed successfully.Parser.jj_nt
Token.next
A reference to the next regular (non-special) token from the input stream.Token.specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Parser.token
修饰符和类型方法说明final Token
Parser.getNextToken()
ParserTokenManager.getNextToken()
final Token
Parser.getToken
(int index) protected Token
ParserTokenManager.jjFillToken()
static final Token
Token.newToken
(int ofKind) Returns a new Token object, by default.限定符构造器说明ParseException
(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.