org.apache.velocity.runtime.parser.node
Class ASTSetDirective
- Node
public class ASTSetDirective
Node for the #set directive
Version:
- Jason van Zyl
- Geir Magnusson Jr.
childrenAccept , dump , evaluate , execute , getColumn , getFirstToken , getInfo , getLastToken , getLine , getType , init , isInvalid , jjtAccept , jjtAddChild , jjtClose , jjtGetChild , jjtGetNumChildren , jjtGetParent , jjtOpen , jjtSetParent , literal , render , setFirstToken , setInfo , setInvalid , toString , value |
blather
(package private) boolean blather
leftReference
private String leftReference
ASTSetDirective
public ASTSetDirective(int id)
ASTSetDirective
public ASTSetDirective(Parser p,
int id)
getLeftHandSide
private ASTReference getLeftHandSide()
returns the ASTReference that is the LHS of the set statememt
getRightHandSide
private Node getRightHandSide()
returns the RHS Node of the set statement
init
public Object init(InternalContextAdapter context,
Object data)
throws Exception
simple init. We can get the RHS and LHS as the the tree structure is static
- init in interface Node
- init in interface SimpleNode
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.