Package | Description |
---|---|
net.sourceforge.pmd.lang.vm.ast |
Modifier and Type | Field | Description |
---|---|---|
Token |
ParseException.currentToken |
This is the last token that has been consumed successfully.
|
protected Token |
AbstractVmNode.first |
|
Token |
VmParser.jj_nt |
Next token.
|
protected Token |
AbstractVmNode.last |
|
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 |
VmParser.token |
Current token.
|
Modifier and Type | Method | Description |
---|---|---|
Token |
AbstractVmNode.getFirstToken() |
|
Token |
AbstractVmNode.getLastToken() |
|
Token |
VmParser.getNextToken() |
Get the next Token.
|
Token |
VmParserTokenManager.getNextToken() |
Get the next Token.
|
Token |
VmParser.getToken(int index) |
Get the specific Token.
|
protected Token |
VmParserTokenManager.jjFillToken() |
|
static Token |
Token.newToken(int ofKind) |
|
static Token |
Token.newToken(int ofKind,
java.lang.String image) |
Returns a new Token object, by default.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractVmNode.setFirstToken(Token t) |
|
static java.lang.String |
NodeUtils.tokenLiteral(Token t) |
complete node literal
|
Constructor | Description |
---|---|
MacroParseException(java.lang.String msg,
java.lang.String templateName,
Token currentToken) |
|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal) |
This constructor is used by the method "generateParseException"
in the generated parser.
|
TemplateParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal) |
This constructor is used by the method "generateParseException" in the
generated parser.
|
TemplateParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal,
java.lang.String templateNameVal) |
This constructor is used to add a template name to info cribbed from a
ParseException generated in the parser.
|
Copyright © 2002–2018 PMD. All rights reserved.