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 TokenParseException. currentTokenThis is the last token that has been consumed successfully.(package private) TokenGeneratedJavaParser.JJCalls. firstprivate TokenGeneratedJavaParser. jj_lastposTokenGeneratedJavaParser. jj_ntNext token.private TokenGeneratedJavaParser. jj_scanposTokenToken. nextA reference to the next regular (non-special) token from the input stream.TokenToken. specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.TokenGeneratedJavaParser. tokenCurrent token.Fields in com.github.javaparser with type parameters of type Token Modifier and Type Field Description private java.util.ArrayDeque<Token>GeneratedJavaParserTokenManager. markdownCommentTokensprivate java.util.Stack<Token>GeneratedJavaParserTokenManager. tokenWorkStackMethods in com.github.javaparser that return Token Modifier and Type Method Description (package private) TokenGeneratedJavaParser. getCurrentToken()TokenGeneratedJavaParser. getNextToken()Get the next Token.(package private) abstract TokenGeneratedJavaParserBase. getNextToken()TokenGeneratedJavaParserTokenManager. getNextToken()Get the next Token.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 TokenToken. 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 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 java.lang.StringParseException. 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) static booleanGeneratedJavaParserTokenManagerBase. isMarkdownCommentLineCandidate(Token token)(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 tokenMethod parameters in com.github.javaparser with type arguments of type Token Modifier and Type Method Description (package private) static MarkdownCommentGeneratedJavaParserTokenManagerBase. createMarkdownCommentFromTokenList(java.util.ArrayDeque<Token> tokens)Constructors 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.
-