org.apache.velocity.runtime.parser.node
Class ASTIdentifier
- Node
public class ASTIdentifier
ASTIdentifier.java
Method support for identifiers : $foo
mainly used by ASTRefrence
Introspection is now moved to 'just in time' or at render / execution
time. There are many reasons why this has to be done, but the
primary two are thread safety, to remove any context-derived
information from class member variables.
$Id: ASTIdentifier.java,v 1.19.4.1 2004/03/03 23:22:58 geirm Exp $private String | identifier
|
protected Info | uberInfo - This is really immutable after the init, so keep one for this node
|
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 |
identifier
private String identifier
uberInfo
protected Info uberInfo
This is really immutable after the init, so keep one for this node
ASTIdentifier
public ASTIdentifier(int id)
ASTIdentifier
public ASTIdentifier(Parser p,
int id)
init
public Object init(InternalContextAdapter context,
Object data)
throws Exception
simple init - don't do anything that is context specific.
just get what we need from the AST, which is static.
- init in interface Node
- init in interface SimpleNode
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.