Package | Description |
---|---|
com.github.javaparser |
Modifier and Type | Field and Description |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
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.
|
Modifier and Type | Field and Description |
---|---|
List<Token> |
ParseResult.tokens |
Modifier and Type | Method and Description |
---|---|
Token |
ASTParserTokenManager.getNextToken()
Get the next Token.
|
protected Token |
ASTParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
String image)
Returns a new Token object, by default.
|
Constructor and Description |
---|
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.
|
Constructor and Description |
---|
ParseResult(Optional<T> result,
List<Problem> problems,
List<Token> tokens) |
Copyright © 2007–2016. All rights reserved.