Uses of Class
org.apache.velocity.runtime.parser.ParseException
Packages that use ParseException
Package
Description
-
Uses of ParseException in org.apache.velocity.exception
Constructors in org.apache.velocity.exception with parameters of type ParseExceptionModifierConstructorDescriptionParseErrorException(ParseException pex, String templName) Create a ParseErrorException with the given ParseException.TemplateInitException(String msg, ParseException parseException, String templateName, int col, int line) -
Uses of ParseException in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that throw ParseExceptionModifier and TypeMethodDescriptionstatic SimpleNodeDeprecated.Parse the input and return the root of AST node structure.static SimpleNodeDeprecated.Parse the input and return the root of the AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of the AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of the AST node structure.Wraps the String in a StringReader and passes it off toRuntimeServices.parse(Reader,String).static SimpleNodeParse the input and return the root of AST node structure.static SimpleNodeParse the input and return the root of the AST node structure. -
Uses of ParseException in org.apache.velocity.runtime.directive
Subclasses of ParseException in org.apache.velocity.runtime.directiveModifier and TypeClassDescriptionclassException to indicate problem happened while constructing #macro() For internal use in parser - not to be passed to app levelMethods in org.apache.velocity.runtime.directive that throw ParseExceptionModifier and TypeMethodDescriptionstatic voidMacro.checkArgs(RuntimeServices rs, Token t, Node node, String sourceTemplate) Used by Parser.java to do further parameter checking for macro arguments. -
Uses of ParseException in org.apache.velocity.runtime.parser
Subclasses of ParseException in org.apache.velocity.runtime.parserModifier and TypeClassDescriptionclassThis is an extension of the ParseException, which also takes a template name.Methods in org.apache.velocity.runtime.parser that return ParseExceptionMethods in org.apache.velocity.runtime.parser that throw ParseExceptionModifier and TypeMethodDescriptionfinal voidParser.AdditiveExpression()final voidParser.Assignment()final voidParser.Comment()final voidParser.ConditionalAndExpression()final voidParser.ConditionalOrExpression()final SimpleNodeParser.Directive()Supports the Pluggable Directives #foo( arg+ )final intParser.DirectiveArg()Supports the arguments for the Pluggable Directivesfinal voidParser.ElseIfStatement()final voidParser.ElseStatement()final voidParser.EqualityExpression()final voidParser.Escape()Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.final voidParser.EscapedDirective()used to separate the notion of a valid directive that has been escaped, versus something that looks like a directive and is just schmoo.final voidParser.Expression()final voidParser.False()final voidParser.FloatingPointLiteral()final voidParser.Identifier()This method corresponds to variable references in Velocity templates.final voidParser.IfStatement()final voidParser.Index()final voidParser.IndexParameter()A Simplified parameter more suitable for an index position: $foo[$index]final voidParser.IntegerLiteral()final voidParser.IntegerRange()supports the [n..m] vector generator for use in the #foreach() to generate measured ranges w/o needing explicit support from the app/servletprivate TokenParser.jj_consume_token(int kind) final voidParser.Map()for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})final voidParser.Method()This method has yet to be fully implemented but will allow arbitrarily nested method callsfinal voidParser.MultiplicativeExpression()final voidParser.ObjectArray()final voidParser.Parameter()This method has yet to be fully implemented but will allow arbitrarily nested method callsThis was also added to allow parsers to be re-usable.final voidParser.PrimaryExpression()final SimpleNodeParser.process()This method is what starts the whole parsing process.final voidParser.Reference()final voidParser.RelationalExpression()final voidParser.SetDirective()Currently support both types of set : #set( expr ) #set exprfinal voidParser.Statement()These are the types of statements that are acceptable in Velocity templates.final voidParser.StringLiteral()final voidParser.Text()This method is responsible for allowing all non-grammar text to pass through unscathed.final voidParser.Textblock()final voidParser.True()final voidParser.UnaryExpression()final voidParser.Word()