Package | Description |
---|---|
com.github.javaparser |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GeneratedJavaParser.CustomToken |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
Token |
GeneratedJavaParser.getNextToken()
Get the next Token.
|
Token |
GeneratedJavaParserTokenManager.getNextToken()
Get the next Token.
|
Token |
GeneratedJavaParser.getToken(int index)
Get the specific Token.
|
private Token |
GeneratedJavaParser.jj_consume_token(int kind) |
protected Token |
GeneratedJavaParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
GeneratedJavaParser.CustomToken.newToken(int kind,
java.lang.String image) |
static Token |
Token.newToken(int ofKind,
java.lang.String image)
Returns a new Token object, by default.
|
Modifier and Type | Method and Description |
---|---|
private void |
GeneratedJavaParserTokenManager.CommonTokenAction(Token rawToken) |
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) |
(package private) static TokenRange |
GeneratedJavaParserSupport.tokenRange(Token token)
Create a TokenRange that spans exactly one token
|
Constructor and 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.
|