|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time. Please look at the Parser.jjt file which is what controls the generation of this class.
Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
---|
children, first, id, info, invalid, last, parent, parser, rsvc, state |
Constructor Summary | |
---|---|
ASTMethod(int id) | |
ASTMethod(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. Returns null if a problem, the actual return if the method returns something, or an empty string "" if the method returns void |
object |
init(NVelocity.Context.InternalContextAdapter context, object data) simple init - init our subtree and get what we can from the AST |
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 ASTMethod(int id)
public ASTMethod(NVelocity.Runtime.Parser.Parser p, int id)
Method Detail |
---|
public object execute(object o, NVelocity.Context.InternalContextAdapter context)
invokes the method. Returns null if a problem, the actual return if the method returns something, or an empty string "" if the method returns void
public object init(NVelocity.Context.InternalContextAdapter context, object data)
simple init - init our subtree and get what we can from the AST
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 |