Uses of Interface org.apache.velocity.runtime.parser.node.Node

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

Constructors with parameter type org.apache.velocity.runtime.parser.node.Node

NodeException.NodeException(String exceptionMessage, Node node)
ReferenceException.ReferenceException(String exceptionMessage, Node node)

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

Classes implementing org.apache.velocity.runtime.parser.node.Node

class
Handles integer addition of nodes Please look at the Parser.jjt file which is what controls the generation of this class.
class
Please look at the Parser.jjt file which is what controls the generation of this class.
class
class
class
Represents all comments...
class
This class is responsible for handling the pluggable directives in VTL.
class
Handles integer division of nodes Please look at the Parser.jjt file which is what controls the generation of this class.
class
This class is responsible for handling the ElseIf VTL control statement.
class
This class is responsible for handling the Else VTL control statement.
class
Handles the equivalence operator == This operator requires that the LHS and RHS are both of the same Class.
class
This class is responsible for handling Escapes in VTL.
class
This class is responsible for handling EscapedDirectives in VTL.
class
class
class
class
class
ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTRefrence Introspection is now moved to 'just in time' or at render / execution time.
class
Please look at the Parser.jjt file which is what controls the generation of this class.
class
class
handles the range 'operator' [ n ..
class
class
class
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.
class
Handles integer modulus division Please look at the Parser.jjt file which is what controls the generation of this class.
class
Handles integer multiplication Please look at the Parser.jjt file which is what controls the generation of this class.
class
class
class
class
class
Please look at the Parser.jjt file which is what controls the generation of this class.
class
class
class
This class is responsible for handling the references in VTL ($foo).
class
Node for the #set directive
class
ASTStringLiteral support.
class
Handles integer subtraction of nodes (in #set() ) Please look at the Parser.jjt file which is what controls the generation of this class.
class
class
class
class
class

Fields of type org.apache.velocity.runtime.parser.node.Node

Node[]
Node
Node

Methods with parameter type org.apache.velocity.runtime.parser.node.Node

void
Node.jjtAddChild(Node n, int i)
This method tells the node to add its argument to the node's list of children.
void
void
This pair of methods are used to inform the node of its parent.
void

Methods with return type org.apache.velocity.runtime.parser.node.Node

Node
returns the RHS Node of the set statement
Node
This method returns a child node.
Node
Node
Node

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

Methods with parameter type org.apache.velocity.runtime.parser.node.Node

List
Returns an array of the literal rep of the AST
String[]
creates an array containing the literal strings in the macro arguement
String[]
gets the args to the VM from the instance-use AST
void
How this directive is to be initialized.
void
simple init - init the tree and get the elementKey from the AST
void
simple init - init the tree and get the elementKey from the AST
void
Store the literal rendition of a node using the Node.literal().
void
void
The major meat of VelocimacroProxy, init() checks the # of arguments, patches the macro body, renders the macro into an AST, and then inits the AST, so it is ready for quick rendering.
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
boolean
Directive.render(InternalContextAdapter context, Writer writer, Node node)
How this directive is to be rendered
boolean
Foreach.render(InternalContextAdapter context, Writer writer, Node node)
renders the #foreach() block
boolean
Include.render(InternalContextAdapter context, Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.
boolean
Literal.render(InternalContextAdapter context, Writer writer, Node node)
Throw the literal rendition of the block between #literal()/#end into the writer.
boolean
Macro.render(InternalContextAdapter context, Writer writer, Node node)
render() doesn't do anything in the final output rendering.
boolean
Parse.render(InternalContextAdapter context, Writer writer, Node node)
iterates through the argument list and renders every argument that is appropriate.
boolean
VelocimacroProxy.render(InternalContextAdapter context, Writer writer, Node node)
Renders the macro using the context
boolean
Include.renderOutput(Node node, InternalContextAdapter context, Writer writer)
does the actual rendering of the included file

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

Methods with parameter type org.apache.velocity.runtime.parser.node.Node

void
void
JJTParserState.closeNodeScope(Node n, boolean condition)
void
void
void

Methods with return type org.apache.velocity.runtime.parser.node.Node

Node
Node
Node

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

Methods with parameter type org.apache.velocity.runtime.parser.node.Node

Object
NodeViewMode.showNode(Node node, Object data)
Display the type of nodes and optionally the first token.

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