Uses of Class org.apache.velocity.runtime.parser.Token (Velocity 1.7 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.velocity.runtime.parser.Token

Packages that use Token
org.apache.velocity.runtime.directive |
org.apache.velocity.runtime.parser |
org.apache.velocity.runtime.parser.node |

Uses of Token in org.apache.velocity.runtime.directive

Methods in org.apache.velocity.runtime.directive with parameters of type Token
`static void` | `Macro.checkArgs(RuntimeServices rs, Token t, Node node, String sourceTemplate)` Used by Parser.java to do further parameter checking for macro arguments.

Constructors in org.apache.velocity.runtime.directive with parameters of type Token
`MacroParseException(String msg, String templateName, Token currentToken)`

Uses of Token in org.apache.velocity.runtime.parser

Fields in org.apache.velocity.runtime.parser declared as Token
`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` Current token.
`Token` | `Parser.jj_nt` Next token.
`Token` | `ParseException.currentToken` This is the last token that has been consumed successfully.

Methods in org.apache.velocity.runtime.parser that return Token
`static Token` | `Token.newToken(int ofKind)` Returns a new Token object, by default.
`protected Token` | `ParserTokenManager.jjFillToken()`
`Token` | `ParserTokenManager.getNextToken()` Get the next Token.
`Token` | `Parser.getNextToken()` Get the next Token.
`Token` | `Parser.getToken(int index)` Get the specific Token.

Constructors in org.apache.velocity.runtime.parser with parameters of type Token
`TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal, String templateNameVal)` This constructor is used to add a template name to info cribbed from a ParseException generated in the parser.
`TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal)` This constructor is used by the method "generateParseException" in the generated parser.
`ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal)` This constructor is used by the method "generateParseException" in the generated parser.

Uses of Token in org.apache.velocity.runtime.parser.node

Fields in org.apache.velocity.runtime.parser.node declared as Token
`protected Token` | `SimpleNode.first`
`protected Token` | `SimpleNode.last`

Methods in org.apache.velocity.runtime.parser.node that return Token
`Token` | `SimpleNode.getFirstToken()`
`Token` | `SimpleNode.getLastToken()`
`Token` | `Node.getFirstToken()`
`Token` | `Node.getLastToken()`

Methods in org.apache.velocity.runtime.parser.node with parameters of type Token
`void` | `SimpleNode.setFirstToken(Token t)`
`static String` | `NodeUtils.specialText(Token t)` Deprecated. use getSpecialText(Token t)
`static StrBuilder` | `NodeUtils.getSpecialText(Token t)` Collect all the s that are carried along with a token.
`static String` | `NodeUtils.tokenLiteral(Token t)` complete node literal

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.