Uses of Class
org.apache.velocity.runtime.parser.ParseException
Package
Description
-
Uses of ParseException in org.apache.velocity.exception
ModifierConstructorDescriptionParseErrorException
(ParseException pex, String templName) Create a ParseErrorException with the given ParseException.TemplateInitException
(String msg, ParseException parseException, String[] stacktrace, String templateName, int col, int line) TemplateInitException
(String msg, ParseException parseException, String templateName, int col, int line) -
Uses of ParseException in org.apache.velocity.runtime
Modifier and TypeMethodDescriptionParse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.static SimpleNode
Parse the input and return the root of AST node structure. -
Uses of ParseException in org.apache.velocity.runtime.directive
Modifier and TypeClassDescriptionclass
Exception to indicate problem happened while constructing #macro() For internal use in parser - not to be passed to app levelModifier and TypeMethodDescriptionvoid
Called by the parser to validate the argument typesvoid
Called by the parser to validate the argument typesvoid
The Parser calls this method during template parsing to check the arguments types.void
We do not allow a word token in any other arg position except for the 2nd since we are looking for the pattern #foreach($foo in $bar).void
Check the argument types of a macro call, called by the parser to do validationvoid
Called by the parser to validate the argument typesvoid
Called by the parser to check the argument types -
Uses of ParseException in org.apache.velocity.runtime.directive.contrib
-
Uses of ParseException in org.apache.velocity.runtime.parser
Modifier and TypeClassDescriptionclass
This is an extension of the ParseException, which also takes a template name.Modifier and TypeMethodDescriptionStandardParser.generateParseException()
Generate ParseException.Modifier and TypeMethodDescriptionfinal void
StandardParser.AdditiveExpression()
final void
StandardParser.Assignment()
final boolean
StandardParser.Comment()
final void
StandardParser.ConditionalAndExpression()
final void
StandardParser.ConditionalOrExpression()
final boolean
StandardParser.Directive
(boolean afterNewline) Supports the Pluggable Directives #foo( arg+ )final int
StandardParser.DirectiveArg()
Supports the arguments for the Pluggable Directivesfinal void
StandardParser.DirectiveAssign()
final ASTBlock
StandardParser.ElseIfStatement
(ASTBlock previousBlock, boolean afterNewline) final ASTBlock
StandardParser.ElseStatement
(ASTBlock previousBlock, boolean afterNewline) final void
StandardParser.EndingZeroWidthWhitespace()
final void
StandardParser.EqualityExpression()
final void
StandardParser.Escape()
Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.final void
StandardParser.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
StandardParser.Expression()
final void
StandardParser.False()
final void
StandardParser.FloatingPointLiteral()
final void
StandardParser.Identifier()
This method corresponds to variable references in Velocity templates.final boolean
StandardParser.IfStatement
(boolean afterNewline) final void
StandardParser.Index()
final void
StandardParser.IndexParameter()
A Simplified parameter more suitable for an index position: $foo[$index]final void
StandardParser.IntegerLiteral()
final void
StandardParser.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
StandardParser.Map()
for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})final void
StandardParser.Method()
This method has yet to be fully implemented but will allow arbitrarily nested method callsfinal void
StandardParser.MultiplicativeExpression()
final void
StandardParser.ObjectArray()
final void
StandardParser.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
StandardParser.PrimaryExpression()
final SimpleNode
StandardParser.process()
This method is what starts the whole parsing process.final void
StandardParser.Reference()
final void
StandardParser.RelationalExpression()
final boolean
StandardParser.SetDirective
(boolean afterNewline) Currently support both types of set : #set( expr ) #set exprfinal boolean
StandardParser.Statement
(boolean afterNewline) These are the types of statements that are acceptable in Velocity templates.final void
StandardParser.StringLiteral()
final boolean
StandardParser.Text()
This method is responsible for allowing all non-grammar text to pass through unscathed.final void
StandardParser.Textblock()
final void
StandardParser.True()
final void
StandardParser.UnaryExpression()
final void
StandardParser.Word()