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 SimpleNode
Deprecated.Parse the input and return the root of AST node structure.static SimpleNode
Deprecated.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 SimpleNode
Parse the input and return the root of AST node structure.static SimpleNode
Parse 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 TypeClassDescriptionclass
Exception 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 void
Macro.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 TypeClassDescriptionclass
This 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 void
Parser.AdditiveExpression()
final void
Parser.Assignment()
final void
Parser.Comment()
final void
Parser.ConditionalAndExpression()
final void
Parser.ConditionalOrExpression()
final SimpleNode
Parser.Directive()
Supports the Pluggable Directives #foo( arg+ )final int
Parser.DirectiveArg()
Supports the arguments for the Pluggable Directivesfinal void
Parser.ElseIfStatement()
final void
Parser.ElseStatement()
final void
Parser.EqualityExpression()
final void
Parser.Escape()
Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.final void
Parser.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 void
Parser.Expression()
final void
Parser.False()
final void
Parser.FloatingPointLiteral()
final void
Parser.Identifier()
This method corresponds to variable references in Velocity templates.final void
Parser.IfStatement()
final void
Parser.Index()
final void
Parser.IndexParameter()
A Simplified parameter more suitable for an index position: $foo[$index]final void
Parser.IntegerLiteral()
final void
Parser.IntegerRange()
supports the [n..m] vector generator for use in the #foreach() to generate measured ranges w/o needing explicit support from the app/servletfinal void
Parser.Map()
for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})final void
Parser.Method()
This method has yet to be fully implemented but will allow arbitrarily nested method callsfinal void
Parser.MultiplicativeExpression()
final void
Parser.ObjectArray()
final void
Parser.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 void
Parser.PrimaryExpression()
final SimpleNode
Parser.process()
This method is what starts the whole parsing process.final void
Parser.Reference()
final void
Parser.RelationalExpression()
final void
Parser.SetDirective()
Currently support both types of set : #set( expr ) #set exprfinal void
Parser.Statement()
These are the types of statements that are acceptable in Velocity templates.final void
Parser.StringLiteral()
final void
Parser.Text()
This method is responsible for allowing all non-grammar text to pass through unscathed.final void
Parser.Textblock()
final void
Parser.True()
final void
Parser.UnaryExpression()
final void
Parser.Word()