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

Packages that use ParseException
org.apache.velocity.runtime   
org.apache.velocity.runtime.parser   
 

Uses of ParseException in org.apache.velocity.runtime
 

Methods in org.apache.velocity.runtime that throw ParseException
 SimpleNode RuntimeInstance.parse(java.io.Reader reader, java.lang.String templateName)
          Parse the input and return the root of AST node structure.
 SimpleNode RuntimeInstance.parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
          Parse the input and return the root of the AST node structure.
static SimpleNode Runtime.parse(java.io.Reader reader, java.lang.String templateName)
          Parse the input and return the root of AST node structure.
static SimpleNode Runtime.parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
          Parse the input and return the root of the AST node structure.
static SimpleNode RuntimeSingleton.parse(java.io.Reader reader, java.lang.String templateName)
          Parse the input and return the root of AST node structure.
static SimpleNode RuntimeSingleton.parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
          Parse the input and return the root of the AST node structure.
 SimpleNode RuntimeServices.parse(java.io.Reader reader, java.lang.String templateName)
          Parse the input and return the root of AST node structure.
 SimpleNode RuntimeServices.parse(java.io.Reader reader, java.lang.String templateName, boolean dumpNamespace)
          Parse the input and return the root of the AST node structure.
 

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

Methods in org.apache.velocity.runtime.parser that return ParseException
 ParseException Parser.generateParseException()
           
 

Methods in org.apache.velocity.runtime.parser that throw ParseException
 SimpleNode Parser.parse(java.io.Reader reader, java.lang.String templateName)
          This was also added to allow parsers to be re-usable.
 SimpleNode Parser.process()
          This method is what starts the whole parsing process.
 void Parser.Statement()
          These are the types of statements that are acceptable in Velocity templates.
 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.
 void Parser.Escape()
          Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.
 void Parser.Comment()
           
 void Parser.NumberLiteral()
           
 void Parser.StringLiteral()
           
 void Parser.Identifier()
          This method corresponds to variable references in Velocity templates.
 void Parser.Word()
           
 void Parser.DirectiveArg()
          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()
 SimpleNode Parser.Directive()
          Supports the Pluggable Directives #foo( arg+ )
 void Parser.ObjectArray()
           
 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/servlet
 void Parser.Parameter()
          This method has yet to be fully implemented but will allow arbitrarily nested method calls
 void Parser.Method()
          This method has yet to be fully implemented but will allow arbitrarily nested method calls
 void Parser.Reference()
           
 void Parser.True()
           
 void Parser.False()
           
 void Parser.Text()
          This method is responsible for allowing all non-grammar text to pass through unscathed.
 void Parser.IfStatement()
           
 void Parser.ElseStatement()
           
 void Parser.ElseIfStatement()
           
 void Parser.SetDirective()
          Currently support both types of set : #set( expr ) #set expr
 void Parser.StopStatement()
          This method corresponds to the #stop directive which just simulates and EOF so that parsing stops.
 void Parser.Expression()
           
 void Parser.Assignment()
           
 void Parser.ConditionalOrExpression()
           
 void Parser.ConditionalAndExpression()
           
 void Parser.EqualityExpression()
           
 void Parser.RelationalExpression()
           
 void Parser.AdditiveExpression()
           
 void Parser.MultiplicativeExpression()
           
 void Parser.UnaryExpression()
           
 void Parser.PrimaryExpression()
           
private  Token Parser.jj_consume_token(int kind)
           
 



Copyright © 2003 Apache Software Foundation. All Rights Reserved.