|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
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. *
Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
---|
children, first, id, info, invalid, last, parent, parser, rsvc, state |
Constructor Summary | |
---|---|
ASTIdentifier(int id) | |
ASTIdentifier(NVelocity.Runtime.Parser.Parser p, int id) |
Properties inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
---|
Column, FirstToken, Info, LastToken, Line, Type |
Method Summary | |
---|---|
object |
execute(object o, NVelocity.Context.InternalContextAdapter context) invokes the method on the object passed in |
object |
init(NVelocity.Context.InternalContextAdapter context, object data) simple init - don't do anything that is context specific. just get what we need from the AST, which is static. |
object |
jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) Accept the visitor. * |
Methods inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
---|
childrenAccept, dump, evaluate, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setInvalid, toString, value_Renamed |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public ASTIdentifier(int id)
public ASTIdentifier(NVelocity.Runtime.Parser.Parser p, int id)
Method Detail |
---|
public object execute(object o, NVelocity.Context.InternalContextAdapter context)
invokes the method on the object passed in
public object init(NVelocity.Context.InternalContextAdapter context, object data)
simple init - don't do anything that is context specific. just get what we need from the AST, which is static.
public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
Accept the visitor. *
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |