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.currentToken
This is the last token that has been consumed successfully.(package private) Token
GeneratedJavaParser.JJCalls.first
private Token
GeneratedJavaParser.jj_lastpos
GeneratedJavaParser.jj_nt
Next token.private Token
GeneratedJavaParser.jj_scanpos
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.GeneratedJavaParser.token
Current token.Fields in com.github.javaparser with type parameters of type TokenMethods in com.github.javaparser that return TokenModifier and TypeMethodDescription(package private) Token
GeneratedJavaParser.getCurrentToken()
final Token
GeneratedJavaParser.getNextToken()
Get the next Token.(package private) abstract Token
GeneratedJavaParserBase.getNextToken()
GeneratedJavaParserTokenManager.getNextToken()
Get the next Token.final Token
GeneratedJavaParser.getToken
(int index) Get the specific Token.(package private) abstract Token
GeneratedJavaParserBase.getToken
(int index) private Token
GeneratedJavaParser.jj_consume_token
(int kind) protected Token
GeneratedJavaParserTokenManager.jjFillToken()
static Token
Token.newToken
(int ofKind) static Token
Returns a new Token object, by default.Methods in com.github.javaparser with parameters of type TokenModifier and TypeMethodDescriptionprivate void
GeneratedJavaParserTokenManager.CommonTokenAction
(Token token) (package private) static Comment
GeneratedJavaParserTokenManagerBase.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 String
ParseException.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) void
GeneratedJavaParserTokenManager.SkipLexicalActions
(Token matchedToken) (package private) void
GeneratedJavaParserTokenManager.TokenLexicalActions
(Token matchedToken) private static TokenRange
GeneratedJavaParserTokenManagerBase.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.