Uses of Class
com.github.javaparser.Token
Packages that use Token
-
Uses of Token in com.github.javaparser
Fields in com.github.javaparser declared as TokenModifier and TypeFieldDescriptionParseException.currentTokenThis is the last token that has been consumed successfully.(package private) TokenGeneratedJavaParser.JJCalls.firstprivate TokenGeneratedJavaParser.jj_lastposGeneratedJavaParser.jj_ntNext token.private TokenGeneratedJavaParser.jj_scanposToken.nextA reference to the next regular (non-special) token from the input stream.Token.specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.GeneratedJavaParser.tokenCurrent token.Fields in com.github.javaparser with type parameters of type TokenMethods in com.github.javaparser that return TokenModifier and TypeMethodDescription(package private) TokenGeneratedJavaParser.getCurrentToken()final TokenGeneratedJavaParser.getNextToken()Get the next Token.(package private) abstract TokenGeneratedJavaParserBase.getNextToken()GeneratedJavaParserTokenManager.getNextToken()Get the next Token.final TokenGeneratedJavaParser.getToken(int index) Get the specific Token.(package private) abstract TokenGeneratedJavaParserBase.getToken(int index) private TokenGeneratedJavaParser.jj_consume_token(int kind) protected TokenGeneratedJavaParserTokenManager.jjFillToken()static TokenToken.newToken(int ofKind) static TokenReturns a new Token object, by default.Methods in com.github.javaparser with parameters of type TokenModifier and TypeMethodDescriptionprivate voidGeneratedJavaParserTokenManager.CommonTokenAction(Token token) (package private) static CommentGeneratedJavaParserTokenManagerBase.createCommentFromToken(Token token) Since comments are completely captured in a single token, including their delimiters, deconstruct them here so we can turn them into nodes later on.private static StringParseException.initialise(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage, String lexicalStateName) It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.(package private) voidGeneratedJavaParserTokenManager.SkipLexicalActions(Token matchedToken) (package private) voidGeneratedJavaParserTokenManager.TokenLexicalActions(Token matchedToken) private static TokenRangeGeneratedJavaParserTokenManagerBase.tokenRange(Token token) Create a TokenRange that spans exactly one tokenConstructors in com.github.javaparser with parameters of type TokenModifierConstructorDescription(package private)ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal, String lexicalStateName) This constructor is used by the method "generateParseException" in the generated parser.