Uses of Class org.apache.velocity.runtime.parser.ParseException

Uses in package org.apache.velocity.runtime.directive

Classes derived from org.apache.velocity.runtime.parser.ParseException

class
Exception to indicate problem happened while constructing #macro() For internal use in parser - not to be passed to app level

Methods which throw type org.apache.velocity.runtime.parser.ParseException

void
Macro.processAndRegister(RuntimeServices rs, Node node, String sourceTemplate)
Used by Parser.java to process VMs withing the parsing process processAndRegister() doesn't actually render the macro to the output Processes the macro body into the internal representation used by the VelocimacroProxy objects, and if not currently used, adds it to the macro Factory

Uses in package org.apache.velocity.runtime.parser

Methods with return type org.apache.velocity.runtime.parser.ParseException

ParseException

Methods which throw type org.apache.velocity.runtime.parser.ParseException

void
void
void
void
void
SimpleNode
Supports the Pluggable Directives #foo( arg+ )
int
Supports the arguments for the Pluggable Directives We add whitespace in here as a token so the VMs can easily reconstruct a macro body from the token stream See Directive()
void
void
void
void
Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.
void
used to separate the notion of a valid directive that has been escaped, versus something that looks like a directive and is just schmoo.
void
void
void
This method corresponds to variable references in Velocity templates.
void
void
supports the [n..m] vector generator for use in the #foreach() to generate measured ranges w/o needing explicit support from the app/servlet
void
This method has yet to be fully implemented but will allow arbitrarily nested method calls
void
void
void
void
This method has yet to be fully implemented but will allow arbitrarily nested method calls
void
void
void
void
Currently support both types of set : #set( expr ) #set expr
void
These are the types of statements that are acceptable in Velocity templates.
void
This method corresponds to the #stop directive which just simulates and EOF so that parsing stops.
void
void
This method is responsible for allowing all non-grammar text to pass through unscathed.
void
void
void
Token
SimpleNode
Parser.parse(Reader reader, String templateName)
This was also added to allow parsers to be re-usable.
SimpleNode
This method is what starts the whole parsing process.

Uses in package org.apache.velocity.runtime

Methods which throw type org.apache.velocity.runtime.parser.ParseException

SimpleNode
Runtime.parse(Reader reader, String templateName)
Parse the input and return the root of AST node structure.
SimpleNode
RuntimeInstance.parse(Reader reader, String templateName)
Parse the input and return the root of AST node structure.
SimpleNode
RuntimeServices.parse(Reader reader, String templateName)
Parse the input and return the root of AST node structure.
SimpleNode
RuntimeSingleton.parse(Reader reader, String templateName)
Parse the input and return the root of AST node structure.
SimpleNode
Runtime.parse(Reader reader, String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.
SimpleNode
RuntimeInstance.parse(Reader reader, String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.
SimpleNode
RuntimeServices.parse(Reader reader, String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.
SimpleNode
RuntimeSingleton.parse(Reader reader, String templateName, boolean dumpNamespace)
Parse the input and return the root of the AST node structure.

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.