Package | Description |
---|---|
org.apache.velocity.runtime.parser | |
org.apache.velocity.runtime.parser.node |
Modifier and Type | Field and Description |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
(package private) Token |
Parser.JJCalls.first |
private Token |
Parser.jj_lastpos |
Token |
Parser.jj_nt |
private Token |
Parser.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 |
Parser.token |
Modifier and Type | Method and Description |
---|---|
Token |
Parser.getNextToken() |
Token |
ParserTokenManager.getNextToken() |
Token |
Parser.getToken(int index) |
private Token |
Parser.jj_consume_token(int kind) |
protected Token |
ParserTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind)
Returns a new Token object, by default.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ParserTokenManager.SkipLexicalActions(Token matchedToken) |
(package private) void |
ParserTokenManager.TokenLexicalActions(Token matchedToken) |
Constructor and Description |
---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Modifier and Type | Field and Description |
---|---|
protected Token |
SimpleNode.first |
protected Token |
SimpleNode.last |
Modifier and Type | Method and Description |
---|---|
Token |
Node.getFirstToken() |
Token |
SimpleNode.getFirstToken() |
Token |
Node.getLastToken() |
Token |
SimpleNode.getLastToken() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleNode.setFirstToken(Token t) |
static java.lang.String |
NodeUtils.specialText(Token t)
Collect all the
|
static java.lang.String |
NodeUtils.tokenLiteral(Token t)
complete node literal
|
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.