Uses of Class
org.apache.velocity.runtime.parser.Token
-
Packages that use Token Package Description 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 Modifier and Type Method Description static voidMacro. checkArgs(RuntimeServices rs, Token t, Node node, java.lang.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 Constructor Description MacroParseException(java.lang.String msg, java.lang.String templateName, Token currentToken) -
Uses of Token in org.apache.velocity.runtime.parser
Fields in org.apache.velocity.runtime.parser declared as Token Modifier and Type Field Description TokenParseException. currentTokenThis is the last token that has been consumed successfully.TokenParser. jj_ntNext token.TokenToken. nextA reference to the next regular (non-special) token from the input stream.TokenToken. specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.TokenParser. tokenCurrent token.Methods in org.apache.velocity.runtime.parser that return Token Modifier and Type Method Description TokenParser. getNextToken()Get the next Token.TokenParserTokenManager. getNextToken()Get the next Token.TokenParser. getToken(int index)Get the specific Token.protected TokenParserTokenManager. jjFillToken()static TokenToken. newToken(int ofKind)Returns a new Token object, by default.Constructors in org.apache.velocity.runtime.parser with parameters of type Token Constructor Description 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. -
Uses of Token in org.apache.velocity.runtime.parser.node
Fields in org.apache.velocity.runtime.parser.node declared as Token Modifier and Type Field Description protected TokenSimpleNode. firstprotected TokenSimpleNode. lastMethods in org.apache.velocity.runtime.parser.node that return Token Modifier and Type Method Description TokenNode. getFirstToken()TokenSimpleNode. getFirstToken()TokenNode. getLastToken()TokenSimpleNode. getLastToken()Methods in org.apache.velocity.runtime.parser.node with parameters of type Token Modifier and Type Method Description static org.apache.commons.lang.text.StrBuilderNodeUtils. getSpecialText(Token t)Collect all thes that are carried along with a token. voidSimpleNode. setFirstToken(Token t)static java.lang.StringNodeUtils. specialText(Token t)Deprecated.use getSpecialText(Token t)static java.lang.StringNodeUtils. tokenLiteral(Token t)complete node literal
-