Uses of Class
com.github.javaparser.Token
-
Packages that use Token Package Description com.github.javaparser -
-
Uses of Token in com.github.javaparser
Fields in com.github.javaparser declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.(package private) Token
GeneratedJavaParser.JJCalls. first
private Token
GeneratedJavaParser. jj_lastpos
Token
GeneratedJavaParser. jj_nt
Next token.private Token
GeneratedJavaParser. jj_scanpos
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
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.Token
GeneratedJavaParser. token
Current token.Fields in com.github.javaparser with type parameters of type Token Modifier and Type Field Description private java.util.Stack<Token>
GeneratedJavaParserTokenManager. tokenWorkStack
Methods in com.github.javaparser that return Token Modifier and Type Method Description (package private) Token
GeneratedJavaParser. getCurrentToken()
Token
GeneratedJavaParser. getNextToken()
Get the next Token.(package private) abstract Token
GeneratedJavaParserBase. getNextToken()
Token
GeneratedJavaParserTokenManager. getNextToken()
Get the next Token.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
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in com.github.javaparser with parameters of type Token Modifier and Type Method Description private 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 java.lang.String
ParseException. initialise(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage, java.lang.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 Token Constructor Description JavaToken(Token token, java.util.List<JavaToken> tokens)
ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal, java.lang.String lexicalStateName)
This constructor is used by the method "generateParseException" in the generated parser.
-